Reference documentation and code samples for the Google Cloud Tpu V2 Client class NodeSpec.
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.
Generated from protobuf message google.cloud.tpu.v2.QueuedResource.Tpu.NodeSpec
Namespace
Google \ Cloud \ Tpu \ V2 \ QueuedResource \ TpuMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent resource name.
↳ node_id
string
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.
↳ multislice_params
↳ node
getParent
Required. The parent resource name.
string
setParent
Required. The parent resource name.
var
string
$this
getNodeId
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.
string
hasNodeId
setNodeId
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.
var
string
$this
getMultisliceParams
Optional. Fields to specify in case of multislice request.
hasMultisliceParams
setMultisliceParams
Optional. Fields to specify in case of multislice request.
$this
getNode
Required. The node.
hasNode
clearNode
setNode
Required. The node.
$this
getNameStrategy
string