Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

NodeSpec

import type { NodeSpec } from "https://googleapis.deno.dev/v1/tpu:v2.ts";

Details of the TPU node(s) being requested. Users can request either a single node or multiple nodes. NodeSpec provides the specification for node(s) to be created.

interface NodeSpec {
multisliceParams?: MultisliceParams;
node?: Node;
nodeId?: string;
parent?: string;
}

§Properties

§
multisliceParams?: MultisliceParams
[src]

Optional. Fields to specify in case of multislice request.

§
node?: Node
[src]

Required. The node.

§
nodeId?: string
[src]

Optional. The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex format. This is only specified when requesting a single node. In case of multislice requests, multislice_params must be populated instead.

§
parent?: string
[src]

Required. The parent resource name.