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
Copy file name to clipboardExpand all lines: docs/dyn/contentwarehouse_v1.projects.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,7 @@ <h3>Method Details</h3>
99
99
<pre>Gets the access control policy for a resource. Returns NOT_FOUND error if the resource does not exist. Returns an empty policy if the resource exists but does not have a policy set.
100
100
101
101
Args:
102
-
resource: string, Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for project: projects/{project_number}. (required)
102
+
resource: string, Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for collection: projects/{project_number}/locations/{location}/collections/{collection_id}. Format for project: projects/{project_number}. (required)
103
103
body: object, The request body.
104
104
The object takes the form of:
105
105
@@ -166,7 +166,7 @@ <h3>Method Details</h3>
166
166
<pre>Sets the access control policy for a resource. Replaces any existing policy.
167
167
168
168
Args:
169
-
resource: string, Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for project: projects/{project_number}. (required)
169
+
resource: string, Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for collection: projects/{project_number}/locations/{location}/collections/{collection_id}. Format for project: projects/{project_number}. (required)
Copy file name to clipboardExpand all lines: docs/dyn/contentwarehouse_v1.projects.locations.documents.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2429,7 +2429,7 @@ <h3>Method Details</h3>
2429
2429
<pre>Gets the access control policy for a resource. Returns NOT_FOUND error if the resource does not exist. Returns an empty policy if the resource exists but does not have a policy set.
2430
2430
2431
2431
Args:
2432
-
resource: string, Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for project: projects/{project_number}. (required)
2432
+
resource: string, Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for collection: projects/{project_number}/locations/{location}/collections/{collection_id}. Format for project: projects/{project_number}. (required)
2433
2433
body: object, The request body.
2434
2434
The object takes the form of:
2435
2435
@@ -7822,7 +7822,7 @@ <h3>Method Details</h3>
7822
7822
<pre>Sets the access control policy for a resource. Replaces any existing policy.
7823
7823
7824
7824
Args:
7825
-
resource: string, Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for project: projects/{project_number}. (required)
7825
+
resource: string, Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for collection: projects/{project_number}/locations/{location}/collections/{collection_id}. Format for project: projects/{project_number}. (required)
name: string, Required. The resource name which owns the resources of the pipeline. Format: projects/{project_number}/locations/{location}. (required)
178
-
body: object, The request body.
179
-
The object takes the form of:
180
-
181
-
{ # Request message for DocumentService.RunPipeline.
182
-
"exportCdwPipeline": { # The configuration of exporting documents from the Document Warehouse to CDW pipeline. # Export docuemnts from Document Warehouse to CDW for training purpose.
"documents": [ # The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
185
-
"A String",
186
-
],
187
-
"exportFolderPath": "A String", # The Cloud Storage folder path used to store the exported documents before being sent to CDW. Format: gs:///.
188
-
"trainingSplitRatio": 3.14, # Ratio of training dataset split. When importing into Document AI Workbench, documents will be automatically split into training and test split category with the specified ratio.
189
-
},
190
-
"gcsIngestPipeline": { # The configuration of the Cloud Storage ingestion pipeline. # Cloud Storage ingestion pipeline.
191
-
"inputPath": "A String", # The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: gs:///.
192
-
"processorType": "A String", # The Doc AI processor type name. Only used when the format of ingested files is Doc AI Document proto format. Reference: https://source.corp.google.com/piper///depot/google3/cloud/ai/documentai/core/c/proto/processor.proto;l=21
193
-
"schemaName": "A String", # The Document Warehouse schema resource name. All documents processed by this pipeline will use this schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
194
-
},
195
-
"gcsIngestWithDocAiProcessorsPipeline": { # The configuration of the document classify/split and entity/kvp extraction pipeline. # Use DocAI processors to process documents in Cloud Storage and ingest them to Document Warehouse.
196
-
"extractProcessorInfos": [ # The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specificied, the first extract processor will be used.
197
-
{ # The DocAI processor information.
198
-
"documentType": "A String", # The processor will process the documents with this document type.
199
-
"processorName": "A String", # The processor resource name. Format is `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
200
-
"schemaName": "A String", # The Document schema resource name. All documents processed by this processor will use this schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
201
-
},
202
-
],
203
-
"inputPath": "A String", # The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: gs:///.
204
-
"processorResultsFolderPath": "A String", # The Cloud Storage folder path used to store the raw results from processors. Format: gs:///.
205
-
"splitClassifyProcessorInfo": { # The DocAI processor information. # The split and classify processor information. The split and classify result will be used to find a matched extract processor.
206
-
"documentType": "A String", # The processor will process the documents with this document type.
207
-
"processorName": "A String", # The processor resource name. Format is `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
208
-
"schemaName": "A String", # The Document schema resource name. All documents processed by this processor will use this schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
209
-
},
210
-
},
211
-
"processWithDocAiPipeline": { # The configuration of processing documents in Document Warehouse with DocAi processors pipeline. # Use a DocAI processor to process documents in Document Warehouse, and re-ingest the updated results into Document Warehouse.
212
-
"documents": [ # The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
213
-
"A String",
214
-
],
215
-
"exportFolderPath": "A String", # The Cloud Storage folder path used to store the exported documents before being sent to CDW. Format: gs:///.
216
-
"processorInfo": { # The DocAI processor information. # The CDW processor information.
217
-
"documentType": "A String", # The processor will process the documents with this document type.
218
-
"processorName": "A String", # The processor resource name. Format is `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
219
-
"schemaName": "A String", # The Document schema resource name. All documents processed by this processor will use this schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
220
-
},
221
-
"processorResultsFolderPath": "A String", # The Cloud Storage folder path used to store the raw results from processors. Format: gs:///.
222
-
},
223
-
"requestMetadata": { # Meta information is used to improve the performance of the service. # The meta information collected about the end user, used to enforce access control for the service.
224
-
"userInfo": { # The user information. # Provides user unique identification and groups information.
225
-
"groupIds": [ # The unique group identifications which the user is belong to. The format is "group:yyyy@example.com";
226
-
"A String",
227
-
],
228
-
"id": "A String", # A unique user identification string, as determined by the client. The maximum number of allowed characters is 255. Allowed characters include numbers 0 to 9, uppercase and lowercase letters, and restricted special symbols (:, @, +, -, _, ~) The format is "user:xxxx@example.com";
229
-
},
230
-
},
231
-
}
232
-
233
-
x__xgafv: string, V1 error format.
234
-
Allowed values
235
-
1 - v1 error format
236
-
2 - v2 error format
237
-
238
-
Returns:
239
-
An object of the form:
240
-
241
-
{ # This resource represents a long-running operation that is the result of a network API call.
242
-
"done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
243
-
"error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
244
-
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
245
-
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
246
-
{
247
-
"a_key": "", # Properties of the object. Contains field @type with type URL.
248
-
},
249
-
],
250
-
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
251
-
},
252
-
"metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
253
-
"a_key": "", # Properties of the object. Contains field @type with type URL.
254
-
},
255
-
"name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
256
-
"response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
257
-
"a_key": "", # Properties of the object. Contains field @type with type URL.
0 commit comments