@maxim_mazurok/gapi.client.discoveryengine-v1 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 +297 -11
  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=v1
12
- // Revision: 20260823
12
+ // Revision: 20260908
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -859,6 +859,9 @@ declare namespace gapi.client {
859
859
  interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig {
860
860
  /** Required. Model name (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). See `model_mixture` for the list of allowed models. */
861
861
  name?: string;
862
+ /** Optional. Sent as Vertex `ThinkingConfig.thinking_level`. */
863
+ thinkingLevel?:
864
+ 'THINKING_LEVEL_UNSPECIFIED' | 'MINIMAL' | 'LOW' | 'MEDIUM' | 'HIGH';
862
865
  /** 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. */
863
866
  weight?: number;
864
867
  }
@@ -2196,7 +2199,7 @@ declare namespace gapi.client {
2196
2199
  disableAnalytics?: boolean;
2197
2200
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
2198
2201
  displayName?: string;
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` */
2202
+ /** 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` */
2200
2203
  features?: {
2201
2204
  [P in string]:
2202
2205
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -2235,6 +2238,8 @@ declare namespace gapi.client {
2235
2238
  recommendationMetadata?: GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata;
2236
2239
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
2237
2240
  searchEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig;
2241
+ /** Optional. Non-empty default. Session config for the engine. */
2242
+ sessionConfig?: GoogleCloudDiscoveryengineV1alphaSessionConfig;
2238
2243
  /** Additional config specs for a `similar-items` engine. */
2239
2244
  similarDocumentsConfig?: any;
2240
2245
  /** Required. The solutions of the engine. */
@@ -3492,6 +3497,19 @@ declare namespace gapi.client {
3492
3497
  /** A unique identifier for tracking users. */
3493
3498
  userPseudoId?: string;
3494
3499
  }
3500
+ interface GoogleCloudDiscoveryengineV1alphaSessionConfig {
3501
+ /** Optional. Session management policy that defines who will manage the session. */
3502
+ sessionManagementPolicy?:
3503
+ | 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
3504
+ | 'NOT_MANAGED'
3505
+ | 'VERTEX_AI_MANAGED';
3506
+ /** Optional. The TTL for the session. If unset, the default value is 60 days. */
3507
+ sessionTtl?: GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl;
3508
+ }
3509
+ interface GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl {
3510
+ /** Defines the number of days for session TTL. */
3511
+ days?: number;
3512
+ }
3495
3513
  interface GoogleCloudDiscoveryengineV1alphaSessionTurn {
3496
3514
  /** Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn. */
3497
3515
  answer?: string;
@@ -4282,6 +4300,8 @@ declare namespace gapi.client {
4282
4300
  interface GoogleCloudDiscoveryengineV1AssistantCustomerPolicy {
4283
4301
  /** Optional. List of banned phrases. */
4284
4302
  bannedPhrases?: GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase[];
4303
+ /** Optional. Data protection policy to be used for sanitizing file uploads. */
4304
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
4285
4305
  /** Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses. */
4286
4306
  modelArmorConfig?: GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig;
4287
4307
  }
@@ -4689,6 +4709,14 @@ declare namespace gapi.client {
4689
4709
  /** Operation last update time. If the operation is done, this is also the finish time. */
4690
4710
  updateTime?: string;
4691
4711
  }
4712
+ interface GoogleCloudDiscoveryengineV1betaDataProtectionPolicy {
4713
+ /** Optional. Specifies the sensitive data protection policy for the connector source. */
4714
+ sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy;
4715
+ }
4716
+ interface GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy {
4717
+ /** Optional. Specifies the resource name of the Sensitive Data Protection content policy. */
4718
+ policy?: string;
4719
+ }
4692
4720
  interface GoogleCloudDiscoveryengineV1betaDataStore {
4693
4721
  /** 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. */
4694
4722
  aclEnabled?: boolean;
@@ -4714,6 +4742,8 @@ declare namespace gapi.client {
4714
4742
  | 'GOOGLE_WORKSPACE';
4715
4743
  /** Output only. Timestamp the DataStore was created at. */
4716
4744
  createTime?: string;
4745
+ /** Optional. Specifies the data protection policy for the data store. */
4746
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaDataProtectionPolicy;
4717
4747
  /** Output only. The id of the default Schema associated to this data store. */
4718
4748
  defaultSchemaId?: string;
4719
4749
  /** 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. */
@@ -4968,7 +4998,7 @@ declare namespace gapi.client {
4968
4998
  disableAnalytics?: boolean;
4969
4999
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
4970
5000
  displayName?: string;
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` */
5001
+ /** 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` */
4972
5002
  features?: {
4973
5003
  [P in string]:
4974
5004
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -5005,6 +5035,8 @@ declare namespace gapi.client {
5005
5035
  procurementContactEmails?: string[];
5006
5036
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
5007
5037
  searchEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig;
5038
+ /** Optional. Non-empty default. Session config for the engine. */
5039
+ sessionConfig?: GoogleCloudDiscoveryengineV1betaSessionConfig;
5008
5040
  /** Required. The solutions of the engine. */
5009
5041
  solutionType?:
5010
5042
  | 'SOLUTION_TYPE_UNSPECIFIED'
@@ -5904,6 +5936,19 @@ declare namespace gapi.client {
5904
5936
  /** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
5905
5937
  mode?: 'MODE_UNSPECIFIED' | 'SUGGESTION_ONLY' | 'AUTO';
5906
5938
  }
5939
+ interface GoogleCloudDiscoveryengineV1betaSessionConfig {
5940
+ /** Optional. Session management policy that defines who will manage the session. */
5941
+ sessionManagementPolicy?:
5942
+ | 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
5943
+ | 'NOT_MANAGED'
5944
+ | 'VERTEX_AI_MANAGED';
5945
+ /** Optional. The TTL for the session. If unset, the default value is 60 days. */
5946
+ sessionTtl?: GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl;
5947
+ }
5948
+ interface GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl {
5949
+ /** Defines the number of days for session TTL. */
5950
+ days?: number;
5951
+ }
5907
5952
  interface GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateMetadata {
5908
5953
  /** Operation create time. */
5909
5954
  createTime?: string;
@@ -6650,6 +6695,8 @@ declare namespace gapi.client {
6650
6695
  createEuaSaas?: boolean;
6651
6696
  /** Output only. Timestamp the DataConnector was created at. */
6652
6697
  createTime?: string;
6698
+ /** Optional. Specifies the data protection policy for the connector. */
6699
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
6653
6700
  /** 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). */
6654
6701
  dataSource?: string;
6655
6702
  /** Optional. Any target destinations used to connect to third-party services. */
@@ -6799,6 +6846,14 @@ declare namespace gapi.client {
6799
6846
  /** 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). */
6800
6847
  startingSchema?: GoogleCloudDiscoveryengineV1Schema;
6801
6848
  }
6849
+ interface GoogleCloudDiscoveryengineV1DataProtectionPolicy {
6850
+ /** Optional. Specifies the sensitive data protection policy for the connector source. */
6851
+ sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy;
6852
+ }
6853
+ interface GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy {
6854
+ /** Optional. Specifies the resource name of the Sensitive Data Protection content policy. */
6855
+ policy?: string;
6856
+ }
6802
6857
  interface GoogleCloudDiscoveryengineV1DataStore {
6803
6858
  /** 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. */
6804
6859
  aclEnabled?: boolean;
@@ -6824,6 +6879,8 @@ declare namespace gapi.client {
6824
6879
  | 'GOOGLE_WORKSPACE';
6825
6880
  /** Output only. Timestamp the DataStore was created at. */
6826
6881
  createTime?: string;
6882
+ /** Optional. Specifies the data protection policy for the data store. */
6883
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
6827
6884
  /** Output only. The id of the default Schema associated to this data store. */
6828
6885
  defaultSchemaId?: string;
6829
6886
  /** 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. */
@@ -7190,7 +7247,7 @@ declare namespace gapi.client {
7190
7247
  disableAnalytics?: boolean;
7191
7248
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
7192
7249
  displayName?: string;
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` */
7250
+ /** 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` */
7194
7251
  features?: {
7195
7252
  [P in string]:
7196
7253
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -7227,6 +7284,8 @@ declare namespace gapi.client {
7227
7284
  procurementContactEmails?: string[];
7228
7285
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
7229
7286
  searchEngineConfig?: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig;
7287
+ /** Optional. Non-empty default. Session config for the engine. */
7288
+ sessionConfig?: GoogleCloudDiscoveryengineV1SessionConfig;
7230
7289
  /** Required. The solutions of the engine. */
7231
7290
  solutionType?:
7232
7291
  | 'SOLUTION_TYPE_UNSPECIFIED'
@@ -8296,6 +8355,8 @@ declare namespace gapi.client {
8296
8355
  | 'HIGH';
8297
8356
  /** Whether to turn on safe search. This is only supported for website search. */
8298
8357
  safeSearch?: boolean;
8358
+ /** Optional. SearchAddonSpec is used to disable add-ons for search as per new repricing model. This field is only supported for search requests. */
8359
+ searchAddonSpec?: GoogleCloudDiscoveryengineV1SearchRequestSearchAddonSpec;
8299
8360
  /** Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical. */
8300
8361
  searchAsYouTypeSpec?: GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec;
8301
8362
  /** The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. */
@@ -8511,6 +8572,14 @@ declare namespace gapi.client {
8511
8572
  /** Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query. */
8512
8573
  returnRelevanceScore?: boolean;
8513
8574
  }
8575
+ interface GoogleCloudDiscoveryengineV1SearchRequestSearchAddonSpec {
8576
+ /** Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers. */
8577
+ disableGenerativeAnswerAddOn?: boolean;
8578
+ /** Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results. */
8579
+ disableKpiPersonalizationAddOn?: boolean;
8580
+ /** Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream. */
8581
+ disableSemanticAddOn?: boolean;
8582
+ }
8514
8583
  interface GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec {
8515
8584
  /** The condition under which search as you type should occur. Default to Condition.DISABLED. */
8516
8585
  condition?: 'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED' | 'AUTO';
@@ -8855,6 +8924,19 @@ declare namespace gapi.client {
8855
8924
  /** A unique identifier for tracking users. */
8856
8925
  userPseudoId?: string;
8857
8926
  }
8927
+ interface GoogleCloudDiscoveryengineV1SessionConfig {
8928
+ /** Optional. Session management policy that defines who will manage the session. */
8929
+ sessionManagementPolicy?:
8930
+ | 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
8931
+ | 'NOT_MANAGED'
8932
+ | 'VERTEX_AI_MANAGED';
8933
+ /** Optional. The TTL for the session. If unset, the default value is 60 days. */
8934
+ sessionTtl?: GoogleCloudDiscoveryengineV1SessionConfigSessionTtl;
8935
+ }
8936
+ interface GoogleCloudDiscoveryengineV1SessionConfigSessionTtl {
8937
+ /** Defines the number of days for session TTL. */
8938
+ days?: number;
8939
+ }
8858
8940
  interface GoogleCloudDiscoveryengineV1SessionTurn {
8859
8941
  /** Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn. */
8860
8942
  answer?: string;
@@ -9388,6 +9470,12 @@ declare namespace gapi.client {
9388
9470
  updateTime?: string;
9389
9471
  }
9390
9472
  interface GoogleCloudDiscoveryengineV1WidgetConfigCustomerProvidedConfig {
9473
+ /** Output only. The customer's Assured Workloads compliance level. `customer_type` collapses every compliance level into a single `GOVERNMENT_CUSTOMER` value, so a client that gates a feature on one specific level rather than on government status as a whole must read this field instead. */
9474
+ complianceLevel?:
9475
+ | 'COMPLIANCE_LEVEL_UNSPECIFIED'
9476
+ | 'COMPLIANCE_LEVEL_FEDRAMP_HIGH'
9477
+ | 'COMPLIANCE_LEVEL_IL4'
9478
+ | 'COMPLIANCE_LEVEL_IL5';
9391
9479
  /** Customer type. */
9392
9480
  customerType?: 'DEFAULT_CUSTOMER' | 'GOVERNMENT_CUSTOMER';
9393
9481
  }
@@ -9489,7 +9577,7 @@ declare namespace gapi.client {
9489
9577
  enableSearchAsYouType?: boolean;
9490
9578
  /** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
9491
9579
  enableVisualContentSummary?: boolean;
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` */
9580
+ /** 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` * `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` */
9493
9581
  features?: {
9494
9582
  [P in string]:
9495
9583
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -9518,6 +9606,8 @@ declare namespace gapi.client {
9518
9606
  /** Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified. */
9519
9607
  resultDescriptionType?:
9520
9608
  'RESULT_DISPLAY_TYPE_UNSPECIFIED' | 'SNIPPET' | 'EXTRACTIVE_ANSWER';
9609
+ /** Optional. SearchAddonSpec is used to disable add-ons for search. This field is only supported for search requests. */
9610
+ searchAddonSpec?: GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsSearchAddonSpec;
9521
9611
  /** Optional. Whether to show the admin-configured display name for data connectors in the widget sources UI (instead of the connector kind). Opt-in; defaults to false. */
9522
9612
  sourceAdminDisplayNameEnabled?: boolean;
9523
9613
  }
@@ -9562,6 +9652,8 @@ declare namespace gapi.client {
9562
9652
  displayName?: string;
9563
9653
  /** Output only. GM3-compatible icon token associated with the model (e.g. `rocket_launch`, `bolt`, `graph_5`). */
9564
9654
  icon?: string;
9655
+ /** Output only. Absolute URL of a brand mark to render instead of `icon`, for models whose vendor logo is not a GM3 glyph. `icon` stays populated as the fallback, so a client that does not render images, or that fails to fetch this one, shows the glyph instead of nothing. */
9656
+ iconUrl?: string;
9565
9657
  /** Output only. Whether the model is currently in preview. Clients should surface this via a "Preview" badge in the selector UI. */
9566
9658
  isPreview?: boolean;
9567
9659
  /** 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. */
@@ -9579,6 +9671,14 @@ declare namespace gapi.client {
9579
9671
  /** Output only. Regions where this model is launched. */
9580
9672
  regions?: string[];
9581
9673
  }
9674
+ interface GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsSearchAddonSpec {
9675
+ /** Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers. */
9676
+ generativeAnswerAddOnDisabled?: boolean;
9677
+ /** Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results. */
9678
+ kpiPersonalizationAddOnDisabled?: boolean;
9679
+ /** Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream. */
9680
+ semanticAddOnDisabled?: boolean;
9681
+ }
9582
9682
  interface GoogleCloudDiscoveryengineV1WorkspaceConfig {
9583
9683
  /** Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored. */
9584
9684
  dasherCustomerId?: string;
@@ -13573,9 +13673,12 @@ declare namespace gapi.client {
13573
13673
  key?: string;
13574
13674
  /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English). */
13575
13675
  languageCode?: string;
13576
- /** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB` returns the end-user selector. The mobile surface is detected from the `X-Goog-Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`). */
13676
+ /** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector. */
13577
13677
  modelInfoView?:
13578
- 'MODEL_INFO_VIEW_UNSPECIFIED' | 'END_USER_WEB' | 'ADMIN';
13678
+ | 'MODEL_INFO_VIEW_UNSPECIFIED'
13679
+ | 'END_USER_WEB'
13680
+ | 'ADMIN'
13681
+ | 'END_USER_MOBILE';
13579
13682
  /** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
13580
13683
  name: string;
13581
13684
  /** OAuth 2.0 token for the current user. */
@@ -13820,6 +13923,35 @@ declare namespace gapi.client {
13820
13923
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13821
13924
  uploadType?: string;
13822
13925
  }): Request<GoogleCloudDiscoveryengineV1DataStore>;
13926
+ /** 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. */
13927
+ getIamPolicy(request?: {
13928
+ /** V1 error format. */
13929
+ '$.xgafv'?: '1' | '2';
13930
+ /** OAuth access token. */
13931
+ access_token?: string;
13932
+ /** Data format for response. */
13933
+ alt?: 'json' | 'media' | 'proto';
13934
+ /** JSONP */
13935
+ callback?: string;
13936
+ /** Selector specifying which fields to include in a partial response. */
13937
+ fields?: string;
13938
+ /** 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. */
13939
+ key?: string;
13940
+ /** OAuth 2.0 token for the current user. */
13941
+ oauth_token?: string;
13942
+ /** 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). */
13943
+ 'options.requestedPolicyVersion'?: number;
13944
+ /** Returns response with indentations and line breaks. */
13945
+ prettyPrint?: boolean;
13946
+ /** 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. */
13947
+ quotaUser?: string;
13948
+ /** 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. */
13949
+ resource: string;
13950
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13951
+ upload_protocol?: string;
13952
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13953
+ uploadType?: string;
13954
+ }): Request<GoogleIamV1Policy>;
13823
13955
  /** Gets the SiteSearchEngine. */
13824
13956
  getSiteSearchEngine(request?: {
13825
13957
  /** V1 error format. */
@@ -13942,6 +14074,36 @@ declare namespace gapi.client {
13942
14074
  },
13943
14075
  body: GoogleCloudDiscoveryengineV1DataStore,
13944
14076
  ): Request<GoogleCloudDiscoveryengineV1DataStore>;
14077
+ /** 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. */
14078
+ setIamPolicy(
14079
+ request: {
14080
+ /** V1 error format. */
14081
+ '$.xgafv'?: '1' | '2';
14082
+ /** OAuth access token. */
14083
+ access_token?: string;
14084
+ /** Data format for response. */
14085
+ alt?: 'json' | 'media' | 'proto';
14086
+ /** JSONP */
14087
+ callback?: string;
14088
+ /** Selector specifying which fields to include in a partial response. */
14089
+ fields?: string;
14090
+ /** 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. */
14091
+ key?: string;
14092
+ /** OAuth 2.0 token for the current user. */
14093
+ oauth_token?: string;
14094
+ /** Returns response with indentations and line breaks. */
14095
+ prettyPrint?: boolean;
14096
+ /** 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. */
14097
+ quotaUser?: string;
14098
+ /** 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. */
14099
+ resource: string;
14100
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14101
+ upload_protocol?: string;
14102
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14103
+ uploadType?: string;
14104
+ },
14105
+ body: GoogleIamV1SetIamPolicyRequest,
14106
+ ): Request<GoogleIamV1Policy>;
13945
14107
  /** Trains a custom model. */
13946
14108
  trainCustomModel(request: {
13947
14109
  /** V1 error format. */
@@ -16188,9 +16350,12 @@ declare namespace gapi.client {
16188
16350
  key?: string;
16189
16351
  /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English). */
16190
16352
  languageCode?: string;
16191
- /** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB` returns the end-user selector. The mobile surface is detected from the `X-Goog-Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`). */
16353
+ /** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector. */
16192
16354
  modelInfoView?:
16193
- 'MODEL_INFO_VIEW_UNSPECIFIED' | 'END_USER_WEB' | 'ADMIN';
16355
+ | 'MODEL_INFO_VIEW_UNSPECIFIED'
16356
+ | 'END_USER_WEB'
16357
+ | 'ADMIN'
16358
+ | 'END_USER_MOBILE';
16194
16359
  /** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
16195
16360
  name: string;
16196
16361
  /** OAuth 2.0 token for the current user. */
@@ -16666,6 +16831,65 @@ declare namespace gapi.client {
16666
16831
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16667
16832
  uploadType?: string;
16668
16833
  }): Request<GoogleCloudDiscoveryengineV1DataConnector>;
16834
+ /** Gets the IAM access control policy for a Collection. 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. */
16835
+ getIamPolicy(request?: {
16836
+ /** V1 error format. */
16837
+ '$.xgafv'?: '1' | '2';
16838
+ /** OAuth access token. */
16839
+ access_token?: string;
16840
+ /** Data format for response. */
16841
+ alt?: 'json' | 'media' | 'proto';
16842
+ /** JSONP */
16843
+ callback?: string;
16844
+ /** Selector specifying which fields to include in a partial response. */
16845
+ fields?: string;
16846
+ /** 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. */
16847
+ key?: string;
16848
+ /** OAuth 2.0 token for the current user. */
16849
+ oauth_token?: string;
16850
+ /** 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). */
16851
+ 'options.requestedPolicyVersion'?: number;
16852
+ /** Returns response with indentations and line breaks. */
16853
+ prettyPrint?: boolean;
16854
+ /** 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. */
16855
+ quotaUser?: string;
16856
+ /** 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. */
16857
+ resource: string;
16858
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16859
+ upload_protocol?: string;
16860
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16861
+ uploadType?: string;
16862
+ }): Request<GoogleIamV1Policy>;
16863
+ /** Sets the IAM access control policy for a Collection. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a Collection 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. */
16864
+ setIamPolicy(
16865
+ request: {
16866
+ /** V1 error format. */
16867
+ '$.xgafv'?: '1' | '2';
16868
+ /** OAuth access token. */
16869
+ access_token?: string;
16870
+ /** Data format for response. */
16871
+ alt?: 'json' | 'media' | 'proto';
16872
+ /** JSONP */
16873
+ callback?: string;
16874
+ /** Selector specifying which fields to include in a partial response. */
16875
+ fields?: string;
16876
+ /** 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. */
16877
+ key?: string;
16878
+ /** OAuth 2.0 token for the current user. */
16879
+ oauth_token?: string;
16880
+ /** Returns response with indentations and line breaks. */
16881
+ prettyPrint?: boolean;
16882
+ /** 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. */
16883
+ quotaUser?: string;
16884
+ /** 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. */
16885
+ resource: string;
16886
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16887
+ upload_protocol?: string;
16888
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16889
+ uploadType?: string;
16890
+ },
16891
+ body: GoogleIamV1SetIamPolicyRequest,
16892
+ ): Request<GoogleIamV1Policy>;
16669
16893
  /** Updates a DataConnector. */
16670
16894
  updateDataConnector(request: {
16671
16895
  /** V1 error format. */
@@ -19878,9 +20102,12 @@ declare namespace gapi.client {
19878
20102
  key?: string;
19879
20103
  /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English). */
19880
20104
  languageCode?: string;
19881
- /** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `MODEL_INFO_VIEW_ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; unset / `MODEL_INFO_VIEW_WEB` returns the end-user selector. The mobile surface is detected from the `X-Goog-Gemini-Enterprise-Mobile` header instead (see `ModelInfoView`). */
20105
+ /** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector. */
19882
20106
  modelInfoView?:
19883
- 'MODEL_INFO_VIEW_UNSPECIFIED' | 'END_USER_WEB' | 'ADMIN';
20107
+ | 'MODEL_INFO_VIEW_UNSPECIFIED'
20108
+ | 'END_USER_WEB'
20109
+ | 'ADMIN'
20110
+ | 'END_USER_MOBILE';
19884
20111
  /** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
19885
20112
  name: string;
19886
20113
  /** OAuth 2.0 token for the current user. */
@@ -20125,6 +20352,35 @@ declare namespace gapi.client {
20125
20352
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20126
20353
  uploadType?: string;
20127
20354
  }): Request<GoogleCloudDiscoveryengineV1DataStore>;
20355
+ /** 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. */
20356
+ getIamPolicy(request?: {
20357
+ /** V1 error format. */
20358
+ '$.xgafv'?: '1' | '2';
20359
+ /** OAuth access token. */
20360
+ access_token?: string;
20361
+ /** Data format for response. */
20362
+ alt?: 'json' | 'media' | 'proto';
20363
+ /** JSONP */
20364
+ callback?: string;
20365
+ /** Selector specifying which fields to include in a partial response. */
20366
+ fields?: string;
20367
+ /** 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. */
20368
+ key?: string;
20369
+ /** OAuth 2.0 token for the current user. */
20370
+ oauth_token?: string;
20371
+ /** 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). */
20372
+ 'options.requestedPolicyVersion'?: number;
20373
+ /** Returns response with indentations and line breaks. */
20374
+ prettyPrint?: boolean;
20375
+ /** 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. */
20376
+ quotaUser?: string;
20377
+ /** 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. */
20378
+ resource: string;
20379
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20380
+ upload_protocol?: string;
20381
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20382
+ uploadType?: string;
20383
+ }): Request<GoogleIamV1Policy>;
20128
20384
  /** Gets the SiteSearchEngine. */
20129
20385
  getSiteSearchEngine(request?: {
20130
20386
  /** V1 error format. */
@@ -20247,6 +20503,36 @@ declare namespace gapi.client {
20247
20503
  },
20248
20504
  body: GoogleCloudDiscoveryengineV1DataStore,
20249
20505
  ): Request<GoogleCloudDiscoveryengineV1DataStore>;
20506
+ /** 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. */
20507
+ setIamPolicy(
20508
+ request: {
20509
+ /** V1 error format. */
20510
+ '$.xgafv'?: '1' | '2';
20511
+ /** OAuth access token. */
20512
+ access_token?: string;
20513
+ /** Data format for response. */
20514
+ alt?: 'json' | 'media' | 'proto';
20515
+ /** JSONP */
20516
+ callback?: string;
20517
+ /** Selector specifying which fields to include in a partial response. */
20518
+ fields?: string;
20519
+ /** 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. */
20520
+ key?: string;
20521
+ /** OAuth 2.0 token for the current user. */
20522
+ oauth_token?: string;
20523
+ /** Returns response with indentations and line breaks. */
20524
+ prettyPrint?: boolean;
20525
+ /** 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. */
20526
+ quotaUser?: string;
20527
+ /** 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. */
20528
+ resource: string;
20529
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20530
+ upload_protocol?: string;
20531
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20532
+ uploadType?: string;
20533
+ },
20534
+ body: GoogleIamV1SetIamPolicyRequest,
20535
+ ): Request<GoogleIamV1Policy>;
20250
20536
  branches: BranchesResource;
20251
20537
  completionConfig: CompletionConfigResource;
20252
20538
  completionSuggestions: CompletionSuggestionsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.3.20260823",
3
+ "version": "0.3.20260908",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",