@maxim_mazurok/gapi.client.discoveryengine-v1 0.3.20260724 → 0.3.20260802

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.
Files changed (2) hide show
  1. package/index.d.ts +76 -11
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260724
12
+ // Revision: 20260802
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -635,7 +635,10 @@ declare namespace gapi.client {
635
635
  document?: GoogleCloudDiscoveryengineV1Document;
636
636
  /** The type of the person. */
637
637
  personType?:
638
- 'PERSON_TYPE_UNSPECIFIED' | 'CLOUD_IDENTITY' | 'THIRD_PARTY_IDENTITY';
638
+ | 'PERSON_TYPE_UNSPECIFIED'
639
+ | 'CLOUD_IDENTITY'
640
+ | 'THIRD_PARTY_IDENTITY'
641
+ | 'GOOGLE_GROUP';
639
642
  /** The score of each suggestion. The score is in the range of [0, 1]. */
640
643
  score?: number;
641
644
  /** The suggestion for the query. */
@@ -1772,8 +1775,6 @@ declare namespace gapi.client {
1772
1775
  vpcscEnabled?: boolean;
1773
1776
  }
1774
1777
  interface GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata {
1775
- /** 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. */
1776
- authenticatedAccount?: string;
1777
1778
  /** 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). */
1778
1779
  author?: string;
1779
1780
  /** Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description. */
@@ -2190,7 +2191,7 @@ declare namespace gapi.client {
2190
2191
  disableAnalytics?: boolean;
2191
2192
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
2192
2193
  displayName?: string;
2193
- /** 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` */
2194
+ /** 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` */
2194
2195
  features?: {
2195
2196
  [P in string]:
2196
2197
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -4448,7 +4449,7 @@ declare namespace gapi.client {
4448
4449
  interface GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest {
4449
4450
  /** Optional. If true, if user licenses removed associated license config, the user license will be deleted. By default which is false, the user license will be updated to unassigned state. */
4450
4451
  deleteUnassignedUserLicenses?: boolean;
4451
- /** The inline source for the input content for document embeddings. */
4452
+ /** The inline source for the input content for license assignment. */
4452
4453
  inlineSource?: GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource;
4453
4454
  }
4454
4455
  interface GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource {
@@ -4957,7 +4958,7 @@ declare namespace gapi.client {
4957
4958
  disableAnalytics?: boolean;
4958
4959
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
4959
4960
  displayName?: string;
4960
- /** 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` */
4961
+ /** 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` */
4961
4962
  features?: {
4962
4963
  [P in string]:
4963
4964
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -6725,8 +6726,6 @@ declare namespace gapi.client {
6725
6726
  vpcscEnabled?: boolean;
6726
6727
  }
6727
6728
  interface GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata {
6728
- /** 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. */
6729
- authenticatedAccount?: string;
6730
6729
  /** 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). */
6731
6730
  author?: string;
6732
6731
  /** Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description. */
@@ -7181,7 +7180,7 @@ declare namespace gapi.client {
7181
7180
  disableAnalytics?: boolean;
7182
7181
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
7183
7182
  displayName?: string;
7184
- /** 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` */
7183
+ /** 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` */
7185
7184
  features?: {
7186
7185
  [P in string]:
7187
7186
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -9308,12 +9307,20 @@ declare namespace gapi.client {
9308
9307
  dataSource?: string;
9309
9308
  /** Output only. The display name of the data source. */
9310
9309
  dataSourceDisplayName?: string;
9310
+ /** 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`. */
9311
+ dataSourceEndUserDisplayName?: string;
9312
+ /** Output only. The version of the connector definition backing this collection, mirroring `DataConnector.data_source_version`. */
9313
+ dataSourceVersion?: number;
9311
9314
  /** For the data store collection, list of the children data stores. */
9312
9315
  dataStoreComponents?: GoogleCloudDiscoveryengineV1WidgetConfigDataStoreComponent[];
9313
9316
  /** The display name of the collection. */
9314
9317
  displayName?: string;
9315
9318
  /** 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. */
9316
9319
  id?: string;
9320
+ /** 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`. */
9321
+ isFirstParty?: boolean;
9322
+ /** 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. */
9323
+ metadata?: GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata;
9317
9324
  /** 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. */
9318
9325
  name?: string;
9319
9326
  }
@@ -9432,7 +9439,7 @@ declare namespace gapi.client {
9432
9439
  enableSearchAsYouType?: boolean;
9433
9440
  /** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
9434
9441
  enableVisualContentSummary?: boolean;
9435
- /** 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` */
9442
+ /** 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` */
9436
9443
  features?: {
9437
9444
  [P in string]:
9438
9445
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -21399,6 +21406,64 @@ declare namespace gapi.client {
21399
21406
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21400
21407
  uploadType?: string;
21401
21408
  }): Request<GoogleCloudDiscoveryengineV1CmekConfig>;
21409
+ /** 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. */
21410
+ provision(request: {
21411
+ /** V1 error format. */
21412
+ '$.xgafv'?: '1' | '2';
21413
+ /** OAuth access token. */
21414
+ access_token?: string;
21415
+ /** Data format for response. */
21416
+ alt?: 'json' | 'media' | 'proto';
21417
+ /** JSONP */
21418
+ callback?: string;
21419
+ /** Selector specifying which fields to include in a partial response. */
21420
+ fields?: string;
21421
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
21422
+ key?: string;
21423
+ /** Required. Full resource name of a Project, such as `projects/{project_id_or_number}`. */
21424
+ name: string;
21425
+ /** OAuth 2.0 token for the current user. */
21426
+ oauth_token?: string;
21427
+ /** Returns response with indentations and line breaks. */
21428
+ prettyPrint?: boolean;
21429
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
21430
+ quotaUser?: string;
21431
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21432
+ upload_protocol?: string;
21433
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21434
+ uploadType?: string;
21435
+ /** Request body */
21436
+ resource: GoogleCloudDiscoveryengineV1ProvisionProjectRequest;
21437
+ }): Request<GoogleLongrunningOperation>;
21438
+ provision(
21439
+ request: {
21440
+ /** V1 error format. */
21441
+ '$.xgafv'?: '1' | '2';
21442
+ /** OAuth access token. */
21443
+ access_token?: string;
21444
+ /** Data format for response. */
21445
+ alt?: 'json' | 'media' | 'proto';
21446
+ /** JSONP */
21447
+ callback?: string;
21448
+ /** Selector specifying which fields to include in a partial response. */
21449
+ fields?: string;
21450
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
21451
+ key?: string;
21452
+ /** Required. Full resource name of a Project, such as `projects/{project_id_or_number}`. */
21453
+ name: string;
21454
+ /** OAuth 2.0 token for the current user. */
21455
+ oauth_token?: string;
21456
+ /** Returns response with indentations and line breaks. */
21457
+ prettyPrint?: boolean;
21458
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
21459
+ quotaUser?: string;
21460
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21461
+ upload_protocol?: string;
21462
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21463
+ uploadType?: string;
21464
+ },
21465
+ body: GoogleCloudDiscoveryengineV1ProvisionProjectRequest,
21466
+ ): Request<GoogleLongrunningOperation>;
21402
21467
  /** Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method. */
21403
21468
  setUpDataConnector(request: {
21404
21469
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.3.20260724",
3
+ "version": "0.3.20260802",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",