You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<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't use ListProcessorTypes here, because it isn't paginated.
116
116
117
117
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)
119
119
x__xgafv: string, V1 error format.
120
120
Allowed values
121
121
1 - v1 error format
@@ -124,7 +124,7 @@ <h3>Method Details</h3>
124
124
Returns:
125
125
An object of the form:
126
126
127
-
{ # Response message for fetch processor types.
127
+
{ # Response message for the FetchProcessorTypes method.
128
128
"processorTypes": [ # The list of processor types.
129
129
{ # A processor type is responsible for performing a certain document understanding task on a certain type of document.
130
130
"allowCreation": 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>
139
139
"sampleDocumentUris": [ # A set of Cloud Storage URIs of sample documents for this processor.
140
140
"A String",
141
141
],
142
-
"type": "A String", # The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc.
142
+
"type": "A String", # The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
143
143
},
144
144
],
145
145
}</pre>
@@ -159,7 +159,7 @@ <h3>Method Details</h3>
159
159
Returns:
160
160
An object of the form:
161
161
162
-
{ # A resource that represents Google Cloud Platform location.
162
+
{ # A resource that represents a Google Cloud location.
163
163
"displayName": "A String", # The friendly name for this location, typically a nearby city name. For example, "Tokyo".
164
164
"labels": { # Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
165
165
"a_key": "A String",
@@ -191,7 +191,7 @@ <h3>Method Details</h3>
191
191
192
192
{ # The response message for Locations.ListLocations.
193
193
"locations": [ # 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.
195
195
"displayName": "A String", # The friendly name for this location, typically a nearby city name. For example, "Tokyo".
196
196
"labels": { # Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
Copy file name to clipboardExpand all lines: docs/dyn/documentai_v1.projects.locations.processorTypes.html
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ <h3>Method Details</h3>
119
119
"sampleDocumentUris": [ # A set of Cloud Storage URIs of sample documents for this processor.
120
120
"A String",
121
121
],
122
-
"type": "A String", # The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc.
122
+
"type": "A String", # The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
123
123
}</pre>
124
124
</div>
125
125
@@ -128,8 +128,8 @@ <h3>Method Details</h3>
128
128
<pre>Lists the processor types that exist.
129
129
130
130
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`.
133
133
pageToken: string, Used to retrieve the next page of results, empty if at the end of the list.
134
134
x__xgafv: string, V1 error format.
135
135
Allowed values
@@ -139,7 +139,7 @@ <h3>Method Details</h3>
139
139
Returns:
140
140
An object of the form:
141
141
142
-
{ # Response message for list processor types.
142
+
{ # Response message for the ListProcessorTypes method.
143
143
"nextPageToken": "A String", # Points to the next page, otherwise empty.
144
144
"processorTypes": [ # The processor types.
145
145
{ # 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>
155
155
"sampleDocumentUris": [ # A set of Cloud Storage URIs of sample documents for this processor.
156
156
"A String",
157
157
],
158
-
"type": "A String", # The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc.
158
+
"type": "A String", # The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
0 commit comments