blob: 1a1faec3c0bffdeea1e31c2cb637c4c13f0443de [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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_v1alpha1.html">Cloud TPU API</a> . <a href="tpu_v1alpha1.projects.html">projects</a> . <a href="tpu_v1alpha1.projects.locations.html">locations</a> . <a href="tpu_v1alpha1.projects.locations.nodes.html">nodes</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#create">create(parent, body=None, nodeId=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Creates a node.</p>
80<p class="toc_element">
81 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
82<p class="firstline">Deletes a node.</p>
83<p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Gets the details of a node.</p>
86<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070087 <code><a href="#list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088<p class="firstline">Lists nodes.</p>
89<p class="toc_element">
90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code><a href="#reimage">reimage(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070094<p class="firstline">Reimages a node's OS.</p>
95<p class="toc_element">
96 <code><a href="#start">start(name, body=None, x__xgafv=None)</a></code></p>
97<p class="firstline">Starts a node.</p>
98<p class="toc_element">
99 <code><a href="#stop">stop(name, body=None, x__xgafv=None)</a></code></p>
100<p class="firstline">Stops a node.</p>
101<h3>Method Details</h3>
102<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700103 <code class="details" id="create">create(parent, body=None, nodeId=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700104 <pre>Creates a node.
105
106Args:
107 parent: string, The parent resource name. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700108 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700109 The object takes the form of:
110
111{ # A TPU instance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700112 &quot;tensorflowVersion&quot;: &quot;A String&quot;, # The version of Tensorflow running in the Node.
113 # Required.
114 &quot;description&quot;: &quot;A String&quot;, # The user-supplied description of the TPU. Maximum of 512 characters.
115 &quot;networkEndpoints&quot;: [ # Output only. The network endpoints where TPU workers can be accessed and
116 # sent work. It is recommended that Tensorflow clients of the node reach out
117 # to the 0th entry in this map first.
118 { # A network endpoint over which a TPU worker can be reached.
119 &quot;ipAddress&quot;: &quot;A String&quot;, # The IP address of this network endpoint.
120 &quot;port&quot;: 42, # The port of this network endpoint.
121 },
122 ],
123 &quot;schedulingConfig&quot;: {
124 &quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
125 &quot;preemptible&quot;: True or False,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700126 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700127 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state for the TPU Node.
128 &quot;name&quot;: &quot;A String&quot;, # Output only. The immutable name of the TPU
129 &quot;acceleratorType&quot;: &quot;A String&quot;, # The type of hardware accelerators associated with this node.
130 # Required.
131 &quot;port&quot;: &quot;A String&quot;, # Output only. DEPRECATED! Use network_endpoints instead.
132 # The network port for the TPU Node as visible to Compute Engine instances.
133 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used to run the tensor flow services within the node.
134 # To share resources, including Google Cloud Storage data, with the
135 # Tensorflow job running in the Node, this account must have permissions to
136 # that data.
137 &quot;network&quot;: &quot;A String&quot;, # The name of a network they wish to peer the TPU node to. It must be a
138 # preexisting Compute Engine network inside of the project on which this API
139 # has been activated. If none is provided, &quot;default&quot; will be used.
140 &quot;healthDescription&quot;: &quot;A String&quot;, # Output only. If this field is populated, it contains a description of why the TPU Node
141 # is unhealthy.
142 &quot;health&quot;: &quot;A String&quot;, # The health status of the TPU node.
143 &quot;ipAddress&quot;: &quot;A String&quot;, # Output only. DEPRECATED! Use network_endpoints instead.
144 # The network address for the TPU Node as visible to Compute Engine
145 # instances.
146 &quot;labels&quot;: { # Resource labels to represent user-provided metadata.
147 &quot;a_key&quot;: &quot;A String&quot;,
148 },
149 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
150 &quot;cidrBlock&quot;: &quot;A String&quot;, # The CIDR block that the TPU node will use when selecting an IP address.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700151 # This CIDR block must be a /29 block; the Compute Engine networks API
152 # forbids a smaller block, and using a larger block would be wasteful (a
153 # node can only consume one IP address). Errors will occur if the CIDR block
154 # has already been used for a currently existing TPU node, the CIDR block
Bu Sun Kim65020912020-05-20 12:08:20 -0700155 # conflicts with any subnetworks in the user&#x27;s provided network, or the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700156 # provided network is peered with another network that is using that CIDR
157 # block.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700158}
159
160 nodeId: string, The unqualified resource name.
161 x__xgafv: string, V1 error format.
162 Allowed values
163 1 - v1 error format
164 2 - v2 error format
165
166Returns:
167 An object of the form:
168
169 { # This resource represents a long-running operation that is the result of a
170 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700171 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700172 # method returns no data on success, such as `Delete`, the response is
173 # `google.protobuf.Empty`. If the original method is standard
174 # `Get`/`Create`/`Update`, the response should be the resource. For other
175 # methods, the response should have the type `XxxResponse`, where `Xxx`
176 # is the original method name. For example, if the original method name
177 # is `TakeSnapshot()`, the inferred response type is
178 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700179 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700180 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700181 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700182 # originally returns it. If you use the default HTTP mapping, the
183 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700184 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
185 # different programming environments, including REST APIs and RPC APIs. It is
186 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
187 # three pieces of data: error code, error message, and error details.
188 #
189 # You can find out more about this error model and how to work with it in the
190 # [API Design Guide](https://cloud.google.com/apis/design/errors).
191 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
192 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
193 # user-facing error message should be localized and sent in the
194 # google.rpc.Status.details field, or localized by the client.
195 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
196 # message types for APIs to use.
197 {
198 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
199 },
200 ],
201 },
202 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
203 # contains progress information and common metadata such as create time.
204 # Some services might not provide such metadata. Any method that returns a
205 # long-running operation should document the metadata type, if any.
206 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
207 },
208 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
209 # If `true`, the operation is completed, and either `error` or `response` is
210 # available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700211 }</pre>
212</div>
213
214<div class="method">
215 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
216 <pre>Deletes a node.
217
218Args:
219 name: string, The resource name. (required)
220 x__xgafv: string, V1 error format.
221 Allowed values
222 1 - v1 error format
223 2 - v2 error format
224
225Returns:
226 An object of the form:
227
228 { # This resource represents a long-running operation that is the result of a
229 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700230 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700231 # method returns no data on success, such as `Delete`, the response is
232 # `google.protobuf.Empty`. If the original method is standard
233 # `Get`/`Create`/`Update`, the response should be the resource. For other
234 # methods, the response should have the type `XxxResponse`, where `Xxx`
235 # is the original method name. For example, if the original method name
236 # is `TakeSnapshot()`, the inferred response type is
237 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700238 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700239 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700240 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700241 # originally returns it. If you use the default HTTP mapping, the
242 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700243 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
244 # different programming environments, including REST APIs and RPC APIs. It is
245 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
246 # three pieces of data: error code, error message, and error details.
247 #
248 # You can find out more about this error model and how to work with it in the
249 # [API Design Guide](https://cloud.google.com/apis/design/errors).
250 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
251 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
252 # user-facing error message should be localized and sent in the
253 # google.rpc.Status.details field, or localized by the client.
254 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
255 # message types for APIs to use.
256 {
257 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
258 },
259 ],
260 },
261 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
262 # contains progress information and common metadata such as create time.
263 # Some services might not provide such metadata. Any method that returns a
264 # long-running operation should document the metadata type, if any.
265 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
266 },
267 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
268 # If `true`, the operation is completed, and either `error` or `response` is
269 # available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700270 }</pre>
271</div>
272
273<div class="method">
274 <code class="details" id="get">get(name, x__xgafv=None)</code>
275 <pre>Gets the details of a node.
276
277Args:
278 name: string, The resource name. (required)
279 x__xgafv: string, V1 error format.
280 Allowed values
281 1 - v1 error format
282 2 - v2 error format
283
284Returns:
285 An object of the form:
286
287 { # A TPU instance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700288 &quot;tensorflowVersion&quot;: &quot;A String&quot;, # The version of Tensorflow running in the Node.
289 # Required.
290 &quot;description&quot;: &quot;A String&quot;, # The user-supplied description of the TPU. Maximum of 512 characters.
291 &quot;networkEndpoints&quot;: [ # Output only. The network endpoints where TPU workers can be accessed and
292 # sent work. It is recommended that Tensorflow clients of the node reach out
293 # to the 0th entry in this map first.
294 { # A network endpoint over which a TPU worker can be reached.
295 &quot;ipAddress&quot;: &quot;A String&quot;, # The IP address of this network endpoint.
296 &quot;port&quot;: 42, # The port of this network endpoint.
297 },
298 ],
299 &quot;schedulingConfig&quot;: {
300 &quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
301 &quot;preemptible&quot;: True or False,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700302 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700303 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state for the TPU Node.
304 &quot;name&quot;: &quot;A String&quot;, # Output only. The immutable name of the TPU
305 &quot;acceleratorType&quot;: &quot;A String&quot;, # The type of hardware accelerators associated with this node.
306 # Required.
307 &quot;port&quot;: &quot;A String&quot;, # Output only. DEPRECATED! Use network_endpoints instead.
308 # The network port for the TPU Node as visible to Compute Engine instances.
309 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used to run the tensor flow services within the node.
310 # To share resources, including Google Cloud Storage data, with the
311 # Tensorflow job running in the Node, this account must have permissions to
312 # that data.
313 &quot;network&quot;: &quot;A String&quot;, # The name of a network they wish to peer the TPU node to. It must be a
314 # preexisting Compute Engine network inside of the project on which this API
315 # has been activated. If none is provided, &quot;default&quot; will be used.
316 &quot;healthDescription&quot;: &quot;A String&quot;, # Output only. If this field is populated, it contains a description of why the TPU Node
317 # is unhealthy.
318 &quot;health&quot;: &quot;A String&quot;, # The health status of the TPU node.
319 &quot;ipAddress&quot;: &quot;A String&quot;, # Output only. DEPRECATED! Use network_endpoints instead.
320 # The network address for the TPU Node as visible to Compute Engine
321 # instances.
322 &quot;labels&quot;: { # Resource labels to represent user-provided metadata.
323 &quot;a_key&quot;: &quot;A String&quot;,
324 },
325 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
326 &quot;cidrBlock&quot;: &quot;A String&quot;, # The CIDR block that the TPU node will use when selecting an IP address.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700327 # This CIDR block must be a /29 block; the Compute Engine networks API
328 # forbids a smaller block, and using a larger block would be wasteful (a
329 # node can only consume one IP address). Errors will occur if the CIDR block
330 # has already been used for a currently existing TPU node, the CIDR block
Bu Sun Kim65020912020-05-20 12:08:20 -0700331 # conflicts with any subnetworks in the user&#x27;s provided network, or the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700332 # provided network is peered with another network that is using that CIDR
333 # block.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700334 }</pre>
335</div>
336
337<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700338 <code class="details" id="list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700339 <pre>Lists nodes.
340
341Args:
342 parent: string, The parent resource name. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700343 pageToken: string, The next_page_token value returned from a previous List request, if any.
Bu Sun Kim65020912020-05-20 12:08:20 -0700344 pageSize: integer, The maximum number of items to return.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700345 x__xgafv: string, V1 error format.
346 Allowed values
347 1 - v1 error format
348 2 - v2 error format
349
350Returns:
351 An object of the form:
352
353 { # Response for ListNodes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700354 &quot;unreachable&quot;: [ # Locations that could not be reached.
355 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700356 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700357 &quot;nodes&quot;: [ # The listed nodes.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700358 { # A TPU instance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700359 &quot;tensorflowVersion&quot;: &quot;A String&quot;, # The version of Tensorflow running in the Node.
360 # Required.
361 &quot;description&quot;: &quot;A String&quot;, # The user-supplied description of the TPU. Maximum of 512 characters.
362 &quot;networkEndpoints&quot;: [ # Output only. The network endpoints where TPU workers can be accessed and
363 # sent work. It is recommended that Tensorflow clients of the node reach out
364 # to the 0th entry in this map first.
365 { # A network endpoint over which a TPU worker can be reached.
366 &quot;ipAddress&quot;: &quot;A String&quot;, # The IP address of this network endpoint.
367 &quot;port&quot;: 42, # The port of this network endpoint.
368 },
369 ],
370 &quot;schedulingConfig&quot;: {
371 &quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
372 &quot;preemptible&quot;: True or False,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700373 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700374 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state for the TPU Node.
375 &quot;name&quot;: &quot;A String&quot;, # Output only. The immutable name of the TPU
376 &quot;acceleratorType&quot;: &quot;A String&quot;, # The type of hardware accelerators associated with this node.
377 # Required.
378 &quot;port&quot;: &quot;A String&quot;, # Output only. DEPRECATED! Use network_endpoints instead.
379 # The network port for the TPU Node as visible to Compute Engine instances.
380 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used to run the tensor flow services within the node.
381 # To share resources, including Google Cloud Storage data, with the
382 # Tensorflow job running in the Node, this account must have permissions to
383 # that data.
384 &quot;network&quot;: &quot;A String&quot;, # The name of a network they wish to peer the TPU node to. It must be a
385 # preexisting Compute Engine network inside of the project on which this API
386 # has been activated. If none is provided, &quot;default&quot; will be used.
387 &quot;healthDescription&quot;: &quot;A String&quot;, # Output only. If this field is populated, it contains a description of why the TPU Node
388 # is unhealthy.
389 &quot;health&quot;: &quot;A String&quot;, # The health status of the TPU node.
390 &quot;ipAddress&quot;: &quot;A String&quot;, # Output only. DEPRECATED! Use network_endpoints instead.
391 # The network address for the TPU Node as visible to Compute Engine
392 # instances.
393 &quot;labels&quot;: { # Resource labels to represent user-provided metadata.
394 &quot;a_key&quot;: &quot;A String&quot;,
395 },
396 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
397 &quot;cidrBlock&quot;: &quot;A String&quot;, # The CIDR block that the TPU node will use when selecting an IP address.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700398 # This CIDR block must be a /29 block; the Compute Engine networks API
399 # forbids a smaller block, and using a larger block would be wasteful (a
400 # node can only consume one IP address). Errors will occur if the CIDR block
401 # has already been used for a currently existing TPU node, the CIDR block
Bu Sun Kim65020912020-05-20 12:08:20 -0700402 # conflicts with any subnetworks in the user&#x27;s provided network, or the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700403 # provided network is peered with another network that is using that CIDR
404 # block.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700405 },
406 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700407 &quot;nextPageToken&quot;: &quot;A String&quot;, # The next page token or empty if none.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700408 }</pre>
409</div>
410
411<div class="method">
412 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
413 <pre>Retrieves the next page of results.
414
415Args:
416 previous_request: The request for the previous page. (required)
417 previous_response: The response from the request for the previous page. (required)
418
419Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700420 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700421 page. Returns None if there are no more items in the collection.
422 </pre>
423</div>
424
425<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700426 <code class="details" id="reimage">reimage(name, body=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700427 <pre>Reimages a node&#x27;s OS.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700428
429Args:
430 name: string, The resource name. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700431 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700432 The object takes the form of:
433
434{ # Request for ReimageNode.
Bu Sun Kim65020912020-05-20 12:08:20 -0700435 &quot;tensorflowVersion&quot;: &quot;A String&quot;, # The version for reimage to create.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700436 }
437
438 x__xgafv: string, V1 error format.
439 Allowed values
440 1 - v1 error format
441 2 - v2 error format
442
443Returns:
444 An object of the form:
445
446 { # This resource represents a long-running operation that is the result of a
447 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700448 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700449 # method returns no data on success, such as `Delete`, the response is
450 # `google.protobuf.Empty`. If the original method is standard
451 # `Get`/`Create`/`Update`, the response should be the resource. For other
452 # methods, the response should have the type `XxxResponse`, where `Xxx`
453 # is the original method name. For example, if the original method name
454 # is `TakeSnapshot()`, the inferred response type is
455 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700456 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700457 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700458 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700459 # originally returns it. If you use the default HTTP mapping, the
460 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700461 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
462 # different programming environments, including REST APIs and RPC APIs. It is
463 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
464 # three pieces of data: error code, error message, and error details.
465 #
466 # You can find out more about this error model and how to work with it in the
467 # [API Design Guide](https://cloud.google.com/apis/design/errors).
468 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
469 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
470 # user-facing error message should be localized and sent in the
471 # google.rpc.Status.details field, or localized by the client.
472 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
473 # message types for APIs to use.
474 {
475 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
476 },
477 ],
478 },
479 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
480 # contains progress information and common metadata such as create time.
481 # Some services might not provide such metadata. Any method that returns a
482 # long-running operation should document the metadata type, if any.
483 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
484 },
485 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
486 # If `true`, the operation is completed, and either `error` or `response` is
487 # available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700488 }</pre>
489</div>
490
491<div class="method">
492 <code class="details" id="start">start(name, body=None, x__xgafv=None)</code>
493 <pre>Starts a node.
494
495Args:
496 name: string, The resource name. (required)
497 body: object, The request body.
498 The object takes the form of:
499
500{ # Request for StartNode.
501 }
502
503 x__xgafv: string, V1 error format.
504 Allowed values
505 1 - v1 error format
506 2 - v2 error format
507
508Returns:
509 An object of the form:
510
511 { # This resource represents a long-running operation that is the result of a
512 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700513 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700514 # method returns no data on success, such as `Delete`, the response is
515 # `google.protobuf.Empty`. If the original method is standard
516 # `Get`/`Create`/`Update`, the response should be the resource. For other
517 # methods, the response should have the type `XxxResponse`, where `Xxx`
518 # is the original method name. For example, if the original method name
519 # is `TakeSnapshot()`, the inferred response type is
520 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700521 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700522 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700523 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700524 # originally returns it. If you use the default HTTP mapping, the
525 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700526 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
527 # different programming environments, including REST APIs and RPC APIs. It is
528 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
529 # three pieces of data: error code, error message, and error details.
530 #
531 # You can find out more about this error model and how to work with it in the
532 # [API Design Guide](https://cloud.google.com/apis/design/errors).
533 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
534 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
535 # user-facing error message should be localized and sent in the
536 # google.rpc.Status.details field, or localized by the client.
537 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
538 # message types for APIs to use.
539 {
540 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
541 },
542 ],
543 },
544 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
545 # contains progress information and common metadata such as create time.
546 # Some services might not provide such metadata. Any method that returns a
547 # long-running operation should document the metadata type, if any.
548 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
549 },
550 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
551 # If `true`, the operation is completed, and either `error` or `response` is
552 # available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700553 }</pre>
554</div>
555
556<div class="method">
557 <code class="details" id="stop">stop(name, body=None, x__xgafv=None)</code>
558 <pre>Stops a node.
559
560Args:
561 name: string, The resource name. (required)
562 body: object, The request body.
563 The object takes the form of:
564
565{ # Request for StopNode.
566 }
567
568 x__xgafv: string, V1 error format.
569 Allowed values
570 1 - v1 error format
571 2 - v2 error format
572
573Returns:
574 An object of the form:
575
576 { # This resource represents a long-running operation that is the result of a
577 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700578 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700579 # method returns no data on success, such as `Delete`, the response is
580 # `google.protobuf.Empty`. If the original method is standard
581 # `Get`/`Create`/`Update`, the response should be the resource. For other
582 # methods, the response should have the type `XxxResponse`, where `Xxx`
583 # is the original method name. For example, if the original method name
584 # is `TakeSnapshot()`, the inferred response type is
585 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700586 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700587 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700588 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700589 # originally returns it. If you use the default HTTP mapping, the
590 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700591 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
592 # different programming environments, including REST APIs and RPC APIs. It is
593 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
594 # three pieces of data: error code, error message, and error details.
595 #
596 # You can find out more about this error model and how to work with it in the
597 # [API Design Guide](https://cloud.google.com/apis/design/errors).
598 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
599 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
600 # user-facing error message should be localized and sent in the
601 # google.rpc.Status.details field, or localized by the client.
602 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
603 # message types for APIs to use.
604 {
605 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
606 },
607 ],
608 },
609 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
610 # contains progress information and common metadata such as create time.
611 # Some services might not provide such metadata. Any method that returns a
612 # long-running operation should document the metadata type, if any.
613 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
614 },
615 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
616 # If `true`, the operation is completed, and either `error` or `response` is
617 # available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700618 }</pre>
619</div>
620
621</body></html>