@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.3.20260718 → 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.
- package/index.d.ts +99 -10
- 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=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260802
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1217,7 +1217,7 @@ declare namespace gapi.client {
|
|
|
1217
1217
|
createTime?: string;
|
|
1218
1218
|
/** Optional. Specifies the data protection policy for the connector. */
|
|
1219
1219
|
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy;
|
|
1220
|
-
/** Required. The identifier for the data source.
|
|
1220
|
+
/** Required. The identifier for the data source. For the full, up-to-date list of supported connectors and their values, see [Connect a third-party data source](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/connect-third-party-data-source#sources-by-launch-stage). */
|
|
1221
1221
|
dataSource?: string;
|
|
1222
1222
|
/** Optional. Any target destinations used to connect to third-party services. */
|
|
1223
1223
|
destinationConfigs?: GoogleCloudDiscoveryengineV1alphaDestinationConfig[];
|
|
@@ -1251,6 +1251,8 @@ declare namespace gapi.client {
|
|
|
1251
1251
|
lastSyncTime?: string;
|
|
1252
1252
|
/** Output only. The most recent timestamp when this DataConnector was paused, affecting all functionalities such as data synchronization. Pausing a connector has the following effects: - All functionalities, including data synchronization, are halted. - Any ongoing data synchronization job will be canceled. - No future data synchronization runs will be scheduled nor can be triggered. */
|
|
1253
1253
|
latestPauseTime?: string;
|
|
1254
|
+
/** Optional. User-facing metadata for the connector. Populated from the connector's generated metadata / registry `ConnectorSource`. */
|
|
1255
|
+
metadata?: GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata;
|
|
1254
1256
|
/** Identifier. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`. */
|
|
1255
1257
|
name?: string;
|
|
1256
1258
|
/** Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity. */
|
|
@@ -1300,6 +1302,18 @@ declare namespace gapi.client {
|
|
|
1300
1302
|
/** Output only. Whether the connector is created with VPC-SC enabled. */
|
|
1301
1303
|
vpcscEnabled?: boolean;
|
|
1302
1304
|
}
|
|
1305
|
+
interface GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata {
|
|
1306
|
+
/** 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). */
|
|
1307
|
+
author?: string;
|
|
1308
|
+
/** Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description. */
|
|
1309
|
+
description?: string;
|
|
1310
|
+
/** Optional. Free-form, multi-line note about the connector's capabilities or a custom note that can be set for the connector. */
|
|
1311
|
+
note?: string;
|
|
1312
|
+
/** Optional. Short, subtitle-length description of the connector (e.g. shown beneath the connector name in list and detail views). */
|
|
1313
|
+
shortDescription?: string;
|
|
1314
|
+
/** Optional. Display title of the connector. */
|
|
1315
|
+
title?: string;
|
|
1316
|
+
}
|
|
1303
1317
|
interface GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig {
|
|
1304
1318
|
/** Optional. Any additional parameters needed for EUA. */
|
|
1305
1319
|
additionalParams?: {[P in string]: any};
|
|
@@ -1705,7 +1719,7 @@ declare namespace gapi.client {
|
|
|
1705
1719
|
disableAnalytics?: boolean;
|
|
1706
1720
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
1707
1721
|
displayName?: string;
|
|
1708
|
-
/** 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` * `
|
|
1722
|
+
/** 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` */
|
|
1709
1723
|
features?: {
|
|
1710
1724
|
[P in string]:
|
|
1711
1725
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -3176,7 +3190,7 @@ declare namespace gapi.client {
|
|
|
3176
3190
|
userId?: string;
|
|
3177
3191
|
}
|
|
3178
3192
|
interface GoogleCloudDiscoveryengineV1alphaUserInfoPreciseLocation {
|
|
3179
|
-
/**
|
|
3193
|
+
/** Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon. */
|
|
3180
3194
|
address?: string;
|
|
3181
3195
|
/** Optional. Location represented by a latitude/longitude point. */
|
|
3182
3196
|
point?: GoogleTypeLatLng;
|
|
@@ -3460,7 +3474,10 @@ declare namespace gapi.client {
|
|
|
3460
3474
|
document?: GoogleCloudDiscoveryengineV1betaDocument;
|
|
3461
3475
|
/** The type of the person. */
|
|
3462
3476
|
personType?:
|
|
3463
|
-
|
|
3477
|
+
| 'PERSON_TYPE_UNSPECIFIED'
|
|
3478
|
+
| 'CLOUD_IDENTITY'
|
|
3479
|
+
| 'THIRD_PARTY_IDENTITY'
|
|
3480
|
+
| 'GOOGLE_GROUP';
|
|
3464
3481
|
/** The score of each suggestion. The score is in the range of [0, 1]. */
|
|
3465
3482
|
score?: number;
|
|
3466
3483
|
/** The suggestion for the query. */
|
|
@@ -4264,7 +4281,7 @@ declare namespace gapi.client {
|
|
|
4264
4281
|
interface GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest {
|
|
4265
4282
|
/** 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. */
|
|
4266
4283
|
deleteUnassignedUserLicenses?: boolean;
|
|
4267
|
-
/** The inline source for the input content for
|
|
4284
|
+
/** The inline source for the input content for license assignment. */
|
|
4268
4285
|
inlineSource?: GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource;
|
|
4269
4286
|
}
|
|
4270
4287
|
interface GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource {
|
|
@@ -5153,7 +5170,7 @@ declare namespace gapi.client {
|
|
|
5153
5170
|
disableAnalytics?: boolean;
|
|
5154
5171
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
5155
5172
|
displayName?: string;
|
|
5156
|
-
/** 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` * `
|
|
5173
|
+
/** 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` */
|
|
5157
5174
|
features?: {
|
|
5158
5175
|
[P in string]:
|
|
5159
5176
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -7430,7 +7447,7 @@ declare namespace gapi.client {
|
|
|
7430
7447
|
userId?: string;
|
|
7431
7448
|
}
|
|
7432
7449
|
interface GoogleCloudDiscoveryengineV1betaUserInfoPreciseLocation {
|
|
7433
|
-
/**
|
|
7450
|
+
/** Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon. */
|
|
7434
7451
|
address?: string;
|
|
7435
7452
|
/** Optional. Location represented by a latitude/longitude point. */
|
|
7436
7453
|
point?: GoogleTypeLatLng;
|
|
@@ -7725,7 +7742,7 @@ declare namespace gapi.client {
|
|
|
7725
7742
|
createEuaSaas?: boolean;
|
|
7726
7743
|
/** Output only. Timestamp the DataConnector was created at. */
|
|
7727
7744
|
createTime?: string;
|
|
7728
|
-
/** Required. The identifier for the data source.
|
|
7745
|
+
/** Required. The identifier for the data source. For the full, up-to-date list of supported connectors and their values, see [Connect a third-party data source](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/connect-third-party-data-source#sources-by-launch-stage). */
|
|
7729
7746
|
dataSource?: string;
|
|
7730
7747
|
/** Optional. Any target destinations used to connect to third-party services. */
|
|
7731
7748
|
destinationConfigs?: GoogleCloudDiscoveryengineV1DestinationConfig[];
|
|
@@ -7759,6 +7776,8 @@ declare namespace gapi.client {
|
|
|
7759
7776
|
lastSyncTime?: string;
|
|
7760
7777
|
/** Output only. The most recent timestamp when this DataConnector was paused, affecting all functionalities such as data synchronization. Pausing a connector has the following effects: - All functionalities, including data synchronization, are halted. - Any ongoing data synchronization job will be canceled. - No future data synchronization runs will be scheduled nor can be triggered. */
|
|
7761
7778
|
latestPauseTime?: string;
|
|
7779
|
+
/** Optional. User-facing metadata for the connector. Populated from the connector's generated metadata / registry `ConnectorSource`. */
|
|
7780
|
+
metadata?: GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata;
|
|
7762
7781
|
/** Identifier. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`. */
|
|
7763
7782
|
name?: string;
|
|
7764
7783
|
/** Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity. */
|
|
@@ -7808,6 +7827,18 @@ declare namespace gapi.client {
|
|
|
7808
7827
|
/** Output only. Whether the connector is created with VPC-SC enabled. */
|
|
7809
7828
|
vpcscEnabled?: boolean;
|
|
7810
7829
|
}
|
|
7830
|
+
interface GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata {
|
|
7831
|
+
/** 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). */
|
|
7832
|
+
author?: string;
|
|
7833
|
+
/** Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description. */
|
|
7834
|
+
description?: string;
|
|
7835
|
+
/** Optional. Free-form, multi-line note about the connector's capabilities or a custom note that can be set for the connector. */
|
|
7836
|
+
note?: string;
|
|
7837
|
+
/** Optional. Short, subtitle-length description of the connector (e.g. shown beneath the connector name in list and detail views). */
|
|
7838
|
+
shortDescription?: string;
|
|
7839
|
+
/** Optional. Display title of the connector. */
|
|
7840
|
+
title?: string;
|
|
7841
|
+
}
|
|
7811
7842
|
interface GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig {
|
|
7812
7843
|
/** Optional. Any additional parameters needed for EUA. */
|
|
7813
7844
|
additionalParams?: {[P in string]: any};
|
|
@@ -8165,7 +8196,7 @@ declare namespace gapi.client {
|
|
|
8165
8196
|
disableAnalytics?: boolean;
|
|
8166
8197
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
8167
8198
|
displayName?: string;
|
|
8168
|
-
/** 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` * `
|
|
8199
|
+
/** 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` */
|
|
8169
8200
|
features?: {
|
|
8170
8201
|
[P in string]:
|
|
8171
8202
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -20844,6 +20875,64 @@ declare namespace gapi.client {
|
|
|
20844
20875
|
},
|
|
20845
20876
|
body: GoogleCloudDiscoveryengineV1betaObtainCrawlRateRequest,
|
|
20846
20877
|
): Request<GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse>;
|
|
20878
|
+
/** 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. */
|
|
20879
|
+
provision(request: {
|
|
20880
|
+
/** V1 error format. */
|
|
20881
|
+
'$.xgafv'?: '1' | '2';
|
|
20882
|
+
/** OAuth access token. */
|
|
20883
|
+
access_token?: string;
|
|
20884
|
+
/** Data format for response. */
|
|
20885
|
+
alt?: 'json' | 'media' | 'proto';
|
|
20886
|
+
/** JSONP */
|
|
20887
|
+
callback?: string;
|
|
20888
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
20889
|
+
fields?: string;
|
|
20890
|
+
/** 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. */
|
|
20891
|
+
key?: string;
|
|
20892
|
+
/** Required. Full resource name of a Project, such as `projects/{project_id_or_number}`. */
|
|
20893
|
+
name: string;
|
|
20894
|
+
/** OAuth 2.0 token for the current user. */
|
|
20895
|
+
oauth_token?: string;
|
|
20896
|
+
/** Returns response with indentations and line breaks. */
|
|
20897
|
+
prettyPrint?: boolean;
|
|
20898
|
+
/** 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. */
|
|
20899
|
+
quotaUser?: string;
|
|
20900
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
20901
|
+
upload_protocol?: string;
|
|
20902
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
20903
|
+
uploadType?: string;
|
|
20904
|
+
/** Request body */
|
|
20905
|
+
resource: GoogleCloudDiscoveryengineV1betaProvisionProjectRequest;
|
|
20906
|
+
}): Request<GoogleLongrunningOperation>;
|
|
20907
|
+
provision(
|
|
20908
|
+
request: {
|
|
20909
|
+
/** V1 error format. */
|
|
20910
|
+
'$.xgafv'?: '1' | '2';
|
|
20911
|
+
/** OAuth access token. */
|
|
20912
|
+
access_token?: string;
|
|
20913
|
+
/** Data format for response. */
|
|
20914
|
+
alt?: 'json' | 'media' | 'proto';
|
|
20915
|
+
/** JSONP */
|
|
20916
|
+
callback?: string;
|
|
20917
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
20918
|
+
fields?: string;
|
|
20919
|
+
/** 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. */
|
|
20920
|
+
key?: string;
|
|
20921
|
+
/** Required. Full resource name of a Project, such as `projects/{project_id_or_number}`. */
|
|
20922
|
+
name: string;
|
|
20923
|
+
/** OAuth 2.0 token for the current user. */
|
|
20924
|
+
oauth_token?: string;
|
|
20925
|
+
/** Returns response with indentations and line breaks. */
|
|
20926
|
+
prettyPrint?: boolean;
|
|
20927
|
+
/** 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. */
|
|
20928
|
+
quotaUser?: string;
|
|
20929
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
20930
|
+
upload_protocol?: string;
|
|
20931
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
20932
|
+
uploadType?: string;
|
|
20933
|
+
},
|
|
20934
|
+
body: GoogleCloudDiscoveryengineV1betaProvisionProjectRequest,
|
|
20935
|
+
): Request<GoogleLongrunningOperation>;
|
|
20847
20936
|
/** 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. */
|
|
20848
20937
|
removeDedicatedCrawlRate(request: {
|
|
20849
20938
|
/** V1 error format. */
|