1{
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
7 }
8 }
9 }
10 },
11 "basePath": "",
12 "baseUrl": "https://tpu.googleapis.com/",
13 "batchPath": "batch",
14 "canonicalName": "TPU",
15 "description": "TPU API provides customers with access to Google TPU technology.",
16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/tpu/",
18 "fullyEncodeReservedExpansion": true,
19 "icons": {
20 "x16": "http://www.google.com/images/icons/product/search-16.gif",
21 "x32": "http://www.google.com/images/icons/product/search-32.gif"
22 },
23 "id": "tpu:v2alpha1",
24 "kind": "discovery#restDescription",
25 "mtlsRootUrl": "https://tpu.mtls.googleapis.com/",
26 "name": "tpu",
27 "ownerDomain": "google.com",
28 "ownerName": "Google",
29 "parameters": {
30 "$.xgafv": {
31 "description": "V1 error format.",
32 "enum": [
33 "1",
34 "2"
35 ],
36 "enumDescriptions": [
37 "v1 error format",
38 "v2 error format"
39 ],
40 "location": "query",
41 "type": "string"
42 },
43 "access_token": {
44 "description": "OAuth access token.",
45 "location": "query",
46 "type": "string"
47 },
48 "alt": {
49 "default": "json",
50 "description": "Data format for response.",
51 "enum": [
52 "json",
53 "media",
54 "proto"
55 ],
56 "enumDescriptions": [
57 "Responses with Content-Type of application/json",
58 "Media download with context-dependent Content-Type",
59 "Responses with Content-Type of application/x-protobuf"
60 ],
61 "location": "query",
62 "type": "string"
63 },
64 "callback": {
65 "description": "JSONP",
66 "location": "query",
67 "type": "string"
68 },
69 "fields": {
70 "description": "Selector specifying which fields to include in a partial response.",
71 "location": "query",
72 "type": "string"
73 },
74 "key": {
75 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
76 "location": "query",
77 "type": "string"
78 },
79 "oauth_token": {
80 "description": "OAuth 2.0 token for the current user.",
81 "location": "query",
82 "type": "string"
83 },
84 "prettyPrint": {
85 "default": "true",
86 "description": "Returns response with indentations and line breaks.",
87 "location": "query",
88 "type": "boolean"
89 },
90 "quotaUser": {
91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
92 "location": "query",
93 "type": "string"
94 },
95 "uploadType": {
96 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
97 "location": "query",
98 "type": "string"
99 },
100 "upload_protocol": {
101 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
102 "location": "query",
103 "type": "string"
104 }
105 },
106 "protocol": "rest",
107 "resources": {
108 "projects": {
109 "resources": {
110 "locations": {
111 "methods": {
112 "generateServiceIdentity": {
113 "description": "Generates the Cloud TPU service identity for the project.",
114 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}:generateServiceIdentity",
115 "httpMethod": "POST",
116 "id": "tpu.projects.locations.generateServiceIdentity",
117 "parameterOrder": [
118 "parent"
119 ],
120 "parameters": {
121 "parent": {
122 "description": "Required. The parent resource name.",
123 "location": "path",
124 "pattern": "^projects/[^/]+/locations/[^/]+$",
125 "required": true,
126 "type": "string"
127 }
128 },
129 "path": "v2alpha1/{+parent}:generateServiceIdentity",
130 "request": {
131 "$ref": "GenerateServiceIdentityRequest"
132 },
133 "response": {
134 "$ref": "GenerateServiceIdentityResponse"
135 },
136 "scopes": [
137 "https://www.googleapis.com/auth/cloud-platform"
138 ]
139 },
140 "get": {
141 "description": "Gets information about a location.",
142 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}",
143 "httpMethod": "GET",
144 "id": "tpu.projects.locations.get",
145 "parameterOrder": [
146 "name"
147 ],
148 "parameters": {
149 "name": {
150 "description": "Resource name for the location.",
151 "location": "path",
152 "pattern": "^projects/[^/]+/locations/[^/]+$",
153 "required": true,
154 "type": "string"
155 }
156 },
157 "path": "v2alpha1/{+name}",
158 "response": {
159 "$ref": "Location"
160 },
161 "scopes": [
162 "https://www.googleapis.com/auth/cloud-platform"
163 ]
164 },
165 "list": {
166 "description": "Lists information about the supported locations for this service.",
167 "flatPath": "v2alpha1/projects/{projectsId}/locations",
168 "httpMethod": "GET",
169 "id": "tpu.projects.locations.list",
170 "parameterOrder": [
171 "name"
172 ],
173 "parameters": {
174 "filter": {
175 "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
176 "location": "query",
177 "type": "string"
178 },
179 "name": {
180 "description": "The resource that owns the locations collection, if applicable.",
181 "location": "path",
182 "pattern": "^projects/[^/]+$",
183 "required": true,
184 "type": "string"
185 },
186 "pageSize": {
187 "description": "The maximum number of results to return. If not set, the service selects a default.",
188 "format": "int32",
189 "location": "query",
190 "type": "integer"
191 },
192 "pageToken": {
193 "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
194 "location": "query",
195 "type": "string"
196 }
197 },
198 "path": "v2alpha1/{+name}/locations",
199 "response": {
200 "$ref": "ListLocationsResponse"
201 },
202 "scopes": [
203 "https://www.googleapis.com/auth/cloud-platform"
204 ]
205 }
206 },
207 "resources": {
208 "acceleratorTypes": {
209 "methods": {
210 "get": {
211 "description": "Gets AcceleratorType.",
212 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/acceleratorTypes/{acceleratorTypesId}",
213 "httpMethod": "GET",
214 "id": "tpu.projects.locations.acceleratorTypes.get",
215 "parameterOrder": [
216 "name"
217 ],
218 "parameters": {
219 "name": {
220 "description": "Required. The resource name.",
221 "location": "path",
222 "pattern": "^projects/[^/]+/locations/[^/]+/acceleratorTypes/[^/]+$",
223 "required": true,
224 "type": "string"
225 }
226 },
227 "path": "v2alpha1/{+name}",
228 "response": {
229 "$ref": "AcceleratorType"
230 },
231 "scopes": [
232 "https://www.googleapis.com/auth/cloud-platform"
233 ]
234 },
235 "list": {
236 "description": "Lists accelerator types supported by this API.",
237 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/acceleratorTypes",
238 "httpMethod": "GET",
239 "id": "tpu.projects.locations.acceleratorTypes.list",
240 "parameterOrder": [
241 "parent"
242 ],
243 "parameters": {
244 "filter": {
245 "description": "List filter.",
246 "location": "query",
247 "type": "string"
248 },
249 "orderBy": {
250 "description": "Sort results.",
251 "location": "query",
252 "type": "string"
253 },
254 "pageSize": {
255 "description": "The maximum number of items to return.",
256 "format": "int32",
257 "location": "query",
258 "type": "integer"
259 },
260 "pageToken": {
261 "description": "The next_page_token value returned from a previous List request, if any.",
262 "location": "query",
263 "type": "string"
264 },
265 "parent": {
266 "description": "Required. The parent resource name.",
267 "location": "path",
268 "pattern": "^projects/[^/]+/locations/[^/]+$",
269 "required": true,
270 "type": "string"
271 }
272 },
273 "path": "v2alpha1/{+parent}/acceleratorTypes",
274 "response": {
275 "$ref": "ListAcceleratorTypesResponse"
276 },
277 "scopes": [
278 "https://www.googleapis.com/auth/cloud-platform"
279 ]
280 }
281 }
282 },
283 "nodes": {
284 "methods": {
285 "create": {
286 "description": "Creates a node.",
287 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/nodes",
288 "httpMethod": "POST",
289 "id": "tpu.projects.locations.nodes.create",
290 "parameterOrder": [
291 "parent"
292 ],
293 "parameters": {
294 "nodeId": {
295 "description": "The unqualified resource name.",
296 "location": "query",
297 "type": "string"
298 },
299 "parent": {
300 "description": "Required. The parent resource name.",
301 "location": "path",
302 "pattern": "^projects/[^/]+/locations/[^/]+$",
303 "required": true,
304 "type": "string"
305 },
306 "requestId": {
307 "description": "Idempotent request UUID.",
308 "location": "query",
309 "type": "string"
310 }
311 },
312 "path": "v2alpha1/{+parent}/nodes",
313 "request": {
314 "$ref": "Node"
315 },
316 "response": {
317 "$ref": "Operation"
318 },
319 "scopes": [
320 "https://www.googleapis.com/auth/cloud-platform"
321 ]
322 },
323 "delete": {
324 "description": "Deletes a node.",
325 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}",
326 "httpMethod": "DELETE",
327 "id": "tpu.projects.locations.nodes.delete",
328 "parameterOrder": [
329 "name"
330 ],
331 "parameters": {
332 "name": {
333 "description": "Required. The resource name.",
334 "location": "path",
335 "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$",
336 "required": true,
337 "type": "string"
338 },
339 "requestId": {
340 "description": "Idempotent request UUID.",
341 "location": "query",
342 "type": "string"
343 }
344 },
345 "path": "v2alpha1/{+name}",
346 "response": {
347 "$ref": "Operation"
348 },
349 "scopes": [
350 "https://www.googleapis.com/auth/cloud-platform"
351 ]
352 },
353 "get": {
354 "description": "Gets the details of a node.",
355 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}",
356 "httpMethod": "GET",
357 "id": "tpu.projects.locations.nodes.get",
358 "parameterOrder": [
359 "name"
360 ],
361 "parameters": {
362 "name": {
363 "description": "Required. The resource name.",
364 "location": "path",
365 "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$",
366 "required": true,
367 "type": "string"
368 }
369 },
370 "path": "v2alpha1/{+name}",
371 "response": {
372 "$ref": "Node"
373 },
374 "scopes": [
375 "https://www.googleapis.com/auth/cloud-platform"
376 ]
377 },
378 "getGuestAttributes": {
379 "description": "Retrieves the guest attributes for the node.",
380 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:getGuestAttributes",
381 "httpMethod": "POST",
382 "id": "tpu.projects.locations.nodes.getGuestAttributes",
383 "parameterOrder": [
384 "name"
385 ],
386 "parameters": {
387 "name": {
388 "description": "Required. The resource name.",
389 "location": "path",
390 "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$",
391 "required": true,
392 "type": "string"
393 }
394 },
395 "path": "v2alpha1/{+name}:getGuestAttributes",
396 "request": {
397 "$ref": "GetGuestAttributesRequest"
398 },
399 "response": {
400 "$ref": "GetGuestAttributesResponse"
401 },
402 "scopes": [
403 "https://www.googleapis.com/auth/cloud-platform"
404 ]
405 },
406 "list": {
407 "description": "Lists nodes.",
408 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/nodes",
409 "httpMethod": "GET",
410 "id": "tpu.projects.locations.nodes.list",
411 "parameterOrder": [
412 "parent"
413 ],
414 "parameters": {
415 "pageSize": {
416 "description": "The maximum number of items to return.",
417 "format": "int32",
418 "location": "query",
419 "type": "integer"
420 },
421 "pageToken": {
422 "description": "The next_page_token value returned from a previous List request, if any.",
423 "location": "query",
424 "type": "string"
425 },
426 "parent": {
427 "description": "Required. The parent resource name.",
428 "location": "path",
429 "pattern": "^projects/[^/]+/locations/[^/]+$",
430 "required": true,
431 "type": "string"
432 }
433 },
434 "path": "v2alpha1/{+parent}/nodes",
435 "response": {
436 "$ref": "ListNodesResponse"
437 },
438 "scopes": [
439 "https://www.googleapis.com/auth/cloud-platform"
440 ]
441 },
442 "patch": {
443 "description": "Updates the configurations of a node.",
444 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}",
445 "httpMethod": "PATCH",
446 "id": "tpu.projects.locations.nodes.patch",
447 "parameterOrder": [
448 "name"
449 ],
450 "parameters": {
451 "name": {
452 "description": "Output only. Immutable. The name of the TPU.",
453 "location": "path",
454 "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$",
455 "required": true,
456 "type": "string"
457 },
458 "updateMask": {
459 "description": "Required. Mask of fields from Node to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].",
460 "format": "google-fieldmask",
461 "location": "query",
462 "type": "string"
463 }
464 },
465 "path": "v2alpha1/{+name}",
466 "request": {
467 "$ref": "Node"
468 },
469 "response": {
470 "$ref": "Operation"
471 },
472 "scopes": [
473 "https://www.googleapis.com/auth/cloud-platform"
474 ]
475 },
476 "simulateMaintenanceEvent": {
477 "description": "Simulates a maintenance event.",
478 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:simulateMaintenanceEvent",
479 "httpMethod": "POST",
480 "id": "tpu.projects.locations.nodes.simulateMaintenanceEvent",
481 "parameterOrder": [
482 "name"
483 ],
484 "parameters": {
485 "name": {
486 "description": "Required. The resource name.",
487 "location": "path",
488 "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$",
489 "required": true,
490 "type": "string"
491 }
492 },
493 "path": "v2alpha1/{+name}:simulateMaintenanceEvent",
494 "request": {
495 "$ref": "SimulateMaintenanceEventRequest"
496 },
497 "response": {
498 "$ref": "Operation"
499 },
500 "scopes": [
501 "https://www.googleapis.com/auth/cloud-platform"
502 ]
503 },
504 "start": {
505 "description": "Starts a node.",
506 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:start",
507 "httpMethod": "POST",
508 "id": "tpu.projects.locations.nodes.start",
509 "parameterOrder": [
510 "name"
511 ],
512 "parameters": {
513 "name": {
514 "description": "Required. The resource name.",
515 "location": "path",
516 "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$",
517 "required": true,
518 "type": "string"
519 }
520 },
521 "path": "v2alpha1/{+name}:start",
522 "request": {
523 "$ref": "StartNodeRequest"
524 },
525 "response": {
526 "$ref": "Operation"
527 },
528 "scopes": [
529 "https://www.googleapis.com/auth/cloud-platform"
530 ]
531 },
532 "stop": {
533 "description": "Stops a node. This operation is only available with single TPU nodes.",
534 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:stop",
535 "httpMethod": "POST",
536 "id": "tpu.projects.locations.nodes.stop",
537 "parameterOrder": [
538 "name"
539 ],
540 "parameters": {
541 "name": {
542 "description": "Required. The resource name.",
543 "location": "path",
544 "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$",
545 "required": true,
546 "type": "string"
547 }
548 },
549 "path": "v2alpha1/{+name}:stop",
550 "request": {
551 "$ref": "StopNodeRequest"
552 },
553 "response": {
554 "$ref": "Operation"
555 },
556 "scopes": [
557 "https://www.googleapis.com/auth/cloud-platform"
558 ]
559 }
560 }
561 },
562 "operations": {
563 "methods": {
564 "cancel": {
565 "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
566 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
567 "httpMethod": "POST",
568 "id": "tpu.projects.locations.operations.cancel",
569 "parameterOrder": [
570 "name"
571 ],
572 "parameters": {
573 "name": {
574 "description": "The name of the operation resource to be cancelled.",
575 "location": "path",
576 "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
577 "required": true,
578 "type": "string"
579 }
580 },
581 "path": "v2alpha1/{+name}:cancel",
582 "response": {
583 "$ref": "Empty"
584 },
585 "scopes": [
586 "https://www.googleapis.com/auth/cloud-platform"
587 ]
588 },
589 "delete": {
590 "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
591 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
592 "httpMethod": "DELETE",
593 "id": "tpu.projects.locations.operations.delete",
594 "parameterOrder": [
595 "name"
596 ],
597 "parameters": {
598 "name": {
599 "description": "The name of the operation resource to be deleted.",
600 "location": "path",
601 "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
602 "required": true,
603 "type": "string"
604 }
605 },
606 "path": "v2alpha1/{+name}",
607 "response": {
608 "$ref": "Empty"
609 },
610 "scopes": [
611 "https://www.googleapis.com/auth/cloud-platform"
612 ]
613 },
614 "get": {
615 "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
616 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
617 "httpMethod": "GET",
618 "id": "tpu.projects.locations.operations.get",
619 "parameterOrder": [
620 "name"
621 ],
622 "parameters": {
623 "name": {
624 "description": "The name of the operation resource.",
625 "location": "path",
626 "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
627 "required": true,
628 "type": "string"
629 }
630 },
631 "path": "v2alpha1/{+name}",
632 "response": {
633 "$ref": "Operation"
634 },
635 "scopes": [
636 "https://www.googleapis.com/auth/cloud-platform"
637 ]
638 },
639 "list": {
640 "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
641 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/operations",
642 "httpMethod": "GET",
643 "id": "tpu.projects.locations.operations.list",
644 "parameterOrder": [
645 "name"
646 ],
647 "parameters": {
648 "filter": {
649 "description": "The standard list filter.",
650 "location": "query",
651 "type": "string"
652 },
653 "name": {
654 "description": "The name of the operation's parent resource.",
655 "location": "path",
656 "pattern": "^projects/[^/]+/locations/[^/]+$",
657 "required": true,
658 "type": "string"
659 },
660 "pageSize": {
661 "description": "The standard list page size.",
662 "format": "int32",
663 "location": "query",
664 "type": "integer"
665 },
666 "pageToken": {
667 "description": "The standard list page token.",
668 "location": "query",
669 "type": "string"
670 }
671 },
672 "path": "v2alpha1/{+name}/operations",
673 "response": {
674 "$ref": "ListOperationsResponse"
675 },
676 "scopes": [
677 "https://www.googleapis.com/auth/cloud-platform"
678 ]
679 }
680 }
681 },
682 "queuedResources": {
683 "methods": {
684 "create": {
685 "description": "Creates a QueuedResource TPU instance.",
686 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/queuedResources",
687 "httpMethod": "POST",
688 "id": "tpu.projects.locations.queuedResources.create",
689 "parameterOrder": [
690 "parent"
691 ],
692 "parameters": {
693 "parent": {
694 "description": "Required. The parent resource name.",
695 "location": "path",
696 "pattern": "^projects/[^/]+/locations/[^/]+$",
697 "required": true,
698 "type": "string"
699 },
700 "queuedResourceId": {
701 "description": "The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format.",
702 "location": "query",
703 "type": "string"
704 },
705 "requestId": {
706 "description": "Idempotent request UUID.",
707 "location": "query",
708 "type": "string"
709 }
710 },
711 "path": "v2alpha1/{+parent}/queuedResources",
712 "request": {
713 "$ref": "QueuedResource"
714 },
715 "response": {
716 "$ref": "Operation"
717 },
718 "scopes": [
719 "https://www.googleapis.com/auth/cloud-platform"
720 ]
721 },
722 "delete": {
723 "description": "Deletes a QueuedResource TPU instance.",
724 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/queuedResources/{queuedResourcesId}",
725 "httpMethod": "DELETE",
726 "id": "tpu.projects.locations.queuedResources.delete",
727 "parameterOrder": [
728 "name"
729 ],
730 "parameters": {
731 "force": {
732 "description": "If set to true, all running nodes belonging to this queued resource will be deleted first and then the queued resource will be deleted. Otherwise (i.e. force=false), the queued resource will only be deleted if its nodes have already been deleted or the queued resource is in the ACCEPTED, FAILED, or SUSPENDED state.",
733 "location": "query",
734 "type": "boolean"
735 },
736 "name": {
737 "description": "Required. The resource name.",
738 "location": "path",
739 "pattern": "^projects/[^/]+/locations/[^/]+/queuedResources/[^/]+$",
740 "required": true,
741 "type": "string"
742 },
743 "requestId": {
744 "description": "Idempotent request UUID.",
745 "location": "query",
746 "type": "string"
747 }
748 },
749 "path": "v2alpha1/{+name}",
750 "response": {
751 "$ref": "Operation"
752 },
753 "scopes": [
754 "https://www.googleapis.com/auth/cloud-platform"
755 ]
756 },
757 "get": {
758 "description": "Gets details of a queued resource.",
759 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/queuedResources/{queuedResourcesId}",
760 "httpMethod": "GET",
761 "id": "tpu.projects.locations.queuedResources.get",
762 "parameterOrder": [
763 "name"
764 ],
765 "parameters": {
766 "name": {
767 "description": "Required. The resource name.",
768 "location": "path",
769 "pattern": "^projects/[^/]+/locations/[^/]+/queuedResources/[^/]+$",
770 "required": true,
771 "type": "string"
772 }
773 },
774 "path": "v2alpha1/{+name}",
775 "response": {
776 "$ref": "QueuedResource"
777 },
778 "scopes": [
779 "https://www.googleapis.com/auth/cloud-platform"
780 ]
781 },
782 "list": {
783 "description": "Lists queued resources.",
784 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/queuedResources",
785 "httpMethod": "GET",
786 "id": "tpu.projects.locations.queuedResources.list",
787 "parameterOrder": [
788 "parent"
789 ],
790 "parameters": {
791 "pageSize": {
792 "description": "The maximum number of items to return.",
793 "format": "int32",
794 "location": "query",
795 "type": "integer"
796 },
797 "pageToken": {
798 "description": "The next_page_token value returned from a previous List request, if any.",
799 "location": "query",
800 "type": "string"
801 },
802 "parent": {
803 "description": "Required. The parent resource name.",
804 "location": "path",
805 "pattern": "^projects/[^/]+/locations/[^/]+$",
806 "required": true,
807 "type": "string"
808 }
809 },
810 "path": "v2alpha1/{+parent}/queuedResources",
811 "response": {
812 "$ref": "ListQueuedResourcesResponse"
813 },
814 "scopes": [
815 "https://www.googleapis.com/auth/cloud-platform"
816 ]
817 },
818 "reset": {
819 "description": "Resets a QueuedResource TPU instance",
820 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/queuedResources/{queuedResourcesId}:reset",
821 "httpMethod": "POST",
822 "id": "tpu.projects.locations.queuedResources.reset",
823 "parameterOrder": [
824 "name"
825 ],
826 "parameters": {
827 "name": {
828 "description": "Required. The name of the queued resource.",
829 "location": "path",
830 "pattern": "^projects/[^/]+/locations/[^/]+/queuedResources/[^/]+$",
831 "required": true,
832 "type": "string"
833 }
834 },
835 "path": "v2alpha1/{+name}:reset",
836 "request": {
837 "$ref": "ResetQueuedResourceRequest"
838 },
839 "response": {
840 "$ref": "Operation"
841 },
842 "scopes": [
843 "https://www.googleapis.com/auth/cloud-platform"
844 ]
845 }
846 }
847 },
848 "reservations": {
849 "methods": {
850 "list": {
851 "description": "Retrieves the reservations for the given project in the given location.",
852 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/reservations",
853 "httpMethod": "GET",
854 "id": "tpu.projects.locations.reservations.list",
855 "parameterOrder": [
856 "parent"
857 ],
858 "parameters": {
859 "pageSize": {
860 "description": "The maximum number of items to return.",
861 "format": "int32",
862 "location": "query",
863 "type": "integer"
864 },
865 "pageToken": {
866 "description": "The next_page_token value returned from a previous List request, if any.",
867 "location": "query",
868 "type": "string"
869 },
870 "parent": {
871 "description": "Required. The parent for reservations.",
872 "location": "path",
873 "pattern": "^projects/[^/]+/locations/[^/]+$",
874 "required": true,
875 "type": "string"
876 }
877 },
878 "path": "v2alpha1/{+parent}/reservations",
879 "response": {
880 "$ref": "ListReservationsResponse"
881 },
882 "scopes": [
883 "https://www.googleapis.com/auth/cloud-platform"
884 ]
885 }
886 }
887 },
888 "runtimeVersions": {
889 "methods": {
890 "get": {
891 "description": "Gets a runtime version.",
892 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/runtimeVersions/{runtimeVersionsId}",
893 "httpMethod": "GET",
894 "id": "tpu.projects.locations.runtimeVersions.get",
895 "parameterOrder": [
896 "name"
897 ],
898 "parameters": {
899 "name": {
900 "description": "Required. The resource name.",
901 "location": "path",
902 "pattern": "^projects/[^/]+/locations/[^/]+/runtimeVersions/[^/]+$",
903 "required": true,
904 "type": "string"
905 }
906 },
907 "path": "v2alpha1/{+name}",
908 "response": {
909 "$ref": "RuntimeVersion"
910 },
911 "scopes": [
912 "https://www.googleapis.com/auth/cloud-platform"
913 ]
914 },
915 "list": {
916 "description": "Lists runtime versions supported by this API.",
917 "flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/runtimeVersions",
918 "httpMethod": "GET",
919 "id": "tpu.projects.locations.runtimeVersions.list",
920 "parameterOrder": [
921 "parent"
922 ],
923 "parameters": {
924 "filter": {
925 "description": "List filter.",
926 "location": "query",
927 "type": "string"
928 },
929 "orderBy": {
930 "description": "Sort results.",
931 "location": "query",
932 "type": "string"
933 },
934 "pageSize": {
935 "description": "The maximum number of items to return.",
936 "format": "int32",
937 "location": "query",
938 "type": "integer"
939 },
940 "pageToken": {
941 "description": "The next_page_token value returned from a previous List request, if any.",
942 "location": "query",
943 "type": "string"
944 },
945 "parent": {
946 "description": "Required. The parent resource name.",
947 "location": "path",
948 "pattern": "^projects/[^/]+/locations/[^/]+$",
949 "required": true,
950 "type": "string"
951 }
952 },
953 "path": "v2alpha1/{+parent}/runtimeVersions",
954 "response": {
955 "$ref": "ListRuntimeVersionsResponse"
956 },
957 "scopes": [
958 "https://www.googleapis.com/auth/cloud-platform"
959 ]
960 }
961 }
962 }
963 }
964 }
965 }
966 }
967 },
968 "revision": "20240411",
969 "rootUrl": "https://tpu.googleapis.com/",
970 "schemas": {
971 "AcceleratorConfig": {
972 "description": "A TPU accelerator configuration.",
973 "id": "AcceleratorConfig",
974 "properties": {
975 "topology": {
976 "description": "Required. Topology of TPU in chips.",
977 "type": "string"
978 },
979 "type": {
980 "description": "Required. Type of TPU.",
981 "enum": [
982 "TYPE_UNSPECIFIED",
983 "V2",
984 "V3",
985 "V4",
986 "V5P"
987 ],
988 "enumDescriptions": [
989 "Unspecified version.",
990 "TPU v2.",
991 "TPU v3.",
992 "TPU v4.",
993 "TPU v5."
994 ],
995 "type": "string"
996 }
997 },
998 "type": "object"
999 },
1000 "AcceleratorType": {
1001 "description": "A accelerator type that a Node can be configured with.",
1002 "id": "AcceleratorType",
1003 "properties": {
1004 "acceleratorConfigs": {
1005 "description": "The accelerator config.",
1006 "items": {
1007 "$ref": "AcceleratorConfig"
1008 },
1009 "type": "array"
1010 },
1011 "name": {
1012 "description": "The resource name.",
1013 "type": "string"
1014 },
1015 "type": {
1016 "description": "The accelerator type.",
1017 "type": "string"
1018 }
1019 },
1020 "type": "object"
1021 },
1022 "AcceptedData": {
1023 "description": "Further data for the accepted state.",
1024 "id": "AcceptedData",
1025 "properties": {},
1026 "type": "object"
1027 },
1028 "AccessConfig": {
1029 "description": "An access config attached to the TPU worker.",
1030 "id": "AccessConfig",
1031 "properties": {
1032 "externalIp": {
1033 "description": "Output only. An external IP address associated with the TPU worker.",
1034 "readOnly": true,
1035 "type": "string"
1036 }
1037 },
1038 "type": "object"
1039 },
1040 "ActiveData": {
1041 "description": "Further data for the active state.",
1042 "id": "ActiveData",
1043 "properties": {},
1044 "type": "object"
1045 },
1046 "AttachedDisk": {
1047 "description": "A node-attached disk resource. Next ID: 8;",
1048 "id": "AttachedDisk",
1049 "properties": {
1050 "mode": {
1051 "description": "The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.",
1052 "enum": [
1053 "DISK_MODE_UNSPECIFIED",
1054 "READ_WRITE",
1055 "READ_ONLY"
1056 ],
1057 "enumDescriptions": [
1058 "The disk mode is not known/set.",
1059 "Attaches the disk in read-write mode. Only one TPU node can attach a disk in read-write mode at a time.",
1060 "Attaches the disk in read-only mode. Multiple TPU nodes can attach a disk in read-only mode at a time."
1061 ],
1062 "type": "string"
1063 },
1064 "sourceDisk": {
1065 "description": "Specifies the full path to an existing disk. For example: \"projects/my-project/zones/us-central1-c/disks/my-disk\".",
1066 "type": "string"
1067 }
1068 },
1069 "type": "object"
1070 },
1071 "BestEffort": {
1072 "description": "BestEffort tier definition.",
1073 "id": "BestEffort",
1074 "properties": {},
1075 "type": "object"
1076 },
1077 "BootDiskConfig": {
1078 "description": "Boot disk configurations.",
1079 "id": "BootDiskConfig",
1080 "properties": {
1081 "customerEncryptionKey": {
1082 "$ref": "CustomerEncryptionKey",
1083 "description": "Optional. Customer encryption key for boot disk."
1084 },
1085 "enableConfidentialCompute": {
1086 "description": "Optional. Whether the boot disk will be created with confidential compute mode.",
1087 "type": "boolean"
1088 }
1089 },
1090 "type": "object"
1091 },
1092 "CreatingData": {
1093 "description": "Further data for the creating state.",
1094 "id": "CreatingData",
1095 "properties": {},
1096 "type": "object"
1097 },
1098 "CustomerEncryptionKey": {
1099 "description": "Customer's encryption key.",
1100 "id": "CustomerEncryptionKey",
1101 "properties": {
1102 "kmsKeyName": {
1103 "description": "The name of the encryption key that is stored in Google Cloud KMS. For example: \"kmsKeyName\": \"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: \"kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1 ",
1104 "type": "string"
1105 }
1106 },
1107 "type": "object"
1108 },
1109 "DeletingData": {
1110 "description": "Further data for the deleting state.",
1111 "id": "DeletingData",
1112 "properties": {},
1113 "type": "object"
1114 },
1115 "Empty": {
1116 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
1117 "id": "Empty",
1118 "properties": {},
1119 "type": "object"
1120 },
1121 "FailedData": {
1122 "description": "Further data for the failed state.",
1123 "id": "FailedData",
1124 "properties": {
1125 "error": {
1126 "$ref": "Status",
1127 "description": "The error that caused the queued resource to enter the FAILED state."
1128 }
1129 },
1130 "type": "object"
1131 },
1132 "GenerateServiceIdentityRequest": {
1133 "description": "Request for GenerateServiceIdentity.",
1134 "id": "GenerateServiceIdentityRequest",
1135 "properties": {},
1136 "type": "object"
1137 },
1138 "GenerateServiceIdentityResponse": {
1139 "description": "Response for GenerateServiceIdentity.",
1140 "id": "GenerateServiceIdentityResponse",
1141 "properties": {
1142 "identity": {
1143 "$ref": "ServiceIdentity",
1144 "description": "ServiceIdentity that was created or retrieved."
1145 }
1146 },
1147 "type": "object"
1148 },
1149 "GetGuestAttributesRequest": {
1150 "description": "Request for GetGuestAttributes.",
1151 "id": "GetGuestAttributesRequest",
1152 "properties": {
1153 "queryPath": {
1154 "description": "The guest attributes path to be queried.",
1155 "type": "string"
1156 },
1157 "workerIds": {
1158 "description": "The 0-based worker ID. If it is empty, all workers' GuestAttributes will be returned.",
1159 "items": {
1160 "type": "string"
1161 },
1162 "type": "array"
1163 }
1164 },
1165 "type": "object"
1166 },
1167 "GetGuestAttributesResponse": {
1168 "description": "Response for GetGuestAttributes.",
1169 "id": "GetGuestAttributesResponse",
1170 "properties": {
1171 "guestAttributes": {
1172 "description": "The guest attributes for the TPU workers.",
1173 "items": {
1174 "$ref": "GuestAttributes"
1175 },
1176 "type": "array"
1177 }
1178 },
1179 "type": "object"
1180 },
1181 "Guaranteed": {
1182 "description": "Guaranteed tier definition.",
1183 "id": "Guaranteed",
1184 "properties": {
1185 "minDuration": {
1186 "description": "Optional. Defines the minimum duration of the guarantee. If specified, the requested resources will only be provisioned if they can be allocated for at least the given duration.",
1187 "format": "google-duration",
1188 "type": "string"
1189 },
1190 "reserved": {
1191 "description": "Optional. Specifies the request should be scheduled on reserved capacity.",
1192 "type": "boolean"
1193 }
1194 },
1195 "type": "object"
1196 },
1197 "GuestAttributes": {
1198 "description": "A guest attributes.",
1199 "id": "GuestAttributes",
1200 "properties": {
1201 "queryPath": {
1202 "description": "The path to be queried. This can be the default namespace ('/') or a nested namespace ('/\\/') or a specified key ('/\\/\\')",
1203 "type": "string"
1204 },
1205 "queryValue": {
1206 "$ref": "GuestAttributesValue",
1207 "description": "The value of the requested queried path."
1208 }
1209 },
1210 "type": "object"
1211 },
1212 "GuestAttributesEntry": {
1213 "description": "A guest attributes namespace/key/value entry.",
1214 "id": "GuestAttributesEntry",
1215 "properties": {
1216 "key": {
1217 "description": "Key for the guest attribute entry.",
1218 "type": "string"
1219 },
1220 "namespace": {
1221 "description": "Namespace for the guest attribute entry.",
1222 "type": "string"
1223 },
1224 "value": {
1225 "description": "Value for the guest attribute entry.",
1226 "type": "string"
1227 }
1228 },
1229 "type": "object"
1230 },
1231 "GuestAttributesValue": {
1232 "description": "Array of guest attribute namespace/key/value tuples.",
1233 "id": "GuestAttributesValue",
1234 "properties": {
1235 "items": {
1236 "description": "The list of guest attributes entries.",
1237 "items": {
1238 "$ref": "GuestAttributesEntry"
1239 },
1240 "type": "array"
1241 }
1242 },
1243 "type": "object"
1244 },
1245 "Interval": {
1246 "description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.",
1247 "id": "Interval",
1248 "properties": {
1249 "endTime": {
1250 "description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.",
1251 "format": "google-datetime",
1252 "type": "string"
1253 },
1254 "startTime": {
1255 "description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.",
1256 "format": "google-datetime",
1257 "type": "string"
1258 }
1259 },
1260 "type": "object"
1261 },
1262 "ListAcceleratorTypesResponse": {
1263 "description": "Response for ListAcceleratorTypes.",
1264 "id": "ListAcceleratorTypesResponse",
1265 "properties": {
1266 "acceleratorTypes": {
1267 "description": "The listed nodes.",
1268 "items": {
1269 "$ref": "AcceleratorType"
1270 },
1271 "type": "array"
1272 },
1273 "nextPageToken": {
1274 "description": "The next page token or empty if none.",
1275 "type": "string"
1276 },
1277 "unreachable": {
1278 "description": "Locations that could not be reached.",
1279 "items": {
1280 "type": "string"
1281 },
1282 "type": "array"
1283 }
1284 },
1285 "type": "object"
1286 },
1287 "ListLocationsResponse": {
1288 "description": "The response message for Locations.ListLocations.",
1289 "id": "ListLocationsResponse",
1290 "properties": {
1291 "locations": {
1292 "description": "A list of locations that matches the specified filter in the request.",
1293 "items": {
1294 "$ref": "Location"
1295 },
1296 "type": "array"
1297 },
1298 "nextPageToken": {
1299 "description": "The standard List next-page token.",
1300 "type": "string"
1301 }
1302 },
1303 "type": "object"
1304 },
1305 "ListNodesResponse": {
1306 "description": "Response for ListNodes.",
1307 "id": "ListNodesResponse",
1308 "properties": {
1309 "nextPageToken": {
1310 "description": "The next page token or empty if none.",
1311 "type": "string"
1312 },
1313 "nodes": {
1314 "description": "The listed nodes.",
1315 "items": {
1316 "$ref": "Node"
1317 },
1318 "type": "array"
1319 },
1320 "unreachable": {
1321 "description": "Locations that could not be reached.",
1322 "items": {
1323 "type": "string"
1324 },
1325 "type": "array"
1326 }
1327 },
1328 "type": "object"
1329 },
1330 "ListOperationsResponse": {
1331 "description": "The response message for Operations.ListOperations.",
1332 "id": "ListOperationsResponse",
1333 "properties": {
1334 "nextPageToken": {
1335 "description": "The standard List next-page token.",
1336 "type": "string"
1337 },
1338 "operations": {
1339 "description": "A list of operations that matches the specified filter in the request.",
1340 "items": {
1341 "$ref": "Operation"
1342 },
1343 "type": "array"
1344 }
1345 },
1346 "type": "object"
1347 },
1348 "ListQueuedResourcesResponse": {
1349 "description": "Response for ListQueuedResources.",
1350 "id": "ListQueuedResourcesResponse",
1351 "properties": {
1352 "nextPageToken": {
1353 "description": "The next page token or empty if none.",
1354 "type": "string"
1355 },
1356 "queuedResources": {
1357 "description": "The listed queued resources.",
1358 "items": {
1359 "$ref": "QueuedResource"
1360 },
1361 "type": "array"
1362 },
1363 "unreachable": {
1364 "description": "Locations that could not be reached.",
1365 "items": {
1366 "type": "string"
1367 },
1368 "type": "array"
1369 }
1370 },
1371 "type": "object"
1372 },
1373 "ListReservationsResponse": {
1374 "description": "Response for ListReservations.",
1375 "id": "ListReservationsResponse",
1376 "properties": {
1377 "nextPageToken": {
1378 "description": "The next page token or empty if none.",
1379 "type": "string"
1380 },
1381 "reservations": {
1382 "description": "The listed reservations.",
1383 "items": {
1384 "$ref": "Reservation"
1385 },
1386 "type": "array"
1387 }
1388 },
1389 "type": "object"
1390 },
1391 "ListRuntimeVersionsResponse": {
1392 "description": "Response for ListRuntimeVersions.",
1393 "id": "ListRuntimeVersionsResponse",
1394 "properties": {
1395 "nextPageToken": {
1396 "description": "The next page token or empty if none.",
1397 "type": "string"
1398 },
1399 "runtimeVersions": {
1400 "description": "The listed nodes.",
1401 "items": {
1402 "$ref": "RuntimeVersion"
1403 },
1404 "type": "array"
1405 },
1406 "unreachable": {
1407 "description": "Locations that could not be reached.",
1408 "items": {
1409 "type": "string"
1410 },
1411 "type": "array"
1412 }
1413 },
1414 "type": "object"
1415 },
1416 "Location": {
1417 "description": "A resource that represents a Google Cloud location.",
1418 "id": "Location",
1419 "properties": {
1420 "displayName": {
1421 "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
1422 "type": "string"
1423 },
1424 "labels": {
1425 "additionalProperties": {
1426 "type": "string"
1427 },
1428 "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
1429 "type": "object"
1430 },
1431 "locationId": {
1432 "description": "The canonical id for this location. For example: `\"us-east1\"`.",
1433 "type": "string"
1434 },
1435 "metadata": {
1436 "additionalProperties": {
1437 "description": "Properties of the object. Contains field @type with type URL.",
1438 "type": "any"
1439 },
1440 "description": "Service-specific metadata. For example the available capacity at the given location.",
1441 "type": "object"
1442 },
1443 "name": {
1444 "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
1445 "type": "string"
1446 }
1447 },
1448 "type": "object"
1449 },
1450 "MultiNodeParams": {
1451 "description": "Parameters to specify for multi-node QueuedResource requests. This field must be populated in case of multi-node requests instead of node_id. It's an error to specify both node_id and multi_node_params.",
1452 "id": "MultiNodeParams",
1453 "properties": {
1454 "nodeCount": {
1455 "description": "Required. Number of nodes with this spec. The system will attempt to provison \"node_count\" nodes as part of the request. This needs to be \u003e 1.",
1456 "format": "int32",
1457 "type": "integer"
1458 },
1459 "nodeIdPrefix": {
1460 "description": "Prefix of node_ids in case of multi-node request Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format. If node_count = 3 and node_id_prefix = \"np\", node ids of nodes created will be \"np-0\", \"np-1\", \"np-2\". If this field is not provided we use queued_resource_id as the node_id_prefix.",
1461 "type": "string"
1462 }
1463 },
1464 "type": "object"
1465 },
1466 "NetworkConfig": {
1467 "description": "Network related configurations.",
1468 "id": "NetworkConfig",
1469 "properties": {
1470 "canIpForward": {
1471 "description": "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.",
1472 "type": "boolean"
1473 },
1474 "enableExternalIps": {
1475 "description": "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.",
1476 "type": "boolean"
1477 },
1478 "network": {
1479 "description": "The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, \"default\" will be used.",
1480 "type": "string"
1481 },
1482 "queueCount": {
1483 "description": "Optional. Specifies networking queue count for TPU VM instance's network interface.",
1484 "format": "int32",
1485 "type": "integer"
1486 },
1487 "subnetwork": {
1488 "description": "The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, \"default\" will be used.",
1489 "type": "string"
1490 }
1491 },
1492 "type": "object"
1493 },
1494 "NetworkEndpoint": {
1495 "description": "A network endpoint over which a TPU worker can be reached.",
1496 "id": "NetworkEndpoint",
1497 "properties": {
1498 "accessConfig": {
1499 "$ref": "AccessConfig",
1500 "description": "The access config for the TPU worker."
1501 },
1502 "ipAddress": {
1503 "description": "The internal IP address of this network endpoint.",
1504 "type": "string"
1505 },
1506 "port": {
1507 "description": "The port of this network endpoint.",
1508 "format": "int32",
1509 "type": "integer"
1510 }
1511 },
1512 "type": "object"
1513 },
1514 "Node": {
1515 "description": "A TPU instance.",
1516 "id": "Node",
1517 "properties": {
1518 "acceleratorConfig": {
1519 "$ref": "AcceleratorConfig",
1520 "description": "The AccleratorConfig for the TPU Node."
1521 },
1522 "acceleratorType": {
1523 "description": "The type of hardware accelerators associated with this node.",
1524 "type": "string"
1525 },
1526 "apiVersion": {
1527 "description": "Output only. The API version that created this Node.",
1528 "enum": [
1529 "API_VERSION_UNSPECIFIED",
1530 "V1_ALPHA1",
1531 "V1",
1532 "V2_ALPHA1"
1533 ],
1534 "enumDescriptions": [
1535 "API version is unknown.",
1536 "TPU API V1Alpha1 version.",
1537 "TPU API V1 version.",
1538 "TPU API V2Alpha1 version."
1539 ],
1540 "readOnly": true,
1541 "type": "string"
1542 },
1543 "autocheckpointEnabled": {
1544 "description": "Optional. Whether Autocheckpoint is enabled.",
1545 "type": "boolean"
1546 },
1547 "bootDiskConfig": {
1548 "$ref": "BootDiskConfig",
1549 "description": "Optional. Boot disk configuration."
1550 },
1551 "cidrBlock": {
1552 "description": "The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.",
1553 "type": "string"
1554 },
1555 "createTime": {
1556 "description": "Output only. The time when the node was created.",
1557 "format": "google-datetime",
1558 "readOnly": true,
1559 "type": "string"
1560 },
1561 "dataDisks": {
1562 "description": "The additional data disks for the Node.",
1563 "items": {
1564 "$ref": "AttachedDisk"
1565 },
1566 "type": "array"
1567 },
1568 "description": {
1569 "description": "The user-supplied description of the TPU. Maximum of 512 characters.",
1570 "type": "string"
1571 },
1572 "health": {
1573 "description": "The health status of the TPU node.",
1574 "enum": [
1575 "HEALTH_UNSPECIFIED",
1576 "HEALTHY",
1577 "TIMEOUT",
1578 "UNHEALTHY_TENSORFLOW",
1579 "UNHEALTHY_MAINTENANCE"
1580 ],
1581 "enumDescriptions": [
1582 "Health status is unknown: not initialized or failed to retrieve.",
1583 "The resource is healthy.",
1584 "The resource is unresponsive.",
1585 "The in-guest ML stack is unhealthy.",
1586 "The node is under maintenance/priority boost caused rescheduling and will resume running once rescheduled."
1587 ],
1588 "type": "string"
1589 },
1590 "healthDescription": {
1591 "description": "Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.",
1592 "readOnly": true,
1593 "type": "string"
1594 },
1595 "id": {
1596 "description": "Output only. The unique identifier for the TPU Node.",
1597 "format": "int64",
1598 "readOnly": true,
1599 "type": "string"
1600 },
1601 "labels": {
1602 "additionalProperties": {
1603 "type": "string"
1604 },
1605 "description": "Resource labels to represent user-provided metadata.",
1606 "type": "object"
1607 },
1608 "metadata": {
1609 "additionalProperties": {
1610 "type": "string"
1611 },
1612 "description": "Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script",
1613 "type": "object"
1614 },
1615 "multisliceNode": {
1616 "description": "Output only. Whether the Node belongs to a Multislice group.",
1617 "readOnly": true,
1618 "type": "boolean"
1619 },
1620 "name": {
1621 "description": "Output only. Immutable. The name of the TPU.",
1622 "readOnly": true,
1623 "type": "string"
1624 },
1625 "networkConfig": {
1626 "$ref": "NetworkConfig",
1627 "description": "Network configurations for the TPU node."
1628 },
1629 "networkEndpoints": {
1630 "description": "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.",
1631 "items": {
1632 "$ref": "NetworkEndpoint"
1633 },
1634 "readOnly": true,
1635 "type": "array"
1636 },
1637 "queuedResource": {
1638 "description": "Output only. The qualified name of the QueuedResource that requested this Node.",
1639 "readOnly": true,
1640 "type": "string"
1641 },
1642 "runtimeVersion": {
1643 "description": "Required. The runtime version running in the Node.",
1644 "type": "string"
1645 },
1646 "schedulingConfig": {
1647 "$ref": "SchedulingConfig",
1648 "description": "The scheduling options for this node."
1649 },
1650 "serviceAccount": {
1651 "$ref": "ServiceAccount",
1652 "description": "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."
1653 },
1654 "shieldedInstanceConfig": {
1655 "$ref": "ShieldedInstanceConfig",
1656 "description": "Shielded Instance options."
1657 },
1658 "state": {
1659 "description": "Output only. The current state for the TPU Node.",
1660 "enum": [
1661 "STATE_UNSPECIFIED",
1662 "CREATING",
1663 "READY",
1664 "RESTARTING",
1665 "REIMAGING",
1666 "DELETING",
1667 "REPAIRING",
1668 "STOPPED",
1669 "STOPPING",
1670 "STARTING",
1671 "PREEMPTED",
1672 "TERMINATED",
1673 "HIDING",
1674 "HIDDEN",
1675 "UNHIDING"
1676 ],
1677 "enumDescriptions": [
1678 "TPU node state is not known/set.",
1679 "TPU node is being created.",
1680 "TPU node has been created.",
1681 "TPU node is restarting.",
1682 "TPU node is undergoing reimaging.",
1683 "TPU node is being deleted.",
1684 "TPU node is being repaired and may be unusable. Details can be found in the 'help_description' field.",
1685 "TPU node is stopped.",
1686 "TPU node is currently stopping.",
1687 "TPU node is currently starting.",
1688 "TPU node has been preempted. Only applies to Preemptible TPU Nodes.",
1689 "TPU node has been terminated due to maintenance or has reached the end of its life cycle (for preemptible nodes).",
1690 "TPU node is currently hiding.",
1691 "TPU node has been hidden.",
1692 "TPU node is currently unhiding."
1693 ],
1694 "readOnly": true,
1695 "type": "string"
1696 },
1697 "symptoms": {
1698 "description": "Output only. The Symptoms that have occurred to the TPU Node.",
1699 "items": {
1700 "$ref": "Symptom"
1701 },
1702 "readOnly": true,
1703 "type": "array"
1704 },
1705 "tags": {
1706 "description": "Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.",
1707 "items": {
1708 "type": "string"
1709 },
1710 "type": "array"
1711 }
1712 },
1713 "type": "object"
1714 },
1715 "NodeSpec": {
1716 "description": "Details of the TPU node(s) being requested. Users can request either a single node or multiple nodes. NodeSpec provides the specification for node(s) to be created.",
1717 "id": "NodeSpec",
1718 "properties": {
1719 "multiNodeParams": {
1720 "$ref": "MultiNodeParams",
1721 "description": "Optional. Fields to specify in case of multi-node request."
1722 },
1723 "node": {
1724 "$ref": "Node",
1725 "description": "Required. The node."
1726 },
1727 "nodeId": {
1728 "description": "The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format. This is only specified when requesting a single node. In case of multi-node requests, multi_node_params must be populated instead. It's an error to specify both node_id and multi_node_params.",
1729 "type": "string"
1730 },
1731 "parent": {
1732 "description": "Required. The parent resource name.",
1733 "type": "string"
1734 }
1735 },
1736 "type": "object"
1737 },
1738 "Operation": {
1739 "description": "This resource represents a long-running operation that is the result of a network API call.",
1740 "id": "Operation",
1741 "properties": {
1742 "done": {
1743 "description": "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.",
1744 "type": "boolean"
1745 },
1746 "error": {
1747 "$ref": "Status",
1748 "description": "The error result of the operation in case of failure or cancellation."
1749 },
1750 "metadata": {
1751 "additionalProperties": {
1752 "description": "Properties of the object. Contains field @type with type URL.",
1753 "type": "any"
1754 },
1755 "description": "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.",
1756 "type": "object"
1757 },
1758 "name": {
1759 "description": "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}`.",
1760 "type": "string"
1761 },
1762 "response": {
1763 "additionalProperties": {
1764 "description": "Properties of the object. Contains field @type with type URL.",
1765 "type": "any"
1766 },
1767 "description": "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`.",
1768 "type": "object"
1769 }
1770 },
1771 "type": "object"
1772 },
1773 "OperationMetadata": {
1774 "description": "Metadata describing an Operation",
1775 "id": "OperationMetadata",
1776 "properties": {
1777 "apiVersion": {
1778 "description": "API version.",
1779 "type": "string"
1780 },
1781 "cancelRequested": {
1782 "description": "Specifies if cancellation was requested for the operation.",
1783 "type": "boolean"
1784 },
1785 "createTime": {
1786 "description": "The time the operation was created.",
1787 "format": "google-datetime",
1788 "type": "string"
1789 },
1790 "endTime": {
1791 "description": "The time the operation finished running.",
1792 "format": "google-datetime",
1793 "type": "string"
1794 },
1795 "statusDetail": {
1796 "description": "Human-readable status of the operation, if any.",
1797 "type": "string"
1798 },
1799 "target": {
1800 "description": "Target of the operation - for example projects/project-1/connectivityTests/test-1",
1801 "type": "string"
1802 },
1803 "verb": {
1804 "description": "Name of the verb executed by the operation.",
1805 "type": "string"
1806 }
1807 },
1808 "type": "object"
1809 },
1810 "ProvisioningData": {
1811 "description": "Further data for the provisioning state.",
1812 "id": "ProvisioningData",
1813 "properties": {},
1814 "type": "object"
1815 },
1816 "QueuedResource": {
1817 "description": "A QueuedResource represents a request for resources that will be placed in a queue and fulfilled when the necessary resources are available.",
1818 "id": "QueuedResource",
1819 "properties": {
1820 "bestEffort": {
1821 "$ref": "BestEffort",
1822 "description": "The BestEffort tier."
1823 },
1824 "createTime": {
1825 "description": "Output only. The time when the QueuedResource was created.",
1826 "format": "google-datetime",
1827 "readOnly": true,
1828 "type": "string"
1829 },
1830 "guaranteed": {
1831 "$ref": "Guaranteed",
1832 "description": "The Guaranteed tier."
1833 },
1834 "name": {
1835 "description": "Output only. Immutable. The name of the QueuedResource.",
1836 "readOnly": true,
1837 "type": "string"
1838 },
1839 "queueingPolicy": {
1840 "$ref": "QueueingPolicy",
1841 "description": "The queueing policy of the QueuedRequest."
1842 },
1843 "reservationName": {
1844 "description": "Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}",
1845 "type": "string"
1846 },
1847 "spot": {
1848 "$ref": "Spot",
1849 "description": "Optional. The Spot tier."
1850 },
1851 "state": {
1852 "$ref": "QueuedResourceState",
1853 "description": "Output only. State of the QueuedResource request.",
1854 "readOnly": true
1855 },
1856 "tpu": {
1857 "$ref": "Tpu",
1858 "description": "Defines a TPU resource."
1859 }
1860 },
1861 "type": "object"
1862 },
1863 "QueuedResourceState": {
1864 "description": "QueuedResourceState defines the details of the QueuedResource request.",
1865 "id": "QueuedResourceState",
1866 "properties": {
1867 "acceptedData": {
1868 "$ref": "AcceptedData",
1869 "description": "Further data for the accepted state."
1870 },
1871 "activeData": {
1872 "$ref": "ActiveData",
1873 "description": "Further data for the active state."
1874 },
1875 "creatingData": {
1876 "$ref": "CreatingData",
1877 "description": "Further data for the creating state."
1878 },
1879 "deletingData": {
1880 "$ref": "DeletingData",
1881 "description": "Further data for the deleting state."
1882 },
1883 "failedData": {
1884 "$ref": "FailedData",
1885 "description": "Further data for the failed state."
1886 },
1887 "provisioningData": {
1888 "$ref": "ProvisioningData",
1889 "description": "Further data for the provisioning state."
1890 },
1891 "state": {
1892 "description": "State of the QueuedResource request.",
1893 "enum": [
1894 "STATE_UNSPECIFIED",
1895 "CREATING",
1896 "ACCEPTED",
1897 "PROVISIONING",
1898 "FAILED",
1899 "DELETING",
1900 "ACTIVE",
1901 "SUSPENDING",
1902 "SUSPENDED",
1903 "WAITING_FOR_RESOURCES"
1904 ],
1905 "enumDescriptions": [
1906 "State of the QueuedResource request is not known/set.",
1907 "The QueuedResource request has been received. We're still working on determining if we will be able to honor this request.",
1908 "The QueuedResource request has passed initial validation/admission control and has been persisted in the queue.",
1909 "The QueuedResource request has been selected. The associated resources are currently being provisioned (or very soon will begin provisioning).",
1910 "The request could not be completed. This may be due to some late-discovered problem with the request itself, or due to unavailability of resources within the constraints of the request (e.g., the 'valid until' start timing constraint expired).",
1911 "The QueuedResource is being deleted.",
1912 "The resources specified in the QueuedResource request have been provisioned and are ready for use by the end-user/consumer.",
1913 "The resources specified in the QueuedResource request are being deleted. This may have been initiated by the user, or the Cloud TPU service. Inspect the state data for more details.",
1914 "The resources specified in the QueuedResource request have been deleted.",
1915 "The QueuedResource request has passed initial validation and has been persisted in the queue. It will remain in this state until there are sufficient free resources to begin provisioning your request. Wait times will vary significantly depending on demand levels. When demand is high, not all requests can be immediately provisioned. If you need more reliable obtainability of TPUs consider purchasing a reservation. To put a limit on how long you are willing to wait, use [timing constraints](https://cloud.google.com/tpu/docs/queued-resources#request_a_queued_resource_before_a_specified_time)."
1916 ],
1917 "type": "string"
1918 },
1919 "stateInitiator": {
1920 "description": "Output only. The initiator of the QueuedResources's current state. Used to indicate whether the SUSPENDING/SUSPENDED state was initiated by the user or the service.",
1921 "enum": [
1922 "STATE_INITIATOR_UNSPECIFIED",
1923 "USER",
1924 "SERVICE"
1925 ],
1926 "enumDescriptions": [
1927 "The state initiator is unspecified.",
1928 "The current QueuedResource state was initiated by the user.",
1929 "The current QueuedResource state was initiated by the service."
1930 ],
1931 "readOnly": true,
1932 "type": "string"
1933 },
1934 "suspendedData": {
1935 "$ref": "SuspendedData",
1936 "description": "Further data for the suspended state."
1937 },
1938 "suspendingData": {
1939 "$ref": "SuspendingData",
1940 "description": "Further data for the suspending state."
1941 }
1942 },
1943 "type": "object"
1944 },
1945 "QueueingPolicy": {
1946 "description": "Defines the policy of the QueuedRequest.",
1947 "id": "QueueingPolicy",
1948 "properties": {
1949 "validAfterDuration": {
1950 "description": "A relative time after which resources may be created.",
1951 "format": "google-duration",
1952 "type": "string"
1953 },
1954 "validAfterTime": {
1955 "description": "An absolute time at which resources may be created.",
1956 "format": "google-datetime",
1957 "type": "string"
1958 },
1959 "validInterval": {
1960 "$ref": "Interval",
1961 "description": "An absolute time interval within which resources may be created."
1962 },
1963 "validUntilDuration": {
1964 "description": "A relative time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.",
1965 "format": "google-duration",
1966 "type": "string"
1967 },
1968 "validUntilTime": {
1969 "description": "An absolute time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.",
1970 "format": "google-datetime",
1971 "type": "string"
1972 }
1973 },
1974 "type": "object"
1975 },
1976 "Reservation": {
1977 "description": "A reservation describes the amount of a resource 'allotted' for a defined period of time.",
1978 "id": "Reservation",
1979 "properties": {
1980 "name": {
1981 "description": "The reservation name with the format: projects/{projectID}/locations/{location}/reservations/{reservationID}",
1982 "type": "string"
1983 },
1984 "standard": {
1985 "$ref": "Standard"
1986 },
1987 "state": {
1988 "description": "Output only. The state of the Reservation.",
1989 "enum": [
1990 "STATE_UNSPECIFIED",
1991 "APPROVED",
1992 "PROVISIONING",
1993 "ACTIVE",
1994 "DEPROVISIONING",
1995 "EXPIRED",
1996 "FAILED"
1997 ],
1998 "enumDescriptions": [
1999 "The Reservation state is unspecified.",
2000 "The Reservation has been approved.",
2001 "The Reservation is being provisioned.",
2002 "The Reservation is active.",
2003 "The Reservation is being deprovisioned.",
2004 "The Reservation is past its end date.",
2005 "The Reservation encountered a failure during mutation."
2006 ],
2007 "readOnly": true,
2008 "type": "string"
2009 }
2010 },
2011 "type": "object"
2012 },
2013 "ResetQueuedResourceRequest": {
2014 "description": "Request for ResetQueuedResource.",
2015 "id": "ResetQueuedResourceRequest",
2016 "properties": {},
2017 "type": "object"
2018 },
2019 "RuntimeVersion": {
2020 "description": "A runtime version that a Node can be configured with.",
2021 "id": "RuntimeVersion",
2022 "properties": {
2023 "name": {
2024 "description": "The resource name.",
2025 "type": "string"
2026 },
2027 "version": {
2028 "description": "The runtime version.",
2029 "type": "string"
2030 }
2031 },
2032 "type": "object"
2033 },
2034 "SchedulingConfig": {
2035 "description": "Sets the scheduling options for this node.",
2036 "id": "SchedulingConfig",
2037 "properties": {
2038 "preemptible": {
2039 "description": "Defines whether the node is preemptible.",
2040 "type": "boolean"
2041 },
2042 "reserved": {
2043 "description": "Whether the node is created under a reservation.",
2044 "type": "boolean"
2045 },
2046 "spot": {
2047 "description": "Optional. Defines whether the node is Spot VM.",
2048 "type": "boolean"
2049 }
2050 },
2051 "type": "object"
2052 },
2053 "ServiceAccount": {
2054 "description": "A service account.",
2055 "id": "ServiceAccount",
2056 "properties": {
2057 "email": {
2058 "description": "Email address of the service account. If empty, default Compute service account will be used.",
2059 "type": "string"
2060 },
2061 "scope": {
2062 "description": "The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.",
2063 "items": {
2064 "type": "string"
2065 },
2066 "type": "array"
2067 }
2068 },
2069 "type": "object"
2070 },
2071 "ServiceIdentity": {
2072 "description": "The per-product per-project service identity for Cloud TPU service.",
2073 "id": "ServiceIdentity",
2074 "properties": {
2075 "email": {
2076 "description": "The email address of the service identity.",
2077 "type": "string"
2078 }
2079 },
2080 "type": "object"
2081 },
2082 "ShieldedInstanceConfig": {
2083 "description": "A set of Shielded Instance options.",
2084 "id": "ShieldedInstanceConfig",
2085 "properties": {
2086 "enableSecureBoot": {
2087 "description": "Defines whether the instance has Secure Boot enabled.",
2088 "type": "boolean"
2089 }
2090 },
2091 "type": "object"
2092 },
2093 "SimulateMaintenanceEventRequest": {
2094 "description": "Request for SimulateMaintenanceEvent.",
2095 "id": "SimulateMaintenanceEventRequest",
2096 "properties": {
2097 "workerIds": {
2098 "description": "The 0-based worker ID. If it is empty, worker ID 0 will be selected for maintenance event simulation. A maintenance event will only be fired on the first specified worker ID. Future implementations may support firing on multiple workers.",
2099 "items": {
2100 "type": "string"
2101 },
2102 "type": "array"
2103 }
2104 },
2105 "type": "object"
2106 },
2107 "Spot": {
2108 "description": "Spot tier definition.",
2109 "id": "Spot",
2110 "properties": {},
2111 "type": "object"
2112 },
2113 "Standard": {
2114 "id": "Standard",
2115 "properties": {
2116 "capacityUnits": {
2117 "enum": [
2118 "CAPACITY_UNITS_UNSPECIFIED",
2119 "CORES",
2120 "CHIPS"
2121 ],
2122 "enumDescriptions": [
2123 "The capacity units is not known/set.",
2124 "The capacity unit is set to CORES.",
2125 "The capacity unit is set to CHIPS."
2126 ],
2127 "type": "string"
2128 },
2129 "interval": {
2130 "$ref": "Interval",
2131 "description": "The start and end time of the reservation."
2132 },
2133 "resourceType": {
2134 "description": "The resource type of the reservation.",
2135 "type": "string"
2136 },
2137 "size": {
2138 "description": "The size of the reservation, in the units specified in the 'capacity_units' field.",
2139 "format": "int32",
2140 "type": "integer"
2141 },
2142 "usage": {
2143 "$ref": "Usage"
2144 }
2145 },
2146 "type": "object"
2147 },
2148 "StartNodeRequest": {
2149 "description": "Request for StartNode.",
2150 "id": "StartNodeRequest",
2151 "properties": {},
2152 "type": "object"
2153 },
2154 "Status": {
2155 "description": "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).",
2156 "id": "Status",
2157 "properties": {
2158 "code": {
2159 "description": "The status code, which should be an enum value of google.rpc.Code.",
2160 "format": "int32",
2161 "type": "integer"
2162 },
2163 "details": {
2164 "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
2165 "items": {
2166 "additionalProperties": {
2167 "description": "Properties of the object. Contains field @type with type URL.",
2168 "type": "any"
2169 },
2170 "type": "object"
2171 },
2172 "type": "array"
2173 },
2174 "message": {
2175 "description": "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.",
2176 "type": "string"
2177 }
2178 },
2179 "type": "object"
2180 },
2181 "StopNodeRequest": {
2182 "description": "Request for StopNode.",
2183 "id": "StopNodeRequest",
2184 "properties": {},
2185 "type": "object"
2186 },
2187 "SuspendedData": {
2188 "description": "Further data for the suspended state.",
2189 "id": "SuspendedData",
2190 "properties": {},
2191 "type": "object"
2192 },
2193 "SuspendingData": {
2194 "description": "Further data for the suspending state.",
2195 "id": "SuspendingData",
2196 "properties": {},
2197 "type": "object"
2198 },
2199 "Symptom": {
2200 "description": "A Symptom instance.",
2201 "id": "Symptom",
2202 "properties": {
2203 "createTime": {
2204 "description": "Timestamp when the Symptom is created.",
2205 "format": "google-datetime",
2206 "type": "string"
2207 },
2208 "details": {
2209 "description": "Detailed information of the current Symptom.",
2210 "type": "string"
2211 },
2212 "symptomType": {
2213 "description": "Type of the Symptom.",
2214 "enum": [
2215 "SYMPTOM_TYPE_UNSPECIFIED",
2216 "LOW_MEMORY",
2217 "OUT_OF_MEMORY",
2218 "EXECUTE_TIMED_OUT",
2219 "MESH_BUILD_FAIL",
2220 "HBM_OUT_OF_MEMORY",
2221 "PROJECT_ABUSE"
2222 ],
2223 "enumDescriptions": [
2224 "Unspecified symptom.",
2225 "TPU VM memory is low.",
2226 "TPU runtime is out of memory.",
2227 "TPU runtime execution has timed out.",
2228 "TPU runtime fails to construct a mesh that recognizes each TPU device's neighbors.",
2229 "TPU HBM is out of memory.",
2230 "Abusive behaviors have been identified on the current project."
2231 ],
2232 "type": "string"
2233 },
2234 "workerId": {
2235 "description": "A string used to uniquely distinguish a worker within a TPU node.",
2236 "type": "string"
2237 }
2238 },
2239 "type": "object"
2240 },
2241 "Tpu": {
2242 "description": "Details of the TPU resource(s) being requested.",
2243 "id": "Tpu",
2244 "properties": {
2245 "nodeSpec": {
2246 "description": "The TPU node(s) being requested.",
2247 "items": {
2248 "$ref": "NodeSpec"
2249 },
2250 "type": "array"
2251 }
2252 },
2253 "type": "object"
2254 },
2255 "Usage": {
2256 "id": "Usage",
2257 "properties": {
2258 "total": {
2259 "description": "The real-time value of usage within the reservation, with the unit specified in field capacity_units.",
2260 "format": "int64",
2261 "type": "string"
2262 }
2263 },
2264 "type": "object"
2265 }
2266 },
2267 "servicePath": "",
2268 "title": "Cloud TPU API",
2269 "version": "v2alpha1",
2270 "version_module": true
2271}
View as plain text