blob: 108a7c92808f11dfee1368b6d33615e150381ad4 [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 Kim4ed7d3f2020-05-27 12:20:54 -0700112 &quot;healthDescription&quot;: &quot;A String&quot;, # Output only. If this field is populated, it contains a description of why the TPU Node
113 # is unhealthy.
114 &quot;network&quot;: &quot;A String&quot;, # The name of a network they wish to peer the TPU node to. It must be a
115 # preexisting Compute Engine network inside of the project on which this API
116 # has been activated. If none is provided, &quot;default&quot; will be used.
117 &quot;health&quot;: &quot;A String&quot;, # The health status of the TPU node.
118 &quot;ipAddress&quot;: &quot;A String&quot;, # Output only. DEPRECATED! Use network_endpoints instead.
119 # The network address for the TPU Node as visible to Compute Engine
120 # instances.
121 &quot;cidrBlock&quot;: &quot;A String&quot;, # The CIDR block that the TPU node will use when selecting an IP address.
122 # This CIDR block must be a /29 block; the Compute Engine networks API
123 # forbids a smaller block, and using a larger block would be wasteful (a
124 # node can only consume one IP address). Errors will occur if the CIDR block
125 # has already been used for a currently existing TPU node, the CIDR block
126 # conflicts with any subnetworks in the user&#x27;s provided network, or the
127 # provided network is peered with another network that is using that CIDR
128 # block.
129 &quot;labels&quot;: { # Resource labels to represent user-provided metadata.
130 &quot;a_key&quot;: &quot;A String&quot;,
131 },
132 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700133 &quot;tensorflowVersion&quot;: &quot;A String&quot;, # The version of Tensorflow running in the Node.
134 # Required.
135 &quot;description&quot;: &quot;A String&quot;, # The user-supplied description of the TPU. Maximum of 512 characters.
136 &quot;networkEndpoints&quot;: [ # Output only. The network endpoints where TPU workers can be accessed and
137 # sent work. It is recommended that Tensorflow clients of the node reach out
138 # to the 0th entry in this map first.
139 { # A network endpoint over which a TPU worker can be reached.
140 &quot;ipAddress&quot;: &quot;A String&quot;, # The IP address of this network endpoint.
141 &quot;port&quot;: 42, # The port of this network endpoint.
142 },
143 ],
144 &quot;schedulingConfig&quot;: {
145 &quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
146 &quot;preemptible&quot;: True or False,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700147 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700148 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state for the TPU Node.
149 &quot;name&quot;: &quot;A String&quot;, # Output only. The immutable name of the TPU
150 &quot;acceleratorType&quot;: &quot;A String&quot;, # The type of hardware accelerators associated with this node.
151 # Required.
152 &quot;port&quot;: &quot;A String&quot;, # Output only. DEPRECATED! Use network_endpoints instead.
153 # The network port for the TPU Node as visible to Compute Engine instances.
154 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used to run the tensor flow services within the node.
155 # To share resources, including Google Cloud Storage data, with the
156 # Tensorflow job running in the Node, this account must have permissions to
157 # that data.
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 Kim4ed7d3f2020-05-27 12:20:54 -0700171 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
172 # If `true`, the operation is completed, and either `error` or `response` is
173 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700174 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700175 # method returns no data on success, such as `Delete`, the response is
176 # `google.protobuf.Empty`. If the original method is standard
177 # `Get`/`Create`/`Update`, the response should be the resource. For other
178 # methods, the response should have the type `XxxResponse`, where `Xxx`
179 # is the original method name. For example, if the original method name
180 # is `TakeSnapshot()`, the inferred response type is
181 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700182 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700183 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700184 &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 -0700185 # originally returns it. If you use the default HTTP mapping, the
186 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700187 &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.
188 # different programming environments, including REST APIs and RPC APIs. It is
189 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
190 # three pieces of data: error code, error message, and error details.
191 #
192 # You can find out more about this error model and how to work with it in the
193 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700194 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
195 # message types for APIs to use.
196 {
197 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
198 },
199 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700200 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
201 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
202 # user-facing error message should be localized and sent in the
203 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700204 },
205 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
206 # contains progress information and common metadata such as create time.
207 # Some services might not provide such metadata. Any method that returns a
208 # long-running operation should document the metadata type, if any.
209 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
210 },
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 Kim4ed7d3f2020-05-27 12:20:54 -0700230 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
231 # If `true`, the operation is completed, and either `error` or `response` is
232 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700233 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700234 # method returns no data on success, such as `Delete`, the response is
235 # `google.protobuf.Empty`. If the original method is standard
236 # `Get`/`Create`/`Update`, the response should be the resource. For other
237 # methods, the response should have the type `XxxResponse`, where `Xxx`
238 # is the original method name. For example, if the original method name
239 # is `TakeSnapshot()`, the inferred response type is
240 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700241 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700242 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700243 &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 -0700244 # originally returns it. If you use the default HTTP mapping, the
245 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700246 &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.
247 # different programming environments, including REST APIs and RPC APIs. It is
248 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
249 # three pieces of data: error code, error message, and error details.
250 #
251 # You can find out more about this error model and how to work with it in the
252 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700253 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
254 # message types for APIs to use.
255 {
256 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
257 },
258 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700259 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
260 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
261 # user-facing error message should be localized and sent in the
262 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700263 },
264 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
265 # contains progress information and common metadata such as create time.
266 # Some services might not provide such metadata. Any method that returns a
267 # long-running operation should document the metadata type, if any.
268 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
269 },
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 Kim4ed7d3f2020-05-27 12:20:54 -0700288 &quot;healthDescription&quot;: &quot;A String&quot;, # Output only. If this field is populated, it contains a description of why the TPU Node
289 # is unhealthy.
290 &quot;network&quot;: &quot;A String&quot;, # The name of a network they wish to peer the TPU node to. It must be a
291 # preexisting Compute Engine network inside of the project on which this API
292 # has been activated. If none is provided, &quot;default&quot; will be used.
293 &quot;health&quot;: &quot;A String&quot;, # The health status of the TPU node.
294 &quot;ipAddress&quot;: &quot;A String&quot;, # Output only. DEPRECATED! Use network_endpoints instead.
295 # The network address for the TPU Node as visible to Compute Engine
296 # instances.
297 &quot;cidrBlock&quot;: &quot;A String&quot;, # The CIDR block that the TPU node will use when selecting an IP address.
298 # This CIDR block must be a /29 block; the Compute Engine networks API
299 # forbids a smaller block, and using a larger block would be wasteful (a
300 # node can only consume one IP address). Errors will occur if the CIDR block
301 # has already been used for a currently existing TPU node, the CIDR block
302 # conflicts with any subnetworks in the user&#x27;s provided network, or the
303 # provided network is peered with another network that is using that CIDR
304 # block.
305 &quot;labels&quot;: { # Resource labels to represent user-provided metadata.
306 &quot;a_key&quot;: &quot;A String&quot;,
307 },
308 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700309 &quot;tensorflowVersion&quot;: &quot;A String&quot;, # The version of Tensorflow running in the Node.
310 # Required.
311 &quot;description&quot;: &quot;A String&quot;, # The user-supplied description of the TPU. Maximum of 512 characters.
312 &quot;networkEndpoints&quot;: [ # Output only. The network endpoints where TPU workers can be accessed and
313 # sent work. It is recommended that Tensorflow clients of the node reach out
314 # to the 0th entry in this map first.
315 { # A network endpoint over which a TPU worker can be reached.
316 &quot;ipAddress&quot;: &quot;A String&quot;, # The IP address of this network endpoint.
317 &quot;port&quot;: 42, # The port of this network endpoint.
318 },
319 ],
320 &quot;schedulingConfig&quot;: {
321 &quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
322 &quot;preemptible&quot;: True or False,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700323 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700324 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state for the TPU Node.
325 &quot;name&quot;: &quot;A String&quot;, # Output only. The immutable name of the TPU
326 &quot;acceleratorType&quot;: &quot;A String&quot;, # The type of hardware accelerators associated with this node.
327 # Required.
328 &quot;port&quot;: &quot;A String&quot;, # Output only. DEPRECATED! Use network_endpoints instead.
329 # The network port for the TPU Node as visible to Compute Engine instances.
330 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used to run the tensor flow services within the node.
331 # To share resources, including Google Cloud Storage data, with the
332 # Tensorflow job running in the Node, this account must have permissions to
333 # that data.
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 Kim4ed7d3f2020-05-27 12:20:54 -0700359 &quot;healthDescription&quot;: &quot;A String&quot;, # Output only. If this field is populated, it contains a description of why the TPU Node
360 # is unhealthy.
361 &quot;network&quot;: &quot;A String&quot;, # The name of a network they wish to peer the TPU node to. It must be a
362 # preexisting Compute Engine network inside of the project on which this API
363 # has been activated. If none is provided, &quot;default&quot; will be used.
364 &quot;health&quot;: &quot;A String&quot;, # The health status of the TPU node.
365 &quot;ipAddress&quot;: &quot;A String&quot;, # Output only. DEPRECATED! Use network_endpoints instead.
366 # The network address for the TPU Node as visible to Compute Engine
367 # instances.
368 &quot;cidrBlock&quot;: &quot;A String&quot;, # The CIDR block that the TPU node will use when selecting an IP address.
369 # This CIDR block must be a /29 block; the Compute Engine networks API
370 # forbids a smaller block, and using a larger block would be wasteful (a
371 # node can only consume one IP address). Errors will occur if the CIDR block
372 # has already been used for a currently existing TPU node, the CIDR block
373 # conflicts with any subnetworks in the user&#x27;s provided network, or the
374 # provided network is peered with another network that is using that CIDR
375 # block.
376 &quot;labels&quot;: { # Resource labels to represent user-provided metadata.
377 &quot;a_key&quot;: &quot;A String&quot;,
378 },
379 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700380 &quot;tensorflowVersion&quot;: &quot;A String&quot;, # The version of Tensorflow running in the Node.
381 # Required.
382 &quot;description&quot;: &quot;A String&quot;, # The user-supplied description of the TPU. Maximum of 512 characters.
383 &quot;networkEndpoints&quot;: [ # Output only. The network endpoints where TPU workers can be accessed and
384 # sent work. It is recommended that Tensorflow clients of the node reach out
385 # to the 0th entry in this map first.
386 { # A network endpoint over which a TPU worker can be reached.
387 &quot;ipAddress&quot;: &quot;A String&quot;, # The IP address of this network endpoint.
388 &quot;port&quot;: 42, # The port of this network endpoint.
389 },
390 ],
391 &quot;schedulingConfig&quot;: {
392 &quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
393 &quot;preemptible&quot;: True or False,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700394 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700395 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state for the TPU Node.
396 &quot;name&quot;: &quot;A String&quot;, # Output only. The immutable name of the TPU
397 &quot;acceleratorType&quot;: &quot;A String&quot;, # The type of hardware accelerators associated with this node.
398 # Required.
399 &quot;port&quot;: &quot;A String&quot;, # Output only. DEPRECATED! Use network_endpoints instead.
400 # The network port for the TPU Node as visible to Compute Engine instances.
401 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used to run the tensor flow services within the node.
402 # To share resources, including Google Cloud Storage data, with the
403 # Tensorflow job running in the Node, this account must have permissions to
404 # that data.
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 Kim4ed7d3f2020-05-27 12:20:54 -0700448 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
449 # If `true`, the operation is completed, and either `error` or `response` is
450 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700451 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700452 # method returns no data on success, such as `Delete`, the response is
453 # `google.protobuf.Empty`. If the original method is standard
454 # `Get`/`Create`/`Update`, the response should be the resource. For other
455 # methods, the response should have the type `XxxResponse`, where `Xxx`
456 # is the original method name. For example, if the original method name
457 # is `TakeSnapshot()`, the inferred response type is
458 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700459 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700460 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700461 &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 -0700462 # originally returns it. If you use the default HTTP mapping, the
463 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700464 &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.
465 # different programming environments, including REST APIs and RPC APIs. It is
466 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
467 # three pieces of data: error code, error message, and error details.
468 #
469 # You can find out more about this error model and how to work with it in the
470 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700471 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
472 # message types for APIs to use.
473 {
474 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
475 },
476 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700477 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
478 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
479 # user-facing error message should be localized and sent in the
480 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700481 },
482 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
483 # contains progress information and common metadata such as create time.
484 # Some services might not provide such metadata. Any method that returns a
485 # long-running operation should document the metadata type, if any.
486 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
487 },
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 Kim4ed7d3f2020-05-27 12:20:54 -0700513 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
514 # If `true`, the operation is completed, and either `error` or `response` is
515 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700516 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700517 # method returns no data on success, such as `Delete`, the response is
518 # `google.protobuf.Empty`. If the original method is standard
519 # `Get`/`Create`/`Update`, the response should be the resource. For other
520 # methods, the response should have the type `XxxResponse`, where `Xxx`
521 # is the original method name. For example, if the original method name
522 # is `TakeSnapshot()`, the inferred response type is
523 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700524 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700525 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700526 &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 -0700527 # originally returns it. If you use the default HTTP mapping, the
528 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700529 &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.
530 # different programming environments, including REST APIs and RPC APIs. It is
531 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
532 # three pieces of data: error code, error message, and error details.
533 #
534 # You can find out more about this error model and how to work with it in the
535 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700536 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
537 # message types for APIs to use.
538 {
539 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
540 },
541 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700542 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
543 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
544 # user-facing error message should be localized and sent in the
545 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700546 },
547 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
548 # contains progress information and common metadata such as create time.
549 # Some services might not provide such metadata. Any method that returns a
550 # long-running operation should document the metadata type, if any.
551 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
552 },
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 Kim4ed7d3f2020-05-27 12:20:54 -0700578 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
579 # If `true`, the operation is completed, and either `error` or `response` is
580 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700581 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700582 # method returns no data on success, such as `Delete`, the response is
583 # `google.protobuf.Empty`. If the original method is standard
584 # `Get`/`Create`/`Update`, the response should be the resource. For other
585 # methods, the response should have the type `XxxResponse`, where `Xxx`
586 # is the original method name. For example, if the original method name
587 # is `TakeSnapshot()`, the inferred response type is
588 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700589 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700590 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700591 &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 -0700592 # originally returns it. If you use the default HTTP mapping, the
593 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700594 &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.
595 # different programming environments, including REST APIs and RPC APIs. It is
596 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
597 # three pieces of data: error code, error message, and error details.
598 #
599 # You can find out more about this error model and how to work with it in the
600 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700601 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
602 # message types for APIs to use.
603 {
604 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
605 },
606 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700607 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
608 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
609 # user-facing error message should be localized and sent in the
610 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700611 },
612 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
613 # contains progress information and common metadata such as create time.
614 # Some services might not provide such metadata. Any method that returns a
615 # long-running operation should document the metadata type, if any.
616 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
617 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700618 }</pre>
619</div>
620
621</body></html>