Skip to content

Commit 16bf712

Browse files
feat(tpu): update the api
#### tpu:v1 The following keys were added: - schemas.OperationMetadata.properties.apiVersion.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.cancelRequested.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.createTime.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.endTime.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.statusDetail.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.target.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.verb.readOnly (Total Keys: 1) #### tpu:v1alpha1 The following keys were added: - resources.projects.resources.locations.resources.nodes.methods.create.parameters.requestId (Total Keys: 2) - resources.projects.resources.locations.resources.nodes.methods.delete.parameters.requestId (Total Keys: 2) - schemas.OperationMetadata.properties.apiVersion.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.cancelRequested.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.createTime.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.endTime.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.statusDetail.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.target.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.verb.readOnly (Total Keys: 1)
1 parent 7ca13f3 commit 16bf712

File tree

3 files changed

+46
-20
lines changed

3 files changed

+46
-20
lines changed

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

+6-4
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#create">create(parent, body=None, nodeId=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#create">create(parent, body=None, nodeId=None, requestId=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Creates a node.</p>
8383
<p class="toc_element">
84-
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
84+
<code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Deletes a node.</p>
8686
<p class="toc_element">
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
@@ -108,7 +108,7 @@ <h3>Method Details</h3>
108108
</div>
109109

110110
<div class="method">
111-
<code class="details" id="create">create(parent, body=None, nodeId=None, x__xgafv=None)</code>
111+
<code class="details" id="create">create(parent, body=None, nodeId=None, requestId=None, x__xgafv=None)</code>
112112
<pre>Creates a node.
113113

114114
Args:
@@ -156,6 +156,7 @@ <h3>Method Details</h3>
156156
}
157157

158158
nodeId: string, The unqualified resource name.
159+
requestId: string, Idempotent request UUID.
159160
x__xgafv: string, V1 error format.
160161
Allowed values
161162
1 - v1 error format
@@ -186,11 +187,12 @@ <h3>Method Details</h3>
186187
</div>
187188

188189
<div class="method">
189-
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
190+
<code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
190191
<pre>Deletes a node.
191192

192193
Args:
193194
name: string, Required. The resource name. (required)
195+
requestId: string, Idempotent request UUID.
194196
x__xgafv: string, V1 error format.
195197
Allowed values
196198
1 - v1 error format

googleapiclient/discovery_cache/documents/tpu.v1.json

+15-8
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@
659659
}
660660
}
661661
},
662-
"revision": "20210510",
662+
"revision": "20210707",
663663
"rootUrl": "https://tpu.googleapis.com/",
664664
"schemas": {
665665
"AcceleratorType": {
@@ -1047,33 +1047,40 @@
10471047
"id": "OperationMetadata",
10481048
"properties": {
10491049
"apiVersion": {
1050-
"description": "[Output only] API version used to start the operation.",
1050+
"description": "Output only. API version used to start the operation.",
1051+
"readOnly": true,
10511052
"type": "string"
10521053
},
10531054
"cancelRequested": {
1054-
"description": "[Output only] Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
1055+
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
1056+
"readOnly": true,
10551057
"type": "boolean"
10561058
},
10571059
"createTime": {
1058-
"description": "[Output only] The time the operation was created.",
1060+
"description": "Output only. The time the operation was created.",
10591061
"format": "google-datetime",
1062+
"readOnly": true,
10601063
"type": "string"
10611064
},
10621065
"endTime": {
1063-
"description": "[Output only] The time the operation finished running.",
1066+
"description": "Output only. The time the operation finished running.",
10641067
"format": "google-datetime",
1068+
"readOnly": true,
10651069
"type": "string"
10661070
},
10671071
"statusDetail": {
1068-
"description": "[Output only] Human-readable status of the operation, if any.",
1072+
"description": "Output only. Human-readable status of the operation, if any.",
1073+
"readOnly": true,
10691074
"type": "string"
10701075
},
10711076
"target": {
1072-
"description": "[Output only] Server-defined resource path for the target of the operation.",
1077+
"description": "Output only. Server-defined resource path for the target of the operation.",
1078+
"readOnly": true,
10731079
"type": "string"
10741080
},
10751081
"verb": {
1076-
"description": "[Output only] Name of the verb executed by the operation.",
1082+
"description": "Output only. Name of the verb executed by the operation.",
1083+
"readOnly": true,
10771084
"type": "string"
10781085
}
10791086
},

googleapiclient/discovery_cache/documents/tpu.v1alpha1.json

+25-8
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,11 @@
274274
"pattern": "^projects/[^/]+/locations/[^/]+$",
275275
"required": true,
276276
"type": "string"
277+
},
278+
"requestId": {
279+
"description": "Idempotent request UUID.",
280+
"location": "query",
281+
"type": "string"
277282
}
278283
},
279284
"path": "v1alpha1/{+parent}/nodes",
@@ -302,6 +307,11 @@
302307
"pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$",
303308
"required": true,
304309
"type": "string"
310+
},
311+
"requestId": {
312+
"description": "Idempotent request UUID.",
313+
"location": "query",
314+
"type": "string"
305315
}
306316
},
307317
"path": "v1alpha1/{+name}",
@@ -659,7 +669,7 @@
659669
}
660670
}
661671
},
662-
"revision": "20210510",
672+
"revision": "20210707",
663673
"rootUrl": "https://tpu.googleapis.com/",
664674
"schemas": {
665675
"AcceleratorType": {
@@ -1047,33 +1057,40 @@
10471057
"id": "OperationMetadata",
10481058
"properties": {
10491059
"apiVersion": {
1050-
"description": "[Output only] API version used to start the operation.",
1060+
"description": "Output only. API version used to start the operation.",
1061+
"readOnly": true,
10511062
"type": "string"
10521063
},
10531064
"cancelRequested": {
1054-
"description": "[Output only] Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
1065+
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
1066+
"readOnly": true,
10551067
"type": "boolean"
10561068
},
10571069
"createTime": {
1058-
"description": "[Output only] The time the operation was created.",
1070+
"description": "Output only. The time the operation was created.",
10591071
"format": "google-datetime",
1072+
"readOnly": true,
10601073
"type": "string"
10611074
},
10621075
"endTime": {
1063-
"description": "[Output only] The time the operation finished running.",
1076+
"description": "Output only. The time the operation finished running.",
10641077
"format": "google-datetime",
1078+
"readOnly": true,
10651079
"type": "string"
10661080
},
10671081
"statusDetail": {
1068-
"description": "[Output only] Human-readable status of the operation, if any.",
1082+
"description": "Output only. Human-readable status of the operation, if any.",
1083+
"readOnly": true,
10691084
"type": "string"
10701085
},
10711086
"target": {
1072-
"description": "[Output only] Server-defined resource path for the target of the operation.",
1087+
"description": "Output only. Server-defined resource path for the target of the operation.",
1088+
"readOnly": true,
10731089
"type": "string"
10741090
},
10751091
"verb": {
1076-
"description": "[Output only] Name of the verb executed by the operation.",
1092+
"description": "Output only. Name of the verb executed by the operation.",
1093+
"readOnly": true,
10771094
"type": "string"
10781095
}
10791096
},

0 commit comments

Comments
 (0)