@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20250314 → 0.0.20250320

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 +253 -8
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1beta
12
- // Revision: 20250314
12
+ // Revision: 20250320
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -193,6 +193,8 @@ declare namespace gapi.client {
193
193
  actionParams?: {[P in string]: any};
194
194
  /** Output only. The connector contains the necessary parameters and is configured to support actions. */
195
195
  isActionConfigured?: boolean;
196
+ /** Optional. The Service Directory resource name (projects/*‍/locations/*‍/namespaces/*‍/services/*) representing a VPC network endpoint used to connect to the data source's `instance_uri`, defined in DataConnector.params. Required when VPC Service Controls are enabled. */
197
+ serviceName?: string;
196
198
  }
197
199
  interface GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig {
198
200
  /** If set true, automatic refresh is disabled for the DataStore. */
@@ -1454,7 +1456,7 @@ declare namespace gapi.client {
1454
1456
  contentSearchSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec;
1455
1457
  /** Custom fine tuning configs. If set, it has higher priority than the configs set in ServingConfig.custom_fine_tuning_spec. */
1456
1458
  customFineTuningSpec?: GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec;
1457
- /** Specifications that define the specific [DataStore]s to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. */
1459
+ /** Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. */
1458
1460
  dataStoreSpecs?: GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec[];
1459
1461
  /** Optional. Config for display feature, like match highlighting on search results. */
1460
1462
  displaySpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec;
@@ -1488,7 +1490,7 @@ declare namespace gapi.client {
1488
1490
  query?: string;
1489
1491
  /** The query expansion specification that specifies the conditions under which query expansion occurs. */
1490
1492
  queryExpansionSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec;
1491
- /** The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the ranking_expression_backend value. If ranking_expression_backend is not provided, it defaults to BYOE. === BYOE === If ranking expression is not provided or set to BYOE, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. === CLEARBOX === If ranking expression is set to CLEARBOX, the following expression types (and combinations of those chained using + or * operators) are supported: * double * signal * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal rank transformation with second argument being a denominator constant. * is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 * gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32) The following signals are supported: * gecko_score -- semantic similarity adjustment * bm25_score -- keyword match adjustment * jetstream_score -- semantic relevance adjustment * pctr_rank -- predicted conversion rate adjustment as a rank * freshness_rank -- freshness adjustment as a rank * base_rank -- the default rank of the result */
1493
+ /** The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the ranking_expression_backend value. If ranking_expression_backend is not provided, it defaults to BYOE. === BYOE === If ranking_expression_backend is not provided or set to `BYOE`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. === CLEARBOX === If ranking_expression_backend is set to `CLEARBOX`, the following expression types (and combinations of those chained using + or * operators) are supported: * double * signal * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal rank transformation with second argument being a denominator constant. * is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 * gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32) The following signals are supported: * gecko_score -- semantic similarity adjustment * bm25_score -- keyword match adjustment * jetstream_score -- semantic relevance adjustment * pctr_rank -- predicted conversion rate adjustment as a rank * freshness_rank -- freshness adjustment as a rank * base_rank -- the default rank of the result */
1492
1494
  rankingExpression?: string;
1493
1495
  /** Optional. The backend to use for the ranking expression evaluation. */
1494
1496
  rankingExpressionBackend?: string;
@@ -1518,7 +1520,7 @@ declare namespace gapi.client {
1518
1520
  userPseudoId?: string;
1519
1521
  }
1520
1522
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec {
1521
- /** Condition boost specifications. If a document matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. */
1523
+ /** Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. */
1522
1524
  conditionBoostSpecs?: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec[];
1523
1525
  }
1524
1526
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec {
@@ -1897,7 +1899,7 @@ declare namespace gapi.client {
1897
1899
  userPseudoId?: string;
1898
1900
  }
1899
1901
  interface GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec {
1900
- /** Condition boost specifications. If a suggestion matches multiple conditions in the specifictions, boost values from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. Note: Currently only support language condition boost. */
1902
+ /** Condition boost specifications. If a suggestion matches multiple conditions in the specifications, boost values from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. Note: Currently only support language condition boost. */
1901
1903
  conditionBoostSpecs?: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec[];
1902
1904
  }
1903
1905
  interface GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec {
@@ -2841,6 +2843,8 @@ declare namespace gapi.client {
2841
2843
  trainingStartTime?: string;
2842
2844
  }
2843
2845
  interface GoogleCloudDiscoveryengineV1betaDataStore {
2846
+ /** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
2847
+ aclEnabled?: boolean;
2844
2848
  /** Optional. Configuration for advanced site search. */
2845
2849
  advancedSiteSearchConfig?: GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig;
2846
2850
  /** Output only. Data size estimation for billing. */
@@ -3446,6 +3450,10 @@ declare namespace gapi.client {
3446
3450
  /** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
3447
3451
  region?: string;
3448
3452
  }
3453
+ interface GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse {
3454
+ /** All the customer's CmekConfigs. */
3455
+ cmekConfigs?: GoogleCloudDiscoveryengineV1betaCmekConfig[];
3456
+ }
3449
3457
  interface GoogleCloudDiscoveryengineV1betaListControlsResponse {
3450
3458
  /** All the Controls for a given data store. */
3451
3459
  controls?: GoogleCloudDiscoveryengineV1betaControl[];
@@ -3927,7 +3935,7 @@ declare namespace gapi.client {
3927
3935
  canonicalFilter?: string;
3928
3936
  /** A specification for configuring the behavior of content search. */
3929
3937
  contentSearchSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec;
3930
- /** Specifications that define the specific [DataStore]s to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. */
3938
+ /** Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. */
3931
3939
  dataStoreSpecs?: GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec[];
3932
3940
  /** Optional. Config for display feature, like match highlighting on search results. */
3933
3941
  displaySpec?: GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec;
@@ -3961,7 +3969,7 @@ declare namespace gapi.client {
3961
3969
  query?: string;
3962
3970
  /** The query expansion specification that specifies the conditions under which query expansion occurs. */
3963
3971
  queryExpansionSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec;
3964
- /** The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the ranking_expression_backend value. If ranking_expression_backend is not provided, it defaults to BYOE. === BYOE === If ranking expression is not provided or set to BYOE, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. === CLEARBOX === If ranking expression is set to CLEARBOX, the following expression types (and combinations of those chained using + or * operators) are supported: * double * signal * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal rank transformation with second argument being a denominator constant. * is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 * gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32) The following signals are supported: * gecko_score -- semantic similarity adjustment * bm25_score -- keyword match adjustment * jetstream_score -- semantic relevance adjustment * pctr_rank -- predicted conversion rate adjustment as a rank * freshness_rank -- freshness adjustment as a rank * base_rank -- the default rank of the result */
3972
+ /** The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the ranking_expression_backend value. If ranking_expression_backend is not provided, it defaults to BYOE. === BYOE === If ranking_expression_backend is not provided or set to `BYOE`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. === CLEARBOX === If ranking_expression_backend is set to `CLEARBOX`, the following expression types (and combinations of those chained using + or * operators) are supported: * double * signal * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal rank transformation with second argument being a denominator constant. * is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 * gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32) The following signals are supported: * gecko_score -- semantic similarity adjustment * bm25_score -- keyword match adjustment * jetstream_score -- semantic relevance adjustment * pctr_rank -- predicted conversion rate adjustment as a rank * freshness_rank -- freshness adjustment as a rank * base_rank -- the default rank of the result */
3965
3973
  rankingExpression?: string;
3966
3974
  /** Optional. The backend to use for the ranking expression evaluation. */
3967
3975
  rankingExpressionBackend?: string;
@@ -3991,7 +3999,7 @@ declare namespace gapi.client {
3991
3999
  userPseudoId?: string;
3992
4000
  }
3993
4001
  interface GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec {
3994
- /** Condition boost specifications. If a document matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. */
4002
+ /** Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. */
3995
4003
  conditionBoostSpecs?: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec[];
3996
4004
  }
3997
4005
  interface GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec {
@@ -4876,6 +4884,8 @@ declare namespace gapi.client {
4876
4884
  updateTime?: string;
4877
4885
  }
4878
4886
  interface GoogleCloudDiscoveryengineV1DataStore {
4887
+ /** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
4888
+ aclEnabled?: boolean;
4879
4889
  /** Optional. Configuration for advanced site search. */
4880
4890
  advancedSiteSearchConfig?: GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig;
4881
4891
  /** Output only. Data size estimation for billing. */
@@ -5582,6 +5592,151 @@ declare namespace gapi.client {
5582
5592
  /** Optional. IANA Time Zone Database version number. For example "2019a". */
5583
5593
  version?: string;
5584
5594
  }
5595
+ interface CmekConfigsResource {
5596
+ /** De-provisions a CmekConfig. */
5597
+ delete(request?: {
5598
+ /** V1 error format. */
5599
+ '$.xgafv'?: string;
5600
+ /** OAuth access token. */
5601
+ access_token?: string;
5602
+ /** Data format for response. */
5603
+ alt?: string;
5604
+ /** JSONP */
5605
+ callback?: string;
5606
+ /** Selector specifying which fields to include in a partial response. */
5607
+ fields?: string;
5608
+ /** 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. */
5609
+ key?: string;
5610
+ /** Required. The resource name of the CmekConfig to delete, such as `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */
5611
+ name: string;
5612
+ /** OAuth 2.0 token for the current user. */
5613
+ oauth_token?: string;
5614
+ /** Returns response with indentations and line breaks. */
5615
+ prettyPrint?: boolean;
5616
+ /** 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. */
5617
+ quotaUser?: string;
5618
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5619
+ upload_protocol?: string;
5620
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5621
+ uploadType?: string;
5622
+ }): Request<GoogleLongrunningOperation>;
5623
+ /** Gets the CmekConfig. */
5624
+ get(request?: {
5625
+ /** V1 error format. */
5626
+ '$.xgafv'?: string;
5627
+ /** OAuth access token. */
5628
+ access_token?: string;
5629
+ /** Data format for response. */
5630
+ alt?: string;
5631
+ /** JSONP */
5632
+ callback?: string;
5633
+ /** Selector specifying which fields to include in a partial response. */
5634
+ fields?: string;
5635
+ /** 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. */
5636
+ key?: string;
5637
+ /** Required. Resource name of CmekConfig, such as `projects/*‍/locations/*‍/cmekConfig` or `projects/*‍/locations/*‍/cmekConfigs/*`. If the caller does not have permission to access the CmekConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. */
5638
+ name: string;
5639
+ /** OAuth 2.0 token for the current user. */
5640
+ oauth_token?: string;
5641
+ /** Returns response with indentations and line breaks. */
5642
+ prettyPrint?: boolean;
5643
+ /** 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. */
5644
+ quotaUser?: string;
5645
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5646
+ upload_protocol?: string;
5647
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5648
+ uploadType?: string;
5649
+ }): Request<GoogleCloudDiscoveryengineV1betaCmekConfig>;
5650
+ /** Lists all the CmekConfigs with the project. */
5651
+ list(request?: {
5652
+ /** V1 error format. */
5653
+ '$.xgafv'?: string;
5654
+ /** OAuth access token. */
5655
+ access_token?: string;
5656
+ /** Data format for response. */
5657
+ alt?: string;
5658
+ /** JSONP */
5659
+ callback?: string;
5660
+ /** Selector specifying which fields to include in a partial response. */
5661
+ fields?: string;
5662
+ /** 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. */
5663
+ key?: string;
5664
+ /** OAuth 2.0 token for the current user. */
5665
+ oauth_token?: string;
5666
+ /** Required. The parent location resource name, such as `projects/{project}/locations/{location}`. If the caller does not have permission to list CmekConfigs under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned. */
5667
+ parent: string;
5668
+ /** Returns response with indentations and line breaks. */
5669
+ prettyPrint?: boolean;
5670
+ /** 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. */
5671
+ quotaUser?: string;
5672
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5673
+ upload_protocol?: string;
5674
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5675
+ uploadType?: string;
5676
+ }): Request<GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse>;
5677
+ /** Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location. */
5678
+ patch(request: {
5679
+ /** V1 error format. */
5680
+ '$.xgafv'?: string;
5681
+ /** OAuth access token. */
5682
+ access_token?: string;
5683
+ /** Data format for response. */
5684
+ alt?: string;
5685
+ /** JSONP */
5686
+ callback?: string;
5687
+ /** Selector specifying which fields to include in a partial response. */
5688
+ fields?: string;
5689
+ /** 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. */
5690
+ key?: string;
5691
+ /** Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
5692
+ name: string;
5693
+ /** OAuth 2.0 token for the current user. */
5694
+ oauth_token?: string;
5695
+ /** Returns response with indentations and line breaks. */
5696
+ prettyPrint?: boolean;
5697
+ /** 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. */
5698
+ quotaUser?: string;
5699
+ /** Set the following CmekConfig as the default to be used for child resources if one is not specified. */
5700
+ setDefault?: boolean;
5701
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5702
+ upload_protocol?: string;
5703
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5704
+ uploadType?: string;
5705
+ /** Request body */
5706
+ resource: GoogleCloudDiscoveryengineV1betaCmekConfig;
5707
+ }): Request<GoogleLongrunningOperation>;
5708
+ patch(
5709
+ request: {
5710
+ /** V1 error format. */
5711
+ '$.xgafv'?: string;
5712
+ /** OAuth access token. */
5713
+ access_token?: string;
5714
+ /** Data format for response. */
5715
+ alt?: string;
5716
+ /** JSONP */
5717
+ callback?: string;
5718
+ /** Selector specifying which fields to include in a partial response. */
5719
+ fields?: string;
5720
+ /** 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. */
5721
+ key?: string;
5722
+ /** Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
5723
+ name: string;
5724
+ /** OAuth 2.0 token for the current user. */
5725
+ oauth_token?: string;
5726
+ /** Returns response with indentations and line breaks. */
5727
+ prettyPrint?: boolean;
5728
+ /** 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. */
5729
+ quotaUser?: string;
5730
+ /** Set the following CmekConfig as the default to be used for child resources if one is not specified. */
5731
+ setDefault?: boolean;
5732
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5733
+ upload_protocol?: string;
5734
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5735
+ uploadType?: string;
5736
+ },
5737
+ body: GoogleCloudDiscoveryengineV1betaCmekConfig,
5738
+ ): Request<GoogleLongrunningOperation>;
5739
+ }
5585
5740
  interface OperationsResource {
5586
5741
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
5587
5742
  get(request?: {
@@ -15876,6 +16031,33 @@ declare namespace gapi.client {
15876
16031
  ): Request<GoogleCloudDiscoveryengineV1betaUserEvent>;
15877
16032
  }
15878
16033
  interface LocationsResource {
16034
+ /** Gets the CmekConfig. */
16035
+ getCmekConfig(request?: {
16036
+ /** V1 error format. */
16037
+ '$.xgafv'?: string;
16038
+ /** OAuth access token. */
16039
+ access_token?: string;
16040
+ /** Data format for response. */
16041
+ alt?: string;
16042
+ /** JSONP */
16043
+ callback?: string;
16044
+ /** Selector specifying which fields to include in a partial response. */
16045
+ fields?: string;
16046
+ /** 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. */
16047
+ key?: string;
16048
+ /** Required. Resource name of CmekConfig, such as `projects/*‍/locations/*‍/cmekConfig` or `projects/*‍/locations/*‍/cmekConfigs/*`. If the caller does not have permission to access the CmekConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. */
16049
+ name: string;
16050
+ /** OAuth 2.0 token for the current user. */
16051
+ oauth_token?: string;
16052
+ /** Returns response with indentations and line breaks. */
16053
+ prettyPrint?: boolean;
16054
+ /** 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. */
16055
+ quotaUser?: string;
16056
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16057
+ upload_protocol?: string;
16058
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16059
+ uploadType?: string;
16060
+ }): Request<GoogleCloudDiscoveryengineV1betaCmekConfig>;
15879
16061
  /** Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated crawl rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl means Google automatically crawl the internet at its own convenience. When dedicated crawl rate is set, it will return vertex AI's dedicated crawl rate time series. */
15880
16062
  obtainCrawlRate(request: {
15881
16063
  /** V1 error format. */
@@ -16050,6 +16232,69 @@ declare namespace gapi.client {
16050
16232
  },
16051
16233
  body: GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateRequest,
16052
16234
  ): Request<GoogleLongrunningOperation>;
16235
+ /** Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location. */
16236
+ updateCmekConfig(request: {
16237
+ /** V1 error format. */
16238
+ '$.xgafv'?: string;
16239
+ /** OAuth access token. */
16240
+ access_token?: string;
16241
+ /** Data format for response. */
16242
+ alt?: string;
16243
+ /** JSONP */
16244
+ callback?: string;
16245
+ /** Selector specifying which fields to include in a partial response. */
16246
+ fields?: string;
16247
+ /** 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. */
16248
+ key?: string;
16249
+ /** Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
16250
+ name: string;
16251
+ /** OAuth 2.0 token for the current user. */
16252
+ oauth_token?: string;
16253
+ /** Returns response with indentations and line breaks. */
16254
+ prettyPrint?: boolean;
16255
+ /** 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. */
16256
+ quotaUser?: string;
16257
+ /** Set the following CmekConfig as the default to be used for child resources if one is not specified. */
16258
+ setDefault?: boolean;
16259
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16260
+ upload_protocol?: string;
16261
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16262
+ uploadType?: string;
16263
+ /** Request body */
16264
+ resource: GoogleCloudDiscoveryengineV1betaCmekConfig;
16265
+ }): Request<GoogleLongrunningOperation>;
16266
+ updateCmekConfig(
16267
+ request: {
16268
+ /** V1 error format. */
16269
+ '$.xgafv'?: string;
16270
+ /** OAuth access token. */
16271
+ access_token?: string;
16272
+ /** Data format for response. */
16273
+ alt?: string;
16274
+ /** JSONP */
16275
+ callback?: string;
16276
+ /** Selector specifying which fields to include in a partial response. */
16277
+ fields?: string;
16278
+ /** 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. */
16279
+ key?: string;
16280
+ /** Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
16281
+ name: string;
16282
+ /** OAuth 2.0 token for the current user. */
16283
+ oauth_token?: string;
16284
+ /** Returns response with indentations and line breaks. */
16285
+ prettyPrint?: boolean;
16286
+ /** 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. */
16287
+ quotaUser?: string;
16288
+ /** Set the following CmekConfig as the default to be used for child resources if one is not specified. */
16289
+ setDefault?: boolean;
16290
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16291
+ upload_protocol?: string;
16292
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16293
+ uploadType?: string;
16294
+ },
16295
+ body: GoogleCloudDiscoveryengineV1betaCmekConfig,
16296
+ ): Request<GoogleLongrunningOperation>;
16297
+ cmekConfigs: CmekConfigsResource;
16053
16298
  collections: CollectionsResource;
16054
16299
  dataStores: DataStoresResource;
16055
16300
  evaluations: EvaluationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20250314",
3
+ "version": "0.0.20250320",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",