@maxim_mazurok/gapi.client.discoveryengine-v1 0.3.20260809 → 0.3.20260823
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 +30 -6
- package/package.json +1 -1
- package/readme.md +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: 20260823
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1166,6 +1166,9 @@ declare namespace gapi.client {
|
|
|
1166
1166
|
policyResults?: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult[];
|
|
1167
1167
|
/** Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK. */
|
|
1168
1168
|
verdict?: 'UNSPECIFIED' | 'ALLOW' | 'BLOCK';
|
|
1169
|
+
/** Output only. The source of the violation. */
|
|
1170
|
+
violationSource?:
|
|
1171
|
+
'VIOLATION_SOURCE_UNSPECIFIED' | 'SYSTEM' | 'PROMPT' | 'ATTACHMENT';
|
|
1169
1172
|
}
|
|
1170
1173
|
interface GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult {
|
|
1171
1174
|
/** The banned phrases that were found in the query or the answer. */
|
|
@@ -1250,6 +1253,8 @@ declare namespace gapi.client {
|
|
|
1250
1253
|
visualSegments?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment[];
|
|
1251
1254
|
}
|
|
1252
1255
|
interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference {
|
|
1256
|
+
/** Output only. Generic structured chunk metadata from upstream data source connectors. */
|
|
1257
|
+
chunkMetadata?: {[P in string]: any};
|
|
1253
1258
|
/** Chunk of code snippet from the referenced document. */
|
|
1254
1259
|
codeSnippet?: string;
|
|
1255
1260
|
/** Referenced text content. */
|
|
@@ -2191,7 +2196,7 @@ declare namespace gapi.client {
|
|
|
2191
2196
|
disableAnalytics?: boolean;
|
|
2192
2197
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
2193
2198
|
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` * `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` */
|
|
2199
|
+
/** 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` */
|
|
2195
2200
|
features?: {
|
|
2196
2201
|
[P in string]:
|
|
2197
2202
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -4178,6 +4183,9 @@ declare namespace gapi.client {
|
|
|
4178
4183
|
policyResults?: GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult[];
|
|
4179
4184
|
/** Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK. */
|
|
4180
4185
|
verdict?: 'UNSPECIFIED' | 'ALLOW' | 'BLOCK';
|
|
4186
|
+
/** Output only. The source of the violation. */
|
|
4187
|
+
violationSource?:
|
|
4188
|
+
'VIOLATION_SOURCE_UNSPECIFIED' | 'SYSTEM' | 'PROMPT' | 'ATTACHMENT';
|
|
4181
4189
|
}
|
|
4182
4190
|
interface GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult {
|
|
4183
4191
|
/** The banned phrases that were found in the query or the answer. */
|
|
@@ -4327,6 +4335,8 @@ declare namespace gapi.client {
|
|
|
4327
4335
|
visualSegments?: GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment[];
|
|
4328
4336
|
}
|
|
4329
4337
|
interface GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference {
|
|
4338
|
+
/** Output only. Generic structured chunk metadata from upstream data source connectors. */
|
|
4339
|
+
chunkMetadata?: {[P in string]: any};
|
|
4330
4340
|
/** Chunk of code snippet from the referenced document. */
|
|
4331
4341
|
codeSnippet?: string;
|
|
4332
4342
|
/** Referenced text content. */
|
|
@@ -4958,7 +4968,7 @@ declare namespace gapi.client {
|
|
|
4958
4968
|
disableAnalytics?: boolean;
|
|
4959
4969
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
4960
4970
|
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` * `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` */
|
|
4971
|
+
/** 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` */
|
|
4962
4972
|
features?: {
|
|
4963
4973
|
[P in string]:
|
|
4964
4974
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -7180,7 +7190,7 @@ declare namespace gapi.client {
|
|
|
7180
7190
|
disableAnalytics?: boolean;
|
|
7181
7191
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
7182
7192
|
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` * `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` */
|
|
7193
|
+
/** 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` */
|
|
7184
7194
|
features?: {
|
|
7185
7195
|
[P in string]:
|
|
7186
7196
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -8516,6 +8526,8 @@ declare namespace gapi.client {
|
|
|
8516
8526
|
mode?: 'MODE_UNSPECIFIED' | 'SUGGESTION_ONLY' | 'AUTO';
|
|
8517
8527
|
}
|
|
8518
8528
|
interface GoogleCloudDiscoveryengineV1SearchResponse {
|
|
8529
|
+
/** Optional. Controls applied as part of the Control service. */
|
|
8530
|
+
appliedControls?: string[];
|
|
8519
8531
|
/** 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. */
|
|
8520
8532
|
attributionToken?: string;
|
|
8521
8533
|
/** Contains the spell corrected query, if found. If the spell correction type is AUTOMATIC, then the search results are based on corrected_query. Otherwise the original query is used for search. */
|
|
@@ -8905,6 +8917,8 @@ declare namespace gapi.client {
|
|
|
8905
8917
|
tableId?: string;
|
|
8906
8918
|
}
|
|
8907
8919
|
interface GoogleCloudDiscoveryengineV1StreamAssistRequest {
|
|
8920
|
+
/** Optional. Specification of agents that are used to serve the request. */
|
|
8921
|
+
agentsSpec?: GoogleCloudDiscoveryengineV1StreamAssistRequestAgentsSpec;
|
|
8908
8922
|
/** Optional. Specification of the generation configuration for the request. */
|
|
8909
8923
|
generationSpec?: GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec;
|
|
8910
8924
|
/** Optional. Current user query. Empty query is only supported if `file_ids` are provided. In this case, the answer will be generated based on those context files. */
|
|
@@ -8916,6 +8930,14 @@ declare namespace gapi.client {
|
|
|
8916
8930
|
/** Optional. Information about the user initiating the query. */
|
|
8917
8931
|
userMetadata?: GoogleCloudDiscoveryengineV1AssistUserMetadata;
|
|
8918
8932
|
}
|
|
8933
|
+
interface GoogleCloudDiscoveryengineV1StreamAssistRequestAgentsSpec {
|
|
8934
|
+
/** Optional. Specification of agents that are used to serve the request. */
|
|
8935
|
+
agentSpecs?: GoogleCloudDiscoveryengineV1StreamAssistRequestAgentsSpecAgentSpec[];
|
|
8936
|
+
}
|
|
8937
|
+
interface GoogleCloudDiscoveryengineV1StreamAssistRequestAgentsSpecAgentSpec {
|
|
8938
|
+
/** Required. ID to identify the agent resource serving the request. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters. */
|
|
8939
|
+
agentId?: string;
|
|
8940
|
+
}
|
|
8919
8941
|
interface GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec {
|
|
8920
8942
|
/** Optional. The Vertex AI model_id used for the generative model. If not set, the default Assistant model will be used. */
|
|
8921
8943
|
modelId?: string;
|
|
@@ -9345,7 +9367,7 @@ declare namespace gapi.client {
|
|
|
9345
9367
|
displayName?: string;
|
|
9346
9368
|
/** 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. */
|
|
9347
9369
|
id?: string;
|
|
9348
|
-
/** 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.
|
|
9370
|
+
/** 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. */
|
|
9349
9371
|
isFirstParty?: boolean;
|
|
9350
9372
|
/** 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. */
|
|
9351
9373
|
metadata?: GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata;
|
|
@@ -9467,7 +9489,7 @@ declare namespace gapi.client {
|
|
|
9467
9489
|
enableSearchAsYouType?: boolean;
|
|
9468
9490
|
/** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
|
|
9469
9491
|
enableVisualContentSummary?: boolean;
|
|
9470
|
-
/** 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` */
|
|
9492
|
+
/** 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` */
|
|
9471
9493
|
features?: {
|
|
9472
9494
|
[P in string]:
|
|
9473
9495
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -9546,6 +9568,8 @@ declare namespace gapi.client {
|
|
|
9546
9568
|
label?: string;
|
|
9547
9569
|
/** 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. */
|
|
9548
9570
|
modelId?: string;
|
|
9571
|
+
/** Output only. Whether this model should be promoted in the GE chat homepage banner. */
|
|
9572
|
+
promoted?: boolean;
|
|
9549
9573
|
}
|
|
9550
9574
|
interface GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView {
|
|
9551
9575
|
/** Output only. Whether the admin can toggle this model's enabled/disabled state via `UiSettings.model_configs`. Derived from `MODEL_TAG_ADMIN_OVERRIDABLE`. When false, the model is "forced" and its state is governed by `enabled_by_default`. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -71,7 +71,7 @@ var client_id = '',
|
|
|
71
71
|
// See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
|
72
72
|
'https://www.googleapis.com/auth/cloud-platform',
|
|
73
73
|
|
|
74
|
-
// View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf.
|
|
74
|
+
// View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf. Also view the artifacts you access through NotebookLM Enterprise.
|
|
75
75
|
'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
|
|
76
76
|
|
|
77
77
|
// View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data.
|