@maxim_mazurok/gapi.client.discoveryengine-v1beta 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.
Files changed (3) hide show
  1. package/index.d.ts +25 -5
  2. package/package.json +1 -1
  3. 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=v1beta
12
- // Revision: 20260809
12
+ // Revision: 20260823
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -694,6 +694,9 @@ declare namespace gapi.client {
694
694
  policyResults?: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult[];
695
695
  /** Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK. */
696
696
  verdict?: 'UNSPECIFIED' | 'ALLOW' | 'BLOCK';
697
+ /** Output only. The source of the violation. */
698
+ violationSource?:
699
+ 'VIOLATION_SOURCE_UNSPECIFIED' | 'SYSTEM' | 'PROMPT' | 'ATTACHMENT';
697
700
  }
698
701
  interface GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult {
699
702
  /** The banned phrases that were found in the query or the answer. */
@@ -778,6 +781,8 @@ declare namespace gapi.client {
778
781
  visualSegments?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment[];
779
782
  }
780
783
  interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference {
784
+ /** Output only. Generic structured chunk metadata from upstream data source connectors. */
785
+ chunkMetadata?: {[P in string]: any};
781
786
  /** Chunk of code snippet from the referenced document. */
782
787
  codeSnippet?: string;
783
788
  /** Referenced text content. */
@@ -1719,7 +1724,7 @@ declare namespace gapi.client {
1719
1724
  disableAnalytics?: boolean;
1720
1725
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
1721
1726
  displayName?: string;
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` */
1727
+ /** 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` */
1723
1728
  features?: {
1724
1729
  [P in string]:
1725
1730
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -4028,6 +4033,9 @@ declare namespace gapi.client {
4028
4033
  policyResults?: GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult[];
4029
4034
  /** Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK. */
4030
4035
  verdict?: 'UNSPECIFIED' | 'ALLOW' | 'BLOCK';
4036
+ /** Output only. The source of the violation. */
4037
+ violationSource?:
4038
+ 'VIOLATION_SOURCE_UNSPECIFIED' | 'SYSTEM' | 'PROMPT' | 'ATTACHMENT';
4031
4039
  }
4032
4040
  interface GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult {
4033
4041
  /** The banned phrases that were found in the query or the answer. */
@@ -4177,6 +4185,8 @@ declare namespace gapi.client {
4177
4185
  visualSegments?: GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataVisualSegment[];
4178
4186
  }
4179
4187
  interface GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference {
4188
+ /** Output only. Generic structured chunk metadata from upstream data source connectors. */
4189
+ chunkMetadata?: {[P in string]: any};
4180
4190
  /** Chunk of code snippet from the referenced document. */
4181
4191
  codeSnippet?: string;
4182
4192
  /** Referenced text content. */
@@ -5170,7 +5180,7 @@ declare namespace gapi.client {
5170
5180
  disableAnalytics?: boolean;
5171
5181
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
5172
5182
  displayName?: string;
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` */
5183
+ /** 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` */
5174
5184
  features?: {
5175
5185
  [P in string]:
5176
5186
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -6750,7 +6760,7 @@ declare namespace gapi.client {
6750
6760
  mode?: 'MODE_UNSPECIFIED' | 'SUGGESTION_ONLY' | 'AUTO';
6751
6761
  }
6752
6762
  interface GoogleCloudDiscoveryengineV1betaSearchResponse {
6753
- /** Controls applied as part of the Control service. */
6763
+ /** Optional. Controls applied as part of the Control service. */
6754
6764
  appliedControls?: string[];
6755
6765
  /** 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. */
6756
6766
  attributionToken?: string;
@@ -7210,6 +7220,8 @@ declare namespace gapi.client {
7210
7220
  tableId?: string;
7211
7221
  }
7212
7222
  interface GoogleCloudDiscoveryengineV1betaStreamAssistRequest {
7223
+ /** Optional. Specification of agents that are used to serve the request. */
7224
+ agentsSpec?: GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec;
7213
7225
  /** Optional. Specification of the generation configuration for the request. */
7214
7226
  generationSpec?: GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec;
7215
7227
  /** 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. */
@@ -7221,6 +7233,14 @@ declare namespace gapi.client {
7221
7233
  /** Optional. Information about the user initiating the query. */
7222
7234
  userMetadata?: GoogleCloudDiscoveryengineV1betaAssistUserMetadata;
7223
7235
  }
7236
+ interface GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec {
7237
+ /** Optional. Specification of agents that are used to serve the request. */
7238
+ agentSpecs?: GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec[];
7239
+ }
7240
+ interface GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec {
7241
+ /** 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. */
7242
+ agentId?: string;
7243
+ }
7224
7244
  interface GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec {
7225
7245
  /** Optional. The Vertex AI model_id used for the generative model. If not set, the default Assistant model will be used. */
7226
7246
  modelId?: string;
@@ -8205,7 +8225,7 @@ declare namespace gapi.client {
8205
8225
  disableAnalytics?: boolean;
8206
8226
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
8207
8227
  displayName?: string;
8208
- /** 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` */
8228
+ /** 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` */
8209
8229
  features?: {
8210
8230
  [P in string]:
8211
8231
  | 'FEATURE_STATE_UNSPECIFIED'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.3.20260809",
3
+ "version": "0.3.20260823",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",
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.