POST /v2/projects/{projectsId}/locations/{locationsId}/nodes
Creates a node.
Request
- Base URLhttps://tpu.googleapis.com
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platformAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform
Path parameters
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
The unqualified resource name.
Request body
A TPU instance.
A TPU accelerator configuration.
Optional. The type of hardware accelerators associated with this node.
Output only. The API version that created this Node.
Sets the boot disk configuration for the TPU node.
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
Output only. The time when the node was created.
The additional data disks for the Node.
The user-supplied description of the TPU. Maximum of 512 characters.
The health status of the TPU node.
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
Output only. The unique identifier for the TPU Node.
Resource labels to represent user-provided metadata.
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
Output only. Whether the Node belongs to a Multislice group.
Output only. Immutable. The name of the TPU.
Network related configurations.
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
Output only. Protection tier for the workload which specifies the workload expectations in the event of infrastructure failures at data center (e.g. power and/or cooling failures).
Output only. The qualified name of the QueuedResource that requested this Node.
Required. The runtime version running in the Node.
Sets the scheduling options for this node.
A service account.
A set of Shielded Instance options.
Output only. The current state for the TPU Node.
Output only. The Symptoms that have occurred to the TPU Node.
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
Upcoming Maintenance notification information.
Response
Successful response
This resource represents a long-running operation that is the result of a network API call.
If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
Changes
No recorded changes to this operation across all 5 revisions of this API.