@googleapis/discoveryengine 31.0.0 → 32.1.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.
package/v1alpha.ts CHANGED
@@ -2428,6 +2428,10 @@ export namespace discoveryengine_v1alpha {
2428
2428
  * Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK.
2429
2429
  */
2430
2430
  verdict?: string | null;
2431
+ /**
2432
+ * Output only. The source of the violation.
2433
+ */
2434
+ violationSource?: string | null;
2431
2435
  }
2432
2436
  /**
2433
2437
  * Customer policy enforcement result for the banned phrase policy.
@@ -3041,7 +3045,7 @@ export namespace discoveryengine_v1alpha {
3041
3045
  */
3042
3046
  deleteUnassignedUserLicenses?: boolean | null;
3043
3047
  /**
3044
- * The inline source for the input content for document embeddings.
3048
+ * The inline source for the input content for license assignment.
3045
3049
  */
3046
3050
  inlineSource?: Schema$GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource;
3047
3051
  }
@@ -4699,13 +4703,9 @@ export namespace discoveryengine_v1alpha {
4699
4703
  vpcscEnabled?: boolean | null;
4700
4704
  }
4701
4705
  /**
4702
- * User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, authenticated_account, note).
4706
+ * User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, note).
4703
4707
  */
4704
4708
  export interface Schema$GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata {
4705
- /**
4706
- * Optional. The end user's account as authenticated to the connector, so the end user can see which account is connected. May be an email, a username, or any identifier the connector/third party provides.
4707
- */
4708
- authenticatedAccount?: string | null;
4709
4709
  /**
4710
4710
  * Optional. The party that authored the connector, e.g. "Google" or a third-party provider name. Lets end users see who authored a connector (future: third-party-authored connectors).
4711
4711
  */
@@ -5731,7 +5731,7 @@ export namespace discoveryengine_v1alpha {
5731
5731
  */
5732
5732
  displayName?: string | null;
5733
5733
  /**
5734
- * 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` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence`
5734
+ * 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`
5735
5735
  */
5736
5736
  features?: {[key: string]: string} | null;
5737
5737
  /**
@@ -9991,7 +9991,7 @@ export namespace discoveryengine_v1alpha {
9991
9991
  */
9992
9992
  export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchResponse {
9993
9993
  /**
9994
- * Controls applied as part of the Control service.
9994
+ * Optional. Controls applied as part of the Control service.
9995
9995
  */
9996
9996
  appliedControls?: string[] | null;
9997
9997
  /**
@@ -11938,6 +11938,14 @@ export namespace discoveryengine_v1alpha {
11938
11938
  * Output only. The display name of the data source.
11939
11939
  */
11940
11940
  dataSourceDisplayName?: string | null;
11941
+ /**
11942
+ * Output only. The end-user-facing display name of the data source, sourced from `ConnectorSource.end_user_display_name`. When unset, clients fall back to `data_source_display_name`.
11943
+ */
11944
+ dataSourceEndUserDisplayName?: string | null;
11945
+ /**
11946
+ * Output only. The version of the connector definition backing this collection, mirroring `DataConnector.data_source_version`.
11947
+ */
11948
+ dataSourceVersion?: number | null;
11941
11949
  /**
11942
11950
  * For the data store collection, list of the children data stores.
11943
11951
  */
@@ -11950,6 +11958,14 @@ export namespace discoveryengine_v1alpha {
11950
11958
  * Output only. the identifier of the collection, used for widget service. For now it refers to collection_id, in the future we will migrate the field to encrypted collection name UUID. For synthetic placeholder entries (see message-level comment) this is a synthetic placeholder id, not a real collection_id.
11951
11959
  */
11952
11960
  id?: string | null;
11961
+ /**
11962
+ * 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`.
11963
+ */
11964
+ isFirstParty?: boolean | null;
11965
+ /**
11966
+ * Output only. User-facing connector metadata (`title`, `description`, `short_description`, `author`, `note`), retrieved from the registry `ConnectorSource.metadata` (joined by data source). Shown on the connector detail page.
11967
+ */
11968
+ metadata?: Schema$GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata;
11953
11969
  /**
11954
11970
  * The name of the collection. It should be collection resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}`. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field. For synthetic placeholder entries (see message-level comment) this carries a synthetic placeholder collection id that does not correspond to a real collection. Callers must not attempt to resolve / GET this resource until the user authorizes the connector.
11955
11971
  */
@@ -12187,7 +12203,7 @@ export namespace discoveryengine_v1alpha {
12187
12203
  */
12188
12204
  enableVisualContentSummary?: boolean | null;
12189
12205
  /**
12190
- * 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` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence`
12206
+ * 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`
12191
12207
  */
12192
12208
  features?: {[key: string]: string} | null;
12193
12209
  /**
@@ -12309,6 +12325,10 @@ export namespace discoveryengine_v1alpha {
12309
12325
  * Output only. Whether the model is currently in preview. Clients should surface this via a "Preview" badge in the selector UI.
12310
12326
  */
12311
12327
  isPreview?: boolean | null;
12328
+ /**
12329
+ * 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.
12330
+ */
12331
+ label?: string | null;
12312
12332
  /**
12313
12333
  * 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.
12314
12334
  */
@@ -13611,7 +13631,7 @@ export namespace discoveryengine_v1alpha {
13611
13631
  */
13612
13632
  displayName?: string | null;
13613
13633
  /**
13614
- * 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` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence`
13634
+ * 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`
13615
13635
  */
13616
13636
  features?: {[key: string]: string} | null;
13617
13637
  /**
@@ -16181,13 +16201,9 @@ export namespace discoveryengine_v1alpha {
16181
16201
  vpcscEnabled?: boolean | null;
16182
16202
  }
16183
16203
  /**
16184
- * User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, authenticated_account, note).
16204
+ * User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, note).
16185
16205
  */
16186
16206
  export interface Schema$GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata {
16187
- /**
16188
- * Optional. The end user's account as authenticated to the connector, so the end user can see which account is connected. May be an email, a username, or any identifier the connector/third party provides.
16189
- */
16190
- authenticatedAccount?: string | null;
16191
16207
  /**
16192
16208
  * Optional. The party that authored the connector, e.g. "Google" or a third-party provider name. Lets end users see who authored a connector (future: third-party-authored connectors).
16193
16209
  */
@@ -16907,7 +16923,7 @@ export namespace discoveryengine_v1alpha {
16907
16923
  */
16908
16924
  displayName?: string | null;
16909
16925
  /**
16910
- * 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` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence`
16926
+ * 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`
16911
16927
  */
16912
16928
  features?: {[key: string]: string} | null;
16913
16929
  /**
@@ -21476,6 +21492,165 @@ export namespace discoveryengine_v1alpha {
21476
21492
  }
21477
21493
  }
21478
21494
 
21495
+ /**
21496
+ * Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.
21497
+ * @example
21498
+ * ```js
21499
+ * // Before running the sample:
21500
+ * // - Enable the API at:
21501
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
21502
+ * // - Login into gcloud by running:
21503
+ * // ```sh
21504
+ * // $ gcloud auth application-default login
21505
+ * // ```
21506
+ * // - Install the npm module by running:
21507
+ * // ```sh
21508
+ * // $ npm install googleapis
21509
+ * // ```
21510
+ *
21511
+ * const {google} = require('googleapis');
21512
+ * const discoveryengine = google.discoveryengine('v1alpha');
21513
+ *
21514
+ * async function main() {
21515
+ * const auth = new google.auth.GoogleAuth({
21516
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
21517
+ * scopes: [
21518
+ * 'https://www.googleapis.com/auth/cloud-platform',
21519
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
21520
+ * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
21521
+ * ],
21522
+ * });
21523
+ *
21524
+ * // Acquire an auth client, and bind it to all future calls
21525
+ * const authClient = await auth.getClient();
21526
+ * google.options({auth: authClient});
21527
+ *
21528
+ * // Do the magic
21529
+ * const res = await discoveryengine.projects.locations.provision({
21530
+ * // Required. Full resource name of a Project, such as `projects/{project_id_or_number\}`.
21531
+ * name: 'projects/my-project/locations/my-location',
21532
+ *
21533
+ * // Request body metadata
21534
+ * requestBody: {
21535
+ * // request body parameters
21536
+ * // {
21537
+ * // "acceptDataUseTerms": false,
21538
+ * // "dataUseTermsVersion": "my_dataUseTermsVersion",
21539
+ * // "saasParams": {}
21540
+ * // }
21541
+ * },
21542
+ * });
21543
+ * console.log(res.data);
21544
+ *
21545
+ * // Example response
21546
+ * // {
21547
+ * // "done": false,
21548
+ * // "error": {},
21549
+ * // "metadata": {},
21550
+ * // "name": "my_name",
21551
+ * // "response": {}
21552
+ * // }
21553
+ * }
21554
+ *
21555
+ * main().catch(e => {
21556
+ * console.error(e);
21557
+ * throw e;
21558
+ * });
21559
+ *
21560
+ * ```
21561
+ *
21562
+ * @param params - Parameters for request
21563
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
21564
+ * @param callback - Optional callback that handles the response.
21565
+ * @returns A promise if used with async/await, or void if used with a callback.
21566
+ */
21567
+ provision(
21568
+ params: Params$Resource$Projects$Locations$Provision,
21569
+ options: StreamMethodOptions
21570
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
21571
+ provision(
21572
+ params?: Params$Resource$Projects$Locations$Provision,
21573
+ options?: MethodOptions
21574
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
21575
+ provision(
21576
+ params: Params$Resource$Projects$Locations$Provision,
21577
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
21578
+ callback: BodyResponseCallback<Readable>
21579
+ ): void;
21580
+ provision(
21581
+ params: Params$Resource$Projects$Locations$Provision,
21582
+ options:
21583
+ MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
21584
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
21585
+ ): void;
21586
+ provision(
21587
+ params: Params$Resource$Projects$Locations$Provision,
21588
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
21589
+ ): void;
21590
+ provision(
21591
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
21592
+ ): void;
21593
+ provision(
21594
+ paramsOrCallback?:
21595
+ | Params$Resource$Projects$Locations$Provision
21596
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
21597
+ | BodyResponseCallback<Readable>,
21598
+ optionsOrCallback?:
21599
+ | MethodOptions
21600
+ | StreamMethodOptions
21601
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
21602
+ | BodyResponseCallback<Readable>,
21603
+ callback?:
21604
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
21605
+ | BodyResponseCallback<Readable>
21606
+ ):
21607
+ | void
21608
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
21609
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
21610
+ let params = (paramsOrCallback ||
21611
+ {}) as Params$Resource$Projects$Locations$Provision;
21612
+ let options = (optionsOrCallback || {}) as MethodOptions;
21613
+
21614
+ if (typeof paramsOrCallback === 'function') {
21615
+ callback = paramsOrCallback;
21616
+ params = {} as Params$Resource$Projects$Locations$Provision;
21617
+ options = {};
21618
+ }
21619
+
21620
+ if (typeof optionsOrCallback === 'function') {
21621
+ callback = optionsOrCallback;
21622
+ options = {};
21623
+ }
21624
+
21625
+ const rootUrl =
21626
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
21627
+ const parameters = {
21628
+ options: Object.assign(
21629
+ {
21630
+ url: (rootUrl + '/v1alpha/{+name}:provision').replace(
21631
+ /([^:]\/)\/+/g,
21632
+ '$1'
21633
+ ),
21634
+ method: 'POST',
21635
+ apiVersion: '',
21636
+ },
21637
+ options
21638
+ ),
21639
+ params,
21640
+ requiredParams: ['name'],
21641
+ pathParams: ['name'],
21642
+ context: this.context,
21643
+ };
21644
+ if (callback) {
21645
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
21646
+ parameters,
21647
+ callback as BodyResponseCallback<unknown>
21648
+ );
21649
+ } else {
21650
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
21651
+ }
21652
+ }
21653
+
21479
21654
  /**
21480
21655
  * Queries configurable pricing usage stats for a project.
21481
21656
  * @example
@@ -22714,6 +22889,17 @@ export namespace discoveryengine_v1alpha {
22714
22889
  */
22715
22890
  requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest;
22716
22891
  }
22892
+ export interface Params$Resource$Projects$Locations$Provision extends StandardParameters {
22893
+ /**
22894
+ * Required. Full resource name of a Project, such as `projects/{project_id_or_number\}`.
22895
+ */
22896
+ name?: string;
22897
+
22898
+ /**
22899
+ * Request body metadata
22900
+ */
22901
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest;
22902
+ }
22717
22903
  export interface Params$Resource$Projects$Locations$Queryconfigurablepricingusagestats extends StandardParameters {
22718
22904
  /**
22719
22905
  * Required. The location to query usage stats for.
package/v1beta.ts CHANGED
@@ -1445,6 +1445,10 @@ export namespace discoveryengine_v1beta {
1445
1445
  * Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK.
1446
1446
  */
1447
1447
  verdict?: string | null;
1448
+ /**
1449
+ * Output only. The source of the violation.
1450
+ */
1451
+ violationSource?: string | null;
1448
1452
  }
1449
1453
  /**
1450
1454
  * Customer policy enforcement result for the banned phrase policy.
@@ -2493,13 +2497,9 @@ export namespace discoveryengine_v1beta {
2493
2497
  vpcscEnabled?: boolean | null;
2494
2498
  }
2495
2499
  /**
2496
- * User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, authenticated_account, note).
2500
+ * User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, note).
2497
2501
  */
2498
2502
  export interface Schema$GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata {
2499
- /**
2500
- * Optional. The end user's account as authenticated to the connector, so the end user can see which account is connected. May be an email, a username, or any identifier the connector/third party provides.
2501
- */
2502
- authenticatedAccount?: string | null;
2503
2503
  /**
2504
2504
  * Optional. The party that authored the connector, e.g. "Google" or a third-party provider name. Lets end users see who authored a connector (future: third-party-authored connectors).
2505
2505
  */
@@ -3322,7 +3322,7 @@ export namespace discoveryengine_v1beta {
3322
3322
  */
3323
3323
  displayName?: string | null;
3324
3324
  /**
3325
- * 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` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence`
3325
+ * 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`
3326
3326
  */
3327
3327
  features?: {[key: string]: string} | null;
3328
3328
  /**
@@ -7614,6 +7614,10 @@ export namespace discoveryengine_v1beta {
7614
7614
  * Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK.
7615
7615
  */
7616
7616
  verdict?: string | null;
7617
+ /**
7618
+ * Output only. The source of the violation.
7619
+ */
7620
+ violationSource?: string | null;
7617
7621
  }
7618
7622
  /**
7619
7623
  * Customer policy enforcement result for the banned phrase policy.
@@ -8126,7 +8130,7 @@ export namespace discoveryengine_v1beta {
8126
8130
  */
8127
8131
  deleteUnassignedUserLicenses?: boolean | null;
8128
8132
  /**
8129
- * The inline source for the input content for document embeddings.
8133
+ * The inline source for the input content for license assignment.
8130
8134
  */
8131
8135
  inlineSource?: Schema$GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource;
8132
8136
  }
@@ -9848,7 +9852,7 @@ export namespace discoveryengine_v1beta {
9848
9852
  */
9849
9853
  displayName?: string | null;
9850
9854
  /**
9851
- * 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` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence`
9855
+ * 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`
9852
9856
  */
9853
9857
  features?: {[key: string]: string} | null;
9854
9858
  /**
@@ -12900,7 +12904,7 @@ export namespace discoveryengine_v1beta {
12900
12904
  */
12901
12905
  export interface Schema$GoogleCloudDiscoveryengineV1betaSearchResponse {
12902
12906
  /**
12903
- * Controls applied as part of the Control service.
12907
+ * Optional. Controls applied as part of the Control service.
12904
12908
  */
12905
12909
  appliedControls?: string[] | null;
12906
12910
  /**
@@ -13230,6 +13234,10 @@ export namespace discoveryengine_v1beta {
13230
13234
  * Optional. A set of ranking signals associated with the result.
13231
13235
  */
13232
13236
  rankSignals?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals;
13237
+ /**
13238
+ * Optional. A set of signals used by the relevance filter meant for use to fine-tune the relevance filter thresholds.
13239
+ */
13240
+ retrievalSignals?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals;
13233
13241
  }
13234
13242
  /**
13235
13243
  * A set of ranking signals.
@@ -13289,6 +13297,19 @@ export namespace discoveryengine_v1beta {
13289
13297
  */
13290
13298
  value?: number | null;
13291
13299
  }
13300
+ /**
13301
+ * Contains a set of signals used by the relevance filter.
13302
+ */
13303
+ export interface Schema$GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals {
13304
+ /**
13305
+ * Optional. Indicates how the result was retrieved.
13306
+ */
13307
+ retrievalSources?: string[] | null;
13308
+ /**
13309
+ * Optional. Relevance score used by the filter when semantic_relevance_threshold is set.
13310
+ */
13311
+ semanticRelevanceScore?: number | null;
13312
+ }
13292
13313
  /**
13293
13314
  * Information about the session.
13294
13315
  */
@@ -14895,13 +14916,9 @@ export namespace discoveryengine_v1beta {
14895
14916
  vpcscEnabled?: boolean | null;
14896
14917
  }
14897
14918
  /**
14898
- * User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, authenticated_account, note).
14919
+ * User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, note).
14899
14920
  */
14900
14921
  export interface Schema$GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata {
14901
- /**
14902
- * Optional. The end user's account as authenticated to the connector, so the end user can see which account is connected. May be an email, a username, or any identifier the connector/third party provides.
14903
- */
14904
- authenticatedAccount?: string | null;
14905
14922
  /**
14906
14923
  * Optional. The party that authored the connector, e.g. "Google" or a third-party provider name. Lets end users see who authored a connector (future: third-party-authored connectors).
14907
14924
  */
@@ -15621,7 +15638,7 @@ export namespace discoveryengine_v1beta {
15621
15638
  */
15622
15639
  displayName?: string | null;
15623
15640
  /**
15624
- * 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` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence`
15641
+ * 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`
15625
15642
  */
15626
15643
  features?: {[key: string]: string} | null;
15627
15644
  /**
@@ -18416,6 +18433,165 @@ export namespace discoveryengine_v1beta {
18416
18433
  }
18417
18434
  }
18418
18435
 
18436
+ /**
18437
+ * Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.
18438
+ * @example
18439
+ * ```js
18440
+ * // Before running the sample:
18441
+ * // - Enable the API at:
18442
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
18443
+ * // - Login into gcloud by running:
18444
+ * // ```sh
18445
+ * // $ gcloud auth application-default login
18446
+ * // ```
18447
+ * // - Install the npm module by running:
18448
+ * // ```sh
18449
+ * // $ npm install googleapis
18450
+ * // ```
18451
+ *
18452
+ * const {google} = require('googleapis');
18453
+ * const discoveryengine = google.discoveryengine('v1beta');
18454
+ *
18455
+ * async function main() {
18456
+ * const auth = new google.auth.GoogleAuth({
18457
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
18458
+ * scopes: [
18459
+ * 'https://www.googleapis.com/auth/cloud-platform',
18460
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
18461
+ * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
18462
+ * ],
18463
+ * });
18464
+ *
18465
+ * // Acquire an auth client, and bind it to all future calls
18466
+ * const authClient = await auth.getClient();
18467
+ * google.options({auth: authClient});
18468
+ *
18469
+ * // Do the magic
18470
+ * const res = await discoveryengine.projects.locations.provision({
18471
+ * // Required. Full resource name of a Project, such as `projects/{project_id_or_number\}`.
18472
+ * name: 'projects/my-project/locations/my-location',
18473
+ *
18474
+ * // Request body metadata
18475
+ * requestBody: {
18476
+ * // request body parameters
18477
+ * // {
18478
+ * // "acceptDataUseTerms": false,
18479
+ * // "dataUseTermsVersion": "my_dataUseTermsVersion",
18480
+ * // "saasParams": {}
18481
+ * // }
18482
+ * },
18483
+ * });
18484
+ * console.log(res.data);
18485
+ *
18486
+ * // Example response
18487
+ * // {
18488
+ * // "done": false,
18489
+ * // "error": {},
18490
+ * // "metadata": {},
18491
+ * // "name": "my_name",
18492
+ * // "response": {}
18493
+ * // }
18494
+ * }
18495
+ *
18496
+ * main().catch(e => {
18497
+ * console.error(e);
18498
+ * throw e;
18499
+ * });
18500
+ *
18501
+ * ```
18502
+ *
18503
+ * @param params - Parameters for request
18504
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
18505
+ * @param callback - Optional callback that handles the response.
18506
+ * @returns A promise if used with async/await, or void if used with a callback.
18507
+ */
18508
+ provision(
18509
+ params: Params$Resource$Projects$Locations$Provision,
18510
+ options: StreamMethodOptions
18511
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
18512
+ provision(
18513
+ params?: Params$Resource$Projects$Locations$Provision,
18514
+ options?: MethodOptions
18515
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
18516
+ provision(
18517
+ params: Params$Resource$Projects$Locations$Provision,
18518
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
18519
+ callback: BodyResponseCallback<Readable>
18520
+ ): void;
18521
+ provision(
18522
+ params: Params$Resource$Projects$Locations$Provision,
18523
+ options:
18524
+ MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
18525
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
18526
+ ): void;
18527
+ provision(
18528
+ params: Params$Resource$Projects$Locations$Provision,
18529
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
18530
+ ): void;
18531
+ provision(
18532
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
18533
+ ): void;
18534
+ provision(
18535
+ paramsOrCallback?:
18536
+ | Params$Resource$Projects$Locations$Provision
18537
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
18538
+ | BodyResponseCallback<Readable>,
18539
+ optionsOrCallback?:
18540
+ | MethodOptions
18541
+ | StreamMethodOptions
18542
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
18543
+ | BodyResponseCallback<Readable>,
18544
+ callback?:
18545
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
18546
+ | BodyResponseCallback<Readable>
18547
+ ):
18548
+ | void
18549
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
18550
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
18551
+ let params = (paramsOrCallback ||
18552
+ {}) as Params$Resource$Projects$Locations$Provision;
18553
+ let options = (optionsOrCallback || {}) as MethodOptions;
18554
+
18555
+ if (typeof paramsOrCallback === 'function') {
18556
+ callback = paramsOrCallback;
18557
+ params = {} as Params$Resource$Projects$Locations$Provision;
18558
+ options = {};
18559
+ }
18560
+
18561
+ if (typeof optionsOrCallback === 'function') {
18562
+ callback = optionsOrCallback;
18563
+ options = {};
18564
+ }
18565
+
18566
+ const rootUrl =
18567
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
18568
+ const parameters = {
18569
+ options: Object.assign(
18570
+ {
18571
+ url: (rootUrl + '/v1beta/{+name}:provision').replace(
18572
+ /([^:]\/)\/+/g,
18573
+ '$1'
18574
+ ),
18575
+ method: 'POST',
18576
+ apiVersion: '',
18577
+ },
18578
+ options
18579
+ ),
18580
+ params,
18581
+ requiredParams: ['name'],
18582
+ pathParams: ['name'],
18583
+ context: this.context,
18584
+ };
18585
+ if (callback) {
18586
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
18587
+ parameters,
18588
+ callback as BodyResponseCallback<unknown>
18589
+ );
18590
+ } else {
18591
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
18592
+ }
18593
+ }
18594
+
18419
18595
  /**
18420
18596
  * Removes the dedicated crawl rate for a craw_rate_scope. If the dedicated crawl rate was set, this will disable vertex AI's crawl bot from using the dedicated crawl rate for crawling. If the dedicated crawl rate was not set, this is a no-op.
18421
18597
  * @example
@@ -19080,6 +19256,17 @@ export namespace discoveryengine_v1beta {
19080
19256
  */
19081
19257
  requestBody?: Schema$GoogleCloudDiscoveryengineV1betaObtainCrawlRateRequest;
19082
19258
  }
19259
+ export interface Params$Resource$Projects$Locations$Provision extends StandardParameters {
19260
+ /**
19261
+ * Required. Full resource name of a Project, such as `projects/{project_id_or_number\}`.
19262
+ */
19263
+ name?: string;
19264
+
19265
+ /**
19266
+ * Request body metadata
19267
+ */
19268
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1betaProvisionProjectRequest;
19269
+ }
19083
19270
  export interface Params$Resource$Projects$Locations$Removededicatedcrawlrate extends StandardParameters {
19084
19271
  /**
19085
19272
  * Required. The location resource where crawl rate management will be performed. Format: `projects/{project\}/locations/{location\}`