Debian Codegraph @

docs/dyn/tpu_v2.projects.locations.nodes.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="tpu_v2.html">Cloud TPU API</a> . <a href="tpu_v2.projects.html">projects</a> . <a href="tpu_v2.projects.locations.html">locations</a> . <a href="tpu_v2.projects.locations.nodes.html">nodes</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, nodeId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a node.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a node.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets the details of a node.</p>
89 <p class="toc_element">
90 <code><a href="#getGuestAttributes">getGuestAttributes(name, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Retrieves the guest attributes for the node.</p>
92 <p class="toc_element">
93 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Lists nodes.</p>
95 <p class="toc_element">
96 <code><a href="#list_next">list_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Updates the configurations of a node.</p>
101 <p class="toc_element">
102 <code><a href="#start">start(name, body=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Starts a node.</p>
104 <p class="toc_element">
105 <code><a href="#stop">stop(name, body=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Stops a node. This operation is only available with single TPU nodes.</p>
107 <h3>Method Details</h3>
108 <div class="method">
109 <code class="details" id="close">close()</code>
110 <pre>Close httplib2 connections.</pre>
111 </div>
112
113 <div class="method">
114 <code class="details" id="create">create(parent, body=None, nodeId=None, x__xgafv=None)</code>
115 <pre>Creates a node.
116
117 Args:
118 parent: string, Required. The parent resource name. (required)
119 body: object, The request body.
120 The object takes the form of:
121
122 { # A TPU instance.
123 &quot;acceleratorConfig&quot;: { # A TPU accelerator configuration. # The AccleratorConfig for the TPU Node.
124 &quot;topology&quot;: &quot;A String&quot;, # Required. Topology of TPU in chips.
125 &quot;type&quot;: &quot;A String&quot;, # Required. Type of TPU.
126 },
127 &quot;acceleratorType&quot;: &quot;A String&quot;, # Optional. The type of hardware accelerators associated with this node.
128 &quot;apiVersion&quot;: &quot;A String&quot;, # Output only. The API version that created this Node.
129 &quot;bootDiskConfig&quot;: { # Sets the boot disk configuration for the TPU node. # Optional. Boot disk configuration.
130 &quot;customerEncryptionKey&quot;: { # Defines the customer encryption key for disk encryption. # Optional. Customer encryption key for boot disk.
131 &quot;kmsKeyName&quot;: &quot;A String&quot;, # The name of the encryption key that is stored in Google Cloud KMS. For example: &quot;kmsKeyName&quot;: &quot;projects/KMS_PROJECT_ID/locations/REGION/keyRings/KEY_REGION/cryptoKeys/KEY The fully-qualifed key name may be returned for resource GET requests. For example: &quot;kmsKeyName&quot;: &quot;projects/KMS_PROJECT_ID/locations/REGION/keyRings/KEY_REGION/cryptoKeys/KEY/cryptoKeyVersions/1
132 },
133 },
134 &quot;cidrBlock&quot;: &quot;A String&quot;, # 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&#x27;s provided network, or the provided network is peered with another network that is using that CIDR block.
135 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
136 &quot;dataDisks&quot;: [ # The additional data disks for the Node.
137 { # A node-attached disk resource. Next ID: 8;
138 &quot;mode&quot;: &quot;A String&quot;, # The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
139 &quot;sourceDisk&quot;: &quot;A String&quot;, # Specifies the full path to an existing disk. For example: &quot;projects/my-project/zones/us-central1-c/disks/my-disk&quot;.
140 },
141 ],
142 &quot;description&quot;: &quot;A String&quot;, # The user-supplied description of the TPU. Maximum of 512 characters.
143 &quot;health&quot;: &quot;A String&quot;, # The health status of the TPU node.
144 &quot;healthDescription&quot;: &quot;A String&quot;, # Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
145 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique identifier for the TPU Node.
146 &quot;labels&quot;: { # Resource labels to represent user-provided metadata.
147 &quot;a_key&quot;: &quot;A String&quot;,
148 },
149 &quot;metadata&quot;: { # Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
150 &quot;a_key&quot;: &quot;A String&quot;,
151 },
152 &quot;multisliceNode&quot;: True or False, # Output only. Whether the Node belongs to a Multislice group.
153 &quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. The name of the TPU.
154 &quot;networkConfig&quot;: { # Network related configurations. # Network configurations 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.
155 &quot;canIpForward&quot;: True or False, # Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
156 &quot;enableExternalIps&quot;: True or False, # Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
157 &quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
158 &quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
159 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
160 },
161 &quot;networkConfigs&quot;: [ # 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.
162 { # Network related configurations.
163 &quot;canIpForward&quot;: True or False, # Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
164 &quot;enableExternalIps&quot;: True or False, # Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
165 &quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
166 &quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
167 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
168 },
169 ],
170 &quot;networkEndpoints&quot;: [ # 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.
171 { # A network endpoint over which a TPU worker can be reached.
172 &quot;accessConfig&quot;: { # An access config attached to the TPU worker. # The access config for the TPU worker.
173 &quot;externalIp&quot;: &quot;A String&quot;, # Output only. An external IP address associated with the TPU worker.
174 },
175 &quot;ipAddress&quot;: &quot;A String&quot;, # The internal IP address of this network endpoint.
176 &quot;port&quot;: 42, # The port of this network endpoint.
177 },
178 ],
179 &quot;queuedResource&quot;: &quot;A String&quot;, # Output only. The qualified name of the QueuedResource that requested this Node.
180 &quot;runtimeVersion&quot;: &quot;A String&quot;, # Required. The runtime version running in the Node.
181 &quot;schedulingConfig&quot;: { # Sets the scheduling options for this node. # The scheduling options for this node.
182 &quot;preemptible&quot;: True or False, # Defines whether the node is preemptible.
183 &quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
184 &quot;spot&quot;: True or False, # Optional. Defines whether the node is Spot VM.
185 },
186 &quot;serviceAccount&quot;: { # A service account. # The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
187 &quot;email&quot;: &quot;A String&quot;, # Email address of the service account. If empty, default Compute service account will be used.
188 &quot;scope&quot;: [ # The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
189 &quot;A String&quot;,
190 ],
191 },
192 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
193 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled.
194 },
195 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state for the TPU Node.
196 &quot;symptoms&quot;: [ # Output only. The Symptoms that have occurred to the TPU Node.
197 { # A Symptom instance.
198 &quot;createTime&quot;: &quot;A String&quot;, # Timestamp when the Symptom is created.
199 &quot;details&quot;: &quot;A String&quot;, # Detailed information of the current Symptom.
200 &quot;symptomType&quot;: &quot;A String&quot;, # Type of the Symptom.
201 &quot;workerId&quot;: &quot;A String&quot;, # A string used to uniquely distinguish a worker within a TPU node.
202 },
203 ],
204 &quot;tags&quot;: [ # Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
205 &quot;A String&quot;,
206 ],
207 &quot;upcomingMaintenance&quot;: { # Upcoming Maintenance notification information. # Output only. Upcoming maintenance on this TPU node.
208 &quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
209 &quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
210 &quot;maintenanceStatus&quot;: &quot;A String&quot;, # The status of the maintenance.
211 &quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
212 &quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
213 &quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
214 },
215 }
216
217 nodeId: string, The unqualified resource name.
218 x__xgafv: string, V1 error format.
219 Allowed values
220 1 - v1 error format
221 2 - v2 error format
222
223 Returns:
224 An object of the form:
225
226 { # This resource represents a long-running operation that is the result of a network API call.
227 &quot;done&quot;: True or False, # 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.
228 &quot;error&quot;: { # 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](https://github.com/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](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
229 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
230 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
231 {
232 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
233 },
234 ],
235 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
236 },
237 &quot;metadata&quot;: { # 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.
238 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
239 },
240 &quot;name&quot;: &quot;A String&quot;, # 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}`.
241 &quot;response&quot;: { # 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`.
242 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
243 },
244 }</pre>
245 </div>
246
247 <div class="method">
248 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
249 <pre>Deletes a node.
250
251 Args:
252 name: string, Required. The resource name. (required)
253 x__xgafv: string, V1 error format.
254 Allowed values
255 1 - v1 error format
256 2 - v2 error format
257
258 Returns:
259 An object of the form:
260
261 { # This resource represents a long-running operation that is the result of a network API call.
262 &quot;done&quot;: True or False, # 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.
263 &quot;error&quot;: { # 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](https://github.com/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](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
264 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
265 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
266 {
267 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
268 },
269 ],
270 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
271 },
272 &quot;metadata&quot;: { # 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.
273 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
274 },
275 &quot;name&quot;: &quot;A String&quot;, # 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}`.
276 &quot;response&quot;: { # 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`.
277 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
278 },
279 }</pre>
280 </div>
281
282 <div class="method">
283 <code class="details" id="get">get(name, x__xgafv=None)</code>
284 <pre>Gets the details of a node.
285
286 Args:
287 name: string, Required. The resource name. (required)
288 x__xgafv: string, V1 error format.
289 Allowed values
290 1 - v1 error format
291 2 - v2 error format
292
293 Returns:
294 An object of the form:
295
296 { # A TPU instance.
297 &quot;acceleratorConfig&quot;: { # A TPU accelerator configuration. # The AccleratorConfig for the TPU Node.
298 &quot;topology&quot;: &quot;A String&quot;, # Required. Topology of TPU in chips.
299 &quot;type&quot;: &quot;A String&quot;, # Required. Type of TPU.
300 },
301 &quot;acceleratorType&quot;: &quot;A String&quot;, # Optional. The type of hardware accelerators associated with this node.
302 &quot;apiVersion&quot;: &quot;A String&quot;, # Output only. The API version that created this Node.
303 &quot;bootDiskConfig&quot;: { # Sets the boot disk configuration for the TPU node. # Optional. Boot disk configuration.
304 &quot;customerEncryptionKey&quot;: { # Defines the customer encryption key for disk encryption. # Optional. Customer encryption key for boot disk.
305 &quot;kmsKeyName&quot;: &quot;A String&quot;, # The name of the encryption key that is stored in Google Cloud KMS. For example: &quot;kmsKeyName&quot;: &quot;projects/KMS_PROJECT_ID/locations/REGION/keyRings/KEY_REGION/cryptoKeys/KEY The fully-qualifed key name may be returned for resource GET requests. For example: &quot;kmsKeyName&quot;: &quot;projects/KMS_PROJECT_ID/locations/REGION/keyRings/KEY_REGION/cryptoKeys/KEY/cryptoKeyVersions/1
306 },
307 },
308 &quot;cidrBlock&quot;: &quot;A String&quot;, # 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&#x27;s provided network, or the provided network is peered with another network that is using that CIDR block.
309 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
310 &quot;dataDisks&quot;: [ # The additional data disks for the Node.
311 { # A node-attached disk resource. Next ID: 8;
312 &quot;mode&quot;: &quot;A String&quot;, # The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
313 &quot;sourceDisk&quot;: &quot;A String&quot;, # Specifies the full path to an existing disk. For example: &quot;projects/my-project/zones/us-central1-c/disks/my-disk&quot;.
314 },
315 ],
316 &quot;description&quot;: &quot;A String&quot;, # The user-supplied description of the TPU. Maximum of 512 characters.
317 &quot;health&quot;: &quot;A String&quot;, # The health status of the TPU node.
318 &quot;healthDescription&quot;: &quot;A String&quot;, # Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
319 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique identifier for the TPU Node.
320 &quot;labels&quot;: { # Resource labels to represent user-provided metadata.
321 &quot;a_key&quot;: &quot;A String&quot;,
322 },
323 &quot;metadata&quot;: { # Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
324 &quot;a_key&quot;: &quot;A String&quot;,
325 },
326 &quot;multisliceNode&quot;: True or False, # Output only. Whether the Node belongs to a Multislice group.
327 &quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. The name of the TPU.
328 &quot;networkConfig&quot;: { # Network related configurations. # Network configurations 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.
329 &quot;canIpForward&quot;: True or False, # Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
330 &quot;enableExternalIps&quot;: True or False, # Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
331 &quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
332 &quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
333 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
334 },
335 &quot;networkConfigs&quot;: [ # 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.
336 { # Network related configurations.
337 &quot;canIpForward&quot;: True or False, # Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
338 &quot;enableExternalIps&quot;: True or False, # Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
339 &quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
340 &quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
341 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
342 },
343 ],
344 &quot;networkEndpoints&quot;: [ # 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.
345 { # A network endpoint over which a TPU worker can be reached.
346 &quot;accessConfig&quot;: { # An access config attached to the TPU worker. # The access config for the TPU worker.
347 &quot;externalIp&quot;: &quot;A String&quot;, # Output only. An external IP address associated with the TPU worker.
348 },
349 &quot;ipAddress&quot;: &quot;A String&quot;, # The internal IP address of this network endpoint.
350 &quot;port&quot;: 42, # The port of this network endpoint.
351 },
352 ],
353 &quot;queuedResource&quot;: &quot;A String&quot;, # Output only. The qualified name of the QueuedResource that requested this Node.
354 &quot;runtimeVersion&quot;: &quot;A String&quot;, # Required. The runtime version running in the Node.
355 &quot;schedulingConfig&quot;: { # Sets the scheduling options for this node. # The scheduling options for this node.
356 &quot;preemptible&quot;: True or False, # Defines whether the node is preemptible.
357 &quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
358 &quot;spot&quot;: True or False, # Optional. Defines whether the node is Spot VM.
359 },
360 &quot;serviceAccount&quot;: { # A service account. # The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
361 &quot;email&quot;: &quot;A String&quot;, # Email address of the service account. If empty, default Compute service account will be used.
362 &quot;scope&quot;: [ # The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
363 &quot;A String&quot;,
364 ],
365 },
366 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
367 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled.
368 },
369 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state for the TPU Node.
370 &quot;symptoms&quot;: [ # Output only. The Symptoms that have occurred to the TPU Node.
371 { # A Symptom instance.
372 &quot;createTime&quot;: &quot;A String&quot;, # Timestamp when the Symptom is created.
373 &quot;details&quot;: &quot;A String&quot;, # Detailed information of the current Symptom.
374 &quot;symptomType&quot;: &quot;A String&quot;, # Type of the Symptom.
375 &quot;workerId&quot;: &quot;A String&quot;, # A string used to uniquely distinguish a worker within a TPU node.
376 },
377 ],
378 &quot;tags&quot;: [ # Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
379 &quot;A String&quot;,
380 ],
381 &quot;upcomingMaintenance&quot;: { # Upcoming Maintenance notification information. # Output only. Upcoming maintenance on this TPU node.
382 &quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
383 &quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
384 &quot;maintenanceStatus&quot;: &quot;A String&quot;, # The status of the maintenance.
385 &quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
386 &quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
387 &quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
388 },
389 }</pre>
390 </div>
391
392 <div class="method">
393 <code class="details" id="getGuestAttributes">getGuestAttributes(name, body=None, x__xgafv=None)</code>
394 <pre>Retrieves the guest attributes for the node.
395
396 Args:
397 name: string, Required. The resource name. (required)
398 body: object, The request body.
399 The object takes the form of:
400
401 { # Request for GetGuestAttributes.
402 &quot;queryPath&quot;: &quot;A String&quot;, # The guest attributes path to be queried.
403 &quot;workerIds&quot;: [ # The 0-based worker ID. If it is empty, all workers&#x27; GuestAttributes will be returned.
404 &quot;A String&quot;,
405 ],
406 }
407
408 x__xgafv: string, V1 error format.
409 Allowed values
410 1 - v1 error format
411 2 - v2 error format
412
413 Returns:
414 An object of the form:
415
416 { # Response for GetGuestAttributes.
417 &quot;guestAttributes&quot;: [ # The guest attributes for the TPU workers.
418 { # A guest attributes.
419 &quot;queryPath&quot;: &quot;A String&quot;, # The path to be queried. This can be the default namespace (&#x27;/&#x27;) or a nested namespace (&#x27;/\/&#x27;) or a specified key (&#x27;/\/\&#x27;)
420 &quot;queryValue&quot;: { # Array of guest attribute namespace/key/value tuples. # The value of the requested queried path.
421 &quot;items&quot;: [ # The list of guest attributes entries.
422 { # A guest attributes namespace/key/value entry.
423 &quot;key&quot;: &quot;A String&quot;, # Key for the guest attribute entry.
424 &quot;namespace&quot;: &quot;A String&quot;, # Namespace for the guest attribute entry.
425 &quot;value&quot;: &quot;A String&quot;, # Value for the guest attribute entry.
426 },
427 ],
428 },
429 },
430 ],
431 }</pre>
432 </div>
433
434 <div class="method">
435 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
436 <pre>Lists nodes.
437
438 Args:
439 parent: string, Required. The parent resource name. (required)
440 pageSize: integer, The maximum number of items to return.
441 pageToken: string, The next_page_token value returned from a previous List request, if any.
442 x__xgafv: string, V1 error format.
443 Allowed values
444 1 - v1 error format
445 2 - v2 error format
446
447 Returns:
448 An object of the form:
449
450 { # Response for ListNodes.
451 &quot;nextPageToken&quot;: &quot;A String&quot;, # The next page token or empty if none.
452 &quot;nodes&quot;: [ # The listed nodes.
453 { # A TPU instance.
454 &quot;acceleratorConfig&quot;: { # A TPU accelerator configuration. # The AccleratorConfig for the TPU Node.
455 &quot;topology&quot;: &quot;A String&quot;, # Required. Topology of TPU in chips.
456 &quot;type&quot;: &quot;A String&quot;, # Required. Type of TPU.
457 },
458 &quot;acceleratorType&quot;: &quot;A String&quot;, # Optional. The type of hardware accelerators associated with this node.
459 &quot;apiVersion&quot;: &quot;A String&quot;, # Output only. The API version that created this Node.
460 &quot;bootDiskConfig&quot;: { # Sets the boot disk configuration for the TPU node. # Optional. Boot disk configuration.
461 &quot;customerEncryptionKey&quot;: { # Defines the customer encryption key for disk encryption. # Optional. Customer encryption key for boot disk.
462 &quot;kmsKeyName&quot;: &quot;A String&quot;, # The name of the encryption key that is stored in Google Cloud KMS. For example: &quot;kmsKeyName&quot;: &quot;projects/KMS_PROJECT_ID/locations/REGION/keyRings/KEY_REGION/cryptoKeys/KEY The fully-qualifed key name may be returned for resource GET requests. For example: &quot;kmsKeyName&quot;: &quot;projects/KMS_PROJECT_ID/locations/REGION/keyRings/KEY_REGION/cryptoKeys/KEY/cryptoKeyVersions/1
463 },
464 },
465 &quot;cidrBlock&quot;: &quot;A String&quot;, # 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&#x27;s provided network, or the provided network is peered with another network that is using that CIDR block.
466 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
467 &quot;dataDisks&quot;: [ # The additional data disks for the Node.
468 { # A node-attached disk resource. Next ID: 8;
469 &quot;mode&quot;: &quot;A String&quot;, # The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
470 &quot;sourceDisk&quot;: &quot;A String&quot;, # Specifies the full path to an existing disk. For example: &quot;projects/my-project/zones/us-central1-c/disks/my-disk&quot;.
471 },
472 ],
473 &quot;description&quot;: &quot;A String&quot;, # The user-supplied description of the TPU. Maximum of 512 characters.
474 &quot;health&quot;: &quot;A String&quot;, # The health status of the TPU node.
475 &quot;healthDescription&quot;: &quot;A String&quot;, # Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
476 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique identifier for the TPU Node.
477 &quot;labels&quot;: { # Resource labels to represent user-provided metadata.
478 &quot;a_key&quot;: &quot;A String&quot;,
479 },
480 &quot;metadata&quot;: { # Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
481 &quot;a_key&quot;: &quot;A String&quot;,
482 },
483 &quot;multisliceNode&quot;: True or False, # Output only. Whether the Node belongs to a Multislice group.
484 &quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. The name of the TPU.
485 &quot;networkConfig&quot;: { # Network related configurations. # Network configurations 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.
486 &quot;canIpForward&quot;: True or False, # Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
487 &quot;enableExternalIps&quot;: True or False, # Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
488 &quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
489 &quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
490 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
491 },
492 &quot;networkConfigs&quot;: [ # 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.
493 { # Network related configurations.
494 &quot;canIpForward&quot;: True or False, # Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
495 &quot;enableExternalIps&quot;: True or False, # Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
496 &quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
497 &quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
498 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
499 },
500 ],
501 &quot;networkEndpoints&quot;: [ # 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.
502 { # A network endpoint over which a TPU worker can be reached.
503 &quot;accessConfig&quot;: { # An access config attached to the TPU worker. # The access config for the TPU worker.
504 &quot;externalIp&quot;: &quot;A String&quot;, # Output only. An external IP address associated with the TPU worker.
505 },
506 &quot;ipAddress&quot;: &quot;A String&quot;, # The internal IP address of this network endpoint.
507 &quot;port&quot;: 42, # The port of this network endpoint.
508 },
509 ],
510 &quot;queuedResource&quot;: &quot;A String&quot;, # Output only. The qualified name of the QueuedResource that requested this Node.
511 &quot;runtimeVersion&quot;: &quot;A String&quot;, # Required. The runtime version running in the Node.
512 &quot;schedulingConfig&quot;: { # Sets the scheduling options for this node. # The scheduling options for this node.
513 &quot;preemptible&quot;: True or False, # Defines whether the node is preemptible.
514 &quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
515 &quot;spot&quot;: True or False, # Optional. Defines whether the node is Spot VM.
516 },
517 &quot;serviceAccount&quot;: { # A service account. # The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
518 &quot;email&quot;: &quot;A String&quot;, # Email address of the service account. If empty, default Compute service account will be used.
519 &quot;scope&quot;: [ # The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
520 &quot;A String&quot;,
521 ],
522 },
523 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
524 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled.
525 },
526 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state for the TPU Node.
527 &quot;symptoms&quot;: [ # Output only. The Symptoms that have occurred to the TPU Node.
528 { # A Symptom instance.
529 &quot;createTime&quot;: &quot;A String&quot;, # Timestamp when the Symptom is created.
530 &quot;details&quot;: &quot;A String&quot;, # Detailed information of the current Symptom.
531 &quot;symptomType&quot;: &quot;A String&quot;, # Type of the Symptom.
532 &quot;workerId&quot;: &quot;A String&quot;, # A string used to uniquely distinguish a worker within a TPU node.
533 },
534 ],
535 &quot;tags&quot;: [ # Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
536 &quot;A String&quot;,
537 ],
538 &quot;upcomingMaintenance&quot;: { # Upcoming Maintenance notification information. # Output only. Upcoming maintenance on this TPU node.
539 &quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
540 &quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
541 &quot;maintenanceStatus&quot;: &quot;A String&quot;, # The status of the maintenance.
542 &quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
543 &quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
544 &quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
545 },
546 },
547 ],
548 &quot;unreachable&quot;: [ # Locations that could not be reached.
549 &quot;A String&quot;,
550 ],
551 }</pre>
552 </div>
553
554 <div class="method">
555 <code class="details" id="list_next">list_next()</code>
556 <pre>Retrieves the next page of results.
557
558 Args:
559 previous_request: The request for the previous page. (required)
560 previous_response: The response from the request for the previous page. (required)
561
562 Returns:
563 A request object that you can call &#x27;execute()&#x27; on to request the next
564 page. Returns None if there are no more items in the collection.
565 </pre>
566 </div>
567
568 <div class="method">
569 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
570 <pre>Updates the configurations of a node.
571
572 Args:
573 name: string, Output only. Immutable. The name of the TPU. (required)
574 body: object, The request body.
575 The object takes the form of:
576
577 { # A TPU instance.
578 &quot;acceleratorConfig&quot;: { # A TPU accelerator configuration. # The AccleratorConfig for the TPU Node.
579 &quot;topology&quot;: &quot;A String&quot;, # Required. Topology of TPU in chips.
580 &quot;type&quot;: &quot;A String&quot;, # Required. Type of TPU.
581 },
582 &quot;acceleratorType&quot;: &quot;A String&quot;, # Optional. The type of hardware accelerators associated with this node.
583 &quot;apiVersion&quot;: &quot;A String&quot;, # Output only. The API version that created this Node.
584 &quot;bootDiskConfig&quot;: { # Sets the boot disk configuration for the TPU node. # Optional. Boot disk configuration.
585 &quot;customerEncryptionKey&quot;: { # Defines the customer encryption key for disk encryption. # Optional. Customer encryption key for boot disk.
586 &quot;kmsKeyName&quot;: &quot;A String&quot;, # The name of the encryption key that is stored in Google Cloud KMS. For example: &quot;kmsKeyName&quot;: &quot;projects/KMS_PROJECT_ID/locations/REGION/keyRings/KEY_REGION/cryptoKeys/KEY The fully-qualifed key name may be returned for resource GET requests. For example: &quot;kmsKeyName&quot;: &quot;projects/KMS_PROJECT_ID/locations/REGION/keyRings/KEY_REGION/cryptoKeys/KEY/cryptoKeyVersions/1
587 },
588 },
589 &quot;cidrBlock&quot;: &quot;A String&quot;, # 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&#x27;s provided network, or the provided network is peered with another network that is using that CIDR block.
590 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
591 &quot;dataDisks&quot;: [ # The additional data disks for the Node.
592 { # A node-attached disk resource. Next ID: 8;
593 &quot;mode&quot;: &quot;A String&quot;, # The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
594 &quot;sourceDisk&quot;: &quot;A String&quot;, # Specifies the full path to an existing disk. For example: &quot;projects/my-project/zones/us-central1-c/disks/my-disk&quot;.
595 },
596 ],
597 &quot;description&quot;: &quot;A String&quot;, # The user-supplied description of the TPU. Maximum of 512 characters.
598 &quot;health&quot;: &quot;A String&quot;, # The health status of the TPU node.
599 &quot;healthDescription&quot;: &quot;A String&quot;, # Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
600 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique identifier for the TPU Node.
601 &quot;labels&quot;: { # Resource labels to represent user-provided metadata.
602 &quot;a_key&quot;: &quot;A String&quot;,
603 },
604 &quot;metadata&quot;: { # Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
605 &quot;a_key&quot;: &quot;A String&quot;,
606 },
607 &quot;multisliceNode&quot;: True or False, # Output only. Whether the Node belongs to a Multislice group.
608 &quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. The name of the TPU.
609 &quot;networkConfig&quot;: { # Network related configurations. # Network configurations 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.
610 &quot;canIpForward&quot;: True or False, # Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
611 &quot;enableExternalIps&quot;: True or False, # Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
612 &quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
613 &quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
614 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
615 },
616 &quot;networkConfigs&quot;: [ # 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.
617 { # Network related configurations.
618 &quot;canIpForward&quot;: True or False, # Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
619 &quot;enableExternalIps&quot;: True or False, # Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
620 &quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
621 &quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
622 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
623 },
624 ],
625 &quot;networkEndpoints&quot;: [ # 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.
626 { # A network endpoint over which a TPU worker can be reached.
627 &quot;accessConfig&quot;: { # An access config attached to the TPU worker. # The access config for the TPU worker.
628 &quot;externalIp&quot;: &quot;A String&quot;, # Output only. An external IP address associated with the TPU worker.
629 },
630 &quot;ipAddress&quot;: &quot;A String&quot;, # The internal IP address of this network endpoint.
631 &quot;port&quot;: 42, # The port of this network endpoint.
632 },
633 ],
634 &quot;queuedResource&quot;: &quot;A String&quot;, # Output only. The qualified name of the QueuedResource that requested this Node.
635 &quot;runtimeVersion&quot;: &quot;A String&quot;, # Required. The runtime version running in the Node.
636 &quot;schedulingConfig&quot;: { # Sets the scheduling options for this node. # The scheduling options for this node.
637 &quot;preemptible&quot;: True or False, # Defines whether the node is preemptible.
638 &quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
639 &quot;spot&quot;: True or False, # Optional. Defines whether the node is Spot VM.
640 },
641 &quot;serviceAccount&quot;: { # A service account. # The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
642 &quot;email&quot;: &quot;A String&quot;, # Email address of the service account. If empty, default Compute service account will be used.
643 &quot;scope&quot;: [ # The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
644 &quot;A String&quot;,
645 ],
646 },
647 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
648 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled.
649 },
650 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state for the TPU Node.
651 &quot;symptoms&quot;: [ # Output only. The Symptoms that have occurred to the TPU Node.
652 { # A Symptom instance.
653 &quot;createTime&quot;: &quot;A String&quot;, # Timestamp when the Symptom is created.
654 &quot;details&quot;: &quot;A String&quot;, # Detailed information of the current Symptom.
655 &quot;symptomType&quot;: &quot;A String&quot;, # Type of the Symptom.
656 &quot;workerId&quot;: &quot;A String&quot;, # A string used to uniquely distinguish a worker within a TPU node.
657 },
658 ],
659 &quot;tags&quot;: [ # Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
660 &quot;A String&quot;,
661 ],
662 &quot;upcomingMaintenance&quot;: { # Upcoming Maintenance notification information. # Output only. Upcoming maintenance on this TPU node.
663 &quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
664 &quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
665 &quot;maintenanceStatus&quot;: &quot;A String&quot;, # The status of the maintenance.
666 &quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
667 &quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
668 &quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
669 },
670 }
671
672 updateMask: string, Required. Mask of fields from Node to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].
673 x__xgafv: string, V1 error format.
674 Allowed values
675 1 - v1 error format
676 2 - v2 error format
677
678 Returns:
679 An object of the form:
680
681 { # This resource represents a long-running operation that is the result of a network API call.
682 &quot;done&quot;: True or False, # 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.
683 &quot;error&quot;: { # 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](https://github.com/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](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
684 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
685 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
686 {
687 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
688 },
689 ],
690 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
691 },
692 &quot;metadata&quot;: { # 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.
693 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
694 },
695 &quot;name&quot;: &quot;A String&quot;, # 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}`.
696 &quot;response&quot;: { # 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`.
697 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
698 },
699 }</pre>
700 </div>
701
702 <div class="method">
703 <code class="details" id="start">start(name, body=None, x__xgafv=None)</code>
704 <pre>Starts a node.
705
706 Args:
707 name: string, Required. The resource name. (required)
708 body: object, The request body.
709 The object takes the form of:
710
711 { # Request for StartNode.
712 }
713
714 x__xgafv: string, V1 error format.
715 Allowed values
716 1 - v1 error format
717 2 - v2 error format
718
719 Returns:
720 An object of the form:
721
722 { # This resource represents a long-running operation that is the result of a network API call.
723 &quot;done&quot;: True or False, # 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.
724 &quot;error&quot;: { # 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](https://github.com/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](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
725 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
726 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
727 {
728 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
729 },
730 ],
731 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
732 },
733 &quot;metadata&quot;: { # 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.
734 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
735 },
736 &quot;name&quot;: &quot;A String&quot;, # 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}`.
737 &quot;response&quot;: { # 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`.
738 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
739 },
740 }</pre>
741 </div>
742
743 <div class="method">
744 <code class="details" id="stop">stop(name, body=None, x__xgafv=None)</code>
745 <pre>Stops a node. This operation is only available with single TPU nodes.
746
747 Args:
748 name: string, Required. The resource name. (required)
749 body: object, The request body.
750 The object takes the form of:
751
752 { # Request for StopNode.
753 }
754
755 x__xgafv: string, V1 error format.
756 Allowed values
757 1 - v1 error format
758 2 - v2 error format
759
760 Returns:
761 An object of the form:
762
763 { # This resource represents a long-running operation that is the result of a network API call.
764 &quot;done&quot;: True or False, # 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.
765 &quot;error&quot;: { # 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](https://github.com/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](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
766 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
767 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
768 {
769 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
770 },
771 ],
772 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
773 },
774 &quot;metadata&quot;: { # 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.
775 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
776 },
777 &quot;name&quot;: &quot;A String&quot;, # 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}`.
778 &quot;response&quot;: { # 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`.
779 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
780 },
781 }</pre>
782 </div>
783
784 </body></html>