Skip to content

Commit 4c34f91

Browse files
amanda-tarafajskeet
authored andcommitted
feat: Generate Google.Apis.TPU.v1alpha1 version 1.73.0.3986
1 parent c330ceb commit 4c34f91

File tree

3 files changed

+73
-40
lines changed

3 files changed

+73
-40
lines changed

DiscoveryJson/tpu.v1alpha1.json

Lines changed: 44 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
],
145145
"parameters": {
146146
"extraLocationTypes": {
147-
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
147+
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
148148
"location": "query",
149149
"repeated": true,
150150
"type": "string"
@@ -184,8 +184,10 @@
184184
},
185185
"resources": {
186186
"acceleratorTypes": {
187+
"deprecated": true,
187188
"methods": {
188189
"get": {
190+
"deprecated": true,
189191
"description": "Gets AcceleratorType.",
190192
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/acceleratorTypes/{acceleratorTypesId}",
191193
"httpMethod": "GET",
@@ -211,6 +213,7 @@
211213
]
212214
},
213215
"list": {
216+
"deprecated": true,
214217
"description": "Lists accelerator types supported by this API.",
215218
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/acceleratorTypes",
216219
"httpMethod": "GET",
@@ -259,8 +262,10 @@
259262
}
260263
},
261264
"nodes": {
265+
"deprecated": true,
262266
"methods": {
263267
"create": {
268+
"deprecated": true,
264269
"description": "Creates a node.",
265270
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes",
266271
"httpMethod": "POST",
@@ -299,6 +304,7 @@
299304
]
300305
},
301306
"delete": {
307+
"deprecated": true,
302308
"description": "Deletes a node.",
303309
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}",
304310
"httpMethod": "DELETE",
@@ -329,6 +335,7 @@
329335
]
330336
},
331337
"get": {
338+
"deprecated": true,
332339
"description": "Gets the details of a node.",
333340
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}",
334341
"httpMethod": "GET",
@@ -354,6 +361,7 @@
354361
]
355362
},
356363
"list": {
364+
"deprecated": true,
357365
"description": "Lists nodes.",
358366
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes",
359367
"httpMethod": "GET",
@@ -390,6 +398,7 @@
390398
]
391399
},
392400
"reimage": {
401+
"deprecated": true,
393402
"description": "Reimages a node's OS.",
394403
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:reimage",
395404
"httpMethod": "POST",
@@ -418,6 +427,7 @@
418427
]
419428
},
420429
"start": {
430+
"deprecated": true,
421431
"description": "Starts a node.",
422432
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:start",
423433
"httpMethod": "POST",
@@ -446,6 +456,7 @@
446456
]
447457
},
448458
"stop": {
459+
"deprecated": true,
449460
"description": "Stops a node. This operation is only available with single TPU nodes.",
450461
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:stop",
451462
"httpMethod": "POST",
@@ -585,7 +596,7 @@
585596
"type": "string"
586597
},
587598
"returnPartialSuccess": {
588-
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
599+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
589600
"location": "query",
590601
"type": "boolean"
591602
}
@@ -601,8 +612,10 @@
601612
}
602613
},
603614
"tensorflowVersions": {
615+
"deprecated": true,
604616
"methods": {
605617
"get": {
618+
"deprecated": true,
606619
"description": "Gets TensorFlow Version.",
607620
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/tensorflowVersions/{tensorflowVersionsId}",
608621
"httpMethod": "GET",
@@ -628,6 +641,7 @@
628641
]
629642
},
630643
"list": {
644+
"deprecated": true,
631645
"description": "Lists TensorFlow versions supported by this API.",
632646
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/tensorflowVersions",
633647
"httpMethod": "GET",
@@ -680,11 +694,12 @@
680694
}
681695
}
682696
},
683-
"revision": "20251005",
697+
"revision": "20251130",
684698
"rootUrl": "https://tpu.googleapis.com/",
685699
"schemas": {
686700
"AcceleratorType": {
687-
"description": "A accelerator type that a Node can be configured with.",
701+
"deprecated": true,
702+
"description": "DEPRECATED: Please use TPU API v2alpha1 instead. A accelerator type that a Node can be configured with.",
688703
"id": "AcceleratorType",
689704
"properties": {
690705
"name": {
@@ -705,7 +720,8 @@
705720
"type": "object"
706721
},
707722
"ListAcceleratorTypesResponse": {
708-
"description": "Response for ListAcceleratorTypes.",
723+
"deprecated": true,
724+
"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Response for ListAcceleratorTypes.",
709725
"id": "ListAcceleratorTypesResponse",
710726
"properties": {
711727
"acceleratorTypes": {
@@ -748,7 +764,8 @@
748764
"type": "object"
749765
},
750766
"ListNodesResponse": {
751-
"description": "Response for ListNodes.",
767+
"deprecated": true,
768+
"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Response for ListNodes.",
752769
"id": "ListNodesResponse",
753770
"properties": {
754771
"nextPageToken": {
@@ -788,7 +805,7 @@
788805
"type": "array"
789806
},
790807
"unreachable": {
791-
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
808+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
792809
"items": {
793810
"type": "string"
794811
},
@@ -798,7 +815,8 @@
798815
"type": "object"
799816
},
800817
"ListTensorFlowVersionsResponse": {
801-
"description": "Response for ListTensorFlowVersions.",
818+
"deprecated": true,
819+
"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Response for ListTensorFlowVersions.",
802820
"id": "ListTensorFlowVersionsResponse",
803821
"properties": {
804822
"nextPageToken": {
@@ -857,7 +875,8 @@
857875
"type": "object"
858876
},
859877
"NetworkEndpoint": {
860-
"description": "A network endpoint over which a TPU worker can be reached.",
878+
"deprecated": true,
879+
"description": "DEPRECATED: Please use TPU API v2alpha1 instead. A network endpoint over which a TPU worker can be reached.",
861880
"id": "NetworkEndpoint",
862881
"properties": {
863882
"ipAddress": {
@@ -873,7 +892,8 @@
873892
"type": "object"
874893
},
875894
"Node": {
876-
"description": "A TPU instance.",
895+
"deprecated": true,
896+
"description": "DEPRECATED: Please use TPU API v2alpha1 instead. A TPU instance.",
877897
"id": "Node",
878898
"properties": {
879899
"acceleratorType": {
@@ -1075,7 +1095,8 @@
10751095
"type": "object"
10761096
},
10771097
"OperationMetadata": {
1078-
"description": "Metadata describing an Operation",
1098+
"deprecated": true,
1099+
"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Metadata describing an Operation",
10791100
"id": "OperationMetadata",
10801101
"properties": {
10811102
"apiVersion": {
@@ -1112,7 +1133,8 @@
11121133
"type": "object"
11131134
},
11141135
"ReimageNodeRequest": {
1115-
"description": "Request for ReimageNode.",
1136+
"deprecated": true,
1137+
"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Request for ReimageNode.",
11161138
"id": "ReimageNodeRequest",
11171139
"properties": {
11181140
"tensorflowVersion": {
@@ -1123,7 +1145,8 @@
11231145
"type": "object"
11241146
},
11251147
"SchedulingConfig": {
1126-
"description": "Sets the scheduling options for this node.",
1148+
"deprecated": true,
1149+
"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Sets the scheduling options for this node.",
11271150
"id": "SchedulingConfig",
11281151
"properties": {
11291152
"preemptible": {
@@ -1138,7 +1161,8 @@
11381161
"type": "object"
11391162
},
11401163
"StartNodeRequest": {
1141-
"description": "Request for StartNode.",
1164+
"deprecated": true,
1165+
"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Request for StartNode.",
11421166
"id": "StartNodeRequest",
11431167
"properties": {},
11441168
"type": "object"
@@ -1171,13 +1195,15 @@
11711195
"type": "object"
11721196
},
11731197
"StopNodeRequest": {
1174-
"description": "Request for StopNode.",
1198+
"deprecated": true,
1199+
"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Request for StopNode.",
11751200
"id": "StopNodeRequest",
11761201
"properties": {},
11771202
"type": "object"
11781203
},
11791204
"Symptom": {
1180-
"description": "A Symptom instance.",
1205+
"deprecated": true,
1206+
"description": "DEPRECATED: Please use TPU API v2alpha1 instead. A Symptom instance.",
11811207
"id": "Symptom",
11821208
"properties": {
11831209
"createTime": {
@@ -1219,7 +1245,8 @@
12191245
"type": "object"
12201246
},
12211247
"TensorFlowVersion": {
1222-
"description": "A tensorflow version that a Node can be configured with.",
1248+
"deprecated": true,
1249+
"description": "DEPRECATED: Please use TPU API v2alpha1 instead. A tensorflow version that a Node can be configured with.",
12231250
"id": "TensorFlowVersion",
12241251
"properties": {
12251252
"name": {

0 commit comments

Comments
 (0)