@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/discoveryengine",
3
- "version": "31.0.0",
3
+ "version": "32.1.0",
4
4
  "description": "discoveryengine",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
package/v1.ts CHANGED
@@ -2316,6 +2316,10 @@ export namespace discoveryengine_v1 {
2316
2316
  * Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK.
2317
2317
  */
2318
2318
  verdict?: string | null;
2319
+ /**
2320
+ * Output only. The source of the violation.
2321
+ */
2322
+ violationSource?: string | null;
2319
2323
  }
2320
2324
  /**
2321
2325
  * Customer policy enforcement result for the banned phrase policy.
@@ -3364,13 +3368,9 @@ export namespace discoveryengine_v1 {
3364
3368
  vpcscEnabled?: boolean | null;
3365
3369
  }
3366
3370
  /**
3367
- * User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, authenticated_account, note).
3371
+ * User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, note).
3368
3372
  */
3369
3373
  export interface Schema$GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata {
3370
- /**
3371
- * 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.
3372
- */
3373
- authenticatedAccount?: string | null;
3374
3374
  /**
3375
3375
  * 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).
3376
3376
  */
@@ -4193,7 +4193,7 @@ export namespace discoveryengine_v1 {
4193
4193
  */
4194
4194
  displayName?: string | null;
4195
4195
  /**
4196
- * 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`
4196
+ * 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`
4197
4197
  */
4198
4198
  features?: {[key: string]: string} | null;
4199
4199
  /**
@@ -7874,6 +7874,10 @@ export namespace discoveryengine_v1 {
7874
7874
  * Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK.
7875
7875
  */
7876
7876
  verdict?: string | null;
7877
+ /**
7878
+ * Output only. The source of the violation.
7879
+ */
7880
+ violationSource?: string | null;
7877
7881
  }
7878
7882
  /**
7879
7883
  * Customer policy enforcement result for the banned phrase policy.
@@ -8416,7 +8420,7 @@ export namespace discoveryengine_v1 {
8416
8420
  */
8417
8421
  deleteUnassignedUserLicenses?: boolean | null;
8418
8422
  /**
8419
- * The inline source for the input content for document embeddings.
8423
+ * The inline source for the input content for license assignment.
8420
8424
  */
8421
8425
  inlineSource?: Schema$GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource;
8422
8426
  }
@@ -9401,7 +9405,7 @@ export namespace discoveryengine_v1 {
9401
9405
  */
9402
9406
  displayName?: string | null;
9403
9407
  /**
9404
- * 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`
9408
+ * 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`
9405
9409
  */
9406
9410
  features?: {[key: string]: string} | null;
9407
9411
  /**
@@ -12610,13 +12614,9 @@ export namespace discoveryengine_v1 {
12610
12614
  vpcscEnabled?: boolean | null;
12611
12615
  }
12612
12616
  /**
12613
- * User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, authenticated_account, note).
12617
+ * User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, note).
12614
12618
  */
12615
12619
  export interface Schema$GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata {
12616
- /**
12617
- * 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.
12618
- */
12619
- authenticatedAccount?: string | null;
12620
12620
  /**
12621
12621
  * 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).
12622
12622
  */
@@ -13521,7 +13521,7 @@ export namespace discoveryengine_v1 {
13521
13521
  */
13522
13522
  displayName?: string | null;
13523
13523
  /**
13524
- * 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`
13524
+ * 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`
13525
13525
  */
13526
13526
  features?: {[key: string]: string} | null;
13527
13527
  /**
@@ -15584,6 +15584,10 @@ export namespace discoveryengine_v1 {
15584
15584
  * Optional. The backend to use for the ranking expression evaluation.
15585
15585
  */
15586
15586
  rankingExpressionBackend?: string | null;
15587
+ /**
15588
+ * Optional. The granular relevance filtering specification. If not specified, the global `relevance_threshold` will be used for all sub-searches. If specified, this overrides the global `relevance_threshold` to use thresholds on a per sub-search basis. This feature is currently supported only for custom and site search.
15589
+ */
15590
+ relevanceFilterSpec?: Schema$GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec;
15587
15591
  /**
15588
15592
  * Optional. The specification for returning the relevance score.
15589
15593
  */
@@ -15985,6 +15989,32 @@ export namespace discoveryengine_v1 {
15985
15989
  */
15986
15990
  pinUnexpandedResults?: boolean | null;
15987
15991
  }
15992
+ /**
15993
+ * Relevance filtering specification.
15994
+ */
15995
+ export interface Schema$GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec {
15996
+ /**
15997
+ * Optional. Relevance filtering threshold specification for keyword search.
15998
+ */
15999
+ keywordSearchThreshold?: Schema$GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec;
16000
+ /**
16001
+ * Optional. Relevance filtering threshold specification for semantic search.
16002
+ */
16003
+ semanticSearchThreshold?: Schema$GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec;
16004
+ }
16005
+ /**
16006
+ * Specification for relevance filtering on a specific sub-search.
16007
+ */
16008
+ export interface Schema$GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec {
16009
+ /**
16010
+ * Pre-defined relevance threshold for the sub-search.
16011
+ */
16012
+ relevanceThreshold?: string | null;
16013
+ /**
16014
+ * Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
16015
+ */
16016
+ semanticRelevanceThreshold?: number | null;
16017
+ }
15988
16018
  /**
15989
16019
  * The specification for returning the document relevance score.
15990
16020
  */
@@ -16029,6 +16059,10 @@ export namespace discoveryengine_v1 {
16029
16059
  * Response message for SearchService.Search method.
16030
16060
  */
16031
16061
  export interface Schema$GoogleCloudDiscoveryengineV1SearchResponse {
16062
+ /**
16063
+ * Optional. Controls applied as part of the Control service.
16064
+ */
16065
+ appliedControls?: string[] | null;
16032
16066
  /**
16033
16067
  * A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance. This also helps to identify a request during the customer support scenarios.
16034
16068
  */
@@ -16291,6 +16325,10 @@ export namespace discoveryengine_v1 {
16291
16325
  * Optional. A set of ranking signals associated with the result.
16292
16326
  */
16293
16327
  rankSignals?: Schema$GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals;
16328
+ /**
16329
+ * Optional. A set of signals used by the relevance filter meant for use to fine-tune the relevance filter thresholds.
16330
+ */
16331
+ retrievalSignals?: Schema$GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals;
16294
16332
  }
16295
16333
  /**
16296
16334
  * A set of ranking signals.
@@ -16350,6 +16388,19 @@ export namespace discoveryengine_v1 {
16350
16388
  */
16351
16389
  value?: number | null;
16352
16390
  }
16391
+ /**
16392
+ * Contains a set of signals used by the relevance filter.
16393
+ */
16394
+ export interface Schema$GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals {
16395
+ /**
16396
+ * Optional. Indicates how the result was retrieved.
16397
+ */
16398
+ retrievalSources?: string[] | null;
16399
+ /**
16400
+ * Optional. Relevance score used by the filter when semantic_relevance_threshold is set.
16401
+ */
16402
+ semanticRelevanceScore?: number | null;
16403
+ }
16353
16404
  /**
16354
16405
  * Information about the session.
16355
16406
  */
@@ -17607,6 +17658,14 @@ export namespace discoveryengine_v1 {
17607
17658
  * Output only. The display name of the data source.
17608
17659
  */
17609
17660
  dataSourceDisplayName?: string | null;
17661
+ /**
17662
+ * 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`.
17663
+ */
17664
+ dataSourceEndUserDisplayName?: string | null;
17665
+ /**
17666
+ * Output only. The version of the connector definition backing this collection, mirroring `DataConnector.data_source_version`.
17667
+ */
17668
+ dataSourceVersion?: number | null;
17610
17669
  /**
17611
17670
  * For the data store collection, list of the children data stores.
17612
17671
  */
@@ -17619,6 +17678,14 @@ export namespace discoveryengine_v1 {
17619
17678
  * 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.
17620
17679
  */
17621
17680
  id?: string | null;
17681
+ /**
17682
+ * 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`.
17683
+ */
17684
+ isFirstParty?: boolean | null;
17685
+ /**
17686
+ * 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.
17687
+ */
17688
+ metadata?: Schema$GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata;
17622
17689
  /**
17623
17690
  * 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.
17624
17691
  */
@@ -17848,7 +17915,7 @@ export namespace discoveryengine_v1 {
17848
17915
  */
17849
17916
  enableVisualContentSummary?: boolean | null;
17850
17917
  /**
17851
- * 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`
17918
+ * 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`
17852
17919
  */
17853
17920
  features?: {[key: string]: string} | null;
17854
17921
  /**
@@ -17966,6 +18033,10 @@ export namespace discoveryengine_v1 {
17966
18033
  * Output only. Whether the model is currently in preview. Clients should surface this via a "Preview" badge in the selector UI.
17967
18034
  */
17968
18035
  isPreview?: boolean | null;
18036
+ /**
18037
+ * 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.
18038
+ */
18039
+ label?: string | null;
17969
18040
  /**
17970
18041
  * 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.
17971
18042
  */
@@ -19223,6 +19294,165 @@ export namespace discoveryengine_v1 {
19223
19294
  }
19224
19295
  }
19225
19296
 
19297
+ /**
19298
+ * 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.
19299
+ * @example
19300
+ * ```js
19301
+ * // Before running the sample:
19302
+ * // - Enable the API at:
19303
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
19304
+ * // - Login into gcloud by running:
19305
+ * // ```sh
19306
+ * // $ gcloud auth application-default login
19307
+ * // ```
19308
+ * // - Install the npm module by running:
19309
+ * // ```sh
19310
+ * // $ npm install googleapis
19311
+ * // ```
19312
+ *
19313
+ * const {google} = require('googleapis');
19314
+ * const discoveryengine = google.discoveryengine('v1');
19315
+ *
19316
+ * async function main() {
19317
+ * const auth = new google.auth.GoogleAuth({
19318
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
19319
+ * scopes: [
19320
+ * 'https://www.googleapis.com/auth/cloud-platform',
19321
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
19322
+ * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
19323
+ * ],
19324
+ * });
19325
+ *
19326
+ * // Acquire an auth client, and bind it to all future calls
19327
+ * const authClient = await auth.getClient();
19328
+ * google.options({auth: authClient});
19329
+ *
19330
+ * // Do the magic
19331
+ * const res = await discoveryengine.projects.locations.provision({
19332
+ * // Required. Full resource name of a Project, such as `projects/{project_id_or_number\}`.
19333
+ * name: 'projects/my-project/locations/my-location',
19334
+ *
19335
+ * // Request body metadata
19336
+ * requestBody: {
19337
+ * // request body parameters
19338
+ * // {
19339
+ * // "acceptDataUseTerms": false,
19340
+ * // "dataUseTermsVersion": "my_dataUseTermsVersion",
19341
+ * // "saasParams": {}
19342
+ * // }
19343
+ * },
19344
+ * });
19345
+ * console.log(res.data);
19346
+ *
19347
+ * // Example response
19348
+ * // {
19349
+ * // "done": false,
19350
+ * // "error": {},
19351
+ * // "metadata": {},
19352
+ * // "name": "my_name",
19353
+ * // "response": {}
19354
+ * // }
19355
+ * }
19356
+ *
19357
+ * main().catch(e => {
19358
+ * console.error(e);
19359
+ * throw e;
19360
+ * });
19361
+ *
19362
+ * ```
19363
+ *
19364
+ * @param params - Parameters for request
19365
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
19366
+ * @param callback - Optional callback that handles the response.
19367
+ * @returns A promise if used with async/await, or void if used with a callback.
19368
+ */
19369
+ provision(
19370
+ params: Params$Resource$Projects$Locations$Provision,
19371
+ options: StreamMethodOptions
19372
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
19373
+ provision(
19374
+ params?: Params$Resource$Projects$Locations$Provision,
19375
+ options?: MethodOptions
19376
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
19377
+ provision(
19378
+ params: Params$Resource$Projects$Locations$Provision,
19379
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
19380
+ callback: BodyResponseCallback<Readable>
19381
+ ): void;
19382
+ provision(
19383
+ params: Params$Resource$Projects$Locations$Provision,
19384
+ options:
19385
+ MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
19386
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
19387
+ ): void;
19388
+ provision(
19389
+ params: Params$Resource$Projects$Locations$Provision,
19390
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
19391
+ ): void;
19392
+ provision(
19393
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
19394
+ ): void;
19395
+ provision(
19396
+ paramsOrCallback?:
19397
+ | Params$Resource$Projects$Locations$Provision
19398
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
19399
+ | BodyResponseCallback<Readable>,
19400
+ optionsOrCallback?:
19401
+ | MethodOptions
19402
+ | StreamMethodOptions
19403
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
19404
+ | BodyResponseCallback<Readable>,
19405
+ callback?:
19406
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
19407
+ | BodyResponseCallback<Readable>
19408
+ ):
19409
+ | void
19410
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
19411
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
19412
+ let params = (paramsOrCallback ||
19413
+ {}) as Params$Resource$Projects$Locations$Provision;
19414
+ let options = (optionsOrCallback || {}) as MethodOptions;
19415
+
19416
+ if (typeof paramsOrCallback === 'function') {
19417
+ callback = paramsOrCallback;
19418
+ params = {} as Params$Resource$Projects$Locations$Provision;
19419
+ options = {};
19420
+ }
19421
+
19422
+ if (typeof optionsOrCallback === 'function') {
19423
+ callback = optionsOrCallback;
19424
+ options = {};
19425
+ }
19426
+
19427
+ const rootUrl =
19428
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
19429
+ const parameters = {
19430
+ options: Object.assign(
19431
+ {
19432
+ url: (rootUrl + '/v1/{+name}:provision').replace(
19433
+ /([^:]\/)\/+/g,
19434
+ '$1'
19435
+ ),
19436
+ method: 'POST',
19437
+ apiVersion: '',
19438
+ },
19439
+ options
19440
+ ),
19441
+ params,
19442
+ requiredParams: ['name'],
19443
+ pathParams: ['name'],
19444
+ context: this.context,
19445
+ };
19446
+ if (callback) {
19447
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
19448
+ parameters,
19449
+ callback as BodyResponseCallback<unknown>
19450
+ );
19451
+ } else {
19452
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
19453
+ }
19454
+ }
19455
+
19226
19456
  /**
19227
19457
  * Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method.
19228
19458
  * @example
@@ -19926,6 +20156,17 @@ export namespace discoveryengine_v1 {
19926
20156
  */
19927
20157
  name?: string;
19928
20158
  }
20159
+ export interface Params$Resource$Projects$Locations$Provision extends StandardParameters {
20160
+ /**
20161
+ * Required. Full resource name of a Project, such as `projects/{project_id_or_number\}`.
20162
+ */
20163
+ name?: string;
20164
+
20165
+ /**
20166
+ * Request body metadata
20167
+ */
20168
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1ProvisionProjectRequest;
20169
+ }
19929
20170
  export interface Params$Resource$Projects$Locations$Setupdataconnector extends StandardParameters {
19930
20171
  /**
19931
20172
  * Required. The parent of Collection, in the format of `projects/{project\}/locations/{location\}`.
@@ -31308,6 +31549,7 @@ export namespace discoveryengine_v1 {
31308
31549
  * // "queryExpansionSpec": {},
31309
31550
  * // "rankingExpression": "my_rankingExpression",
31310
31551
  * // "rankingExpressionBackend": "my_rankingExpressionBackend",
31552
+ * // "relevanceFilterSpec": {},
31311
31553
  * // "relevanceScoreSpec": {},
31312
31554
  * // "relevanceThreshold": "my_relevanceThreshold",
31313
31555
  * // "safeSearch": false,
@@ -31326,6 +31568,7 @@ export namespace discoveryengine_v1 {
31326
31568
  *
31327
31569
  * // Example response
31328
31570
  * // {
31571
+ * // "appliedControls": [],
31329
31572
  * // "attributionToken": "my_attributionToken",
31330
31573
  * // "correctedQuery": "my_correctedQuery",
31331
31574
  * // "facets": [],
@@ -31521,6 +31764,7 @@ export namespace discoveryengine_v1 {
31521
31764
  * // "queryExpansionSpec": {},
31522
31765
  * // "rankingExpression": "my_rankingExpression",
31523
31766
  * // "rankingExpressionBackend": "my_rankingExpressionBackend",
31767
+ * // "relevanceFilterSpec": {},
31524
31768
  * // "relevanceScoreSpec": {},
31525
31769
  * // "relevanceThreshold": "my_relevanceThreshold",
31526
31770
  * // "safeSearch": false,
@@ -31539,6 +31783,7 @@ export namespace discoveryengine_v1 {
31539
31783
  *
31540
31784
  * // Example response
31541
31785
  * // {
31786
+ * // "appliedControls": [],
31542
31787
  * // "attributionToken": "my_attributionToken",
31543
31788
  * // "correctedQuery": "my_correctedQuery",
31544
31789
  * // "facets": [],
@@ -46136,6 +46381,7 @@ export namespace discoveryengine_v1 {
46136
46381
  * // "queryExpansionSpec": {},
46137
46382
  * // "rankingExpression": "my_rankingExpression",
46138
46383
  * // "rankingExpressionBackend": "my_rankingExpressionBackend",
46384
+ * // "relevanceFilterSpec": {},
46139
46385
  * // "relevanceScoreSpec": {},
46140
46386
  * // "relevanceThreshold": "my_relevanceThreshold",
46141
46387
  * // "safeSearch": false,
@@ -46154,6 +46400,7 @@ export namespace discoveryengine_v1 {
46154
46400
  *
46155
46401
  * // Example response
46156
46402
  * // {
46403
+ * // "appliedControls": [],
46157
46404
  * // "attributionToken": "my_attributionToken",
46158
46405
  * // "correctedQuery": "my_correctedQuery",
46159
46406
  * // "facets": [],
@@ -46349,6 +46596,7 @@ export namespace discoveryengine_v1 {
46349
46596
  * // "queryExpansionSpec": {},
46350
46597
  * // "rankingExpression": "my_rankingExpression",
46351
46598
  * // "rankingExpressionBackend": "my_rankingExpressionBackend",
46599
+ * // "relevanceFilterSpec": {},
46352
46600
  * // "relevanceScoreSpec": {},
46353
46601
  * // "relevanceThreshold": "my_relevanceThreshold",
46354
46602
  * // "safeSearch": false,
@@ -46367,6 +46615,7 @@ export namespace discoveryengine_v1 {
46367
46615
  *
46368
46616
  * // Example response
46369
46617
  * // {
46618
+ * // "appliedControls": [],
46370
46619
  * // "attributionToken": "my_attributionToken",
46371
46620
  * // "correctedQuery": "my_correctedQuery",
46372
46621
  * // "facets": [],
@@ -57390,6 +57639,7 @@ export namespace discoveryengine_v1 {
57390
57639
  * // "queryExpansionSpec": {},
57391
57640
  * // "rankingExpression": "my_rankingExpression",
57392
57641
  * // "rankingExpressionBackend": "my_rankingExpressionBackend",
57642
+ * // "relevanceFilterSpec": {},
57393
57643
  * // "relevanceScoreSpec": {},
57394
57644
  * // "relevanceThreshold": "my_relevanceThreshold",
57395
57645
  * // "safeSearch": false,
@@ -57407,6 +57657,7 @@ export namespace discoveryengine_v1 {
57407
57657
  *
57408
57658
  * // Example response
57409
57659
  * // {
57660
+ * // "appliedControls": [],
57410
57661
  * // "attributionToken": "my_attributionToken",
57411
57662
  * // "correctedQuery": "my_correctedQuery",
57412
57663
  * // "facets": [],
@@ -57602,6 +57853,7 @@ export namespace discoveryengine_v1 {
57602
57853
  * // "queryExpansionSpec": {},
57603
57854
  * // "rankingExpression": "my_rankingExpression",
57604
57855
  * // "rankingExpressionBackend": "my_rankingExpressionBackend",
57856
+ * // "relevanceFilterSpec": {},
57605
57857
  * // "relevanceScoreSpec": {},
57606
57858
  * // "relevanceThreshold": "my_relevanceThreshold",
57607
57859
  * // "safeSearch": false,
@@ -57620,6 +57872,7 @@ export namespace discoveryengine_v1 {
57620
57872
  *
57621
57873
  * // Example response
57622
57874
  * // {
57875
+ * // "appliedControls": [],
57623
57876
  * // "attributionToken": "my_attributionToken",
57624
57877
  * // "correctedQuery": "my_correctedQuery",
57625
57878
  * // "facets": [],