@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.3.20260815 → 0.3.20260823

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 +276 -3
  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=v1alpha
12
- // Revision: 20260815
12
+ // Revision: 20260823
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1369,6 +1369,8 @@ declare namespace gapi.client {
1369
1369
  visualSegments?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment[];
1370
1370
  }
1371
1371
  interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference {
1372
+ /** Output only. Generic structured chunk metadata from upstream data source connectors. */
1373
+ chunkMetadata?: {[P in string]: any};
1372
1374
  /** Chunk of code snippet from the referenced document. */
1373
1375
  codeSnippet?: string;
1374
1376
  /** Referenced text content. */
@@ -1970,7 +1972,7 @@ declare namespace gapi.client {
1970
1972
  name?: string;
1971
1973
  /** This field is only meaningful for suggestions generated from user events or search history, which may have user ids attached. If the number of unique users that have searched a query is less than this threshold, the query will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 3 used in the generation pipeline. */
1972
1974
  numUniqueUsersThreshold?: number;
1973
- /** This field is only meaningful for suggestions generated from user events or search history. If a query shows up less than this threshold, it may indicate that the query is rarely searched and thus will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 3 used in the generation pipeline. */
1975
+ /** This field is only meaningful for suggestions generated from user events or search history. If a query shows up less than this threshold, it may indicate that the query is rarely searched and thus will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 8 used in the generation pipeline. */
1974
1976
  queryFrequencyThreshold?: number;
1975
1977
  /** The data model of query suggestions for serving. Currently supported values: * `automatic` - autocomplete backend automatic selects or mixes suggestions from different models. * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. If query model is empty, the serving applies the "automatic" model by default. */
1976
1978
  queryModel?: string;
@@ -3796,6 +3798,22 @@ declare namespace gapi.client {
3796
3798
  /** Inclusive lower bound. */
3797
3799
  minimum?: number;
3798
3800
  }
3801
+ interface GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest {
3802
+ /** Optional. The engine resource name (e.g. "projects/{project}/locations/{location}/collections/{collection}/engines/{engine}"). Used as the search engine id when invoking tool registry tools that issue Discovery Search Service requests. */
3803
+ engine?: string;
3804
+ /** Required. The method to invoke (e.g. "tools/list", "tools/call", "resources/read", "prompts/get", etc.). */
3805
+ method?: string;
3806
+ /** Optional. Arbitrary structured parameters for the method. Using google.protobuf.Struct keeps the payload schema-flexible, matching JSON-RPC's free-form `params` field. */
3807
+ params?: {[P in string]: any};
3808
+ /** Optional. The tool spec version to resolve the connector's tool surface against. This corresponds to the connector's BAP tool spec file name (e.g. "v2", "v5.2"). When unset, the server uses its default (latest) tool spec for the connector. Applies to all methods (e.g. "tools/list" and "tools/call"). */
3809
+ toolSpecVersion?: string;
3810
+ }
3811
+ interface GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse {
3812
+ /** Error details when the call fails. */
3813
+ error?: GoogleCloudDiscoveryengineV1alphaMcpError;
3814
+ /** Successful result — arbitrary structured data. */
3815
+ result?: any;
3816
+ }
3799
3817
  interface GoogleCloudDiscoveryengineV1alphaLanguageInfo {
3800
3818
  /** Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */
3801
3819
  language?: string;
@@ -4074,6 +4092,14 @@ declare namespace gapi.client {
4074
4092
  userLicenses?: GoogleCloudDiscoveryengineV1alphaUserLicense[];
4075
4093
  }
4076
4094
  interface GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition {}
4095
+ interface GoogleCloudDiscoveryengineV1alphaMcpError {
4096
+ /** Numeric error code. */
4097
+ code?: number;
4098
+ /** Optional structured data with additional error context. */
4099
+ data?: any;
4100
+ /** Short, human-readable description of the error. */
4101
+ message?: string;
4102
+ }
4077
4103
  interface GoogleCloudDiscoveryengineV1alphaMediaInfo {
4078
4104
  /** The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then MediaInfo.media_progress_duration.seconds should be set to 90. */
4079
4105
  mediaProgressDuration?: string;
@@ -5698,6 +5724,8 @@ declare namespace gapi.client {
5698
5724
  interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequest {
5699
5725
  /** Optional. Specification of actions for the request. */
5700
5726
  actionSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestActionSpec;
5727
+ /** Optional. Specification of agents that are used to serve the request. */
5728
+ agentsSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpec;
5701
5729
  /** Optional. Specification of the generation configuration for the request. */
5702
5730
  generationSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec;
5703
5731
  /** 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. */
@@ -5713,6 +5741,14 @@ declare namespace gapi.client {
5713
5741
  /** Optional. If true, actions will not be served for the request. This only works for enterprise edition. */
5714
5742
  actionDisabled?: boolean;
5715
5743
  }
5744
+ interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpec {
5745
+ /** Optional. Specification of agents that are used to serve the request. */
5746
+ agentSpecs?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpecAgentSpec[];
5747
+ }
5748
+ interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpecAgentSpec {
5749
+ /** 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. */
5750
+ agentId?: string;
5751
+ }
5716
5752
  interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec {
5717
5753
  /** Optional. The Vertex AI model_id used for the generative model. If not set, the default Assistant model will be used. */
5718
5754
  modelId?: string;
@@ -6187,7 +6223,7 @@ declare namespace gapi.client {
6187
6223
  displayName?: string;
6188
6224
  /** 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. */
6189
6225
  id?: string;
6190
- /** 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`. */
6226
+ /** 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. */
6191
6227
  isFirstParty?: boolean;
6192
6228
  /** 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. */
6193
6229
  metadata?: GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata;
@@ -6411,6 +6447,8 @@ declare namespace gapi.client {
6411
6447
  label?: string;
6412
6448
  /** 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. */
6413
6449
  modelId?: string;
6450
+ /** Output only. Whether this model should be promoted in the GE chat homepage banner. */
6451
+ promoted?: boolean;
6414
6452
  }
6415
6453
  interface GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView {
6416
6454
  /** 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`. */
@@ -10856,6 +10894,64 @@ declare namespace gapi.client {
10856
10894
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10857
10895
  uploadType?: string;
10858
10896
  }): Request<GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse>;
10897
+ /** Makes a call to an MCP connector. */
10898
+ invokeConnectorMcp(request: {
10899
+ /** V1 error format. */
10900
+ '$.xgafv'?: '1' | '2';
10901
+ /** OAuth access token. */
10902
+ access_token?: string;
10903
+ /** Data format for response. */
10904
+ alt?: 'json' | 'media' | 'proto';
10905
+ /** JSONP */
10906
+ callback?: string;
10907
+ /** Selector specifying which fields to include in a partial response. */
10908
+ fields?: string;
10909
+ /** 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. */
10910
+ key?: string;
10911
+ /** Required. DataConnector resource. The data connector used for making the MCP call. */
10912
+ name: string;
10913
+ /** OAuth 2.0 token for the current user. */
10914
+ oauth_token?: string;
10915
+ /** Returns response with indentations and line breaks. */
10916
+ prettyPrint?: boolean;
10917
+ /** 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. */
10918
+ quotaUser?: string;
10919
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10920
+ upload_protocol?: string;
10921
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10922
+ uploadType?: string;
10923
+ /** Request body */
10924
+ resource: GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest;
10925
+ }): Request<GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>;
10926
+ invokeConnectorMcp(
10927
+ request: {
10928
+ /** V1 error format. */
10929
+ '$.xgafv'?: '1' | '2';
10930
+ /** OAuth access token. */
10931
+ access_token?: string;
10932
+ /** Data format for response. */
10933
+ alt?: 'json' | 'media' | 'proto';
10934
+ /** JSONP */
10935
+ callback?: string;
10936
+ /** Selector specifying which fields to include in a partial response. */
10937
+ fields?: string;
10938
+ /** 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. */
10939
+ key?: string;
10940
+ /** Required. DataConnector resource. The data connector used for making the MCP call. */
10941
+ name: string;
10942
+ /** OAuth 2.0 token for the current user. */
10943
+ oauth_token?: string;
10944
+ /** Returns response with indentations and line breaks. */
10945
+ prettyPrint?: boolean;
10946
+ /** 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. */
10947
+ quotaUser?: string;
10948
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10949
+ upload_protocol?: string;
10950
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10951
+ uploadType?: string;
10952
+ },
10953
+ body: GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest,
10954
+ ): Request<GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>;
10859
10955
  /** ServeMcpDeleteRequest serves a MCP DELETE request. */
10860
10956
  mcp(request?: {
10861
10957
  /** V1 error format. */
@@ -15076,6 +15172,35 @@ declare namespace gapi.client {
15076
15172
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15077
15173
  uploadType?: string;
15078
15174
  }): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
15175
+ /** 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. */
15176
+ getIamPolicy(request?: {
15177
+ /** V1 error format. */
15178
+ '$.xgafv'?: '1' | '2';
15179
+ /** OAuth access token. */
15180
+ access_token?: string;
15181
+ /** Data format for response. */
15182
+ alt?: 'json' | 'media' | 'proto';
15183
+ /** JSONP */
15184
+ callback?: string;
15185
+ /** Selector specifying which fields to include in a partial response. */
15186
+ fields?: string;
15187
+ /** 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. */
15188
+ key?: string;
15189
+ /** OAuth 2.0 token for the current user. */
15190
+ oauth_token?: string;
15191
+ /** 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). */
15192
+ 'options.requestedPolicyVersion'?: number;
15193
+ /** Returns response with indentations and line breaks. */
15194
+ prettyPrint?: boolean;
15195
+ /** 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. */
15196
+ quotaUser?: string;
15197
+ /** 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. */
15198
+ resource: string;
15199
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15200
+ upload_protocol?: string;
15201
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15202
+ uploadType?: string;
15203
+ }): Request<GoogleIamV1Policy>;
15079
15204
  /** Gets the SiteSearchEngine. */
15080
15205
  getSiteSearchEngine(request?: {
15081
15206
  /** V1 error format. */
@@ -15319,6 +15444,36 @@ declare namespace gapi.client {
15319
15444
  },
15320
15445
  body: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest,
15321
15446
  ): Request<GoogleLongrunningOperation>;
15447
+ /** 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. */
15448
+ setIamPolicy(
15449
+ request: {
15450
+ /** V1 error format. */
15451
+ '$.xgafv'?: '1' | '2';
15452
+ /** OAuth access token. */
15453
+ access_token?: string;
15454
+ /** Data format for response. */
15455
+ alt?: 'json' | 'media' | 'proto';
15456
+ /** JSONP */
15457
+ callback?: string;
15458
+ /** Selector specifying which fields to include in a partial response. */
15459
+ fields?: string;
15460
+ /** 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. */
15461
+ key?: string;
15462
+ /** OAuth 2.0 token for the current user. */
15463
+ oauth_token?: string;
15464
+ /** Returns response with indentations and line breaks. */
15465
+ prettyPrint?: boolean;
15466
+ /** 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. */
15467
+ quotaUser?: string;
15468
+ /** 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. */
15469
+ resource: string;
15470
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15471
+ upload_protocol?: string;
15472
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15473
+ uploadType?: string;
15474
+ },
15475
+ body: GoogleIamV1SetIamPolicyRequest,
15476
+ ): Request<GoogleIamV1Policy>;
15322
15477
  /** Trains a custom model. */
15323
15478
  trainCustomModel(request: {
15324
15479
  /** V1 error format. */
@@ -19285,6 +19440,35 @@ declare namespace gapi.client {
19285
19440
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19286
19441
  uploadType?: string;
19287
19442
  }): Request<GoogleCloudDiscoveryengineV1alphaDataConnector>;
19443
+ /** 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. */
19444
+ getIamPolicy(request?: {
19445
+ /** V1 error format. */
19446
+ '$.xgafv'?: '1' | '2';
19447
+ /** OAuth access token. */
19448
+ access_token?: string;
19449
+ /** Data format for response. */
19450
+ alt?: 'json' | 'media' | 'proto';
19451
+ /** JSONP */
19452
+ callback?: string;
19453
+ /** Selector specifying which fields to include in a partial response. */
19454
+ fields?: string;
19455
+ /** 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. */
19456
+ key?: string;
19457
+ /** OAuth 2.0 token for the current user. */
19458
+ oauth_token?: string;
19459
+ /** 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). */
19460
+ 'options.requestedPolicyVersion'?: number;
19461
+ /** Returns response with indentations and line breaks. */
19462
+ prettyPrint?: boolean;
19463
+ /** 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. */
19464
+ quotaUser?: string;
19465
+ /** 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. */
19466
+ resource: string;
19467
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19468
+ upload_protocol?: string;
19469
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19470
+ uploadType?: string;
19471
+ }): Request<GoogleIamV1Policy>;
19288
19472
  /** Gets a list of Collections. */
19289
19473
  list(request?: {
19290
19474
  /** V1 error format. */
@@ -19380,6 +19564,36 @@ declare namespace gapi.client {
19380
19564
  },
19381
19565
  body: GoogleCloudDiscoveryengineV1alphaCollection,
19382
19566
  ): Request<GoogleLongrunningOperation>;
19567
+ /** 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. */
19568
+ setIamPolicy(
19569
+ request: {
19570
+ /** V1 error format. */
19571
+ '$.xgafv'?: '1' | '2';
19572
+ /** OAuth access token. */
19573
+ access_token?: string;
19574
+ /** Data format for response. */
19575
+ alt?: 'json' | 'media' | 'proto';
19576
+ /** JSONP */
19577
+ callback?: string;
19578
+ /** Selector specifying which fields to include in a partial response. */
19579
+ fields?: string;
19580
+ /** 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. */
19581
+ key?: string;
19582
+ /** OAuth 2.0 token for the current user. */
19583
+ oauth_token?: string;
19584
+ /** Returns response with indentations and line breaks. */
19585
+ prettyPrint?: boolean;
19586
+ /** 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. */
19587
+ quotaUser?: string;
19588
+ /** 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. */
19589
+ resource: string;
19590
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19591
+ upload_protocol?: string;
19592
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19593
+ uploadType?: string;
19594
+ },
19595
+ body: GoogleIamV1SetIamPolicyRequest,
19596
+ ): Request<GoogleIamV1Policy>;
19383
19597
  /** Updates a DataConnector. */
19384
19598
  updateDataConnector(request: {
19385
19599
  /** V1 error format. */
@@ -23174,6 +23388,35 @@ declare namespace gapi.client {
23174
23388
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23175
23389
  uploadType?: string;
23176
23390
  }): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
23391
+ /** 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. */
23392
+ getIamPolicy(request?: {
23393
+ /** V1 error format. */
23394
+ '$.xgafv'?: '1' | '2';
23395
+ /** OAuth access token. */
23396
+ access_token?: string;
23397
+ /** Data format for response. */
23398
+ alt?: 'json' | 'media' | 'proto';
23399
+ /** JSONP */
23400
+ callback?: string;
23401
+ /** Selector specifying which fields to include in a partial response. */
23402
+ fields?: string;
23403
+ /** 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. */
23404
+ key?: string;
23405
+ /** OAuth 2.0 token for the current user. */
23406
+ oauth_token?: string;
23407
+ /** 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). */
23408
+ 'options.requestedPolicyVersion'?: number;
23409
+ /** Returns response with indentations and line breaks. */
23410
+ prettyPrint?: boolean;
23411
+ /** 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. */
23412
+ quotaUser?: string;
23413
+ /** 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. */
23414
+ resource: string;
23415
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23416
+ upload_protocol?: string;
23417
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23418
+ uploadType?: string;
23419
+ }): Request<GoogleIamV1Policy>;
23177
23420
  /** Gets the SiteSearchEngine. */
23178
23421
  getSiteSearchEngine(request?: {
23179
23422
  /** V1 error format. */
@@ -23417,6 +23660,36 @@ declare namespace gapi.client {
23417
23660
  },
23418
23661
  body: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest,
23419
23662
  ): Request<GoogleLongrunningOperation>;
23663
+ /** 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. */
23664
+ setIamPolicy(
23665
+ request: {
23666
+ /** V1 error format. */
23667
+ '$.xgafv'?: '1' | '2';
23668
+ /** OAuth access token. */
23669
+ access_token?: string;
23670
+ /** Data format for response. */
23671
+ alt?: 'json' | 'media' | 'proto';
23672
+ /** JSONP */
23673
+ callback?: string;
23674
+ /** Selector specifying which fields to include in a partial response. */
23675
+ fields?: string;
23676
+ /** 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. */
23677
+ key?: string;
23678
+ /** OAuth 2.0 token for the current user. */
23679
+ oauth_token?: string;
23680
+ /** Returns response with indentations and line breaks. */
23681
+ prettyPrint?: boolean;
23682
+ /** 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. */
23683
+ quotaUser?: string;
23684
+ /** 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. */
23685
+ resource: string;
23686
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23687
+ upload_protocol?: string;
23688
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23689
+ uploadType?: string;
23690
+ },
23691
+ body: GoogleIamV1SetIamPolicyRequest,
23692
+ ): Request<GoogleIamV1Policy>;
23420
23693
  /** Updates the CompletionConfigs. */
23421
23694
  updateCompletionConfig(request: {
23422
23695
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.3.20260815",
3
+ "version": "0.3.20260823",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",