Skip to content

Commit 643b0de

Browse files
feat(discoveryengine): update the api
#### discoveryengine:v1 The following keys were added: - resources.projects.resources.locations.methods.getAclConfig (Total Keys: 11) - resources.projects.resources.locations.methods.updateAclConfig (Total Keys: 12) - schemas.GoogleCloudDiscoveryengineV1AclConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1Engine.properties.appType.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1IdpConfig (Total Keys: 7) - schemas.GoogleCloudDiscoveryengineV1alphaEngine.properties.appType.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaAclConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1betaEngine.properties.appType.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaIdpConfig (Total Keys: 7) #### discoveryengine:v1alpha The following keys were added: - resources.projects.resources.locations.resources.notebooks.methods.batchDelete (Total Keys: 12) - resources.projects.resources.locations.resources.notebooks.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.notebooks.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.notebooks.methods.share (Total Keys: 12) - resources.projects.resources.locations.resources.notebooks.resources.audioOverviews.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.notebooks.resources.audioOverviews.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.notebooks.resources.sources.methods.batchDelete (Total Keys: 12) - resources.projects.resources.locations.resources.notebooks.resources.sources.methods.get (Total Keys: 11) - schemas.GoogleCloudDiscoveryengineV1AclConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1Engine.properties.appType.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1IdpConfig (Total Keys: 7) - schemas.GoogleCloudDiscoveryengineV1alphaEngine.properties.appType.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaAclConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1betaEngine.properties.appType.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaIdpConfig (Total Keys: 7) - schemas.GoogleCloudNotebooklmV1alphaAccountAndRole (Total Keys: 4) - schemas.GoogleCloudNotebooklmV1alphaAudioOverview (Total Keys: 16) - schemas.GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest (Total Keys: 4) - schemas.GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest (Total Keys: 4) - schemas.GoogleCloudNotebooklmV1alphaCreateAudioOverviewRequest (Total Keys: 3) - schemas.GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponse (Total Keys: 3) - schemas.GoogleCloudNotebooklmV1alphaShareNotebookRequest (Total Keys: 5) - schemas.GoogleCloudNotebooklmV1alphaShareNotebookResponse (Total Keys: 2) - schemas.GoogleCloudNotebooklmV1alphaUserContent.properties.googleDriveContent.$ref (Total Keys: 1) - schemas.GoogleCloudNotebooklmV1alphaUserContent.properties.textContent.$ref (Total Keys: 1) - schemas.GoogleCloudNotebooklmV1alphaUserContent.properties.videoContent.$ref (Total Keys: 1) - schemas.GoogleCloudNotebooklmV1alphaUserContent.properties.webContent.$ref (Total Keys: 1) - schemas.GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent (Total Keys: 5) - schemas.GoogleCloudNotebooklmV1alphaUserContentTextContent (Total Keys: 4) - schemas.GoogleCloudNotebooklmV1alphaUserContentVideoContent (Total Keys: 2) - schemas.GoogleCloudNotebooklmV1alphaUserContentWebContent (Total Keys: 3) #### discoveryengine:v1beta The following keys were added: - resources.projects.resources.locations.methods.getAclConfig (Total Keys: 11) - resources.projects.resources.locations.methods.updateAclConfig (Total Keys: 12) - schemas.GoogleCloudDiscoveryengineV1AclConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1Engine.properties.appType.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1IdpConfig (Total Keys: 7) - schemas.GoogleCloudDiscoveryengineV1alphaEngine.properties.appType.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaAclConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1betaEngine.properties.appType.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaIdpConfig (Total Keys: 7)
1 parent 3a419d6 commit 643b0de

11 files changed

+1550
-3
lines changed

docs/dyn/discoveryengine_v1.projects.locations.collections.engines.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ <h3>Method Details</h3>
146146
The object takes the form of:
147147

148148
{ # Metadata that describes the training and serving parameters of an Engine.
149+
&quot;appType&quot;: &quot;A String&quot;, # Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.
149150
&quot;chatEngineConfig&quot;: { # Configurations for a Chat Engine. # Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
150151
&quot;agentCreationConfig&quot;: { # Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. # The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
151152
&quot;business&quot;: &quot;A String&quot;, # Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
@@ -280,6 +281,7 @@ <h3>Method Details</h3>
280281
An object of the form:
281282

282283
{ # Metadata that describes the training and serving parameters of an Engine.
284+
&quot;appType&quot;: &quot;A String&quot;, # Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.
283285
&quot;chatEngineConfig&quot;: { # Configurations for a Chat Engine. # Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
284286
&quot;agentCreationConfig&quot;: { # Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. # The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
285287
&quot;business&quot;: &quot;A String&quot;, # Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
@@ -355,6 +357,7 @@ <h3>Method Details</h3>
355357
{ # Response message for EngineService.ListEngines method.
356358
&quot;engines&quot;: [ # All the customer&#x27;s Engines.
357359
{ # Metadata that describes the training and serving parameters of an Engine.
360+
&quot;appType&quot;: &quot;A String&quot;, # Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.
358361
&quot;chatEngineConfig&quot;: { # Configurations for a Chat Engine. # Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
359362
&quot;agentCreationConfig&quot;: { # Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. # The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
360363
&quot;business&quot;: &quot;A String&quot;, # Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
@@ -437,6 +440,7 @@ <h3>Method Details</h3>
437440
The object takes the form of:
438441

439442
{ # Metadata that describes the training and serving parameters of an Engine.
443+
&quot;appType&quot;: &quot;A String&quot;, # Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.
440444
&quot;chatEngineConfig&quot;: { # Configurations for a Chat Engine. # Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
441445
&quot;agentCreationConfig&quot;: { # Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. # The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
442446
&quot;business&quot;: &quot;A String&quot;, # Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
@@ -501,6 +505,7 @@ <h3>Method Details</h3>
501505
An object of the form:
502506

503507
{ # Metadata that describes the training and serving parameters of an Engine.
508+
&quot;appType&quot;: &quot;A String&quot;, # Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.
504509
&quot;chatEngineConfig&quot;: { # Configurations for a Chat Engine. # Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
505510
&quot;agentCreationConfig&quot;: { # Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. # The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
506511
&quot;business&quot;: &quot;A String&quot;, # Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.

docs/dyn/discoveryengine_v1.projects.locations.html

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,15 @@ <h2>Instance Methods</h2>
127127
<p class="toc_element">
128128
<code><a href="#close">close()</a></code></p>
129129
<p class="firstline">Close httplib2 connections.</p>
130+
<p class="toc_element">
131+
<code><a href="#getAclConfig">getAclConfig(name, x__xgafv=None)</a></code></p>
132+
<p class="firstline">Gets the AclConfig.</p>
130133
<p class="toc_element">
131134
<code><a href="#getCmekConfig">getCmekConfig(name, x__xgafv=None)</a></code></p>
132135
<p class="firstline">Gets the CmekConfig.</p>
136+
<p class="toc_element">
137+
<code><a href="#updateAclConfig">updateAclConfig(name, body=None, x__xgafv=None)</a></code></p>
138+
<p class="firstline">Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value.</p>
133139
<p class="toc_element">
134140
<code><a href="#updateCmekConfig">updateCmekConfig(name, body=None, setDefault=None, x__xgafv=None)</a></code></p>
135141
<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>
@@ -139,6 +145,31 @@ <h3>Method Details</h3>
139145
<pre>Close httplib2 connections.</pre>
140146
</div>
141147

148+
<div class="method">
149+
<code class="details" id="getAclConfig">getAclConfig(name, x__xgafv=None)</code>
150+
<pre>Gets the AclConfig.
151+
152+
Args:
153+
name: string, Required. Resource name of AclConfig, such as `projects/*/locations/*/aclConfig`. If the caller does not have permission to access the AclConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. (required)
154+
x__xgafv: string, V1 error format.
155+
Allowed values
156+
1 - v1 error format
157+
2 - v2 error format
158+
159+
Returns:
160+
An object of the form:
161+
162+
{ # Access Control Configuration.
163+
&quot;idpConfig&quot;: { # Identity Provider Config. # Identity provider config.
164+
&quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
165+
&quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
166+
},
167+
&quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
168+
},
169+
&quot;name&quot;: &quot;A String&quot;, # Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
170+
}</pre>
171+
</div>
172+
142173
<div class="method">
143174
<code class="details" id="getCmekConfig">getCmekConfig(name, x__xgafv=None)</code>
144175
<pre>Gets the CmekConfig.
@@ -169,6 +200,44 @@ <h3>Method Details</h3>
169200
}</pre>
170201
</div>
171202

203+
<div class="method">
204+
<code class="details" id="updateAclConfig">updateAclConfig(name, body=None, x__xgafv=None)</code>
205+
<pre>Default ACL configuration for use in a location of a customer&#x27;s project. Updates will only reflect to new data stores. Existing data stores will still use the old value.
206+
207+
Args:
208+
name: string, Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. (required)
209+
body: object, The request body.
210+
The object takes the form of:
211+
212+
{ # Access Control Configuration.
213+
&quot;idpConfig&quot;: { # Identity Provider Config. # Identity provider config.
214+
&quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
215+
&quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
216+
},
217+
&quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
218+
},
219+
&quot;name&quot;: &quot;A String&quot;, # Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
220+
}
221+
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+
{ # Access Control Configuration.
231+
&quot;idpConfig&quot;: { # Identity Provider Config. # Identity provider config.
232+
&quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
233+
&quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
234+
},
235+
&quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
236+
},
237+
&quot;name&quot;: &quot;A String&quot;, # Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
238+
}</pre>
239+
</div>
240+
172241
<div class="method">
173242
<code class="details" id="updateCmekConfig">updateCmekConfig(name, body=None, setDefault=None, x__xgafv=None)</code>
174243
<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.

0 commit comments

Comments
 (0)