locations
Creates, updates, deletes, gets or lists a locations
resource.
Overview
Name | locations |
Type | Resource |
Id | google.contentwarehouse.locations |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
initialize | exec | projectsId , locationsId | Provisions resources for given tenant project. Returns a long running operation. | |
run_pipeline | exec | projectsId , locationsId | Run a predefined pipeline. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
projectsId | string |
Lifecycle Methods
- initialize
- run_pipeline
Provisions resources for given tenant project. Returns a long running operation.
EXEC google.contentwarehouse.locations.initialize
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"documentCreatorDefaultRole": "{{ documentCreatorDefaultRole }}",
"databaseType": "{{ databaseType }}",
"kmsKey": "{{ kmsKey }}",
"accessControlMode": "{{ accessControlMode }}",
"enableCalUserEmailLogging": {{ enableCalUserEmailLogging }}
}';
Run a predefined pipeline.
EXEC google.contentwarehouse.locations.run_pipeline
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"gcsIngestWithDocAiProcessorsPipeline": "{{ gcsIngestWithDocAiProcessorsPipeline }}",
"gcsIngestPipeline": "{{ gcsIngestPipeline }}",
"processWithDocAiPipeline": "{{ processWithDocAiPipeline }}",
"exportCdwPipeline": "{{ exportCdwPipeline }}",
"requestMetadata": "{{ requestMetadata }}"
}';