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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +225 -6
  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: 20260815
12
+ // Revision: 20260831
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1253,6 +1253,8 @@ declare namespace gapi.client {
1253
1253
  visualSegments?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment[];
1254
1254
  }
1255
1255
  interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference {
1256
+ /** Output only. Generic structured chunk metadata from upstream data source connectors. */
1257
+ chunkMetadata?: {[P in string]: any};
1256
1258
  /** Chunk of code snippet from the referenced document. */
1257
1259
  codeSnippet?: string;
1258
1260
  /** Referenced text content. */
@@ -2194,7 +2196,7 @@ declare namespace gapi.client {
2194
2196
  disableAnalytics?: boolean;
2195
2197
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
2196
2198
  displayName?: string;
2197
- /** 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` */
2198
2200
  features?: {
2199
2201
  [P in string]:
2200
2202
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -4333,6 +4335,8 @@ declare namespace gapi.client {
4333
4335
  visualSegments?: GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment[];
4334
4336
  }
4335
4337
  interface GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference {
4338
+ /** Output only. Generic structured chunk metadata from upstream data source connectors. */
4339
+ chunkMetadata?: {[P in string]: any};
4336
4340
  /** Chunk of code snippet from the referenced document. */
4337
4341
  codeSnippet?: string;
4338
4342
  /** Referenced text content. */
@@ -4964,7 +4968,7 @@ declare namespace gapi.client {
4964
4968
  disableAnalytics?: boolean;
4965
4969
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
4966
4970
  displayName?: string;
4967
- /** 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` */
4968
4972
  features?: {
4969
4973
  [P in string]:
4970
4974
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -7186,7 +7190,7 @@ declare namespace gapi.client {
7186
7190
  disableAnalytics?: boolean;
7187
7191
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
7188
7192
  displayName?: string;
7189
- /** 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` */
7190
7194
  features?: {
7191
7195
  [P in string]:
7192
7196
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -8292,6 +8296,8 @@ declare namespace gapi.client {
8292
8296
  | 'HIGH';
8293
8297
  /** Whether to turn on safe search. This is only supported for website search. */
8294
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;
8295
8301
  /** Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical. */
8296
8302
  searchAsYouTypeSpec?: GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec;
8297
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. */
@@ -8507,6 +8513,14 @@ declare namespace gapi.client {
8507
8513
  /** Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query. */
8508
8514
  returnRelevanceScore?: boolean;
8509
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
+ }
8510
8524
  interface GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec {
8511
8525
  /** The condition under which search as you type should occur. Default to Condition.DISABLED. */
8512
8526
  condition?: 'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED' | 'AUTO';
@@ -8913,6 +8927,8 @@ declare namespace gapi.client {
8913
8927
  tableId?: string;
8914
8928
  }
8915
8929
  interface GoogleCloudDiscoveryengineV1StreamAssistRequest {
8930
+ /** Optional. Specification of agents that are used to serve the request. */
8931
+ agentsSpec?: GoogleCloudDiscoveryengineV1StreamAssistRequestAgentsSpec;
8916
8932
  /** Optional. Specification of the generation configuration for the request. */
8917
8933
  generationSpec?: GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec;
8918
8934
  /** Optional. Current user query. Empty query is only supported if `file_ids` are provided. In this case, the answer will be generated based on those context files. */
@@ -8924,6 +8940,14 @@ declare namespace gapi.client {
8924
8940
  /** Optional. Information about the user initiating the query. */
8925
8941
  userMetadata?: GoogleCloudDiscoveryengineV1AssistUserMetadata;
8926
8942
  }
8943
+ interface GoogleCloudDiscoveryengineV1StreamAssistRequestAgentsSpec {
8944
+ /** Optional. Specification of agents that are used to serve the request. */
8945
+ agentSpecs?: GoogleCloudDiscoveryengineV1StreamAssistRequestAgentsSpecAgentSpec[];
8946
+ }
8947
+ interface GoogleCloudDiscoveryengineV1StreamAssistRequestAgentsSpecAgentSpec {
8948
+ /** Required. ID to identify the agent resource serving the request. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters. */
8949
+ agentId?: string;
8950
+ }
8927
8951
  interface GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec {
8928
8952
  /** Optional. The Vertex AI model_id used for the generative model. If not set, the default Assistant model will be used. */
8929
8953
  modelId?: string;
@@ -9353,7 +9377,7 @@ declare namespace gapi.client {
9353
9377
  displayName?: string;
9354
9378
  /** Output only. the identifier of the collection, used for widget service. For now it refers to collection_id, in the future we will migrate the field to encrypted collection name UUID. For synthetic placeholder entries (see message-level comment) this is a synthetic placeholder id, not a real collection_id. */
9355
9379
  id?: string;
9356
- /** Output only. Whether this is a first-party (Google-owned) connector, as opposed to a third-party connector. Used by the frontend to group 1P vs 3P connectors. Sourced from `ConnectorSource.is_first_party` once that field is universally populated (b/534727761); until then derived from `ConnectorSource.connector_type == FIRST_PARTY`. */
9380
+ /** Output only. Whether this is a first-party (Google-owned) connector, as opposed to a third-party connector. Used by the frontend to group 1P vs 3P connectors. */
9357
9381
  isFirstParty?: boolean;
9358
9382
  /** Output only. User-facing connector metadata (`title`, `description`, `short_description`, `author`, `note`), retrieved from the registry `ConnectorSource.metadata` (joined by data source). Shown on the connector detail page. */
9359
9383
  metadata?: GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata;
@@ -9374,6 +9398,12 @@ declare namespace gapi.client {
9374
9398
  updateTime?: string;
9375
9399
  }
9376
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';
9377
9407
  /** Customer type. */
9378
9408
  customerType?: 'DEFAULT_CUSTOMER' | 'GOVERNMENT_CUSTOMER';
9379
9409
  }
@@ -9475,7 +9505,7 @@ declare namespace gapi.client {
9475
9505
  enableSearchAsYouType?: boolean;
9476
9506
  /** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
9477
9507
  enableVisualContentSummary?: boolean;
9478
- /** 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` */
9479
9509
  features?: {
9480
9510
  [P in string]:
9481
9511
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -9504,6 +9534,8 @@ declare namespace gapi.client {
9504
9534
  /** Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified. */
9505
9535
  resultDescriptionType?:
9506
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;
9507
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. */
9508
9540
  sourceAdminDisplayNameEnabled?: boolean;
9509
9541
  }
@@ -9554,6 +9586,8 @@ declare namespace gapi.client {
9554
9586
  label?: string;
9555
9587
  /** Output only. Unique identifier of the model (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). This is the same identifier that clients pass back to the assistant service to select this model. Virtual / "pseudo" models (e.g. `gemini-fast`) are also valid values here; they are resolved to the underlying concrete model on the backend. */
9556
9588
  modelId?: string;
9589
+ /** Output only. Whether this model should be promoted in the GE chat homepage banner. */
9590
+ promoted?: boolean;
9557
9591
  }
9558
9592
  interface GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView {
9559
9593
  /** Output only. Whether the admin can toggle this model's enabled/disabled state via `UiSettings.model_configs`. Derived from `MODEL_TAG_ADMIN_OVERRIDABLE`. When false, the model is "forced" and its state is governed by `enabled_by_default`. */
@@ -9563,6 +9597,14 @@ declare namespace gapi.client {
9563
9597
  /** Output only. Regions where this model is launched. */
9564
9598
  regions?: string[];
9565
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
+ }
9566
9608
  interface GoogleCloudDiscoveryengineV1WorkspaceConfig {
9567
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. */
9568
9610
  dasherCustomerId?: string;
@@ -13804,6 +13846,35 @@ declare namespace gapi.client {
13804
13846
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13805
13847
  uploadType?: string;
13806
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>;
13807
13878
  /** Gets the SiteSearchEngine. */
13808
13879
  getSiteSearchEngine(request?: {
13809
13880
  /** V1 error format. */
@@ -13926,6 +13997,36 @@ declare namespace gapi.client {
13926
13997
  },
13927
13998
  body: GoogleCloudDiscoveryengineV1DataStore,
13928
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>;
13929
14030
  /** Trains a custom model. */
13930
14031
  trainCustomModel(request: {
13931
14032
  /** V1 error format. */
@@ -16650,6 +16751,65 @@ declare namespace gapi.client {
16650
16751
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16651
16752
  uploadType?: string;
16652
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>;
16653
16813
  /** Updates a DataConnector. */
16654
16814
  updateDataConnector(request: {
16655
16815
  /** V1 error format. */
@@ -20109,6 +20269,35 @@ declare namespace gapi.client {
20109
20269
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20110
20270
  uploadType?: string;
20111
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>;
20112
20301
  /** Gets the SiteSearchEngine. */
20113
20302
  getSiteSearchEngine(request?: {
20114
20303
  /** V1 error format. */
@@ -20231,6 +20420,36 @@ declare namespace gapi.client {
20231
20420
  },
20232
20421
  body: GoogleCloudDiscoveryengineV1DataStore,
20233
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>;
20234
20453
  branches: BranchesResource;
20235
20454
  completionConfig: CompletionConfigResource;
20236
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.20260815",
3
+ "version": "0.3.20260831",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",