Skip to content

Commit 748a134

Browse files
feat(documentai): update the api
#### documentai:v1 The following keys were added: - schemas.GoogleCloudDocumentaiUiv1beta3DocumentId.properties.unmanagedDocId.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId (Total Keys: 3) - schemas.GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse (Total Keys: 7) - schemas.GoogleCloudDocumentaiV1DocumentPageToken.properties.styleInfo.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo (Total Keys: 21) - schemas.GoogleCloudDocumentaiV1beta1DocumentPageToken.properties.styleInfo.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo (Total Keys: 21) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageToken.properties.styleInfo.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo (Total Keys: 21) #### documentai:v1beta2 The following keys were added: - schemas.GoogleCloudDocumentaiUiv1beta3DocumentId.properties.unmanagedDocId.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId (Total Keys: 3) - schemas.GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse (Total Keys: 7) - schemas.GoogleCloudDocumentaiV1beta1DocumentPageToken.properties.styleInfo.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo (Total Keys: 21) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageToken.properties.styleInfo.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo (Total Keys: 21) #### documentai:v1beta3 The following keys were added: - schemas.GoogleCloudDocumentaiUiv1beta3DocumentId.properties.unmanagedDocId.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId (Total Keys: 3) - schemas.GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse (Total Keys: 7) - schemas.GoogleCloudDocumentaiV1beta1DocumentPageToken.properties.styleInfo.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo (Total Keys: 21) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageToken.properties.styleInfo.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo (Total Keys: 21) - schemas.GoogleCloudDocumentaiV1beta3DocumentPageToken.properties.styleInfo.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo (Total Keys: 21) - schemas.GoogleCloudDocumentaiV1beta3OcrConfig.properties.computeStyleInfo.type (Total Keys: 1)
1 parent 419d8d3 commit 748a134

17 files changed

+1713
-547
lines changed

docs/dyn/documentai_v1.projects.locations.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ <h2>Instance Methods</h2>
9494
<p class="firstline">Close httplib2 connections.</p>
9595
<p class="toc_element">
9696
<code><a href="#fetchProcessorTypes">fetchProcessorTypes(parent, x__xgafv=None)</a></code></p>
97-
<p class="firstline">Fetches processor types. Note that we do not use ListProcessorTypes here because it is not paginated.</p>
97+
<p class="firstline">Fetches processor types. Note that we don't use ListProcessorTypes here, because it isn't paginated.</p>
9898
<p class="toc_element">
9999
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
100100
<p class="firstline">Gets information about a location.</p>
@@ -112,10 +112,10 @@ <h3>Method Details</h3>
112112

113113
<div class="method">
114114
<code class="details" id="fetchProcessorTypes">fetchProcessorTypes(parent, x__xgafv=None)</code>
115-
<pre>Fetches processor types. Note that we do not use ListProcessorTypes here because it is not paginated.
115+
<pre>Fetches processor types. Note that we don&#x27;t use ListProcessorTypes here, because it isn&#x27;t paginated.
116116

117117
Args:
118-
parent: string, Required. The project of processor type to list. The available processor types may depend on the allow-listing on projects. Format: `projects/{project}/locations/{location}` (required)
118+
parent: string, Required. The location of processor types to list. Format: `projects/{project}/locations/{location}`. (required)
119119
x__xgafv: string, V1 error format.
120120
Allowed values
121121
1 - v1 error format
@@ -124,7 +124,7 @@ <h3>Method Details</h3>
124124
Returns:
125125
An object of the form:
126126

127-
{ # Response message for fetch processor types.
127+
{ # Response message for the FetchProcessorTypes method.
128128
&quot;processorTypes&quot;: [ # The list of processor types.
129129
{ # A processor type is responsible for performing a certain document understanding task on a certain type of document.
130130
&quot;allowCreation&quot;: True or False, # Whether the processor type allows creation. If true, users can create a processor of this processor type. Otherwise, users need to request access.
@@ -139,7 +139,7 @@ <h3>Method Details</h3>
139139
&quot;sampleDocumentUris&quot;: [ # A set of Cloud Storage URIs of sample documents for this processor.
140140
&quot;A String&quot;,
141141
],
142-
&quot;type&quot;: &quot;A String&quot;, # The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc.
142+
&quot;type&quot;: &quot;A String&quot;, # The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
143143
},
144144
],
145145
}</pre>
@@ -159,7 +159,7 @@ <h3>Method Details</h3>
159159
Returns:
160160
An object of the form:
161161

162-
{ # A resource that represents Google Cloud Platform location.
162+
{ # A resource that represents a Google Cloud location.
163163
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
164164
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
165165
&quot;a_key&quot;: &quot;A String&quot;,
@@ -191,7 +191,7 @@ <h3>Method Details</h3>
191191

192192
{ # The response message for Locations.ListLocations.
193193
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
194-
{ # A resource that represents Google Cloud Platform location.
194+
{ # A resource that represents a Google Cloud location.
195195
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
196196
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
197197
&quot;a_key&quot;: &quot;A String&quot;,

docs/dyn/documentai_v1.projects.locations.processorTypes.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ <h3>Method Details</h3>
119119
&quot;sampleDocumentUris&quot;: [ # A set of Cloud Storage URIs of sample documents for this processor.
120120
&quot;A String&quot;,
121121
],
122-
&quot;type&quot;: &quot;A String&quot;, # The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc.
122+
&quot;type&quot;: &quot;A String&quot;, # The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
123123
}</pre>
124124
</div>
125125

@@ -128,8 +128,8 @@ <h3>Method Details</h3>
128128
<pre>Lists the processor types that exist.
129129

130130
Args:
131-
parent: string, Required. The location of processor type to list. The available processor types may depend on the allow-listing on projects. Format: `projects/{project}/locations/{location}` (required)
132-
pageSize: integer, The maximum number of processor types to return. If unspecified, at most 100 processor types will be returned. The maximum value is 500; values above 500 will be coerced to 500.
131+
parent: string, Required. The location of processor types to list. Format: `projects/{project}/locations/{location}`. (required)
132+
pageSize: integer, The maximum number of processor types to return. If unspecified, at most `100` processor types will be returned. The maximum value is `500`. Values above `500` will be coerced to `500`.
133133
pageToken: string, Used to retrieve the next page of results, empty if at the end of the list.
134134
x__xgafv: string, V1 error format.
135135
Allowed values
@@ -139,7 +139,7 @@ <h3>Method Details</h3>
139139
Returns:
140140
An object of the form:
141141

142-
{ # Response message for list processor types.
142+
{ # Response message for the ListProcessorTypes method.
143143
&quot;nextPageToken&quot;: &quot;A String&quot;, # Points to the next page, otherwise empty.
144144
&quot;processorTypes&quot;: [ # The processor types.
145145
{ # A processor type is responsible for performing a certain document understanding task on a certain type of document.
@@ -155,7 +155,7 @@ <h3>Method Details</h3>
155155
&quot;sampleDocumentUris&quot;: [ # A set of Cloud Storage URIs of sample documents for this processor.
156156
&quot;A String&quot;,
157157
],
158-
&quot;type&quot;: &quot;A String&quot;, # The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc.
158+
&quot;type&quot;: &quot;A String&quot;, # The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
159159
},
160160
],
161161
}</pre>

0 commit comments

Comments
 (0)