@maxim_mazurok/gapi.client.discoveryengine-v1 0.3.20260802 → 0.3.20260804
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/index.d.ts +11 -76
- 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:
|
|
12
|
+
// Revision: 20260804
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -635,10 +635,7 @@ declare namespace gapi.client {
|
|
|
635
635
|
document?: GoogleCloudDiscoveryengineV1Document;
|
|
636
636
|
/** The type of the person. */
|
|
637
637
|
personType?:
|
|
638
|
-
| '
|
|
639
|
-
| 'CLOUD_IDENTITY'
|
|
640
|
-
| 'THIRD_PARTY_IDENTITY'
|
|
641
|
-
| 'GOOGLE_GROUP';
|
|
638
|
+
'PERSON_TYPE_UNSPECIFIED' | 'CLOUD_IDENTITY' | 'THIRD_PARTY_IDENTITY';
|
|
642
639
|
/** The score of each suggestion. The score is in the range of [0, 1]. */
|
|
643
640
|
score?: number;
|
|
644
641
|
/** The suggestion for the query. */
|
|
@@ -1775,6 +1772,8 @@ declare namespace gapi.client {
|
|
|
1775
1772
|
vpcscEnabled?: boolean;
|
|
1776
1773
|
}
|
|
1777
1774
|
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;
|
|
1778
1777
|
/** 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). */
|
|
1779
1778
|
author?: string;
|
|
1780
1779
|
/** Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description. */
|
|
@@ -2191,7 +2190,7 @@ declare namespace gapi.client {
|
|
|
2191
2190
|
disableAnalytics?: boolean;
|
|
2192
2191
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
2193
2192
|
displayName?: string;
|
|
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` * `
|
|
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` */
|
|
2195
2194
|
features?: {
|
|
2196
2195
|
[P in string]:
|
|
2197
2196
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -4449,7 +4448,7 @@ declare namespace gapi.client {
|
|
|
4449
4448
|
interface GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest {
|
|
4450
4449
|
/** 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. */
|
|
4451
4450
|
deleteUnassignedUserLicenses?: boolean;
|
|
4452
|
-
/** The inline source for the input content for
|
|
4451
|
+
/** The inline source for the input content for document embeddings. */
|
|
4453
4452
|
inlineSource?: GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource;
|
|
4454
4453
|
}
|
|
4455
4454
|
interface GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource {
|
|
@@ -4958,7 +4957,7 @@ declare namespace gapi.client {
|
|
|
4958
4957
|
disableAnalytics?: boolean;
|
|
4959
4958
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
4960
4959
|
displayName?: string;
|
|
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` * `
|
|
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` */
|
|
4962
4961
|
features?: {
|
|
4963
4962
|
[P in string]:
|
|
4964
4963
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -6726,6 +6725,8 @@ declare namespace gapi.client {
|
|
|
6726
6725
|
vpcscEnabled?: boolean;
|
|
6727
6726
|
}
|
|
6728
6727
|
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;
|
|
6729
6730
|
/** 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). */
|
|
6730
6731
|
author?: string;
|
|
6731
6732
|
/** Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description. */
|
|
@@ -7180,7 +7181,7 @@ declare namespace gapi.client {
|
|
|
7180
7181
|
disableAnalytics?: boolean;
|
|
7181
7182
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
7182
7183
|
displayName?: string;
|
|
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` * `
|
|
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` */
|
|
7184
7185
|
features?: {
|
|
7185
7186
|
[P in string]:
|
|
7186
7187
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -9307,20 +9308,12 @@ declare namespace gapi.client {
|
|
|
9307
9308
|
dataSource?: string;
|
|
9308
9309
|
/** Output only. The display name of the data source. */
|
|
9309
9310
|
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;
|
|
9314
9311
|
/** For the data store collection, list of the children data stores. */
|
|
9315
9312
|
dataStoreComponents?: GoogleCloudDiscoveryengineV1WidgetConfigDataStoreComponent[];
|
|
9316
9313
|
/** The display name of the collection. */
|
|
9317
9314
|
displayName?: string;
|
|
9318
9315
|
/** 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. */
|
|
9319
9316
|
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;
|
|
9324
9317
|
/** 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. */
|
|
9325
9318
|
name?: string;
|
|
9326
9319
|
}
|
|
@@ -9439,7 +9432,7 @@ declare namespace gapi.client {
|
|
|
9439
9432
|
enableSearchAsYouType?: boolean;
|
|
9440
9433
|
/** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
|
|
9441
9434
|
enableVisualContentSummary?: boolean;
|
|
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` * `
|
|
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` */
|
|
9443
9436
|
features?: {
|
|
9444
9437
|
[P in string]:
|
|
9445
9438
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -21406,64 +21399,6 @@ declare namespace gapi.client {
|
|
|
21406
21399
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
21407
21400
|
uploadType?: string;
|
|
21408
21401
|
}): 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>;
|
|
21467
21402
|
/** Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method. */
|
|
21468
21403
|
setUpDataConnector(request: {
|
|
21469
21404
|
/** V1 error format. */
|