Skip to content

Commit 4522cd5

Browse files
feat(discoveryengine): update the api
#### discoveryengine:v1 The following keys were added: - resources.projects.methods.provision (Total Keys: 12) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.userEvents.methods.write.parameters.writeAsync (Total Keys: 2) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.dataStores.resources.userEvents.methods.write.parameters.writeAsync (Total Keys: 2) - resources.projects.resources.locations.resources.userEvents.methods.write.parameters.writeAsync (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec.properties.ignoreLowRelevantContent.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams.properties.dataStoreSpecs (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata.properties.structData (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo.properties.structData (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1Condition (Total Keys: 16) - schemas.GoogleCloudDiscoveryengineV1Control (Total Keys: 33) - schemas.GoogleCloudDiscoveryengineV1ListControlsResponse (Total Keys: 5) - schemas.GoogleCloudDiscoveryengineV1Project (Total Keys: 22) - schemas.GoogleCloudDiscoveryengineV1ProvisionProjectMetadata (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1ProvisionProjectRequest (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1RankRequest.properties.userLabels (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1UserEvent.properties.dataStore.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1UserEvent.properties.engine.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata.properties.structData (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo.properties.structData (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaCondition (Total Keys: 16) - schemas.GoogleCloudDiscoveryengineV1alphaControl (Total Keys: 33) - schemas.GoogleCloudDiscoveryengineV1alphaFieldConfig.properties.schemaOrgPaths (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaCondition (Total Keys: 16) - schemas.GoogleCloudDiscoveryengineV1betaControl (Total Keys: 33) - schemas.GoogleCloudDiscoveryengineV1betaProject (Total Keys: 22) - schemas.GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata (Total Keys: 2) #### discoveryengine:v1alpha The following keys were added: - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.userEvents.methods.write.parameters.writeAsync (Total Keys: 2) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.dataStores.resources.userEvents.methods.write.parameters.writeAsync (Total Keys: 2) - resources.projects.resources.locations.resources.userEvents.methods.write.parameters.writeAsync (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1Condition (Total Keys: 16) - schemas.GoogleCloudDiscoveryengineV1Control (Total Keys: 33) - schemas.GoogleCloudDiscoveryengineV1Project (Total Keys: 22) - schemas.GoogleCloudDiscoveryengineV1ProvisionProjectMetadata (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec.properties.ignoreLowRelevantContent.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchParams.properties.dataStoreSpecs (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata.properties.structData (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo.properties.structData (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaChunk.properties.relevanceScore.readOnly (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaCondition (Total Keys: 16) - schemas.GoogleCloudDiscoveryengineV1alphaControl (Total Keys: 33) - schemas.GoogleCloudDiscoveryengineV1alphaFieldConfig.properties.schemaOrgPaths (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaListControlsResponse (Total Keys: 5) - schemas.GoogleCloudDiscoveryengineV1alphaRankRequest.properties.userLabels (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaUserEvent.properties.dataStore.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaUserEvent.properties.engine.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaCondition (Total Keys: 16) - schemas.GoogleCloudDiscoveryengineV1betaControl (Total Keys: 33) - schemas.GoogleCloudDiscoveryengineV1betaProject (Total Keys: 22) - schemas.GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata (Total Keys: 2) #### discoveryengine:v1beta The following keys were added: - resources.projects.methods.provision (Total Keys: 12) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.controls.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.collections.resources.dataStores.resources.userEvents.methods.write.parameters.writeAsync (Total Keys: 2) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.collections.resources.engines.resources.controls.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.dataStores.resources.controls.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.dataStores.resources.userEvents.methods.write.parameters.writeAsync (Total Keys: 2) - resources.projects.resources.locations.resources.userEvents.methods.write.parameters.writeAsync (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1Condition (Total Keys: 16) - schemas.GoogleCloudDiscoveryengineV1Control (Total Keys: 33) - schemas.GoogleCloudDiscoveryengineV1Project (Total Keys: 22) - schemas.GoogleCloudDiscoveryengineV1ProvisionProjectMetadata (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata.properties.structData (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo.properties.structData (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaCondition (Total Keys: 16) - schemas.GoogleCloudDiscoveryengineV1alphaControl (Total Keys: 33) - schemas.GoogleCloudDiscoveryengineV1alphaFieldConfig.properties.schemaOrgPaths (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec.properties.ignoreLowRelevantContent.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchParams.properties.dataStoreSpecs (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata.properties.structData (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo.properties.structData (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaCondition (Total Keys: 16) - schemas.GoogleCloudDiscoveryengineV1betaControl (Total Keys: 33) - schemas.GoogleCloudDiscoveryengineV1betaListControlsResponse (Total Keys: 5) - schemas.GoogleCloudDiscoveryengineV1betaProject (Total Keys: 22) - schemas.GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaProvisionProjectRequest (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1betaRankRequest.properties.userLabels (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaUserEvent.properties.dataStore.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaUserEvent.properties.engine.type (Total Keys: 1)
1 parent 2d79840 commit 4522cd5

File tree

62 files changed

+9201
-367
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+9201
-367
lines changed

docs/dyn/discoveryengine_v1.projects.html

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,56 @@ <h2>Instance Methods</h2>
8787
<p class="toc_element">
8888
<code><a href="#close">close()</a></code></p>
8989
<p class="firstline">Close httplib2 connections.</p>
90+
<p class="toc_element">
91+
<code><a href="#provision">provision(name, body=None, x__xgafv=None)</a></code></p>
92+
<p class="firstline">Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.</p>
9093
<h3>Method Details</h3>
9194
<div class="method">
9295
<code class="details" id="close">close()</code>
9396
<pre>Close httplib2 connections.</pre>
9497
</div>
9598

99+
<div class="method">
100+
<code class="details" id="provision">provision(name, body=None, x__xgafv=None)</code>
101+
<pre>Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.
102+
103+
Args:
104+
name: string, Required. Full resource name of a Project, such as `projects/{project_id_or_number}`. (required)
105+
body: object, The request body.
106+
The object takes the form of:
107+
108+
{ # Request for ProjectService.ProvisionProject method.
109+
&quot;acceptDataUseTerms&quot;: True or False, # Required. Set to `true` to specify that caller has read and would like to give consent to the [Terms for data use](https://cloud.google.com/retail/data-use-terms).
110+
&quot;dataUseTermsVersion&quot;: &quot;A String&quot;, # Required. The version of the [Terms for data use](https://cloud.google.com/retail/data-use-terms) that caller has read and would like to give consent to. Acceptable version is `2022-11-23`, and this may change over time.
111+
}
112+
113+
x__xgafv: string, V1 error format.
114+
Allowed values
115+
1 - v1 error format
116+
2 - v2 error format
117+
118+
Returns:
119+
An object of the form:
120+
121+
{ # This resource represents a long-running operation that is the result of a network API call.
122+
&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.
123+
&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.
124+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
125+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
126+
{
127+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
128+
},
129+
],
130+
&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.
131+
},
132+
&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.
133+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
134+
},
135+
&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}`.
136+
&quot;response&quot;: { # The normal, successful response of the operation. 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`.
137+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
138+
},
139+
}</pre>
140+
</div>
141+
96142
</body></html>

0 commit comments

Comments
 (0)