@maxim_mazurok/gapi.client.discoveryengine-v1 0.3.20260823 → 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 +208 -5
  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: 20260831
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -2196,7 +2196,7 @@ declare namespace gapi.client {
2196
2196
  disableAnalytics?: boolean;
2197
2197
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
2198
2198
  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` */
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` * `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
2200
  features?: {
2201
2201
  [P in string]:
2202
2202
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -4968,7 +4968,7 @@ declare namespace gapi.client {
4968
4968
  disableAnalytics?: boolean;
4969
4969
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
4970
4970
  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` */
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` * `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
4972
  features?: {
4973
4973
  [P in string]:
4974
4974
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -7190,7 +7190,7 @@ declare namespace gapi.client {
7190
7190
  disableAnalytics?: boolean;
7191
7191
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
7192
7192
  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` */
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` * `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
7194
  features?: {
7195
7195
  [P in string]:
7196
7196
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -8296,6 +8296,8 @@ declare namespace gapi.client {
8296
8296
  | 'HIGH';
8297
8297
  /** Whether to turn on safe search. This is only supported for website search. */
8298
8298
  safeSearch?: boolean;
8299
+ /** Optional. SearchAddonSpec is used to disable add-ons for search as per new repricing model. This field is only supported for search requests. */
8300
+ searchAddonSpec?: GoogleCloudDiscoveryengineV1SearchRequestSearchAddonSpec;
8299
8301
  /** Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical. */
8300
8302
  searchAsYouTypeSpec?: GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec;
8301
8303
  /** 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 +8513,14 @@ declare namespace gapi.client {
8511
8513
  /** Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query. */
8512
8514
  returnRelevanceScore?: boolean;
8513
8515
  }
8516
+ interface GoogleCloudDiscoveryengineV1SearchRequestSearchAddonSpec {
8517
+ /** Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers. */
8518
+ disableGenerativeAnswerAddOn?: boolean;
8519
+ /** Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results. */
8520
+ disableKpiPersonalizationAddOn?: boolean;
8521
+ /** Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream. */
8522
+ disableSemanticAddOn?: boolean;
8523
+ }
8514
8524
  interface GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec {
8515
8525
  /** The condition under which search as you type should occur. Default to Condition.DISABLED. */
8516
8526
  condition?: 'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED' | 'AUTO';
@@ -9388,6 +9398,12 @@ declare namespace gapi.client {
9388
9398
  updateTime?: string;
9389
9399
  }
9390
9400
  interface GoogleCloudDiscoveryengineV1WidgetConfigCustomerProvidedConfig {
9401
+ /** 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. */
9402
+ complianceLevel?:
9403
+ | 'COMPLIANCE_LEVEL_UNSPECIFIED'
9404
+ | 'COMPLIANCE_LEVEL_FEDRAMP_HIGH'
9405
+ | 'COMPLIANCE_LEVEL_IL4'
9406
+ | 'COMPLIANCE_LEVEL_IL5';
9391
9407
  /** Customer type. */
9392
9408
  customerType?: 'DEFAULT_CUSTOMER' | 'GOVERNMENT_CUSTOMER';
9393
9409
  }
@@ -9489,7 +9505,7 @@ declare namespace gapi.client {
9489
9505
  enableSearchAsYouType?: boolean;
9490
9506
  /** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
9491
9507
  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` */
9508
+ /** 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
9509
  features?: {
9494
9510
  [P in string]:
9495
9511
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -9518,6 +9534,8 @@ declare namespace gapi.client {
9518
9534
  /** Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified. */
9519
9535
  resultDescriptionType?:
9520
9536
  'RESULT_DISPLAY_TYPE_UNSPECIFIED' | 'SNIPPET' | 'EXTRACTIVE_ANSWER';
9537
+ /** Optional. SearchAddonSpec is used to disable add-ons for search. This field is only supported for search requests. */
9538
+ searchAddonSpec?: GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsSearchAddonSpec;
9521
9539
  /** 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
9540
  sourceAdminDisplayNameEnabled?: boolean;
9523
9541
  }
@@ -9579,6 +9597,14 @@ declare namespace gapi.client {
9579
9597
  /** Output only. Regions where this model is launched. */
9580
9598
  regions?: string[];
9581
9599
  }
9600
+ interface GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsSearchAddonSpec {
9601
+ /** Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers. */
9602
+ generativeAnswerAddOnDisabled?: boolean;
9603
+ /** Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results. */
9604
+ kpiPersonalizationAddOnDisabled?: boolean;
9605
+ /** Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream. */
9606
+ semanticAddOnDisabled?: boolean;
9607
+ }
9582
9608
  interface GoogleCloudDiscoveryengineV1WorkspaceConfig {
9583
9609
  /** 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
9610
  dasherCustomerId?: string;
@@ -13820,6 +13846,35 @@ declare namespace gapi.client {
13820
13846
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13821
13847
  uploadType?: string;
13822
13848
  }): Request<GoogleCloudDiscoveryengineV1DataStore>;
13849
+ /** 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. */
13850
+ getIamPolicy(request?: {
13851
+ /** V1 error format. */
13852
+ '$.xgafv'?: '1' | '2';
13853
+ /** OAuth access token. */
13854
+ access_token?: string;
13855
+ /** Data format for response. */
13856
+ alt?: 'json' | 'media' | 'proto';
13857
+ /** JSONP */
13858
+ callback?: string;
13859
+ /** Selector specifying which fields to include in a partial response. */
13860
+ fields?: string;
13861
+ /** 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. */
13862
+ key?: string;
13863
+ /** OAuth 2.0 token for the current user. */
13864
+ oauth_token?: string;
13865
+ /** 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). */
13866
+ 'options.requestedPolicyVersion'?: number;
13867
+ /** Returns response with indentations and line breaks. */
13868
+ prettyPrint?: boolean;
13869
+ /** 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. */
13870
+ quotaUser?: string;
13871
+ /** 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. */
13872
+ resource: string;
13873
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13874
+ upload_protocol?: string;
13875
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13876
+ uploadType?: string;
13877
+ }): Request<GoogleIamV1Policy>;
13823
13878
  /** Gets the SiteSearchEngine. */
13824
13879
  getSiteSearchEngine(request?: {
13825
13880
  /** V1 error format. */
@@ -13942,6 +13997,36 @@ declare namespace gapi.client {
13942
13997
  },
13943
13998
  body: GoogleCloudDiscoveryengineV1DataStore,
13944
13999
  ): Request<GoogleCloudDiscoveryengineV1DataStore>;
14000
+ /** 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. */
14001
+ setIamPolicy(
14002
+ request: {
14003
+ /** V1 error format. */
14004
+ '$.xgafv'?: '1' | '2';
14005
+ /** OAuth access token. */
14006
+ access_token?: string;
14007
+ /** Data format for response. */
14008
+ alt?: 'json' | 'media' | 'proto';
14009
+ /** JSONP */
14010
+ callback?: string;
14011
+ /** Selector specifying which fields to include in a partial response. */
14012
+ fields?: string;
14013
+ /** 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. */
14014
+ key?: string;
14015
+ /** OAuth 2.0 token for the current user. */
14016
+ oauth_token?: string;
14017
+ /** Returns response with indentations and line breaks. */
14018
+ prettyPrint?: boolean;
14019
+ /** 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. */
14020
+ quotaUser?: string;
14021
+ /** 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. */
14022
+ resource: string;
14023
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14024
+ upload_protocol?: string;
14025
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14026
+ uploadType?: string;
14027
+ },
14028
+ body: GoogleIamV1SetIamPolicyRequest,
14029
+ ): Request<GoogleIamV1Policy>;
13945
14030
  /** Trains a custom model. */
13946
14031
  trainCustomModel(request: {
13947
14032
  /** V1 error format. */
@@ -16666,6 +16751,65 @@ declare namespace gapi.client {
16666
16751
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16667
16752
  uploadType?: string;
16668
16753
  }): Request<GoogleCloudDiscoveryengineV1DataConnector>;
16754
+ /** 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. */
16755
+ getIamPolicy(request?: {
16756
+ /** V1 error format. */
16757
+ '$.xgafv'?: '1' | '2';
16758
+ /** OAuth access token. */
16759
+ access_token?: string;
16760
+ /** Data format for response. */
16761
+ alt?: 'json' | 'media' | 'proto';
16762
+ /** JSONP */
16763
+ callback?: string;
16764
+ /** Selector specifying which fields to include in a partial response. */
16765
+ fields?: string;
16766
+ /** 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. */
16767
+ key?: string;
16768
+ /** OAuth 2.0 token for the current user. */
16769
+ oauth_token?: string;
16770
+ /** 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). */
16771
+ 'options.requestedPolicyVersion'?: number;
16772
+ /** Returns response with indentations and line breaks. */
16773
+ prettyPrint?: boolean;
16774
+ /** 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. */
16775
+ quotaUser?: string;
16776
+ /** 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. */
16777
+ resource: string;
16778
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16779
+ upload_protocol?: string;
16780
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16781
+ uploadType?: string;
16782
+ }): Request<GoogleIamV1Policy>;
16783
+ /** 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. */
16784
+ setIamPolicy(
16785
+ request: {
16786
+ /** V1 error format. */
16787
+ '$.xgafv'?: '1' | '2';
16788
+ /** OAuth access token. */
16789
+ access_token?: string;
16790
+ /** Data format for response. */
16791
+ alt?: 'json' | 'media' | 'proto';
16792
+ /** JSONP */
16793
+ callback?: string;
16794
+ /** Selector specifying which fields to include in a partial response. */
16795
+ fields?: string;
16796
+ /** 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. */
16797
+ key?: string;
16798
+ /** OAuth 2.0 token for the current user. */
16799
+ oauth_token?: string;
16800
+ /** Returns response with indentations and line breaks. */
16801
+ prettyPrint?: boolean;
16802
+ /** 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. */
16803
+ quotaUser?: string;
16804
+ /** 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. */
16805
+ resource: string;
16806
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16807
+ upload_protocol?: string;
16808
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16809
+ uploadType?: string;
16810
+ },
16811
+ body: GoogleIamV1SetIamPolicyRequest,
16812
+ ): Request<GoogleIamV1Policy>;
16669
16813
  /** Updates a DataConnector. */
16670
16814
  updateDataConnector(request: {
16671
16815
  /** V1 error format. */
@@ -20125,6 +20269,35 @@ declare namespace gapi.client {
20125
20269
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20126
20270
  uploadType?: string;
20127
20271
  }): Request<GoogleCloudDiscoveryengineV1DataStore>;
20272
+ /** 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. */
20273
+ getIamPolicy(request?: {
20274
+ /** V1 error format. */
20275
+ '$.xgafv'?: '1' | '2';
20276
+ /** OAuth access token. */
20277
+ access_token?: string;
20278
+ /** Data format for response. */
20279
+ alt?: 'json' | 'media' | 'proto';
20280
+ /** JSONP */
20281
+ callback?: string;
20282
+ /** Selector specifying which fields to include in a partial response. */
20283
+ fields?: string;
20284
+ /** 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. */
20285
+ key?: string;
20286
+ /** OAuth 2.0 token for the current user. */
20287
+ oauth_token?: string;
20288
+ /** 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). */
20289
+ 'options.requestedPolicyVersion'?: number;
20290
+ /** Returns response with indentations and line breaks. */
20291
+ prettyPrint?: boolean;
20292
+ /** 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. */
20293
+ quotaUser?: string;
20294
+ /** 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. */
20295
+ resource: string;
20296
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20297
+ upload_protocol?: string;
20298
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20299
+ uploadType?: string;
20300
+ }): Request<GoogleIamV1Policy>;
20128
20301
  /** Gets the SiteSearchEngine. */
20129
20302
  getSiteSearchEngine(request?: {
20130
20303
  /** V1 error format. */
@@ -20247,6 +20420,36 @@ declare namespace gapi.client {
20247
20420
  },
20248
20421
  body: GoogleCloudDiscoveryengineV1DataStore,
20249
20422
  ): Request<GoogleCloudDiscoveryengineV1DataStore>;
20423
+ /** 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. */
20424
+ setIamPolicy(
20425
+ request: {
20426
+ /** V1 error format. */
20427
+ '$.xgafv'?: '1' | '2';
20428
+ /** OAuth access token. */
20429
+ access_token?: string;
20430
+ /** Data format for response. */
20431
+ alt?: 'json' | 'media' | 'proto';
20432
+ /** JSONP */
20433
+ callback?: string;
20434
+ /** Selector specifying which fields to include in a partial response. */
20435
+ fields?: string;
20436
+ /** 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. */
20437
+ key?: string;
20438
+ /** OAuth 2.0 token for the current user. */
20439
+ oauth_token?: string;
20440
+ /** Returns response with indentations and line breaks. */
20441
+ prettyPrint?: boolean;
20442
+ /** 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. */
20443
+ quotaUser?: string;
20444
+ /** 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. */
20445
+ resource: string;
20446
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20447
+ upload_protocol?: string;
20448
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20449
+ uploadType?: string;
20450
+ },
20451
+ body: GoogleIamV1SetIamPolicyRequest,
20452
+ ): Request<GoogleIamV1Policy>;
20250
20453
  branches: BranchesResource;
20251
20454
  completionConfig: CompletionConfigResource;
20252
20455
  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.20260831",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",