Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3d6892c

Browse files
committedAug 24, 2021
feat(documentai): update the api
#### documentai:v1 The following keys were deleted: - resources.projects.resources.locations.resources.operations.methods.cancel (Total Keys: 11) - resources.uiv1beta3.resources.projects.resources.locations.resources.operations.methods.cancel (Total Keys: 11) The following keys were added: - resources.projects.resources.locations.resources.operations.methods.cancel (Total Keys: 11) - resources.uiv1beta3.resources.projects.resources.locations.resources.operations.methods.cancel (Total Keys: 11) #### documentai:v1beta3 The following keys were deleted: - resources.projects.resources.locations.resources.operations.methods.cancel (Total Keys: 11) The following keys were added: - resources.projects.resources.locations.resources.operations.methods.cancel (Total Keys: 11)
1 parent ae3610a commit 3d6892c

6 files changed

+27
-27
lines changed
 

‎docs/dyn/documentai_v1.projects.locations.operations.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<h1><a href="documentai_v1.html">Cloud Document AI API</a> . <a href="documentai_v1.projects.html">projects</a> . <a href="documentai_v1.projects.locations.html">locations</a> . <a href="documentai_v1.projects.locations.operations.html">operations</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
78-
<code><a href="#cancelOperation">cancelOperation(name, x__xgafv=None)</a></code></p>
78+
<code><a href="#cancel">cancel(name, x__xgafv=None)</a></code></p>
7979
<p class="firstline">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`.</p>
8080
<p class="toc_element">
8181
<code><a href="#close">close()</a></code></p>
@@ -91,7 +91,7 @@ <h2>Instance Methods</h2>
9191
<p class="firstline">Retrieves the next page of results.</p>
9292
<h3>Method Details</h3>
9393
<div class="method">
94-
<code class="details" id="cancelOperation">cancelOperation(name, x__xgafv=None)</code>
94+
<code class="details" id="cancel">cancel(name, x__xgafv=None)</code>
9595
<pre>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&#x27;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`.
9696

9797
Args:

‎docs/dyn/documentai_v1.uiv1beta3.projects.locations.operations.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<h1><a href="documentai_v1.html">Cloud Document AI API</a> . <a href="documentai_v1.uiv1beta3.html">uiv1beta3</a> . <a href="documentai_v1.uiv1beta3.projects.html">projects</a> . <a href="documentai_v1.uiv1beta3.projects.locations.html">locations</a> . <a href="documentai_v1.uiv1beta3.projects.locations.operations.html">operations</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
78-
<code><a href="#cancelOperation">cancelOperation(name, x__xgafv=None)</a></code></p>
78+
<code><a href="#cancel">cancel(name, x__xgafv=None)</a></code></p>
7979
<p class="firstline">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`.</p>
8080
<p class="toc_element">
8181
<code><a href="#close">close()</a></code></p>
@@ -91,7 +91,7 @@ <h2>Instance Methods</h2>
9191
<p class="firstline">Retrieves the next page of results.</p>
9292
<h3>Method Details</h3>
9393
<div class="method">
94-
<code class="details" id="cancelOperation">cancelOperation(name, x__xgafv=None)</code>
94+
<code class="details" id="cancel">cancel(name, x__xgafv=None)</code>
9595
<pre>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&#x27;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`.
9696

9797
Args:

‎docs/dyn/documentai_v1beta3.projects.locations.operations.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<h1><a href="documentai_v1beta3.html">Cloud Document AI API</a> . <a href="documentai_v1beta3.projects.html">projects</a> . <a href="documentai_v1beta3.projects.locations.html">locations</a> . <a href="documentai_v1beta3.projects.locations.operations.html">operations</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
78-
<code><a href="#cancelOperation">cancelOperation(name, x__xgafv=None)</a></code></p>
78+
<code><a href="#cancel">cancel(name, x__xgafv=None)</a></code></p>
7979
<p class="firstline">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`.</p>
8080
<p class="toc_element">
8181
<code><a href="#close">close()</a></code></p>
@@ -91,7 +91,7 @@ <h2>Instance Methods</h2>
9191
<p class="firstline">Retrieves the next page of results.</p>
9292
<h3>Method Details</h3>
9393
<div class="method">
94-
<code class="details" id="cancelOperation">cancelOperation(name, x__xgafv=None)</code>
94+
<code class="details" id="cancel">cancel(name, x__xgafv=None)</code>
9595
<pre>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&#x27;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`.
9696

9797
Args:

‎googleapiclient/discovery_cache/documents/documentai.v1.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"oauth2": {
44
"scopes": {
55
"https://www.googleapis.com/auth/cloud-platform": {
6-
"description": "See, edit, configure, and delete your Google Cloud Platform data"
6+
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
77
}
88
}
99
}
@@ -208,11 +208,11 @@
208208
"resources": {
209209
"operations": {
210210
"methods": {
211-
"cancelOperation": {
211+
"cancel": {
212212
"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`.",
213-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
214-
"httpMethod": "DELETE",
215-
"id": "documentai.projects.locations.operations.cancelOperation",
213+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
214+
"httpMethod": "POST",
215+
"id": "documentai.projects.locations.operations.cancel",
216216
"parameterOrder": [
217217
"name"
218218
],
@@ -225,7 +225,7 @@
225225
"type": "string"
226226
}
227227
},
228-
"path": "v1/{+name}",
228+
"path": "v1/{+name}:cancel",
229229
"response": {
230230
"$ref": "GoogleProtobufEmpty"
231231
},
@@ -564,11 +564,11 @@
564564
"resources": {
565565
"operations": {
566566
"methods": {
567-
"cancelOperation": {
567+
"cancel": {
568568
"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`.",
569-
"flatPath": "uiv1beta3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
570-
"httpMethod": "DELETE",
571-
"id": "documentai.uiv1beta3.projects.locations.operations.cancelOperation",
569+
"flatPath": "uiv1beta3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
570+
"httpMethod": "POST",
571+
"id": "documentai.uiv1beta3.projects.locations.operations.cancel",
572572
"parameterOrder": [
573573
"name"
574574
],
@@ -581,7 +581,7 @@
581581
"type": "string"
582582
}
583583
},
584-
"path": "uiv1beta3/{+name}",
584+
"path": "uiv1beta3/{+name}:cancel",
585585
"response": {
586586
"$ref": "GoogleProtobufEmpty"
587587
},
@@ -664,7 +664,7 @@
664664
}
665665
}
666666
},
667-
"revision": "20210806",
667+
"revision": "20210817",
668668
"rootUrl": "https://documentai.googleapis.com/",
669669
"schemas": {
670670
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {

‎googleapiclient/discovery_cache/documents/documentai.v1beta2.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"oauth2": {
44
"scopes": {
55
"https://www.googleapis.com/auth/cloud-platform": {
6-
"description": "See, edit, configure, and delete your Google Cloud Platform data"
6+
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
77
}
88
}
99
}
@@ -292,7 +292,7 @@
292292
}
293293
}
294294
},
295-
"revision": "20210806",
295+
"revision": "20210817",
296296
"rootUrl": "https://documentai.googleapis.com/",
297297
"schemas": {
298298
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {

‎googleapiclient/discovery_cache/documents/documentai.v1beta3.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"oauth2": {
44
"scopes": {
55
"https://www.googleapis.com/auth/cloud-platform": {
6-
"description": "See, edit, configure, and delete your Google Cloud Platform data"
6+
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
77
}
88
}
99
}
@@ -204,11 +204,11 @@
204204
"resources": {
205205
"operations": {
206206
"methods": {
207-
"cancelOperation": {
207+
"cancel": {
208208
"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`.",
209-
"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
210-
"httpMethod": "DELETE",
211-
"id": "documentai.projects.locations.operations.cancelOperation",
209+
"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
210+
"httpMethod": "POST",
211+
"id": "documentai.projects.locations.operations.cancel",
212212
"parameterOrder": [
213213
"name"
214214
],
@@ -221,7 +221,7 @@
221221
"type": "string"
222222
}
223223
},
224-
"path": "v1beta3/{+name}",
224+
"path": "v1beta3/{+name}:cancel",
225225
"response": {
226226
"$ref": "GoogleProtobufEmpty"
227227
},
@@ -601,7 +601,7 @@
601601
}
602602
}
603603
},
604-
"revision": "20210806",
604+
"revision": "20210817",
605605
"rootUrl": "https://documentai.googleapis.com/",
606606
"schemas": {
607607
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {

0 commit comments

Comments
 (0)
Please sign in to comment.