Skip to content

Commit 8be6ea0

Browse files
feat(contentwarehouse): update the api
#### contentwarehouse:v1 The following keys were deleted: - resources.projects.resources.locations.methods.runPipeline (Total Keys: 12) - resources.projects.resources.locations.resources.collections.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.collections.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.collections.methods.fetchCollectionAcl (Total Keys: 12) - resources.projects.resources.locations.resources.collections.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.collections.methods.search (Total Keys: 12) - resources.projects.resources.locations.resources.collections.methods.setCollectionAcl (Total Keys: 12) - resources.projects.resources.locations.resources.links.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.links.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.links.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.links.methods.patch (Total Keys: 15) - schemas.GoogleCloudContentwarehouseV1Collection (Total Keys: 18) - schemas.GoogleCloudContentwarehouseV1ExportToCdwPipeline (Total Keys: 8) - schemas.GoogleCloudContentwarehouseV1FetchCollectionAclRequest (Total Keys: 3) - schemas.GoogleCloudContentwarehouseV1FetchCollectionAclResponse (Total Keys: 4) - schemas.GoogleCloudContentwarehouseV1GcsIngestPipeline (Total Keys: 5) - schemas.GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline (Total Keys: 7) - schemas.GoogleCloudContentwarehouseV1Link (Total Keys: 12) - schemas.GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline (Total Keys: 7) - schemas.GoogleCloudContentwarehouseV1ProcessorInfo (Total Keys: 5) - schemas.GoogleCloudContentwarehouseV1RunPipelineRequest (Total Keys: 7) - schemas.GoogleCloudContentwarehouseV1SearchCollectionsRequest (Total Keys: 6) - schemas.GoogleCloudContentwarehouseV1SearchCollectionsResponse (Total Keys: 8) - schemas.GoogleCloudContentwarehouseV1SetCollectionAclRequest (Total Keys: 4) - schemas.GoogleCloudContentwarehouseV1SetCollectionAclResponse (Total Keys: 4) - schemas.GoogleInternalAppsWaldoV1alphaCalendarBusy.properties.committedUntilIsMixed.type (Total Keys: 1) - schemas.GoogleInternalAppsWaldoV1alphaDoNotDisturb.properties.committedUntilIsMixed.type (Total Keys: 1) - schemas.GoogleInternalAppsWaldoV1alphaInMeeting.properties.committedUntilIsMixed.type (Total Keys: 1) - schemas.GoogleInternalAppsWaldoV1alphaOutOfOffice.properties.committedUntilIsMixed.type (Total Keys: 1) The following keys were added: - schemas.AppsPeopleOzExternalMergedpeopleapiReadOnlyProfileInfo.properties.unjoinedEmailCertificates (Total Keys: 2) - schemas.AssistantApiCoreTypesGovernedDeviceConfig (Total Keys: 4) - schemas.AssistantApiCoreTypesGovernedDeviceId (Total Keys: 15) - schemas.AssistantContextAppProviderId (Total Keys: 6) - schemas.AssistantContextMediaProviderId (Total Keys: 12) - schemas.AssistantContextProviderId (Total Keys: 14) - schemas.AssistantContextProviderVariant (Total Keys: 5) - schemas.AssistantGroundingRankerDeviceGroundingProviderFeatures (Total Keys: 3) - schemas.AssistantGroundingRankerGroundingProviderFeatures.properties.deviceGroundingProviderFeatures.$ref (Total Keys: 1) - schemas.AssistantGroundingRankerMediaGroundingProviderFeatures.properties.albumReleaseType.type (Total Keys: 1) - schemas.AssistantGroundingRankerMediaGroundingProviderFeatures.properties.hasTypeSemanticEdge.type (Total Keys: 1) - schemas.AssistantGroundingRankerMediaGroundingProviderFeatures.properties.type.type (Total Keys: 1) - schemas.AssistantGroundingRankerProviderGroundingProviderFeatures.properties.providerClusterId (Total Keys: 2) - schemas.AssistantGroundingRankerProviderGroundingProviderFeatures.properties.providerId.$ref (Total Keys: 1) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.isMediaControlIntent.type (Total Keys: 1) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.nspRank (Total Keys: 2) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.rankerName.type (Total Keys: 1) - schemas.GeostoreLaneProtoLaneConnection.properties.yieldToOtherConnections.type (Total Keys: 1) - schemas.GoogleCloudContentwarehouseV1RunPipelineMetadata (Total Keys: 11) - schemas.QualityActionsReminder.properties.extraNotificationDeviceId.type (Total Keys: 1) - schemas.QualityOrbitAsteroidBeltDocumentIntentScores.properties.belowThresholdIntents (Total Keys: 2) - schemas.QualityOrbitAsteroidBeltDocumentIntentScores.properties.belowThresholdScores (Total Keys: 3) - schemas.QualityShoppingShoppingAttachmentOffer.properties.gtinValue (Total Keys: 2) - schemas.QualityShoppingShoppingAttachmentProduct.properties.productBrowseonomyIds (Total Keys: 3) - schemas.ResearchScamNumericRestrictNamespace (Total Keys: 10) - schemas.ResearchScamV3Restrict.properties.numericNamespaces (Total Keys: 2) - schemas.ScienceCitationFundingExtractionInfo.properties.ClearedFunding.type (Total Keys: 1)
1 parent 40cc908 commit 8be6ea0

File tree

4 files changed

+1015
-849
lines changed

4 files changed

+1015
-849
lines changed

docs/dyn/contentwarehouse_v1.projects.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ <h3>Method Details</h3>
9999
<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.
100100

101101
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)
103103
body: object, The request body.
104104
The object takes the form of:
105105

@@ -166,7 +166,7 @@ <h3>Method Details</h3>
166166
<pre>Sets the access control policy for a resource. Replaces any existing policy.
167167

168168
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)
170170
body: object, The request body.
171171
The object takes the form of:
172172

docs/dyn/contentwarehouse_v1.projects.locations.documents.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2429,7 +2429,7 @@ <h3>Method Details</h3>
24292429
<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.
24302430

24312431
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)
24332433
body: object, The request body.
24342434
The object takes the form of:
24352435

@@ -7822,7 +7822,7 @@ <h3>Method Details</h3>
78227822
<pre>Sets the access control policy for a resource. Replaces any existing policy.
78237823

78247824
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)
78267826
body: object, The request body.
78277827
The object takes the form of:
78287828

docs/dyn/contentwarehouse_v1.projects.locations.html

Lines changed: 0 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@
7474

7575
<h1><a href="contentwarehouse_v1.html">Document AI Warehouse API</a> . <a href="contentwarehouse_v1.projects.html">projects</a> . <a href="contentwarehouse_v1.projects.locations.html">locations</a></h1>
7676
<h2>Instance Methods</h2>
77-
<p class="toc_element">
78-
<code><a href="contentwarehouse_v1.projects.locations.collections.html">collections()</a></code>
79-
</p>
80-
<p class="firstline">Returns the collections Resource.</p>
81-
8277
<p class="toc_element">
8378
<code><a href="contentwarehouse_v1.projects.locations.documentSchemas.html">documentSchemas()</a></code>
8479
</p>
@@ -89,11 +84,6 @@ <h2>Instance Methods</h2>
8984
</p>
9085
<p class="firstline">Returns the documents Resource.</p>
9186

92-
<p class="toc_element">
93-
<code><a href="contentwarehouse_v1.projects.locations.links.html">links()</a></code>
94-
</p>
95-
<p class="firstline">Returns the links Resource.</p>
96-
9787
<p class="toc_element">
9888
<code><a href="contentwarehouse_v1.projects.locations.operations.html">operations()</a></code>
9989
</p>
@@ -115,9 +105,6 @@ <h2>Instance Methods</h2>
115105
<p class="toc_element">
116106
<code><a href="#initialize">initialize(location, body=None, x__xgafv=None)</a></code></p>
117107
<p class="firstline">Provisions resources for given tenant project. Returns a long running operation.</p>
118-
<p class="toc_element">
119-
<code><a href="#runPipeline">runPipeline(name, body=None, x__xgafv=None)</a></code></p>
120-
<p class="firstline">Run a predefined pipeline.</p>
121108
<h3>Method Details</h3>
122109
<div class="method">
123110
<code class="details" id="close">close()</code>
@@ -169,94 +156,4 @@ <h3>Method Details</h3>
169156
}</pre>
170157
</div>
171158

172-
<div class="method">
173-
<code class="details" id="runPipeline">runPipeline(name, body=None, x__xgafv=None)</code>
174-
<pre>Run a predefined pipeline.
175-
176-
Args:
177-
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-
&quot;exportCdwPipeline&quot;: { # The configuration of exporting documents from the Document Warehouse to CDW pipeline. # Export docuemnts from Document Warehouse to CDW for training purpose.
183-
&quot;docAiDataset&quot;: &quot;A String&quot;, # The CDW dataset resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset
184-
&quot;documents&quot;: [ # The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
185-
&quot;A String&quot;,
186-
],
187-
&quot;exportFolderPath&quot;: &quot;A String&quot;, # The Cloud Storage folder path used to store the exported documents before being sent to CDW. Format: gs:///.
188-
&quot;trainingSplitRatio&quot;: 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-
&quot;gcsIngestPipeline&quot;: { # The configuration of the Cloud Storage ingestion pipeline. # Cloud Storage ingestion pipeline.
191-
&quot;inputPath&quot;: &quot;A String&quot;, # The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: gs:///.
192-
&quot;processorType&quot;: &quot;A String&quot;, # 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-
&quot;schemaName&quot;: &quot;A String&quot;, # 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-
&quot;gcsIngestWithDocAiProcessorsPipeline&quot;: { # 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-
&quot;extractProcessorInfos&quot;: [ # 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-
&quot;documentType&quot;: &quot;A String&quot;, # The processor will process the documents with this document type.
199-
&quot;processorName&quot;: &quot;A String&quot;, # The processor resource name. Format is `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
200-
&quot;schemaName&quot;: &quot;A String&quot;, # 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-
&quot;inputPath&quot;: &quot;A String&quot;, # The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: gs:///.
204-
&quot;processorResultsFolderPath&quot;: &quot;A String&quot;, # The Cloud Storage folder path used to store the raw results from processors. Format: gs:///.
205-
&quot;splitClassifyProcessorInfo&quot;: { # 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-
&quot;documentType&quot;: &quot;A String&quot;, # The processor will process the documents with this document type.
207-
&quot;processorName&quot;: &quot;A String&quot;, # The processor resource name. Format is `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
208-
&quot;schemaName&quot;: &quot;A String&quot;, # 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-
&quot;processWithDocAiPipeline&quot;: { # 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-
&quot;documents&quot;: [ # The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
213-
&quot;A String&quot;,
214-
],
215-
&quot;exportFolderPath&quot;: &quot;A String&quot;, # The Cloud Storage folder path used to store the exported documents before being sent to CDW. Format: gs:///.
216-
&quot;processorInfo&quot;: { # The DocAI processor information. # The CDW processor information.
217-
&quot;documentType&quot;: &quot;A String&quot;, # The processor will process the documents with this document type.
218-
&quot;processorName&quot;: &quot;A String&quot;, # The processor resource name. Format is `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
219-
&quot;schemaName&quot;: &quot;A String&quot;, # 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-
&quot;processorResultsFolderPath&quot;: &quot;A String&quot;, # The Cloud Storage folder path used to store the raw results from processors. Format: gs:///.
222-
},
223-
&quot;requestMetadata&quot;: { # 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-
&quot;userInfo&quot;: { # The user information. # Provides user unique identification and groups information.
225-
&quot;groupIds&quot;: [ # The unique group identifications which the user is belong to. The format is &quot;group:yyyy@example.com&quot;;
226-
&quot;A String&quot;,
227-
],
228-
&quot;id&quot;: &quot;A String&quot;, # 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 &quot;user:xxxx@example.com&quot;;
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-
&quot;done&quot;: 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-
&quot;error&quot;: { # 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-
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
245-
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
246-
{
247-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
248-
},
249-
],
250-
&quot;message&quot;: &quot;A String&quot;, # 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-
&quot;metadata&quot;: { # 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-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
254-
},
255-
&quot;name&quot;: &quot;A String&quot;, # 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-
&quot;response&quot;: { # 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-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
258-
},
259-
}</pre>
260-
</div>
261-
262159
</body></html>

0 commit comments

Comments
 (0)