@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.3.20260823 → 0.3.20260908

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 +196 -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: 20260823
12
+ // Revision: 20260908
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -387,6 +387,9 @@ declare namespace gapi.client {
387
387
  interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig {
388
388
  /** Required. Model name (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). See `model_mixture` for the list of allowed models. */
389
389
  name?: string;
390
+ /** Optional. Sent as Vertex `ThinkingConfig.thinking_level`. */
391
+ thinkingLevel?:
392
+ 'THINKING_LEVEL_UNSPECIFIED' | 'MINIMAL' | 'LOW' | 'MEDIUM' | 'HIGH';
390
393
  /** Optional. Relative weight for this model in the mixture. Must be a finite, strictly positive value. Weights across all entries are normalized server-side, so they need not sum to 1.0. Defaults to 1.0 when unset, which is convenient when configuring a single model or an even mixture. Some Pro-tier models are capped at most 50% of the total weight; requests violating that cap are rejected with INVALID_ARGUMENT. */
391
394
  weight?: number;
392
395
  }
@@ -1724,7 +1727,7 @@ declare namespace gapi.client {
1724
1727
  disableAnalytics?: boolean;
1725
1728
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
1726
1729
  displayName?: string;
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` */
1730
+ /** 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` */
1728
1731
  features?: {
1729
1732
  [P in string]:
1730
1733
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -1763,6 +1766,8 @@ declare namespace gapi.client {
1763
1766
  recommendationMetadata?: GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata;
1764
1767
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
1765
1768
  searchEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig;
1769
+ /** Optional. Non-empty default. Session config for the engine. */
1770
+ sessionConfig?: GoogleCloudDiscoveryengineV1alphaSessionConfig;
1766
1771
  /** Additional config specs for a `similar-items` engine. */
1767
1772
  similarDocumentsConfig?: any;
1768
1773
  /** Required. The solutions of the engine. */
@@ -3020,6 +3025,19 @@ declare namespace gapi.client {
3020
3025
  /** A unique identifier for tracking users. */
3021
3026
  userPseudoId?: string;
3022
3027
  }
3028
+ interface GoogleCloudDiscoveryengineV1alphaSessionConfig {
3029
+ /** Optional. Session management policy that defines who will manage the session. */
3030
+ sessionManagementPolicy?:
3031
+ | 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
3032
+ | 'NOT_MANAGED'
3033
+ | 'VERTEX_AI_MANAGED';
3034
+ /** Optional. The TTL for the session. If unset, the default value is 60 days. */
3035
+ sessionTtl?: GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl;
3036
+ }
3037
+ interface GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl {
3038
+ /** Defines the number of days for session TTL. */
3039
+ days?: number;
3040
+ }
3023
3041
  interface GoogleCloudDiscoveryengineV1alphaSessionTurn {
3024
3042
  /** Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn. */
3025
3043
  answer?: string;
@@ -3295,6 +3313,8 @@ declare namespace gapi.client {
3295
3313
  interface GoogleCloudDiscoveryengineV1AssistantCustomerPolicy {
3296
3314
  /** Optional. List of banned phrases. */
3297
3315
  bannedPhrases?: GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase[];
3316
+ /** Optional. Data protection policy to be used for sanitizing file uploads. */
3317
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
3298
3318
  /** Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses. */
3299
3319
  modelArmorConfig?: GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig;
3300
3320
  }
@@ -4132,6 +4152,8 @@ declare namespace gapi.client {
4132
4152
  interface GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy {
4133
4153
  /** Optional. List of banned phrases. */
4134
4154
  bannedPhrases?: GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase[];
4155
+ /** Optional. Data protection policy to be used for sanitizing file uploads. */
4156
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaDataProtectionPolicy;
4135
4157
  /** Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses. */
4136
4158
  modelArmorConfig?: GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig;
4137
4159
  }
@@ -4811,6 +4833,14 @@ declare namespace gapi.client {
4811
4833
  /** Timestamp the model training was initiated. */
4812
4834
  trainingStartTime?: string;
4813
4835
  }
4836
+ interface GoogleCloudDiscoveryengineV1betaDataProtectionPolicy {
4837
+ /** Optional. Specifies the sensitive data protection policy for the connector source. */
4838
+ sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy;
4839
+ }
4840
+ interface GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy {
4841
+ /** Optional. Specifies the resource name of the Sensitive Data Protection content policy. */
4842
+ policy?: string;
4843
+ }
4814
4844
  interface GoogleCloudDiscoveryengineV1betaDataStore {
4815
4845
  /** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
4816
4846
  aclEnabled?: boolean;
@@ -4836,6 +4866,8 @@ declare namespace gapi.client {
4836
4866
  | 'GOOGLE_WORKSPACE';
4837
4867
  /** Output only. Timestamp the DataStore was created at. */
4838
4868
  createTime?: string;
4869
+ /** Optional. Specifies the data protection policy for the data store. */
4870
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaDataProtectionPolicy;
4839
4871
  /** Output only. The id of the default Schema associated to this data store. */
4840
4872
  defaultSchemaId?: string;
4841
4873
  /** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
@@ -5180,7 +5212,7 @@ declare namespace gapi.client {
5180
5212
  disableAnalytics?: boolean;
5181
5213
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
5182
5214
  displayName?: string;
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` */
5215
+ /** 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` */
5184
5216
  features?: {
5185
5217
  [P in string]:
5186
5218
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -5217,6 +5249,8 @@ declare namespace gapi.client {
5217
5249
  procurementContactEmails?: string[];
5218
5250
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
5219
5251
  searchEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig;
5252
+ /** Optional. Non-empty default. Session config for the engine. */
5253
+ sessionConfig?: GoogleCloudDiscoveryengineV1betaSessionConfig;
5220
5254
  /** Required. The solutions of the engine. */
5221
5255
  solutionType?:
5222
5256
  | 'SOLUTION_TYPE_UNSPECIFIED'
@@ -7145,6 +7179,19 @@ declare namespace gapi.client {
7145
7179
  /** A unique identifier for tracking users. */
7146
7180
  userPseudoId?: string;
7147
7181
  }
7182
+ interface GoogleCloudDiscoveryengineV1betaSessionConfig {
7183
+ /** Optional. Session management policy that defines who will manage the session. */
7184
+ sessionManagementPolicy?:
7185
+ | 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
7186
+ | 'NOT_MANAGED'
7187
+ | 'VERTEX_AI_MANAGED';
7188
+ /** Optional. The TTL for the session. If unset, the default value is 60 days. */
7189
+ sessionTtl?: GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl;
7190
+ }
7191
+ interface GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl {
7192
+ /** Defines the number of days for session TTL. */
7193
+ days?: number;
7194
+ }
7148
7195
  interface GoogleCloudDiscoveryengineV1betaSessionTurn {
7149
7196
  /** Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn. */
7150
7197
  answer?: string;
@@ -7771,6 +7818,8 @@ declare namespace gapi.client {
7771
7818
  createEuaSaas?: boolean;
7772
7819
  /** Output only. Timestamp the DataConnector was created at. */
7773
7820
  createTime?: string;
7821
+ /** Optional. Specifies the data protection policy for the connector. */
7822
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
7774
7823
  /** 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). */
7775
7824
  dataSource?: string;
7776
7825
  /** Optional. Any target destinations used to connect to third-party services. */
@@ -7920,6 +7969,14 @@ declare namespace gapi.client {
7920
7969
  /** Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used. This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
7921
7970
  startingSchema?: GoogleCloudDiscoveryengineV1Schema;
7922
7971
  }
7972
+ interface GoogleCloudDiscoveryengineV1DataProtectionPolicy {
7973
+ /** Optional. Specifies the sensitive data protection policy for the connector source. */
7974
+ sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy;
7975
+ }
7976
+ interface GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy {
7977
+ /** Optional. Specifies the resource name of the Sensitive Data Protection content policy. */
7978
+ policy?: string;
7979
+ }
7923
7980
  interface GoogleCloudDiscoveryengineV1DataStore {
7924
7981
  /** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
7925
7982
  aclEnabled?: boolean;
@@ -7945,6 +8002,8 @@ declare namespace gapi.client {
7945
8002
  | 'GOOGLE_WORKSPACE';
7946
8003
  /** Output only. Timestamp the DataStore was created at. */
7947
8004
  createTime?: string;
8005
+ /** Optional. Specifies the data protection policy for the data store. */
8006
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
7948
8007
  /** Output only. The id of the default Schema associated to this data store. */
7949
8008
  defaultSchemaId?: string;
7950
8009
  /** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
@@ -8225,7 +8284,7 @@ declare namespace gapi.client {
8225
8284
  disableAnalytics?: boolean;
8226
8285
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
8227
8286
  displayName?: string;
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` */
8287
+ /** 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` */
8229
8288
  features?: {
8230
8289
  [P in string]:
8231
8290
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -8262,6 +8321,8 @@ declare namespace gapi.client {
8262
8321
  procurementContactEmails?: string[];
8263
8322
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
8264
8323
  searchEngineConfig?: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig;
8324
+ /** Optional. Non-empty default. Session config for the engine. */
8325
+ sessionConfig?: GoogleCloudDiscoveryengineV1SessionConfig;
8265
8326
  /** Required. The solutions of the engine. */
8266
8327
  solutionType?:
8267
8328
  | 'SOLUTION_TYPE_UNSPECIFIED'
@@ -8853,6 +8914,19 @@ declare namespace gapi.client {
8853
8914
  /** Specifies the event type used for demoting recommendation result. Currently supported values: * `view-item`: Item viewed. * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. If unset, watch history demotion will not be applied. Content freshness demotion will still be applied. */
8854
8915
  demotionEventType?: string;
8855
8916
  }
8917
+ interface GoogleCloudDiscoveryengineV1SessionConfig {
8918
+ /** Optional. Session management policy that defines who will manage the session. */
8919
+ sessionManagementPolicy?:
8920
+ | 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
8921
+ | 'NOT_MANAGED'
8922
+ | 'VERTEX_AI_MANAGED';
8923
+ /** Optional. The TTL for the session. If unset, the default value is 60 days. */
8924
+ sessionTtl?: GoogleCloudDiscoveryengineV1SessionConfigSessionTtl;
8925
+ }
8926
+ interface GoogleCloudDiscoveryengineV1SessionConfigSessionTtl {
8927
+ /** Defines the number of days for session TTL. */
8928
+ days?: number;
8929
+ }
8856
8930
  interface GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata {}
8857
8931
  interface GoogleCloudDiscoveryengineV1SingleRegionKey {
8858
8932
  /** Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
@@ -13098,6 +13172,35 @@ declare namespace gapi.client {
13098
13172
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13099
13173
  uploadType?: string;
13100
13174
  }): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
13175
+ /** 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. */
13176
+ getIamPolicy(request?: {
13177
+ /** V1 error format. */
13178
+ '$.xgafv'?: '1' | '2';
13179
+ /** OAuth access token. */
13180
+ access_token?: string;
13181
+ /** Data format for response. */
13182
+ alt?: 'json' | 'media' | 'proto';
13183
+ /** JSONP */
13184
+ callback?: string;
13185
+ /** Selector specifying which fields to include in a partial response. */
13186
+ fields?: string;
13187
+ /** 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. */
13188
+ key?: string;
13189
+ /** OAuth 2.0 token for the current user. */
13190
+ oauth_token?: string;
13191
+ /** 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). */
13192
+ 'options.requestedPolicyVersion'?: number;
13193
+ /** Returns response with indentations and line breaks. */
13194
+ prettyPrint?: boolean;
13195
+ /** 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. */
13196
+ quotaUser?: string;
13197
+ /** 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. */
13198
+ resource: string;
13199
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13200
+ upload_protocol?: string;
13201
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13202
+ uploadType?: string;
13203
+ }): Request<GoogleIamV1Policy>;
13101
13204
  /** Gets the SiteSearchEngine. */
13102
13205
  getSiteSearchEngine(request?: {
13103
13206
  /** V1 error format. */
@@ -13220,6 +13323,36 @@ declare namespace gapi.client {
13220
13323
  },
13221
13324
  body: GoogleCloudDiscoveryengineV1betaDataStore,
13222
13325
  ): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
13326
+ /** 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. */
13327
+ setIamPolicy(
13328
+ request: {
13329
+ /** V1 error format. */
13330
+ '$.xgafv'?: '1' | '2';
13331
+ /** OAuth access token. */
13332
+ access_token?: string;
13333
+ /** Data format for response. */
13334
+ alt?: 'json' | 'media' | 'proto';
13335
+ /** JSONP */
13336
+ callback?: string;
13337
+ /** Selector specifying which fields to include in a partial response. */
13338
+ fields?: string;
13339
+ /** 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. */
13340
+ key?: string;
13341
+ /** OAuth 2.0 token for the current user. */
13342
+ oauth_token?: string;
13343
+ /** Returns response with indentations and line breaks. */
13344
+ prettyPrint?: boolean;
13345
+ /** 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. */
13346
+ quotaUser?: string;
13347
+ /** 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. */
13348
+ resource: string;
13349
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13350
+ upload_protocol?: string;
13351
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13352
+ uploadType?: string;
13353
+ },
13354
+ body: GoogleIamV1SetIamPolicyRequest,
13355
+ ): Request<GoogleIamV1Policy>;
13223
13356
  /** Trains a custom model. */
13224
13357
  trainCustomModel(request: {
13225
13358
  /** V1 error format. */
@@ -18822,6 +18955,35 @@ declare namespace gapi.client {
18822
18955
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18823
18956
  uploadType?: string;
18824
18957
  }): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
18958
+ /** 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. */
18959
+ getIamPolicy(request?: {
18960
+ /** V1 error format. */
18961
+ '$.xgafv'?: '1' | '2';
18962
+ /** OAuth access token. */
18963
+ access_token?: string;
18964
+ /** Data format for response. */
18965
+ alt?: 'json' | 'media' | 'proto';
18966
+ /** JSONP */
18967
+ callback?: string;
18968
+ /** Selector specifying which fields to include in a partial response. */
18969
+ fields?: string;
18970
+ /** 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. */
18971
+ key?: string;
18972
+ /** OAuth 2.0 token for the current user. */
18973
+ oauth_token?: string;
18974
+ /** 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). */
18975
+ 'options.requestedPolicyVersion'?: number;
18976
+ /** Returns response with indentations and line breaks. */
18977
+ prettyPrint?: boolean;
18978
+ /** 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. */
18979
+ quotaUser?: string;
18980
+ /** 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. */
18981
+ resource: string;
18982
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18983
+ upload_protocol?: string;
18984
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18985
+ uploadType?: string;
18986
+ }): Request<GoogleIamV1Policy>;
18825
18987
  /** Gets the SiteSearchEngine. */
18826
18988
  getSiteSearchEngine(request?: {
18827
18989
  /** V1 error format. */
@@ -18944,6 +19106,36 @@ declare namespace gapi.client {
18944
19106
  },
18945
19107
  body: GoogleCloudDiscoveryengineV1betaDataStore,
18946
19108
  ): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
19109
+ /** 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. */
19110
+ setIamPolicy(
19111
+ request: {
19112
+ /** V1 error format. */
19113
+ '$.xgafv'?: '1' | '2';
19114
+ /** OAuth access token. */
19115
+ access_token?: string;
19116
+ /** Data format for response. */
19117
+ alt?: 'json' | 'media' | 'proto';
19118
+ /** JSONP */
19119
+ callback?: string;
19120
+ /** Selector specifying which fields to include in a partial response. */
19121
+ fields?: string;
19122
+ /** 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. */
19123
+ key?: string;
19124
+ /** OAuth 2.0 token for the current user. */
19125
+ oauth_token?: string;
19126
+ /** Returns response with indentations and line breaks. */
19127
+ prettyPrint?: boolean;
19128
+ /** 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. */
19129
+ quotaUser?: string;
19130
+ /** 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. */
19131
+ resource: string;
19132
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19133
+ upload_protocol?: string;
19134
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19135
+ uploadType?: string;
19136
+ },
19137
+ body: GoogleIamV1SetIamPolicyRequest,
19138
+ ): Request<GoogleIamV1Policy>;
18947
19139
  branches: BranchesResource;
18948
19140
  completionConfig: CompletionConfigResource;
18949
19141
  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.20260823",
3
+ "version": "0.3.20260908",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",