@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.3.20260815 → 0.3.20260831

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 (2) hide show
  1. package/index.d.ts +136 -4
  2. 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: 20260815
12
+ // Revision: 20260831
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -781,6 +781,8 @@ declare namespace gapi.client {
781
781
  visualSegments?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment[];
782
782
  }
783
783
  interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference {
784
+ /** Output only. Generic structured chunk metadata from upstream data source connectors. */
785
+ chunkMetadata?: {[P in string]: any};
784
786
  /** Chunk of code snippet from the referenced document. */
785
787
  codeSnippet?: string;
786
788
  /** Referenced text content. */
@@ -1722,7 +1724,7 @@ declare namespace gapi.client {
1722
1724
  disableAnalytics?: boolean;
1723
1725
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
1724
1726
  displayName?: string;
1725
- /** 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` */
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` * `canvas-app-builder` * `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` */
1726
1728
  features?: {
1727
1729
  [P in string]:
1728
1730
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -4183,6 +4185,8 @@ declare namespace gapi.client {
4183
4185
  visualSegments?: GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataVisualSegment[];
4184
4186
  }
4185
4187
  interface GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference {
4188
+ /** Output only. Generic structured chunk metadata from upstream data source connectors. */
4189
+ chunkMetadata?: {[P in string]: any};
4186
4190
  /** Chunk of code snippet from the referenced document. */
4187
4191
  codeSnippet?: string;
4188
4192
  /** Referenced text content. */
@@ -5176,7 +5180,7 @@ declare namespace gapi.client {
5176
5180
  disableAnalytics?: boolean;
5177
5181
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
5178
5182
  displayName?: string;
5179
- /** 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` */
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` * `canvas-app-builder` * `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` */
5180
5184
  features?: {
5181
5185
  [P in string]:
5182
5186
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -7216,6 +7220,8 @@ declare namespace gapi.client {
7216
7220
  tableId?: string;
7217
7221
  }
7218
7222
  interface GoogleCloudDiscoveryengineV1betaStreamAssistRequest {
7223
+ /** Optional. Specification of agents that are used to serve the request. */
7224
+ agentsSpec?: GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec;
7219
7225
  /** Optional. Specification of the generation configuration for the request. */
7220
7226
  generationSpec?: GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec;
7221
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. */
@@ -7227,6 +7233,14 @@ declare namespace gapi.client {
7227
7233
  /** Optional. Information about the user initiating the query. */
7228
7234
  userMetadata?: GoogleCloudDiscoveryengineV1betaAssistUserMetadata;
7229
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
+ }
7230
7244
  interface GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec {
7231
7245
  /** Optional. The Vertex AI model_id used for the generative model. If not set, the default Assistant model will be used. */
7232
7246
  modelId?: string;
@@ -8211,7 +8225,7 @@ declare namespace gapi.client {
8211
8225
  disableAnalytics?: boolean;
8212
8226
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
8213
8227
  displayName?: string;
8214
- /** 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` */
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` * `canvas-app-builder` * `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` */
8215
8229
  features?: {
8216
8230
  [P in string]:
8217
8231
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -13084,6 +13098,35 @@ declare namespace gapi.client {
13084
13098
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13085
13099
  uploadType?: string;
13086
13100
  }): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
13101
+ /** Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. */
13102
+ getIamPolicy(request?: {
13103
+ /** V1 error format. */
13104
+ '$.xgafv'?: '1' | '2';
13105
+ /** OAuth access token. */
13106
+ access_token?: string;
13107
+ /** Data format for response. */
13108
+ alt?: 'json' | 'media' | 'proto';
13109
+ /** JSONP */
13110
+ callback?: string;
13111
+ /** Selector specifying which fields to include in a partial response. */
13112
+ fields?: string;
13113
+ /** 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. */
13114
+ key?: string;
13115
+ /** OAuth 2.0 token for the current user. */
13116
+ oauth_token?: string;
13117
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
13118
+ 'options.requestedPolicyVersion'?: number;
13119
+ /** Returns response with indentations and line breaks. */
13120
+ prettyPrint?: boolean;
13121
+ /** 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. */
13122
+ quotaUser?: string;
13123
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
13124
+ resource: string;
13125
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13126
+ upload_protocol?: string;
13127
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13128
+ uploadType?: string;
13129
+ }): Request<GoogleIamV1Policy>;
13087
13130
  /** Gets the SiteSearchEngine. */
13088
13131
  getSiteSearchEngine(request?: {
13089
13132
  /** V1 error format. */
@@ -13206,6 +13249,36 @@ declare namespace gapi.client {
13206
13249
  },
13207
13250
  body: GoogleCloudDiscoveryengineV1betaDataStore,
13208
13251
  ): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
13252
+ /** Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a DataStore resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to grant any other role will result in a warning in logging. */
13253
+ setIamPolicy(
13254
+ request: {
13255
+ /** V1 error format. */
13256
+ '$.xgafv'?: '1' | '2';
13257
+ /** OAuth access token. */
13258
+ access_token?: string;
13259
+ /** Data format for response. */
13260
+ alt?: 'json' | 'media' | 'proto';
13261
+ /** JSONP */
13262
+ callback?: string;
13263
+ /** Selector specifying which fields to include in a partial response. */
13264
+ fields?: string;
13265
+ /** 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. */
13266
+ key?: string;
13267
+ /** OAuth 2.0 token for the current user. */
13268
+ oauth_token?: string;
13269
+ /** Returns response with indentations and line breaks. */
13270
+ prettyPrint?: boolean;
13271
+ /** 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. */
13272
+ quotaUser?: string;
13273
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
13274
+ resource: string;
13275
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13276
+ upload_protocol?: string;
13277
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13278
+ uploadType?: string;
13279
+ },
13280
+ body: GoogleIamV1SetIamPolicyRequest,
13281
+ ): Request<GoogleIamV1Policy>;
13209
13282
  /** Trains a custom model. */
13210
13283
  trainCustomModel(request: {
13211
13284
  /** V1 error format. */
@@ -18808,6 +18881,35 @@ declare namespace gapi.client {
18808
18881
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18809
18882
  uploadType?: string;
18810
18883
  }): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
18884
+ /** Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. */
18885
+ getIamPolicy(request?: {
18886
+ /** V1 error format. */
18887
+ '$.xgafv'?: '1' | '2';
18888
+ /** OAuth access token. */
18889
+ access_token?: string;
18890
+ /** Data format for response. */
18891
+ alt?: 'json' | 'media' | 'proto';
18892
+ /** JSONP */
18893
+ callback?: string;
18894
+ /** Selector specifying which fields to include in a partial response. */
18895
+ fields?: string;
18896
+ /** 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. */
18897
+ key?: string;
18898
+ /** OAuth 2.0 token for the current user. */
18899
+ oauth_token?: string;
18900
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
18901
+ 'options.requestedPolicyVersion'?: number;
18902
+ /** Returns response with indentations and line breaks. */
18903
+ prettyPrint?: boolean;
18904
+ /** 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. */
18905
+ quotaUser?: string;
18906
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
18907
+ resource: string;
18908
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18909
+ upload_protocol?: string;
18910
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18911
+ uploadType?: string;
18912
+ }): Request<GoogleIamV1Policy>;
18811
18913
  /** Gets the SiteSearchEngine. */
18812
18914
  getSiteSearchEngine(request?: {
18813
18915
  /** V1 error format. */
@@ -18930,6 +19032,36 @@ declare namespace gapi.client {
18930
19032
  },
18931
19033
  body: GoogleCloudDiscoveryengineV1betaDataStore,
18932
19034
  ): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
19035
+ /** Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a DataStore resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to grant any other role will result in a warning in logging. */
19036
+ setIamPolicy(
19037
+ request: {
19038
+ /** V1 error format. */
19039
+ '$.xgafv'?: '1' | '2';
19040
+ /** OAuth access token. */
19041
+ access_token?: string;
19042
+ /** Data format for response. */
19043
+ alt?: 'json' | 'media' | 'proto';
19044
+ /** JSONP */
19045
+ callback?: string;
19046
+ /** Selector specifying which fields to include in a partial response. */
19047
+ fields?: string;
19048
+ /** 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. */
19049
+ key?: string;
19050
+ /** OAuth 2.0 token for the current user. */
19051
+ oauth_token?: string;
19052
+ /** Returns response with indentations and line breaks. */
19053
+ prettyPrint?: boolean;
19054
+ /** 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. */
19055
+ quotaUser?: string;
19056
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
19057
+ resource: string;
19058
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19059
+ upload_protocol?: string;
19060
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19061
+ uploadType?: string;
19062
+ },
19063
+ body: GoogleIamV1SetIamPolicyRequest,
19064
+ ): Request<GoogleIamV1Policy>;
18933
19065
  branches: BranchesResource;
18934
19066
  completionConfig: CompletionConfigResource;
18935
19067
  completionSuggestions: CompletionSuggestionsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.3.20260815",
3
+ "version": "0.3.20260831",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",