@googleapis/discoveryengine 32.0.0 → 33.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2403,6 +2403,10 @@ export declare namespace discoveryengine_v1alpha {
2403
2403
  * Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK.
2404
2404
  */
2405
2405
  verdict?: string | null;
2406
+ /**
2407
+ * Output only. The source of the violation.
2408
+ */
2409
+ violationSource?: string | null;
2406
2410
  }
2407
2411
  /**
2408
2412
  * Customer policy enforcement result for the banned phrase policy.
@@ -2707,6 +2711,12 @@ export declare namespace discoveryengine_v1alpha {
2707
2711
  * Referenced content and related document metadata.
2708
2712
  */
2709
2713
  export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference {
2714
+ /**
2715
+ * Output only. Generic structured chunk metadata from upstream data source connectors.
2716
+ */
2717
+ chunkMetadata?: {
2718
+ [key: string]: any;
2719
+ } | null;
2710
2720
  /**
2711
2721
  * Chunk of code snippet from the referenced document.
2712
2722
  */
@@ -3841,7 +3851,7 @@ export declare namespace discoveryengine_v1alpha {
3841
3851
  */
3842
3852
  numUniqueUsersThreshold?: number | null;
3843
3853
  /**
3844
- * This field is only meaningful for suggestions generated from user events or search history. If a query shows up less than this threshold, it may indicate that the query is rarely searched and thus will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 3 used in the generation pipeline.
3854
+ * This field is only meaningful for suggestions generated from user events or search history. If a query shows up less than this threshold, it may indicate that the query is rarely searched and thus will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 8 used in the generation pipeline.
3845
3855
  */
3846
3856
  queryFrequencyThreshold?: number | null;
3847
3857
  /**
@@ -5741,7 +5751,7 @@ export declare namespace discoveryengine_v1alpha {
5741
5751
  */
5742
5752
  displayName?: string | null;
5743
5753
  /**
5744
- * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
5754
+ * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
5745
5755
  */
5746
5756
  features?: {
5747
5757
  [key: string]: string;
@@ -7255,6 +7265,42 @@ export declare namespace discoveryengine_v1alpha {
7255
7265
  */
7256
7266
  minimum?: number | null;
7257
7267
  }
7268
+ /**
7269
+ * Request message for making a call to an MCP connector. It carries the connector name, the method to invoke, and optional parameters.
7270
+ */
7271
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest {
7272
+ /**
7273
+ * Optional. The engine resource name (e.g. "projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}"). Used as the search engine id when invoking tool registry tools that issue Discovery Search Service requests.
7274
+ */
7275
+ engine?: string | null;
7276
+ /**
7277
+ * Required. The method to invoke (e.g. "tools/list", "tools/call", "resources/read", "prompts/get", etc.).
7278
+ */
7279
+ method?: string | null;
7280
+ /**
7281
+ * Optional. Arbitrary structured parameters for the method. Using google.protobuf.Struct keeps the payload schema-flexible, matching JSON-RPC's free-form `params` field.
7282
+ */
7283
+ params?: {
7284
+ [key: string]: any;
7285
+ } | null;
7286
+ /**
7287
+ * Optional. The tool spec version to resolve the connector's tool surface against. This corresponds to the connector's BAP tool spec file name (e.g. "v2", "v5.2"). When unset, the server uses its default (latest) tool spec for the connector. Applies to all methods (e.g. "tools/list" and "tools/call").
7288
+ */
7289
+ toolSpecVersion?: string | null;
7290
+ }
7291
+ /**
7292
+ * Response message returning the result of an MCP connector invocation. It contains either a successful result payload or error details.
7293
+ */
7294
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse {
7295
+ /**
7296
+ * Error details when the call fails.
7297
+ */
7298
+ error?: Schema$GoogleCloudDiscoveryengineV1alphaMcpError;
7299
+ /**
7300
+ * Successful result — arbitrary structured data.
7301
+ */
7302
+ result?: any | null;
7303
+ }
7258
7304
  /**
7259
7305
  * Language info for DataStore.
7260
7306
  */
@@ -7797,6 +7843,23 @@ export declare namespace discoveryengine_v1alpha {
7797
7843
  */
7798
7844
  export interface Schema$GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition {
7799
7845
  }
7846
+ /**
7847
+ * McpError represents error details when an MCP call fails. This structure follows the JSON-RPC 2.0 error object shape.
7848
+ */
7849
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaMcpError {
7850
+ /**
7851
+ * Numeric error code.
7852
+ */
7853
+ code?: number | null;
7854
+ /**
7855
+ * Optional structured data with additional error context.
7856
+ */
7857
+ data?: any | null;
7858
+ /**
7859
+ * Short, human-readable description of the error.
7860
+ */
7861
+ message?: string | null;
7862
+ }
7800
7863
  /**
7801
7864
  * Media-specific user event information.
7802
7865
  */
@@ -10041,7 +10104,7 @@ export declare namespace discoveryengine_v1alpha {
10041
10104
  */
10042
10105
  export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchResponse {
10043
10106
  /**
10044
- * Controls applied as part of the Control service.
10107
+ * Optional. Controls applied as part of the Control service.
10045
10108
  */
10046
10109
  appliedControls?: string[] | null;
10047
10110
  /**
@@ -11063,6 +11126,10 @@ export declare namespace discoveryengine_v1alpha {
11063
11126
  * Optional. Specification of actions for the request.
11064
11127
  */
11065
11128
  actionSpec?: Schema$GoogleCloudDiscoveryengineV1alphaStreamAssistRequestActionSpec;
11129
+ /**
11130
+ * Optional. Specification of agents that are used to serve the request.
11131
+ */
11132
+ agentsSpec?: Schema$GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpec;
11066
11133
  /**
11067
11134
  * Optional. Specification of the generation configuration for the request.
11068
11135
  */
@@ -11093,6 +11160,24 @@ export declare namespace discoveryengine_v1alpha {
11093
11160
  */
11094
11161
  actionDisabled?: boolean | null;
11095
11162
  }
11163
+ /**
11164
+ * Specification of agents that are used to serve the request.
11165
+ */
11166
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpec {
11167
+ /**
11168
+ * Optional. Specification of agents that are used to serve the request.
11169
+ */
11170
+ agentSpecs?: Schema$GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpecAgentSpec[];
11171
+ }
11172
+ /**
11173
+ * Specification of an agent.
11174
+ */
11175
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpecAgentSpec {
11176
+ /**
11177
+ * Required. ID to identify the agent resource serving the request. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters.
11178
+ */
11179
+ agentId?: string | null;
11180
+ }
11096
11181
  /**
11097
11182
  * Assistant generation specification for the request. This allows to override the default generation configuration at the engine level.
11098
11183
  */
@@ -12025,7 +12110,7 @@ export declare namespace discoveryengine_v1alpha {
12025
12110
  */
12026
12111
  id?: string | null;
12027
12112
  /**
12028
- * Output only. Whether this is a first-party (Google-owned) connector, as opposed to a third-party connector. Used by the frontend to group 1P vs 3P connectors. Sourced from `ConnectorSource.is_first_party` once that field is universally populated (b/534727761); until then derived from `ConnectorSource.connector_type == FIRST_PARTY`.
12113
+ * Output only. Whether this is a first-party (Google-owned) connector, as opposed to a third-party connector. Used by the frontend to group 1P vs 3P connectors.
12029
12114
  */
12030
12115
  isFirstParty?: boolean | null;
12031
12116
  /**
@@ -12271,7 +12356,7 @@ export declare namespace discoveryengine_v1alpha {
12271
12356
  */
12272
12357
  enableVisualContentSummary?: boolean | null;
12273
12358
  /**
12274
- * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
12359
+ * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
12275
12360
  */
12276
12361
  features?: {
12277
12362
  [key: string]: string;
@@ -12397,10 +12482,18 @@ export declare namespace discoveryengine_v1alpha {
12397
12482
  * Output only. Whether the model is currently in preview. Clients should surface this via a "Preview" badge in the selector UI.
12398
12483
  */
12399
12484
  isPreview?: boolean | null;
12485
+ /**
12486
+ * Output only. Short label shown in the compact selector bar chip (e.g. `3.x Flash`) as opposed to the full `display_name` (`Gemini 3.x Flash`). Falls back to `display_name` when the backend registry does not specify a distinct short label.
12487
+ */
12488
+ label?: string | null;
12400
12489
  /**
12401
12490
  * Output only. Unique identifier of the model (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). This is the same identifier that clients pass back to the assistant service to select this model. Virtual / "pseudo" models (e.g. `gemini-fast`) are also valid values here; they are resolved to the underlying concrete model on the backend.
12402
12491
  */
12403
12492
  modelId?: string | null;
12493
+ /**
12494
+ * Output only. Whether this model should be promoted in the GE chat homepage banner.
12495
+ */
12496
+ promoted?: boolean | null;
12404
12497
  }
12405
12498
  /**
12406
12499
  * Admin-surface metadata. Populated only when the request originates from the Cloud Console admin "Feature Control" page; left unset for end-user surfaces (Web, Mobile). Lets the admin page render its toggle table directly from the backend instead of a hardcoded client-side registry.
@@ -13705,7 +13798,7 @@ export declare namespace discoveryengine_v1alpha {
13705
13798
  */
13706
13799
  displayName?: string | null;
13707
13800
  /**
13708
- * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
13801
+ * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
13709
13802
  */
13710
13803
  features?: {
13711
13804
  [key: string]: string;
@@ -17030,7 +17123,7 @@ export declare namespace discoveryengine_v1alpha {
17030
17123
  */
17031
17124
  displayName?: string | null;
17032
17125
  /**
17033
- * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
17126
+ * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
17034
17127
  */
17035
17128
  features?: {
17036
17129
  [key: string]: string;
@@ -22297,6 +22390,77 @@ export declare namespace discoveryengine_v1alpha {
22297
22390
  getDataConnector(params: Params$Resource$Projects$Locations$Collections$Getdataconnector, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDataConnector>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDataConnector>): void;
22298
22391
  getDataConnector(params: Params$Resource$Projects$Locations$Collections$Getdataconnector, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDataConnector>): void;
22299
22392
  getDataConnector(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDataConnector>): void;
22393
+ /**
22394
+ * Gets the IAM access control policy for a Collection. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it.
22395
+ * @example
22396
+ * ```js
22397
+ * // Before running the sample:
22398
+ * // - Enable the API at:
22399
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
22400
+ * // - Login into gcloud by running:
22401
+ * // ```sh
22402
+ * // $ gcloud auth application-default login
22403
+ * // ```
22404
+ * // - Install the npm module by running:
22405
+ * // ```sh
22406
+ * // $ npm install googleapis
22407
+ * // ```
22408
+ *
22409
+ * const {google} = require('googleapis');
22410
+ * const discoveryengine = google.discoveryengine('v1alpha');
22411
+ *
22412
+ * async function main() {
22413
+ * const auth = new google.auth.GoogleAuth({
22414
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
22415
+ * scopes: [
22416
+ * 'https://www.googleapis.com/auth/cloud-platform',
22417
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
22418
+ * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
22419
+ * ],
22420
+ * });
22421
+ *
22422
+ * // Acquire an auth client, and bind it to all future calls
22423
+ * const authClient = await auth.getClient();
22424
+ * google.options({auth: authClient});
22425
+ *
22426
+ * // Do the magic
22427
+ * const res = await discoveryengine.projects.locations.collections.getIamPolicy(
22428
+ * {
22429
+ * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
22430
+ * 'options.requestedPolicyVersion': 'placeholder-value',
22431
+ * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
22432
+ * resource:
22433
+ * 'projects/my-project/locations/my-location/collections/my-collection',
22434
+ * },
22435
+ * );
22436
+ * console.log(res.data);
22437
+ *
22438
+ * // Example response
22439
+ * // {
22440
+ * // "bindings": [],
22441
+ * // "etag": "my_etag",
22442
+ * // "version": 0
22443
+ * // }
22444
+ * }
22445
+ *
22446
+ * main().catch(e => {
22447
+ * console.error(e);
22448
+ * throw e;
22449
+ * });
22450
+ *
22451
+ * ```
22452
+ *
22453
+ * @param params - Parameters for request
22454
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
22455
+ * @param callback - Optional callback that handles the response.
22456
+ * @returns A promise if used with async/await, or void if used with a callback.
22457
+ */
22458
+ getIamPolicy(params: Params$Resource$Projects$Locations$Collections$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
22459
+ getIamPolicy(params?: Params$Resource$Projects$Locations$Collections$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleIamV1Policy>>;
22460
+ getIamPolicy(params: Params$Resource$Projects$Locations$Collections$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
22461
+ getIamPolicy(params: Params$Resource$Projects$Locations$Collections$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$GoogleIamV1Policy>, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
22462
+ getIamPolicy(params: Params$Resource$Projects$Locations$Collections$Getiampolicy, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
22463
+ getIamPolicy(callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
22300
22464
  /**
22301
22465
  * Gets a list of Collections.
22302
22466
  * @example
@@ -22449,6 +22613,83 @@ export declare namespace discoveryengine_v1alpha {
22449
22613
  patch(params: Params$Resource$Projects$Locations$Collections$Patch, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
22450
22614
  patch(params: Params$Resource$Projects$Locations$Collections$Patch, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
22451
22615
  patch(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
22616
+ /**
22617
+ * Sets the IAM access control policy for a Collection. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a Collection resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to grant any other role will result in a warning in logging.
22618
+ * @example
22619
+ * ```js
22620
+ * // Before running the sample:
22621
+ * // - Enable the API at:
22622
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
22623
+ * // - Login into gcloud by running:
22624
+ * // ```sh
22625
+ * // $ gcloud auth application-default login
22626
+ * // ```
22627
+ * // - Install the npm module by running:
22628
+ * // ```sh
22629
+ * // $ npm install googleapis
22630
+ * // ```
22631
+ *
22632
+ * const {google} = require('googleapis');
22633
+ * const discoveryengine = google.discoveryengine('v1alpha');
22634
+ *
22635
+ * async function main() {
22636
+ * const auth = new google.auth.GoogleAuth({
22637
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
22638
+ * scopes: [
22639
+ * 'https://www.googleapis.com/auth/cloud-platform',
22640
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
22641
+ * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
22642
+ * ],
22643
+ * });
22644
+ *
22645
+ * // Acquire an auth client, and bind it to all future calls
22646
+ * const authClient = await auth.getClient();
22647
+ * google.options({auth: authClient});
22648
+ *
22649
+ * // Do the magic
22650
+ * const res = await discoveryengine.projects.locations.collections.setIamPolicy(
22651
+ * {
22652
+ * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
22653
+ * resource:
22654
+ * 'projects/my-project/locations/my-location/collections/my-collection',
22655
+ *
22656
+ * // Request body metadata
22657
+ * requestBody: {
22658
+ * // request body parameters
22659
+ * // {
22660
+ * // "policy": {}
22661
+ * // }
22662
+ * },
22663
+ * },
22664
+ * );
22665
+ * console.log(res.data);
22666
+ *
22667
+ * // Example response
22668
+ * // {
22669
+ * // "bindings": [],
22670
+ * // "etag": "my_etag",
22671
+ * // "version": 0
22672
+ * // }
22673
+ * }
22674
+ *
22675
+ * main().catch(e => {
22676
+ * console.error(e);
22677
+ * throw e;
22678
+ * });
22679
+ *
22680
+ * ```
22681
+ *
22682
+ * @param params - Parameters for request
22683
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
22684
+ * @param callback - Optional callback that handles the response.
22685
+ * @returns A promise if used with async/await, or void if used with a callback.
22686
+ */
22687
+ setIamPolicy(params: Params$Resource$Projects$Locations$Collections$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
22688
+ setIamPolicy(params?: Params$Resource$Projects$Locations$Collections$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleIamV1Policy>>;
22689
+ setIamPolicy(params: Params$Resource$Projects$Locations$Collections$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
22690
+ setIamPolicy(params: Params$Resource$Projects$Locations$Collections$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$GoogleIamV1Policy>, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
22691
+ setIamPolicy(params: Params$Resource$Projects$Locations$Collections$Setiampolicy, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
22692
+ setIamPolicy(callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
22452
22693
  /**
22453
22694
  * Updates a DataConnector.
22454
22695
  * @example
@@ -22638,6 +22879,16 @@ export declare namespace discoveryengine_v1alpha {
22638
22879
  */
22639
22880
  name?: string;
22640
22881
  }
22882
+ export interface Params$Resource$Projects$Locations$Collections$Getiampolicy extends StandardParameters {
22883
+ /**
22884
+ * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
22885
+ */
22886
+ 'options.requestedPolicyVersion'?: number;
22887
+ /**
22888
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
22889
+ */
22890
+ resource?: string;
22891
+ }
22641
22892
  export interface Params$Resource$Projects$Locations$Collections$List extends StandardParameters {
22642
22893
  /**
22643
22894
  * Filter returned collections by associated data connector data sources. For example: `filter = 'data_source:jira confluence'`. If the filter is empty, we return all collections under a project and location.
@@ -22670,6 +22921,16 @@ export declare namespace discoveryengine_v1alpha {
22670
22921
  */
22671
22922
  requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaCollection;
22672
22923
  }
22924
+ export interface Params$Resource$Projects$Locations$Collections$Setiampolicy extends StandardParameters {
22925
+ /**
22926
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
22927
+ */
22928
+ resource?: string;
22929
+ /**
22930
+ * Request body metadata
22931
+ */
22932
+ requestBody?: Schema$GoogleIamV1SetIamPolicyRequest;
22933
+ }
22673
22934
  export interface Params$Resource$Projects$Locations$Collections$Updatedataconnector extends StandardParameters {
22674
22935
  /**
22675
22936
  * Identifier. The full resource name of the Data Connector. Format: `projects/x/locations/x/collections/x/dataConnector`.
@@ -22908,6 +23169,86 @@ export declare namespace discoveryengine_v1alpha {
22908
23169
  getConnectorSecret(params: Params$Resource$Projects$Locations$Collections$Dataconnector$Getconnectorsecret, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse>): void;
22909
23170
  getConnectorSecret(params: Params$Resource$Projects$Locations$Collections$Dataconnector$Getconnectorsecret, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse>): void;
22910
23171
  getConnectorSecret(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse>): void;
23172
+ /**
23173
+ * Makes a call to an MCP connector.
23174
+ * @example
23175
+ * ```js
23176
+ * // Before running the sample:
23177
+ * // - Enable the API at:
23178
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
23179
+ * // - Login into gcloud by running:
23180
+ * // ```sh
23181
+ * // $ gcloud auth application-default login
23182
+ * // ```
23183
+ * // - Install the npm module by running:
23184
+ * // ```sh
23185
+ * // $ npm install googleapis
23186
+ * // ```
23187
+ *
23188
+ * const {google} = require('googleapis');
23189
+ * const discoveryengine = google.discoveryengine('v1alpha');
23190
+ *
23191
+ * async function main() {
23192
+ * const auth = new google.auth.GoogleAuth({
23193
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
23194
+ * scopes: [
23195
+ * 'https://www.googleapis.com/auth/cloud-platform',
23196
+ * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
23197
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
23198
+ * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
23199
+ * ],
23200
+ * });
23201
+ *
23202
+ * // Acquire an auth client, and bind it to all future calls
23203
+ * const authClient = await auth.getClient();
23204
+ * google.options({auth: authClient});
23205
+ *
23206
+ * // Do the magic
23207
+ * const res =
23208
+ * await discoveryengine.projects.locations.collections.dataConnector.invokeConnectorMcp(
23209
+ * {
23210
+ * // Required. DataConnector resource. The data connector used for making the MCP call.
23211
+ * name: 'projects/my-project/locations/my-location/collections/my-collection/dataConnector',
23212
+ *
23213
+ * // Request body metadata
23214
+ * requestBody: {
23215
+ * // request body parameters
23216
+ * // {
23217
+ * // "engine": "my_engine",
23218
+ * // "method": "my_method",
23219
+ * // "params": {},
23220
+ * // "toolSpecVersion": "my_toolSpecVersion"
23221
+ * // }
23222
+ * },
23223
+ * },
23224
+ * );
23225
+ * console.log(res.data);
23226
+ *
23227
+ * // Example response
23228
+ * // {
23229
+ * // "error": {},
23230
+ * // "result": {}
23231
+ * // }
23232
+ * }
23233
+ *
23234
+ * main().catch(e => {
23235
+ * console.error(e);
23236
+ * throw e;
23237
+ * });
23238
+ *
23239
+ * ```
23240
+ *
23241
+ * @param params - Parameters for request
23242
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
23243
+ * @param callback - Optional callback that handles the response.
23244
+ * @returns A promise if used with async/await, or void if used with a callback.
23245
+ */
23246
+ invokeConnectorMcp(params: Params$Resource$Projects$Locations$Collections$Dataconnector$Invokeconnectormcp, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
23247
+ invokeConnectorMcp(params?: Params$Resource$Projects$Locations$Collections$Dataconnector$Invokeconnectormcp, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>>;
23248
+ invokeConnectorMcp(params: Params$Resource$Projects$Locations$Collections$Dataconnector$Invokeconnectormcp, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
23249
+ invokeConnectorMcp(params: Params$Resource$Projects$Locations$Collections$Dataconnector$Invokeconnectormcp, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>): void;
23250
+ invokeConnectorMcp(params: Params$Resource$Projects$Locations$Collections$Dataconnector$Invokeconnectormcp, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>): void;
23251
+ invokeConnectorMcp(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>): void;
22911
23252
  /**
22912
23253
  * ServeMcpDeleteRequest serves a MCP DELETE request.
22913
23254
  * @example
@@ -23096,6 +23437,16 @@ export declare namespace discoveryengine_v1alpha {
23096
23437
  */
23097
23438
  name?: string;
23098
23439
  }
23440
+ export interface Params$Resource$Projects$Locations$Collections$Dataconnector$Invokeconnectormcp extends StandardParameters {
23441
+ /**
23442
+ * Required. DataConnector resource. The data connector used for making the MCP call.
23443
+ */
23444
+ name?: string;
23445
+ /**
23446
+ * Request body metadata
23447
+ */
23448
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest;
23449
+ }
23099
23450
  export interface Params$Resource$Projects$Locations$Collections$Dataconnector$Mcp extends StandardParameters {
23100
23451
  /**
23101
23452
  *
@@ -23977,26 +24328,96 @@ export declare namespace discoveryengine_v1alpha {
23977
24328
  *
23978
24329
  * // Do the magic
23979
24330
  * const res =
23980
- * await discoveryengine.projects.locations.collections.dataStores.getCompletionConfig(
24331
+ * await discoveryengine.projects.locations.collections.dataStores.getCompletionConfig(
24332
+ * {
24333
+ * // Required. Full CompletionConfig resource name. Format: `projects/x/locations/x/dataStores/x/completionConfig` `projects/x/locations/x/collections/x/dataStores/x/completionConfig` `projects/x/locations/x/collections/x/engines/x/completionConfig`
24334
+ * name: 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore/completionConfig',
24335
+ * },
24336
+ * );
24337
+ * console.log(res.data);
24338
+ *
24339
+ * // Example response
24340
+ * // {
24341
+ * // "enableMode": "my_enableMode",
24342
+ * // "filterPiiSuggestionsUsingDlp": false,
24343
+ * // "matchingOrder": "my_matchingOrder",
24344
+ * // "maxSuggestions": 0,
24345
+ * // "minPrefixLength": 0,
24346
+ * // "name": "my_name",
24347
+ * // "numUniqueUsersThreshold": 0,
24348
+ * // "queryFrequencyThreshold": 0,
24349
+ * // "queryModel": "my_queryModel",
24350
+ * // "shouldServeContentSuggestions": false
24351
+ * // }
24352
+ * }
24353
+ *
24354
+ * main().catch(e => {
24355
+ * console.error(e);
24356
+ * throw e;
24357
+ * });
24358
+ *
24359
+ * ```
24360
+ *
24361
+ * @param params - Parameters for request
24362
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
24363
+ * @param callback - Optional callback that handles the response.
24364
+ * @returns A promise if used with async/await, or void if used with a callback.
24365
+ */
24366
+ getCompletionConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getcompletionconfig, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
24367
+ getCompletionConfig(params?: Params$Resource$Projects$Locations$Collections$Datastores$Getcompletionconfig, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaCompletionConfig>>;
24368
+ getCompletionConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getcompletionconfig, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
24369
+ getCompletionConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getcompletionconfig, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompletionConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompletionConfig>): void;
24370
+ getCompletionConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getcompletionconfig, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompletionConfig>): void;
24371
+ getCompletionConfig(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompletionConfig>): void;
24372
+ /**
24373
+ * Gets a DocumentProcessingConfig.
24374
+ * @example
24375
+ * ```js
24376
+ * // Before running the sample:
24377
+ * // - Enable the API at:
24378
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
24379
+ * // - Login into gcloud by running:
24380
+ * // ```sh
24381
+ * // $ gcloud auth application-default login
24382
+ * // ```
24383
+ * // - Install the npm module by running:
24384
+ * // ```sh
24385
+ * // $ npm install googleapis
24386
+ * // ```
24387
+ *
24388
+ * const {google} = require('googleapis');
24389
+ * const discoveryengine = google.discoveryengine('v1alpha');
24390
+ *
24391
+ * async function main() {
24392
+ * const auth = new google.auth.GoogleAuth({
24393
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
24394
+ * scopes: [
24395
+ * 'https://www.googleapis.com/auth/cloud-platform',
24396
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
24397
+ * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
24398
+ * ],
24399
+ * });
24400
+ *
24401
+ * // Acquire an auth client, and bind it to all future calls
24402
+ * const authClient = await auth.getClient();
24403
+ * google.options({auth: authClient});
24404
+ *
24405
+ * // Do the magic
24406
+ * const res =
24407
+ * await discoveryengine.projects.locations.collections.dataStores.getDocumentProcessingConfig(
23981
24408
  * {
23982
- * // Required. Full CompletionConfig resource name. Format: `projects/x/locations/x/dataStores/x/completionConfig` `projects/x/locations/x/collections/x/dataStores/x/completionConfig` `projects/x/locations/x/collections/x/engines/x/completionConfig`
23983
- * name: 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore/completionConfig',
24409
+ * // Required. Full DocumentProcessingConfig resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/documentProcessingConfig`
24410
+ * name: 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore/documentProcessingConfig',
23984
24411
  * },
23985
24412
  * );
23986
24413
  * console.log(res.data);
23987
24414
  *
23988
24415
  * // Example response
23989
24416
  * // {
23990
- * // "enableMode": "my_enableMode",
23991
- * // "filterPiiSuggestionsUsingDlp": false,
23992
- * // "matchingOrder": "my_matchingOrder",
23993
- * // "maxSuggestions": 0,
23994
- * // "minPrefixLength": 0,
24417
+ * // "chunkingConfig": {},
24418
+ * // "defaultParsingConfig": {},
23995
24419
  * // "name": "my_name",
23996
- * // "numUniqueUsersThreshold": 0,
23997
- * // "queryFrequencyThreshold": 0,
23998
- * // "queryModel": "my_queryModel",
23999
- * // "shouldServeContentSuggestions": false
24420
+ * // "parsingConfigOverrides": {}
24000
24421
  * // }
24001
24422
  * }
24002
24423
  *
@@ -24012,14 +24433,14 @@ export declare namespace discoveryengine_v1alpha {
24012
24433
  * @param callback - Optional callback that handles the response.
24013
24434
  * @returns A promise if used with async/await, or void if used with a callback.
24014
24435
  */
24015
- getCompletionConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getcompletionconfig, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
24016
- getCompletionConfig(params?: Params$Resource$Projects$Locations$Collections$Datastores$Getcompletionconfig, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaCompletionConfig>>;
24017
- getCompletionConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getcompletionconfig, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
24018
- getCompletionConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getcompletionconfig, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompletionConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompletionConfig>): void;
24019
- getCompletionConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getcompletionconfig, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompletionConfig>): void;
24020
- getCompletionConfig(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaCompletionConfig>): void;
24436
+ getDocumentProcessingConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
24437
+ getDocumentProcessingConfig(params?: Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>>;
24438
+ getDocumentProcessingConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
24439
+ getDocumentProcessingConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>): void;
24440
+ getDocumentProcessingConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>): void;
24441
+ getDocumentProcessingConfig(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>): void;
24021
24442
  /**
24022
- * Gets a DocumentProcessingConfig.
24443
+ * Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it.
24023
24444
  * @example
24024
24445
  * ```js
24025
24446
  * // Before running the sample:
@@ -24053,20 +24474,22 @@ export declare namespace discoveryengine_v1alpha {
24053
24474
  *
24054
24475
  * // Do the magic
24055
24476
  * const res =
24056
- * await discoveryengine.projects.locations.collections.dataStores.getDocumentProcessingConfig(
24477
+ * await discoveryengine.projects.locations.collections.dataStores.getIamPolicy(
24057
24478
  * {
24058
- * // Required. Full DocumentProcessingConfig resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/documentProcessingConfig`
24059
- * name: 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore/documentProcessingConfig',
24479
+ * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
24480
+ * 'options.requestedPolicyVersion': 'placeholder-value',
24481
+ * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
24482
+ * resource:
24483
+ * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
24060
24484
  * },
24061
24485
  * );
24062
24486
  * console.log(res.data);
24063
24487
  *
24064
24488
  * // Example response
24065
24489
  * // {
24066
- * // "chunkingConfig": {},
24067
- * // "defaultParsingConfig": {},
24068
- * // "name": "my_name",
24069
- * // "parsingConfigOverrides": {}
24490
+ * // "bindings": [],
24491
+ * // "etag": "my_etag",
24492
+ * // "version": 0
24070
24493
  * // }
24071
24494
  * }
24072
24495
  *
@@ -24082,12 +24505,12 @@ export declare namespace discoveryengine_v1alpha {
24082
24505
  * @param callback - Optional callback that handles the response.
24083
24506
  * @returns A promise if used with async/await, or void if used with a callback.
24084
24507
  */
24085
- getDocumentProcessingConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
24086
- getDocumentProcessingConfig(params?: Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>>;
24087
- getDocumentProcessingConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
24088
- getDocumentProcessingConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>): void;
24089
- getDocumentProcessingConfig(params: Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>): void;
24090
- getDocumentProcessingConfig(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>): void;
24508
+ getIamPolicy(params: Params$Resource$Projects$Locations$Collections$Datastores$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
24509
+ getIamPolicy(params?: Params$Resource$Projects$Locations$Collections$Datastores$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleIamV1Policy>>;
24510
+ getIamPolicy(params: Params$Resource$Projects$Locations$Collections$Datastores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
24511
+ getIamPolicy(params: Params$Resource$Projects$Locations$Collections$Datastores$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$GoogleIamV1Policy>, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
24512
+ getIamPolicy(params: Params$Resource$Projects$Locations$Collections$Datastores$Getiampolicy, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
24513
+ getIamPolicy(callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
24091
24514
  /**
24092
24515
  * Gets the SiteSearchEngine.
24093
24516
  * @example
@@ -24519,6 +24942,84 @@ export declare namespace discoveryengine_v1alpha {
24519
24942
  replacePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
24520
24943
  replacePatientFilter(params: Params$Resource$Projects$Locations$Collections$Datastores$Replacepatientfilter, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
24521
24944
  replacePatientFilter(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
24945
+ /**
24946
+ * Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a DataStore resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to grant any other role will result in a warning in logging.
24947
+ * @example
24948
+ * ```js
24949
+ * // Before running the sample:
24950
+ * // - Enable the API at:
24951
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
24952
+ * // - Login into gcloud by running:
24953
+ * // ```sh
24954
+ * // $ gcloud auth application-default login
24955
+ * // ```
24956
+ * // - Install the npm module by running:
24957
+ * // ```sh
24958
+ * // $ npm install googleapis
24959
+ * // ```
24960
+ *
24961
+ * const {google} = require('googleapis');
24962
+ * const discoveryengine = google.discoveryengine('v1alpha');
24963
+ *
24964
+ * async function main() {
24965
+ * const auth = new google.auth.GoogleAuth({
24966
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
24967
+ * scopes: [
24968
+ * 'https://www.googleapis.com/auth/cloud-platform',
24969
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
24970
+ * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
24971
+ * ],
24972
+ * });
24973
+ *
24974
+ * // Acquire an auth client, and bind it to all future calls
24975
+ * const authClient = await auth.getClient();
24976
+ * google.options({auth: authClient});
24977
+ *
24978
+ * // Do the magic
24979
+ * const res =
24980
+ * await discoveryengine.projects.locations.collections.dataStores.setIamPolicy(
24981
+ * {
24982
+ * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
24983
+ * resource:
24984
+ * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
24985
+ *
24986
+ * // Request body metadata
24987
+ * requestBody: {
24988
+ * // request body parameters
24989
+ * // {
24990
+ * // "policy": {}
24991
+ * // }
24992
+ * },
24993
+ * },
24994
+ * );
24995
+ * console.log(res.data);
24996
+ *
24997
+ * // Example response
24998
+ * // {
24999
+ * // "bindings": [],
25000
+ * // "etag": "my_etag",
25001
+ * // "version": 0
25002
+ * // }
25003
+ * }
25004
+ *
25005
+ * main().catch(e => {
25006
+ * console.error(e);
25007
+ * throw e;
25008
+ * });
25009
+ *
25010
+ * ```
25011
+ *
25012
+ * @param params - Parameters for request
25013
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
25014
+ * @param callback - Optional callback that handles the response.
25015
+ * @returns A promise if used with async/await, or void if used with a callback.
25016
+ */
25017
+ setIamPolicy(params: Params$Resource$Projects$Locations$Collections$Datastores$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
25018
+ setIamPolicy(params?: Params$Resource$Projects$Locations$Collections$Datastores$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleIamV1Policy>>;
25019
+ setIamPolicy(params: Params$Resource$Projects$Locations$Collections$Datastores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
25020
+ setIamPolicy(params: Params$Resource$Projects$Locations$Collections$Datastores$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$GoogleIamV1Policy>, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
25021
+ setIamPolicy(params: Params$Resource$Projects$Locations$Collections$Datastores$Setiampolicy, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
25022
+ setIamPolicy(callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
24522
25023
  /**
24523
25024
  * Trains a custom model.
24524
25025
  * @example
@@ -24881,6 +25382,16 @@ export declare namespace discoveryengine_v1alpha {
24881
25382
  */
24882
25383
  name?: string;
24883
25384
  }
25385
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Getiampolicy extends StandardParameters {
25386
+ /**
25387
+ * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
25388
+ */
25389
+ 'options.requestedPolicyVersion'?: number;
25390
+ /**
25391
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
25392
+ */
25393
+ resource?: string;
25394
+ }
24884
25395
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Getsitesearchengine extends StandardParameters {
24885
25396
  /**
24886
25397
  * Required. Resource name of SiteSearchEngine, such as `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/siteSearchEngine`. If the caller does not have permission to access the [SiteSearchEngine], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
@@ -24943,6 +25454,16 @@ export declare namespace discoveryengine_v1alpha {
24943
25454
  */
24944
25455
  requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest;
24945
25456
  }
25457
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Setiampolicy extends StandardParameters {
25458
+ /**
25459
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
25460
+ */
25461
+ resource?: string;
25462
+ /**
25463
+ * Request body metadata
25464
+ */
25465
+ requestBody?: Schema$GoogleIamV1SetIamPolicyRequest;
25466
+ }
24946
25467
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel extends StandardParameters {
24947
25468
  /**
24948
25469
  * Required. The resource name of the Data Store, such as `projects/x/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to train the models.
@@ -35187,6 +35708,7 @@ export declare namespace discoveryengine_v1alpha {
35187
35708
  * // request body parameters
35188
35709
  * // {
35189
35710
  * // "actionSpec": {},
35711
+ * // "agentsSpec": {},
35190
35712
  * // "generationSpec": {},
35191
35713
  * // "query": {},
35192
35714
  * // "session": "my_session",
@@ -41928,6 +42450,75 @@ export declare namespace discoveryengine_v1alpha {
41928
42450
  getDocumentProcessingConfig(params: Params$Resource$Projects$Locations$Datastores$Getdocumentprocessingconfig, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>): void;
41929
42451
  getDocumentProcessingConfig(params: Params$Resource$Projects$Locations$Datastores$Getdocumentprocessingconfig, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>): void;
41930
42452
  getDocumentProcessingConfig(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>): void;
42453
+ /**
42454
+ * Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it.
42455
+ * @example
42456
+ * ```js
42457
+ * // Before running the sample:
42458
+ * // - Enable the API at:
42459
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
42460
+ * // - Login into gcloud by running:
42461
+ * // ```sh
42462
+ * // $ gcloud auth application-default login
42463
+ * // ```
42464
+ * // - Install the npm module by running:
42465
+ * // ```sh
42466
+ * // $ npm install googleapis
42467
+ * // ```
42468
+ *
42469
+ * const {google} = require('googleapis');
42470
+ * const discoveryengine = google.discoveryengine('v1alpha');
42471
+ *
42472
+ * async function main() {
42473
+ * const auth = new google.auth.GoogleAuth({
42474
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
42475
+ * scopes: [
42476
+ * 'https://www.googleapis.com/auth/cloud-platform',
42477
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
42478
+ * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
42479
+ * ],
42480
+ * });
42481
+ *
42482
+ * // Acquire an auth client, and bind it to all future calls
42483
+ * const authClient = await auth.getClient();
42484
+ * google.options({auth: authClient});
42485
+ *
42486
+ * // Do the magic
42487
+ * const res = await discoveryengine.projects.locations.dataStores.getIamPolicy({
42488
+ * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
42489
+ * 'options.requestedPolicyVersion': 'placeholder-value',
42490
+ * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
42491
+ * resource:
42492
+ * 'projects/my-project/locations/my-location/dataStores/my-dataStore',
42493
+ * });
42494
+ * console.log(res.data);
42495
+ *
42496
+ * // Example response
42497
+ * // {
42498
+ * // "bindings": [],
42499
+ * // "etag": "my_etag",
42500
+ * // "version": 0
42501
+ * // }
42502
+ * }
42503
+ *
42504
+ * main().catch(e => {
42505
+ * console.error(e);
42506
+ * throw e;
42507
+ * });
42508
+ *
42509
+ * ```
42510
+ *
42511
+ * @param params - Parameters for request
42512
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
42513
+ * @param callback - Optional callback that handles the response.
42514
+ * @returns A promise if used with async/await, or void if used with a callback.
42515
+ */
42516
+ getIamPolicy(params: Params$Resource$Projects$Locations$Datastores$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
42517
+ getIamPolicy(params?: Params$Resource$Projects$Locations$Datastores$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleIamV1Policy>>;
42518
+ getIamPolicy(params: Params$Resource$Projects$Locations$Datastores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
42519
+ getIamPolicy(params: Params$Resource$Projects$Locations$Datastores$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$GoogleIamV1Policy>, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
42520
+ getIamPolicy(params: Params$Resource$Projects$Locations$Datastores$Getiampolicy, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
42521
+ getIamPolicy(callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
41931
42522
  /**
41932
42523
  * Gets the SiteSearchEngine.
41933
42524
  * @example
@@ -42350,6 +42941,81 @@ export declare namespace discoveryengine_v1alpha {
42350
42941
  replacePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Replacepatientfilter, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
42351
42942
  replacePatientFilter(params: Params$Resource$Projects$Locations$Datastores$Replacepatientfilter, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
42352
42943
  replacePatientFilter(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
42944
+ /**
42945
+ * Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a DataStore resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to grant any other role will result in a warning in logging.
42946
+ * @example
42947
+ * ```js
42948
+ * // Before running the sample:
42949
+ * // - Enable the API at:
42950
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
42951
+ * // - Login into gcloud by running:
42952
+ * // ```sh
42953
+ * // $ gcloud auth application-default login
42954
+ * // ```
42955
+ * // - Install the npm module by running:
42956
+ * // ```sh
42957
+ * // $ npm install googleapis
42958
+ * // ```
42959
+ *
42960
+ * const {google} = require('googleapis');
42961
+ * const discoveryengine = google.discoveryengine('v1alpha');
42962
+ *
42963
+ * async function main() {
42964
+ * const auth = new google.auth.GoogleAuth({
42965
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
42966
+ * scopes: [
42967
+ * 'https://www.googleapis.com/auth/cloud-platform',
42968
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
42969
+ * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
42970
+ * ],
42971
+ * });
42972
+ *
42973
+ * // Acquire an auth client, and bind it to all future calls
42974
+ * const authClient = await auth.getClient();
42975
+ * google.options({auth: authClient});
42976
+ *
42977
+ * // Do the magic
42978
+ * const res = await discoveryengine.projects.locations.dataStores.setIamPolicy({
42979
+ * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
42980
+ * resource:
42981
+ * 'projects/my-project/locations/my-location/dataStores/my-dataStore',
42982
+ *
42983
+ * // Request body metadata
42984
+ * requestBody: {
42985
+ * // request body parameters
42986
+ * // {
42987
+ * // "policy": {}
42988
+ * // }
42989
+ * },
42990
+ * });
42991
+ * console.log(res.data);
42992
+ *
42993
+ * // Example response
42994
+ * // {
42995
+ * // "bindings": [],
42996
+ * // "etag": "my_etag",
42997
+ * // "version": 0
42998
+ * // }
42999
+ * }
43000
+ *
43001
+ * main().catch(e => {
43002
+ * console.error(e);
43003
+ * throw e;
43004
+ * });
43005
+ *
43006
+ * ```
43007
+ *
43008
+ * @param params - Parameters for request
43009
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
43010
+ * @param callback - Optional callback that handles the response.
43011
+ * @returns A promise if used with async/await, or void if used with a callback.
43012
+ */
43013
+ setIamPolicy(params: Params$Resource$Projects$Locations$Datastores$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
43014
+ setIamPolicy(params?: Params$Resource$Projects$Locations$Datastores$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleIamV1Policy>>;
43015
+ setIamPolicy(params: Params$Resource$Projects$Locations$Datastores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
43016
+ setIamPolicy(params: Params$Resource$Projects$Locations$Datastores$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$GoogleIamV1Policy>, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
43017
+ setIamPolicy(params: Params$Resource$Projects$Locations$Datastores$Setiampolicy, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
43018
+ setIamPolicy(callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
42353
43019
  /**
42354
43020
  * Updates the CompletionConfigs.
42355
43021
  * @example
@@ -42627,6 +43293,16 @@ export declare namespace discoveryengine_v1alpha {
42627
43293
  */
42628
43294
  name?: string;
42629
43295
  }
43296
+ export interface Params$Resource$Projects$Locations$Datastores$Getiampolicy extends StandardParameters {
43297
+ /**
43298
+ * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
43299
+ */
43300
+ 'options.requestedPolicyVersion'?: number;
43301
+ /**
43302
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
43303
+ */
43304
+ resource?: string;
43305
+ }
42630
43306
  export interface Params$Resource$Projects$Locations$Datastores$Getsitesearchengine extends StandardParameters {
42631
43307
  /**
42632
43308
  * Required. Resource name of SiteSearchEngine, such as `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/siteSearchEngine`. If the caller does not have permission to access the [SiteSearchEngine], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
@@ -42689,6 +43365,16 @@ export declare namespace discoveryengine_v1alpha {
42689
43365
  */
42690
43366
  requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest;
42691
43367
  }
43368
+ export interface Params$Resource$Projects$Locations$Datastores$Setiampolicy extends StandardParameters {
43369
+ /**
43370
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
43371
+ */
43372
+ resource?: string;
43373
+ /**
43374
+ * Request body metadata
43375
+ */
43376
+ requestBody?: Schema$GoogleIamV1SetIamPolicyRequest;
43377
+ }
42692
43378
  export interface Params$Resource$Projects$Locations$Datastores$Updatecompletionconfig extends StandardParameters {
42693
43379
  /**
42694
43380
  * Required. Immutable. Fully qualified name `projects/x/locations/x/dataStores/x/completionConfig` `projects/x/locations/x/collections/x/dataStores/x/completionConfig` `projects/x/locations/x/collections/x/engines/x/completionConfig`