@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20240930 → 0.0.20241010

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 +299 -1
  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: 20240930
12
+ // Revision: 20241010
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -683,6 +683,20 @@ declare namespace gapi.client {
683
683
  /** Required. The Cloud SQL table to copy the data from with a length limit of 256 characters. */
684
684
  tableId?: string;
685
685
  }
686
+ interface GoogleCloudDiscoveryengineV1alphaCmekConfig {
687
+ /** Output only. The default CmekConfig for the Customer. */
688
+ isDefault?: boolean;
689
+ /** Kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
690
+ kmsKey?: string;
691
+ /** Kms key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
692
+ kmsKeyVersion?: string;
693
+ /** Output only. The timestamp of the last key rotation. */
694
+ lastRotationTimestampMicros?: string;
695
+ /** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
696
+ name?: string;
697
+ /** Output only. State of the CmekConfig. */
698
+ state?: string;
699
+ }
686
700
  interface GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse {
687
701
  /** Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion. */
688
702
  querySuggestions?: GoogleCloudDiscoveryengineV1alphaCompleteQueryResponseQuerySuggestion[];
@@ -899,6 +913,8 @@ declare namespace gapi.client {
899
913
  aclEnabled?: boolean;
900
914
  /** Output only. Data size estimation for billing. */
901
915
  billingEstimation?: GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation;
916
+ /** Output only. CMEK-related information for the DataStore. */
917
+ cmekConfig?: GoogleCloudDiscoveryengineV1alphaCmekConfig;
902
918
  /** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
903
919
  contentConfig?: string;
904
920
  /** Output only. Timestamp the DataStore was created at. */
@@ -913,6 +929,8 @@ declare namespace gapi.client {
913
929
  idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
914
930
  /** Immutable. The industry vertical that the data store registers. */
915
931
  industryVertical?: string;
932
+ /** Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field. */
933
+ kmsKeyName?: string;
916
934
  /** Language info for DataStore. */
917
935
  languageInfo?: GoogleCloudDiscoveryengineV1alphaLanguageInfo;
918
936
  /** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
@@ -1539,6 +1557,10 @@ declare namespace gapi.client {
1539
1557
  /** A token that can be sent as ListChunksRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
1540
1558
  nextPageToken?: string;
1541
1559
  }
1560
+ interface GoogleCloudDiscoveryengineV1alphaListCmekConfigsResponse {
1561
+ /** All the customer's CmekConfigs. */
1562
+ cmekConfigs?: GoogleCloudDiscoveryengineV1alphaCmekConfig[];
1563
+ }
1542
1564
  interface GoogleCloudDiscoveryengineV1alphaListControlsResponse {
1543
1565
  /** All the Controls for a given data store. */
1544
1566
  controls?: GoogleCloudDiscoveryengineV1alphaControl[];
@@ -2065,6 +2087,8 @@ declare namespace gapi.client {
2065
2087
  naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec;
2066
2088
  /** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */
2067
2089
  offset?: number;
2090
+ /** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
2091
+ oneBoxPageSize?: number;
2068
2092
  /** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
2069
2093
  orderBy?: string;
2070
2094
  /** Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned. */
@@ -2710,6 +2734,12 @@ declare namespace gapi.client {
2710
2734
  }
2711
2735
  interface GoogleCloudDiscoveryengineV1alphaTuneEngineRequest {}
2712
2736
  interface GoogleCloudDiscoveryengineV1alphaTuneEngineResponse {}
2737
+ interface GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata {
2738
+ /** Operation create time. */
2739
+ createTime?: string;
2740
+ /** Operation last update time. If the operation is done, this is also the finish time. */
2741
+ updateTime?: string;
2742
+ }
2713
2743
  interface GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata {
2714
2744
  /** Operation create time. */
2715
2745
  createTime?: string;
@@ -2802,6 +2832,20 @@ declare namespace gapi.client {
2802
2832
  /** TargetSites created. */
2803
2833
  targetSites?: GoogleCloudDiscoveryengineV1betaTargetSite[];
2804
2834
  }
2835
+ interface GoogleCloudDiscoveryengineV1betaCmekConfig {
2836
+ /** Output only. The default CmekConfig for the Customer. */
2837
+ isDefault?: boolean;
2838
+ /** Kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
2839
+ kmsKey?: string;
2840
+ /** Kms key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
2841
+ kmsKeyVersion?: string;
2842
+ /** Output only. The timestamp of the last key rotation. */
2843
+ lastRotationTimestampMicros?: string;
2844
+ /** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
2845
+ name?: string;
2846
+ /** Output only. State of the CmekConfig. */
2847
+ state?: string;
2848
+ }
2805
2849
  interface GoogleCloudDiscoveryengineV1betaCondition {
2806
2850
  /** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
2807
2851
  activeTimeRange?: GoogleCloudDiscoveryengineV1betaConditionTimeRange[];
@@ -2910,6 +2954,8 @@ declare namespace gapi.client {
2910
2954
  interface GoogleCloudDiscoveryengineV1betaDataStore {
2911
2955
  /** Output only. Data size estimation for billing. */
2912
2956
  billingEstimation?: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation;
2957
+ /** Output only. CMEK-related information for the DataStore. */
2958
+ cmekConfig?: GoogleCloudDiscoveryengineV1betaCmekConfig;
2913
2959
  /** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
2914
2960
  contentConfig?: string;
2915
2961
  /** Output only. Timestamp the DataStore was created at. */
@@ -2922,6 +2968,8 @@ declare namespace gapi.client {
2922
2968
  documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
2923
2969
  /** Immutable. The industry vertical that the data store registers. */
2924
2970
  industryVertical?: string;
2971
+ /** Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field. */
2972
+ kmsKeyName?: string;
2925
2973
  /** Language info for DataStore. */
2926
2974
  languageInfo?: GoogleCloudDiscoveryengineV1betaLanguageInfo;
2927
2975
  /** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
@@ -3339,6 +3387,8 @@ declare namespace gapi.client {
3339
3387
  naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec;
3340
3388
  /** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */
3341
3389
  offset?: number;
3390
+ /** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
3391
+ oneBoxPageSize?: number;
3342
3392
  /** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
3343
3393
  orderBy?: string;
3344
3394
  /** Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned. */
@@ -3641,6 +3691,20 @@ declare namespace gapi.client {
3641
3691
  /** The Google Workspace data source. */
3642
3692
  type?: string;
3643
3693
  }
3694
+ interface GoogleCloudDiscoveryengineV1CmekConfig {
3695
+ /** Output only. The default CmekConfig for the Customer. */
3696
+ isDefault?: boolean;
3697
+ /** Kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
3698
+ kmsKey?: string;
3699
+ /** Kms key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
3700
+ kmsKeyVersion?: string;
3701
+ /** Output only. The timestamp of the last key rotation. */
3702
+ lastRotationTimestampMicros?: string;
3703
+ /** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
3704
+ name?: string;
3705
+ /** Output only. State of the CmekConfig. */
3706
+ state?: string;
3707
+ }
3644
3708
  interface GoogleCloudDiscoveryengineV1Condition {
3645
3709
  /** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
3646
3710
  activeTimeRange?: GoogleCloudDiscoveryengineV1ConditionTimeRange[];
@@ -3730,6 +3794,8 @@ declare namespace gapi.client {
3730
3794
  interface GoogleCloudDiscoveryengineV1DataStore {
3731
3795
  /** Output only. Data size estimation for billing. */
3732
3796
  billingEstimation?: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation;
3797
+ /** Output only. CMEK-related information for the DataStore. */
3798
+ cmekConfig?: GoogleCloudDiscoveryengineV1CmekConfig;
3733
3799
  /** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
3734
3800
  contentConfig?: string;
3735
3801
  /** Output only. Timestamp the DataStore was created at. */
@@ -3742,6 +3808,8 @@ declare namespace gapi.client {
3742
3808
  documentProcessingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
3743
3809
  /** Immutable. The industry vertical that the data store registers. */
3744
3810
  industryVertical?: string;
3811
+ /** Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field. */
3812
+ kmsKeyName?: string;
3745
3813
  /** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
3746
3814
  name?: string;
3747
3815
  /** Optional. Stores serving config at DataStore level. */
@@ -4104,6 +4172,12 @@ declare namespace gapi.client {
4104
4172
  /** The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving. */
4105
4173
  modelStatus?: string;
4106
4174
  }
4175
+ interface GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata {
4176
+ /** Operation create time. */
4177
+ createTime?: string;
4178
+ /** Operation last update time. If the operation is done, this is also the finish time. */
4179
+ updateTime?: string;
4180
+ }
4107
4181
  interface GoogleCloudDiscoveryengineV1UpdateSchemaMetadata {
4108
4182
  /** Operation create time. */
4109
4183
  createTime?: string;
@@ -4184,6 +4258,124 @@ declare namespace gapi.client {
4184
4258
  /** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
4185
4259
  title?: string;
4186
4260
  }
4261
+ interface CmekConfigsResource {
4262
+ /** Gets the CmekConfig. */
4263
+ get(request?: {
4264
+ /** V1 error format. */
4265
+ '$.xgafv'?: string;
4266
+ /** OAuth access token. */
4267
+ access_token?: string;
4268
+ /** Data format for response. */
4269
+ alt?: string;
4270
+ /** JSONP */
4271
+ callback?: string;
4272
+ /** Selector specifying which fields to include in a partial response. */
4273
+ fields?: string;
4274
+ /** 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. */
4275
+ key?: string;
4276
+ /** 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. */
4277
+ name: string;
4278
+ /** OAuth 2.0 token for the current user. */
4279
+ oauth_token?: string;
4280
+ /** Returns response with indentations and line breaks. */
4281
+ prettyPrint?: boolean;
4282
+ /** 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. */
4283
+ quotaUser?: string;
4284
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4285
+ upload_protocol?: string;
4286
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4287
+ uploadType?: string;
4288
+ }): Request<GoogleCloudDiscoveryengineV1alphaCmekConfig>;
4289
+ /** Lists all the CmekConfigs with the project. */
4290
+ list(request?: {
4291
+ /** V1 error format. */
4292
+ '$.xgafv'?: string;
4293
+ /** OAuth access token. */
4294
+ access_token?: string;
4295
+ /** Data format for response. */
4296
+ alt?: string;
4297
+ /** JSONP */
4298
+ callback?: string;
4299
+ /** Selector specifying which fields to include in a partial response. */
4300
+ fields?: string;
4301
+ /** 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. */
4302
+ key?: string;
4303
+ /** OAuth 2.0 token for the current user. */
4304
+ oauth_token?: string;
4305
+ /** 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. */
4306
+ parent: string;
4307
+ /** Returns response with indentations and line breaks. */
4308
+ prettyPrint?: boolean;
4309
+ /** 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. */
4310
+ quotaUser?: string;
4311
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4312
+ upload_protocol?: string;
4313
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4314
+ uploadType?: string;
4315
+ }): Request<GoogleCloudDiscoveryengineV1alphaListCmekConfigsResponse>;
4316
+ /** 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. */
4317
+ patch(request: {
4318
+ /** V1 error format. */
4319
+ '$.xgafv'?: string;
4320
+ /** OAuth access token. */
4321
+ access_token?: string;
4322
+ /** Data format for response. */
4323
+ alt?: string;
4324
+ /** JSONP */
4325
+ callback?: string;
4326
+ /** Selector specifying which fields to include in a partial response. */
4327
+ fields?: string;
4328
+ /** 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. */
4329
+ key?: string;
4330
+ /** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
4331
+ name: string;
4332
+ /** OAuth 2.0 token for the current user. */
4333
+ oauth_token?: string;
4334
+ /** Returns response with indentations and line breaks. */
4335
+ prettyPrint?: boolean;
4336
+ /** 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. */
4337
+ quotaUser?: string;
4338
+ /** Set the following CmekConfig as the default to be used for child resources if one is not specified. */
4339
+ setDefault?: boolean;
4340
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4341
+ upload_protocol?: string;
4342
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4343
+ uploadType?: string;
4344
+ /** Request body */
4345
+ resource: GoogleCloudDiscoveryengineV1alphaCmekConfig;
4346
+ }): Request<GoogleLongrunningOperation>;
4347
+ patch(
4348
+ request: {
4349
+ /** V1 error format. */
4350
+ '$.xgafv'?: string;
4351
+ /** OAuth access token. */
4352
+ access_token?: string;
4353
+ /** Data format for response. */
4354
+ alt?: string;
4355
+ /** JSONP */
4356
+ callback?: string;
4357
+ /** Selector specifying which fields to include in a partial response. */
4358
+ fields?: string;
4359
+ /** 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. */
4360
+ key?: string;
4361
+ /** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
4362
+ name: string;
4363
+ /** OAuth 2.0 token for the current user. */
4364
+ oauth_token?: string;
4365
+ /** Returns response with indentations and line breaks. */
4366
+ prettyPrint?: boolean;
4367
+ /** 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. */
4368
+ quotaUser?: string;
4369
+ /** Set the following CmekConfig as the default to be used for child resources if one is not specified. */
4370
+ setDefault?: boolean;
4371
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4372
+ upload_protocol?: string;
4373
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4374
+ uploadType?: string;
4375
+ },
4376
+ body: GoogleCloudDiscoveryengineV1alphaCmekConfig
4377
+ ): Request<GoogleLongrunningOperation>;
4378
+ }
4187
4379
  interface OperationsResource {
4188
4380
  /** 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. */
4189
4381
  get(request?: {
@@ -7509,10 +7701,14 @@ declare namespace gapi.client {
7509
7701
  alt?: string;
7510
7702
  /** JSONP */
7511
7703
  callback?: string;
7704
+ /** Resource name of the CmekConfig to use for protecting this DataStore. */
7705
+ cmekConfigName?: string;
7512
7706
  /** A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */
7513
7707
  createAdvancedSiteSearch?: boolean;
7514
7708
  /** Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
7515
7709
  dataStoreId?: string;
7710
+ /** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
7711
+ disableCmek?: boolean;
7516
7712
  /** Selector specifying which fields to include in a partial response. */
7517
7713
  fields?: string;
7518
7714
  /** 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. */
@@ -7544,10 +7740,14 @@ declare namespace gapi.client {
7544
7740
  alt?: string;
7545
7741
  /** JSONP */
7546
7742
  callback?: string;
7743
+ /** Resource name of the CmekConfig to use for protecting this DataStore. */
7744
+ cmekConfigName?: string;
7547
7745
  /** A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */
7548
7746
  createAdvancedSiteSearch?: boolean;
7549
7747
  /** Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
7550
7748
  dataStoreId?: string;
7749
+ /** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
7750
+ disableCmek?: boolean;
7551
7751
  /** Selector specifying which fields to include in a partial response. */
7552
7752
  fields?: string;
7553
7753
  /** 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. */
@@ -12315,10 +12515,14 @@ declare namespace gapi.client {
12315
12515
  alt?: string;
12316
12516
  /** JSONP */
12317
12517
  callback?: string;
12518
+ /** Resource name of the CmekConfig to use for protecting this DataStore. */
12519
+ cmekConfigName?: string;
12318
12520
  /** A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */
12319
12521
  createAdvancedSiteSearch?: boolean;
12320
12522
  /** Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
12321
12523
  dataStoreId?: string;
12524
+ /** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
12525
+ disableCmek?: boolean;
12322
12526
  /** Selector specifying which fields to include in a partial response. */
12323
12527
  fields?: string;
12324
12528
  /** 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. */
@@ -12350,10 +12554,14 @@ declare namespace gapi.client {
12350
12554
  alt?: string;
12351
12555
  /** JSONP */
12352
12556
  callback?: string;
12557
+ /** Resource name of the CmekConfig to use for protecting this DataStore. */
12558
+ cmekConfigName?: string;
12353
12559
  /** A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */
12354
12560
  createAdvancedSiteSearch?: boolean;
12355
12561
  /** Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
12356
12562
  dataStoreId?: string;
12563
+ /** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
12564
+ disableCmek?: boolean;
12357
12565
  /** Selector specifying which fields to include in a partial response. */
12358
12566
  fields?: string;
12359
12567
  /** 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. */
@@ -13898,6 +14106,33 @@ declare namespace gapi.client {
13898
14106
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13899
14107
  uploadType?: string;
13900
14108
  }): Request<GoogleCloudDiscoveryengineV1alphaAclConfig>;
14109
+ /** Gets the CmekConfig. */
14110
+ getCmekConfig(request?: {
14111
+ /** V1 error format. */
14112
+ '$.xgafv'?: string;
14113
+ /** OAuth access token. */
14114
+ access_token?: string;
14115
+ /** Data format for response. */
14116
+ alt?: string;
14117
+ /** JSONP */
14118
+ callback?: string;
14119
+ /** Selector specifying which fields to include in a partial response. */
14120
+ fields?: string;
14121
+ /** 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. */
14122
+ key?: string;
14123
+ /** 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. */
14124
+ name: string;
14125
+ /** OAuth 2.0 token for the current user. */
14126
+ oauth_token?: string;
14127
+ /** Returns response with indentations and line breaks. */
14128
+ prettyPrint?: boolean;
14129
+ /** 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. */
14130
+ quotaUser?: string;
14131
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14132
+ upload_protocol?: string;
14133
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14134
+ uploadType?: string;
14135
+ }): Request<GoogleCloudDiscoveryengineV1alphaCmekConfig>;
13901
14136
  /** Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value. */
13902
14137
  updateAclConfig(request: {
13903
14138
  /** V1 error format. */
@@ -13956,6 +14191,69 @@ declare namespace gapi.client {
13956
14191
  },
13957
14192
  body: GoogleCloudDiscoveryengineV1alphaAclConfig
13958
14193
  ): Request<GoogleCloudDiscoveryengineV1alphaAclConfig>;
14194
+ /** 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. */
14195
+ updateCmekConfig(request: {
14196
+ /** V1 error format. */
14197
+ '$.xgafv'?: string;
14198
+ /** OAuth access token. */
14199
+ access_token?: string;
14200
+ /** Data format for response. */
14201
+ alt?: string;
14202
+ /** JSONP */
14203
+ callback?: string;
14204
+ /** Selector specifying which fields to include in a partial response. */
14205
+ fields?: string;
14206
+ /** 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. */
14207
+ key?: string;
14208
+ /** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
14209
+ name: string;
14210
+ /** OAuth 2.0 token for the current user. */
14211
+ oauth_token?: string;
14212
+ /** Returns response with indentations and line breaks. */
14213
+ prettyPrint?: boolean;
14214
+ /** 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. */
14215
+ quotaUser?: string;
14216
+ /** Set the following CmekConfig as the default to be used for child resources if one is not specified. */
14217
+ setDefault?: boolean;
14218
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14219
+ upload_protocol?: string;
14220
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14221
+ uploadType?: string;
14222
+ /** Request body */
14223
+ resource: GoogleCloudDiscoveryengineV1alphaCmekConfig;
14224
+ }): Request<GoogleLongrunningOperation>;
14225
+ updateCmekConfig(
14226
+ request: {
14227
+ /** V1 error format. */
14228
+ '$.xgafv'?: string;
14229
+ /** OAuth access token. */
14230
+ access_token?: string;
14231
+ /** Data format for response. */
14232
+ alt?: string;
14233
+ /** JSONP */
14234
+ callback?: string;
14235
+ /** Selector specifying which fields to include in a partial response. */
14236
+ fields?: string;
14237
+ /** 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. */
14238
+ key?: string;
14239
+ /** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
14240
+ name: string;
14241
+ /** OAuth 2.0 token for the current user. */
14242
+ oauth_token?: string;
14243
+ /** Returns response with indentations and line breaks. */
14244
+ prettyPrint?: boolean;
14245
+ /** 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. */
14246
+ quotaUser?: string;
14247
+ /** Set the following CmekConfig as the default to be used for child resources if one is not specified. */
14248
+ setDefault?: boolean;
14249
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14250
+ upload_protocol?: string;
14251
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14252
+ uploadType?: string;
14253
+ },
14254
+ body: GoogleCloudDiscoveryengineV1alphaCmekConfig
14255
+ ): Request<GoogleLongrunningOperation>;
14256
+ cmekConfigs: CmekConfigsResource;
13959
14257
  collections: CollectionsResource;
13960
14258
  dataStores: DataStoresResource;
13961
14259
  evaluations: EvaluationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.0.20240930",
3
+ "version": "0.0.20241010",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",