Skip to content

Commit

Permalink
feat(tpu): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Jul 13, 2021
1 parent 7ca13f3 commit 16bf712
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 20 deletions.
10 changes: 6 additions & 4 deletions docs/dyn/tpu_v1alpha1.projects.locations.nodes.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ <h2>Instance Methods</h2>
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#create">create(parent, body=None, nodeId=None, x__xgafv=None)</a></code></p>
<code><a href="#create">create(parent, body=None, nodeId=None, requestId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Creates a node.</p>
<p class="toc_element">
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
<code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes a node.</p>
<p class="toc_element">
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
Expand All @@ -108,7 +108,7 @@ <h3>Method Details</h3>
</div>

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

Args:
Expand Down Expand Up @@ -156,6 +156,7 @@ <h3>Method Details</h3>
}

nodeId: string, The unqualified resource name.
requestId: string, Idempotent request UUID.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand Down Expand Up @@ -186,11 +187,12 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
<code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
<pre>Deletes a node.

Args:
name: string, Required. The resource name. (required)
requestId: string, Idempotent request UUID.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand Down
23 changes: 15 additions & 8 deletions googleapiclient/discovery_cache/documents/tpu.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@
}
}
},
"revision": "20210510",
"revision": "20210707",
"rootUrl": "https://tpu.googleapis.com/",
"schemas": {
"AcceleratorType": {
Expand Down Expand Up @@ -1047,33 +1047,40 @@
"id": "OperationMetadata",
"properties": {
"apiVersion": {
"description": "[Output only] API version used to start the operation.",
"description": "Output only. API version used to start the operation.",
"readOnly": true,
"type": "string"
},
"cancelRequested": {
"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`.",
"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`.",
"readOnly": true,
"type": "boolean"
},
"createTime": {
"description": "[Output only] The time the operation was created.",
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "[Output only] The time the operation finished running.",
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"statusDetail": {
"description": "[Output only] Human-readable status of the operation, if any.",
"description": "Output only. Human-readable status of the operation, if any.",
"readOnly": true,
"type": "string"
},
"target": {
"description": "[Output only] Server-defined resource path for the target of the operation.",
"description": "Output only. Server-defined resource path for the target of the operation.",
"readOnly": true,
"type": "string"
},
"verb": {
"description": "[Output only] Name of the verb executed by the operation.",
"description": "Output only. Name of the verb executed by the operation.",
"readOnly": true,
"type": "string"
}
},
Expand Down
33 changes: 25 additions & 8 deletions googleapiclient/discovery_cache/documents/tpu.v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,11 @@
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"requestId": {
"description": "Idempotent request UUID.",
"location": "query",
"type": "string"
}
},
"path": "v1alpha1/{+parent}/nodes",
Expand Down Expand Up @@ -302,6 +307,11 @@
"pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$",
"required": true,
"type": "string"
},
"requestId": {
"description": "Idempotent request UUID.",
"location": "query",
"type": "string"
}
},
"path": "v1alpha1/{+name}",
Expand Down Expand Up @@ -659,7 +669,7 @@
}
}
},
"revision": "20210510",
"revision": "20210707",
"rootUrl": "https://tpu.googleapis.com/",
"schemas": {
"AcceleratorType": {
Expand Down Expand Up @@ -1047,33 +1057,40 @@
"id": "OperationMetadata",
"properties": {
"apiVersion": {
"description": "[Output only] API version used to start the operation.",
"description": "Output only. API version used to start the operation.",
"readOnly": true,
"type": "string"
},
"cancelRequested": {
"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`.",
"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`.",
"readOnly": true,
"type": "boolean"
},
"createTime": {
"description": "[Output only] The time the operation was created.",
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "[Output only] The time the operation finished running.",
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"statusDetail": {
"description": "[Output only] Human-readable status of the operation, if any.",
"description": "Output only. Human-readable status of the operation, if any.",
"readOnly": true,
"type": "string"
},
"target": {
"description": "[Output only] Server-defined resource path for the target of the operation.",
"description": "Output only. Server-defined resource path for the target of the operation.",
"readOnly": true,
"type": "string"
},
"verb": {
"description": "[Output only] Name of the verb executed by the operation.",
"description": "Output only. Name of the verb executed by the operation.",
"readOnly": true,
"type": "string"
}
},
Expand Down

0 comments on commit 16bf712

Please sign in to comment.