Skip to content

Commit 32191c2

Browse files
feat(discoveryengine): update the api
#### discoveryengine:v1 The following keys were added: - resources.projects.resources.locations.methods.getCmekConfig (Total Keys: 11) - resources.projects.resources.locations.methods.updateCmekConfig (Total Keys: 14) - resources.projects.resources.locations.resources.cmekConfigs.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.cmekConfigs.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.cmekConfigs.methods.list (Total Keys: 11) - resources.projects.resources.locations.resources.cmekConfigs.methods.patch (Total Keys: 14) - resources.projects.resources.locations.resources.podcasts.resources.operations.methods.get (Total Keys: 11) - schemas.GoogleCloudDiscoveryengineV1CmekConfig.properties.notebooklmState (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1DataStore.properties.aclEnabled.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1ListCmekConfigsResponse (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaActionConfig.properties.serviceName.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaAnswer.properties.blobAttachments (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment (Total Keys: 13) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo.properties.blobAttachmentIndexes (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent.properties.blobAttachmentIndexes (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaCmekConfig.properties.notebooklmState (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec.properties.multimodalSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaCmekConfig.properties.notebooklmState (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaDataStore.properties.aclEnabled.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec.properties.multimodalSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec (Total Keys: 3) #### discoveryengine:v1alpha The following keys were added: - resources.projects.resources.locations.resources.podcasts.resources.operations.methods.get (Total Keys: 11) - schemas.GoogleCloudDiscoveryengineV1CmekConfig.properties.notebooklmState (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1DataStore.properties.aclEnabled.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaActionConfig.properties.serviceName.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaAnswer.properties.blobAttachments (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment (Total Keys: 13) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec.properties.multimodalSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo.properties.blobAttachmentIndexes (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent.properties.blobAttachmentIndexes (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaCmekConfig.properties.notebooklmState (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec.properties.multimodalSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment (Total Keys: 13) - schemas.GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent.properties.blobAttachmentIndexes (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata.properties.blobAttachments (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaCmekConfig.properties.notebooklmState (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaDataStore.properties.aclEnabled.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec.properties.multimodalSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec (Total Keys: 3) #### discoveryengine:v1beta The following keys were added: - resources.projects.resources.locations.methods.getCmekConfig (Total Keys: 11) - resources.projects.resources.locations.methods.updateCmekConfig (Total Keys: 14) - resources.projects.resources.locations.resources.cmekConfigs.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.cmekConfigs.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.cmekConfigs.methods.list (Total Keys: 11) - resources.projects.resources.locations.resources.cmekConfigs.methods.patch (Total Keys: 14) - resources.projects.resources.locations.resources.podcasts.resources.operations.methods.get (Total Keys: 11) - schemas.GoogleCloudDiscoveryengineV1CmekConfig.properties.notebooklmState (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1DataStore.properties.aclEnabled.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaActionConfig.properties.serviceName.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaAnswer.properties.blobAttachments (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment (Total Keys: 13) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo.properties.blobAttachmentIndexes (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent.properties.blobAttachmentIndexes (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaCmekConfig.properties.notebooklmState (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec.properties.multimodalSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaAnswer.properties.blobAttachments (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment (Total Keys: 13) - schemas.GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec.properties.multimodalSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo.properties.blobAttachmentIndexes (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent.properties.blobAttachmentIndexes (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1betaCmekConfig.properties.notebooklmState (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaDataStore.properties.aclEnabled.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec.properties.multimodalSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachment (Total Keys: 13) - schemas.GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent.properties.blobAttachmentIndexes (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata.properties.blobAttachments (Total Keys: 3)
1 parent cc1fce2 commit 32191c2

File tree

66 files changed

+4847
-172
lines changed

Some content is hidden

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

66 files changed

+4847
-172
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,251 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="discoveryengine_v1.html">Discovery Engine API</a> . <a href="discoveryengine_v1.projects.html">projects</a> . <a href="discoveryengine_v1.projects.locations.html">locations</a> . <a href="discoveryengine_v1.projects.locations.cmekConfigs.html">cmekConfigs</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
82+
<p class="firstline">De-provisions a CmekConfig.</p>
83+
<p class="toc_element">
84+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Gets the CmekConfig.</p>
86+
<p class="toc_element">
87+
<code><a href="#list">list(parent, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Lists all the CmekConfigs with the project.</p>
89+
<p class="toc_element">
90+
<code><a href="#patch">patch(name, body=None, setDefault=None, x__xgafv=None)</a></code></p>
91+
<p class="firstline">Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.</p>
92+
<h3>Method Details</h3>
93+
<div class="method">
94+
<code class="details" id="close">close()</code>
95+
<pre>Close httplib2 connections.</pre>
96+
</div>
97+
98+
<div class="method">
99+
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
100+
<pre>De-provisions a CmekConfig.
101+
102+
Args:
103+
name: string, Required. The resource name of the CmekConfig to delete, such as `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. (required)
104+
x__xgafv: string, V1 error format.
105+
Allowed values
106+
1 - v1 error format
107+
2 - v2 error format
108+
109+
Returns:
110+
An object of the form:
111+
112+
{ # This resource represents a long-running operation that is the result of a network API call.
113+
&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.
114+
&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.
115+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
116+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
117+
{
118+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
119+
},
120+
],
121+
&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.
122+
},
123+
&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.
124+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
125+
},
126+
&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}`.
127+
&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`.
128+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
129+
},
130+
}</pre>
131+
</div>
132+
133+
<div class="method">
134+
<code class="details" id="get">get(name, x__xgafv=None)</code>
135+
<pre>Gets the CmekConfig.
136+
137+
Args:
138+
name: string, Required. Resource name of CmekConfig, such as `projects/*/locations/*/cmekConfig` or `projects/*/locations/*/cmekConfigs/*`. If the caller does not have permission to access the CmekConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. (required)
139+
x__xgafv: string, V1 error format.
140+
Allowed values
141+
1 - v1 error format
142+
2 - v2 error format
143+
144+
Returns:
145+
An object of the form:
146+
147+
{ # Configurations used to enable CMEK data encryption with Cloud KMS keys.
148+
&quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
149+
&quot;kmsKey&quot;: &quot;A String&quot;, # KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
150+
&quot;kmsKeyVersion&quot;: &quot;A String&quot;, # KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
151+
&quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
152+
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`.
153+
&quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
154+
&quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
155+
{ # Metadata for single-regional CMEKs.
156+
&quot;kmsKey&quot;: &quot;A String&quot;, # Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
157+
},
158+
],
159+
&quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
160+
}</pre>
161+
</div>
162+
163+
<div class="method">
164+
<code class="details" id="list">list(parent, x__xgafv=None)</code>
165+
<pre>Lists all the CmekConfigs with the project.
166+
167+
Args:
168+
parent: string, Required. The parent location resource name, such as `projects/{project}/locations/{location}`. If the caller does not have permission to list CmekConfigs under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned. (required)
169+
x__xgafv: string, V1 error format.
170+
Allowed values
171+
1 - v1 error format
172+
2 - v2 error format
173+
174+
Returns:
175+
An object of the form:
176+
177+
{ # Response message for CmekConfigService.ListCmekConfigs method.
178+
&quot;cmekConfigs&quot;: [ # All the customer&#x27;s CmekConfigs.
179+
{ # Configurations used to enable CMEK data encryption with Cloud KMS keys.
180+
&quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
181+
&quot;kmsKey&quot;: &quot;A String&quot;, # KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
182+
&quot;kmsKeyVersion&quot;: &quot;A String&quot;, # KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
183+
&quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
184+
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`.
185+
&quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
186+
&quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
187+
{ # Metadata for single-regional CMEKs.
188+
&quot;kmsKey&quot;: &quot;A String&quot;, # Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
189+
},
190+
],
191+
&quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
192+
},
193+
],
194+
}</pre>
195+
</div>
196+
197+
<div class="method">
198+
<code class="details" id="patch">patch(name, body=None, setDefault=None, x__xgafv=None)</code>
199+
<pre>Provisions a CMEK key for use in a location of a customer&#x27;s project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.
200+
201+
Args:
202+
name: string, Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. (required)
203+
body: object, The request body.
204+
The object takes the form of:
205+
206+
{ # Configurations used to enable CMEK data encryption with Cloud KMS keys.
207+
&quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
208+
&quot;kmsKey&quot;: &quot;A String&quot;, # KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
209+
&quot;kmsKeyVersion&quot;: &quot;A String&quot;, # KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
210+
&quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
211+
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`.
212+
&quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
213+
&quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
214+
{ # Metadata for single-regional CMEKs.
215+
&quot;kmsKey&quot;: &quot;A String&quot;, # Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
216+
},
217+
],
218+
&quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
219+
}
220+
221+
setDefault: boolean, Set the following CmekConfig as the default to be used for child resources if one is not specified.
222+
x__xgafv: string, V1 error format.
223+
Allowed values
224+
1 - v1 error format
225+
2 - v2 error format
226+
227+
Returns:
228+
An object of the form:
229+
230+
{ # This resource represents a long-running operation that is the result of a network API call.
231+
&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.
232+
&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.
233+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
234+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
235+
{
236+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
237+
},
238+
],
239+
&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.
240+
},
241+
&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.
242+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
243+
},
244+
&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}`.
245+
&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`.
246+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
247+
},
248+
}</pre>
249+
</div>
250+
251+
</body></html>

docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.conversations.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ <h3>Method Details</h3>
115115

116116
{ # Request message for ConversationalSearchService.ConverseConversation method.
117117
&quot;boostSpec&quot;: { # Boost specification to boost certain documents. # Boost specification to boost certain documents in search results which may affect the converse response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
118-
&quot;conditionBoostSpecs&quot;: [ # Condition boost specifications. If a document matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.
118+
&quot;conditionBoostSpecs&quot;: [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.
119119
{ # Boost applies to documents which match a condition.
120120
&quot;boost&quot;: 3.14, # Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. Only one of the (condition, boost) combination or the boost_control_spec below are set. If both are set then the global boost is ignored and the more fine-grained boost_control_spec is applied.
121121
&quot;boostControlSpec&quot;: { # Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above. # Complex specification for custom ranking based on customer defined attribute value.

0 commit comments

Comments
 (0)