@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.3.20260804 → 0.3.20260809
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 +78 -11
- 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=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260809
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -392,7 +392,10 @@ declare namespace gapi.client {
|
|
|
392
392
|
document?: GoogleCloudDiscoveryengineV1alphaDocument;
|
|
393
393
|
/** The type of the person. */
|
|
394
394
|
personType?:
|
|
395
|
-
|
|
395
|
+
| 'PERSON_TYPE_UNSPECIFIED'
|
|
396
|
+
| 'CLOUD_IDENTITY'
|
|
397
|
+
| 'THIRD_PARTY_IDENTITY'
|
|
398
|
+
| 'GOOGLE_GROUP';
|
|
396
399
|
/** The score of each suggestion. The score is in the range of [0, 1]. */
|
|
397
400
|
score?: number;
|
|
398
401
|
/** The suggestion for the query. */
|
|
@@ -1513,7 +1516,7 @@ declare namespace gapi.client {
|
|
|
1513
1516
|
interface GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest {
|
|
1514
1517
|
/** 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. */
|
|
1515
1518
|
deleteUnassignedUserLicenses?: boolean;
|
|
1516
|
-
/** The inline source for the input content for
|
|
1519
|
+
/** The inline source for the input content for license assignment. */
|
|
1517
1520
|
inlineSource?: GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource;
|
|
1518
1521
|
}
|
|
1519
1522
|
interface GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource {
|
|
@@ -2464,8 +2467,6 @@ declare namespace gapi.client {
|
|
|
2464
2467
|
vpcscEnabled?: boolean;
|
|
2465
2468
|
}
|
|
2466
2469
|
interface GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata {
|
|
2467
|
-
/** 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. */
|
|
2468
|
-
authenticatedAccount?: string;
|
|
2469
2470
|
/** 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). */
|
|
2470
2471
|
author?: string;
|
|
2471
2472
|
/** Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description. */
|
|
@@ -2976,7 +2977,7 @@ declare namespace gapi.client {
|
|
|
2976
2977
|
disableAnalytics?: boolean;
|
|
2977
2978
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
2978
2979
|
displayName?: string;
|
|
2979
|
-
/** 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` * `
|
|
2980
|
+
/** 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` */
|
|
2980
2981
|
features?: {
|
|
2981
2982
|
[P in string]:
|
|
2982
2983
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -6173,12 +6174,20 @@ declare namespace gapi.client {
|
|
|
6173
6174
|
dataSource?: string;
|
|
6174
6175
|
/** Output only. The display name of the data source. */
|
|
6175
6176
|
dataSourceDisplayName?: string;
|
|
6177
|
+
/** 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`. */
|
|
6178
|
+
dataSourceEndUserDisplayName?: string;
|
|
6179
|
+
/** Output only. The version of the connector definition backing this collection, mirroring `DataConnector.data_source_version`. */
|
|
6180
|
+
dataSourceVersion?: number;
|
|
6176
6181
|
/** For the data store collection, list of the children data stores. */
|
|
6177
6182
|
dataStoreComponents?: GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent[];
|
|
6178
6183
|
/** The display name of the collection. */
|
|
6179
6184
|
displayName?: string;
|
|
6180
6185
|
/** 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. */
|
|
6181
6186
|
id?: string;
|
|
6187
|
+
/** 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`. */
|
|
6188
|
+
isFirstParty?: boolean;
|
|
6189
|
+
/** 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. */
|
|
6190
|
+
metadata?: GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata;
|
|
6182
6191
|
/** 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. */
|
|
6183
6192
|
name?: string;
|
|
6184
6193
|
}
|
|
@@ -6318,7 +6327,7 @@ declare namespace gapi.client {
|
|
|
6318
6327
|
enableSearchAsYouType?: boolean;
|
|
6319
6328
|
/** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
|
|
6320
6329
|
enableVisualContentSummary?: boolean;
|
|
6321
|
-
/** 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` * `
|
|
6330
|
+
/** 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` */
|
|
6322
6331
|
features?: {
|
|
6323
6332
|
[P in string]:
|
|
6324
6333
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -6395,6 +6404,8 @@ declare namespace gapi.client {
|
|
|
6395
6404
|
icon?: string;
|
|
6396
6405
|
/** Output only. Whether the model is currently in preview. Clients should surface this via a "Preview" badge in the selector UI. */
|
|
6397
6406
|
isPreview?: boolean;
|
|
6407
|
+
/** 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. */
|
|
6408
|
+
label?: string;
|
|
6398
6409
|
/** 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. */
|
|
6399
6410
|
modelId?: string;
|
|
6400
6411
|
}
|
|
@@ -7076,7 +7087,7 @@ declare namespace gapi.client {
|
|
|
7076
7087
|
disableAnalytics?: boolean;
|
|
7077
7088
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
7078
7089
|
displayName?: string;
|
|
7079
|
-
/** 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` * `
|
|
7090
|
+
/** 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` */
|
|
7080
7091
|
features?: {
|
|
7081
7092
|
[P in string]:
|
|
7082
7093
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -8510,8 +8521,6 @@ declare namespace gapi.client {
|
|
|
8510
8521
|
vpcscEnabled?: boolean;
|
|
8511
8522
|
}
|
|
8512
8523
|
interface GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata {
|
|
8513
|
-
/** 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. */
|
|
8514
|
-
authenticatedAccount?: string;
|
|
8515
8524
|
/** 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). */
|
|
8516
8525
|
author?: string;
|
|
8517
8526
|
/** Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description. */
|
|
@@ -8880,7 +8889,7 @@ declare namespace gapi.client {
|
|
|
8880
8889
|
disableAnalytics?: boolean;
|
|
8881
8890
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
8882
8891
|
displayName?: string;
|
|
8883
|
-
/** 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` * `
|
|
8892
|
+
/** 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` */
|
|
8884
8893
|
features?: {
|
|
8885
8894
|
[P in string]:
|
|
8886
8895
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -26235,6 +26244,64 @@ declare namespace gapi.client {
|
|
|
26235
26244
|
},
|
|
26236
26245
|
body: GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest,
|
|
26237
26246
|
): Request<GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse>;
|
|
26247
|
+
/** 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. */
|
|
26248
|
+
provision(request: {
|
|
26249
|
+
/** V1 error format. */
|
|
26250
|
+
'$.xgafv'?: '1' | '2';
|
|
26251
|
+
/** OAuth access token. */
|
|
26252
|
+
access_token?: string;
|
|
26253
|
+
/** Data format for response. */
|
|
26254
|
+
alt?: 'json' | 'media' | 'proto';
|
|
26255
|
+
/** JSONP */
|
|
26256
|
+
callback?: string;
|
|
26257
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26258
|
+
fields?: string;
|
|
26259
|
+
/** 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. */
|
|
26260
|
+
key?: string;
|
|
26261
|
+
/** Required. Full resource name of a Project, such as `projects/{project_id_or_number}`. */
|
|
26262
|
+
name: string;
|
|
26263
|
+
/** OAuth 2.0 token for the current user. */
|
|
26264
|
+
oauth_token?: string;
|
|
26265
|
+
/** Returns response with indentations and line breaks. */
|
|
26266
|
+
prettyPrint?: boolean;
|
|
26267
|
+
/** 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. */
|
|
26268
|
+
quotaUser?: string;
|
|
26269
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26270
|
+
upload_protocol?: string;
|
|
26271
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26272
|
+
uploadType?: string;
|
|
26273
|
+
/** Request body */
|
|
26274
|
+
resource: GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest;
|
|
26275
|
+
}): Request<GoogleLongrunningOperation>;
|
|
26276
|
+
provision(
|
|
26277
|
+
request: {
|
|
26278
|
+
/** V1 error format. */
|
|
26279
|
+
'$.xgafv'?: '1' | '2';
|
|
26280
|
+
/** OAuth access token. */
|
|
26281
|
+
access_token?: string;
|
|
26282
|
+
/** Data format for response. */
|
|
26283
|
+
alt?: 'json' | 'media' | 'proto';
|
|
26284
|
+
/** JSONP */
|
|
26285
|
+
callback?: string;
|
|
26286
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26287
|
+
fields?: string;
|
|
26288
|
+
/** 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. */
|
|
26289
|
+
key?: string;
|
|
26290
|
+
/** Required. Full resource name of a Project, such as `projects/{project_id_or_number}`. */
|
|
26291
|
+
name: string;
|
|
26292
|
+
/** OAuth 2.0 token for the current user. */
|
|
26293
|
+
oauth_token?: string;
|
|
26294
|
+
/** Returns response with indentations and line breaks. */
|
|
26295
|
+
prettyPrint?: boolean;
|
|
26296
|
+
/** 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. */
|
|
26297
|
+
quotaUser?: string;
|
|
26298
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26299
|
+
upload_protocol?: string;
|
|
26300
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26301
|
+
uploadType?: string;
|
|
26302
|
+
},
|
|
26303
|
+
body: GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest,
|
|
26304
|
+
): Request<GoogleLongrunningOperation>;
|
|
26238
26305
|
/** Queries configurable pricing usage stats for a project. */
|
|
26239
26306
|
queryConfigurablePricingUsageStats(request?: {
|
|
26240
26307
|
/** V1 error format. */
|