@googleapis/discoveryengine 26.1.0 → 27.0.0

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.
package/build/v1.d.ts CHANGED
@@ -809,7 +809,7 @@ export declare namespace discoveryengine_v1 {
809
809
  */
810
810
  userInfo?: Schema$GoogleCloudDiscoveryengineV1UserInfo;
811
811
  /**
812
- * A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128
812
+ * Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128
813
813
  */
814
814
  userPseudoId?: string | null;
815
815
  }
@@ -2714,6 +2714,10 @@ export declare namespace discoveryengine_v1 {
2714
2714
  * Optional. Configuration for configurable billing approach. See
2715
2715
  */
2716
2716
  configurableBillingApproach?: string | null;
2717
+ /**
2718
+ * Output only. The timestamp when configurable_billing_approach was last updated.
2719
+ */
2720
+ configurableBillingApproachUpdateTime?: string | null;
2717
2721
  /**
2718
2722
  * Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
2719
2723
  */
@@ -2846,6 +2850,19 @@ export declare namespace discoveryengine_v1 {
2846
2850
  */
2847
2851
  userTriggeredCrawlRate?: Schema$GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
2848
2852
  }
2853
+ /**
2854
+ * Metadata related to the progress of the AgentService.DeleteAgent operation. This will be returned by the google.longrunning.Operation.metadata field.
2855
+ */
2856
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata {
2857
+ /**
2858
+ * Operation create time.
2859
+ */
2860
+ createTime?: string | null;
2861
+ /**
2862
+ * Operation last update time. If the operation is done, this is also the finish time.
2863
+ */
2864
+ updateTime?: string | null;
2865
+ }
2849
2866
  /**
2850
2867
  * Metadata related to the progress of the CmekConfigService.DeleteCmekConfig operation. This will be returned by the google.longrunning.Operation.metadata field.
2851
2868
  */
@@ -2959,6 +2976,19 @@ export declare namespace discoveryengine_v1 {
2959
2976
  */
2960
2977
  updateTime?: string | null;
2961
2978
  }
2979
+ /**
2980
+ * Metadata related to the progress of the UserStoreService.DeleteUserStore operation. This will be returned by the google.longrunning.Operation.metadata field. Delete UserStore will delete all the end users under the user store, return the number of end users successfully deleted or failed to delete in the metadata.
2981
+ */
2982
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata {
2983
+ /**
2984
+ * The number of end users under the user store that failed to be deleted.
2985
+ */
2986
+ failureCount?: string | null;
2987
+ /**
2988
+ * The number of end users under the user store that were successfully deleted.
2989
+ */
2990
+ successCount?: string | null;
2991
+ }
2962
2992
  /**
2963
2993
  * Defines target endpoints used to connect to third-party sources.
2964
2994
  */
@@ -4010,6 +4040,10 @@ export declare namespace discoveryengine_v1 {
4010
4040
  * Metadata and configurations for a Google Cloud project in the service.
4011
4041
  */
4012
4042
  export interface Schema$GoogleCloudDiscoveryengineV1alphaProject {
4043
+ /**
4044
+ * Output only. The current status of the project's configurable billing.
4045
+ */
4046
+ configurableBillingStatus?: Schema$GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus;
4013
4047
  /**
4014
4048
  * Output only. The timestamp when this project is created.
4015
4049
  */
@@ -4033,6 +4067,23 @@ export declare namespace discoveryengine_v1 {
4033
4067
  [key: string]: Schema$GoogleCloudDiscoveryengineV1alphaProjectServiceTerms;
4034
4068
  } | null;
4035
4069
  }
4070
+ /**
4071
+ * Represents the currently effective configurable billing parameters. These values are derived from the customer's subscription history stored internally and reflect the thresholds actively being used for billing purposes at the time of the GetProject call. This includes the start_time of the subscription and may differ from the values in `customer_provided_config` due to billing rules (e.g., scale-downs taking effect only at the start of a new month).
4072
+ */
4073
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus {
4074
+ /**
4075
+ * Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations.
4076
+ */
4077
+ effectiveIndexingCoreThreshold?: string | null;
4078
+ /**
4079
+ * Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.
4080
+ */
4081
+ effectiveSearchQpmThreshold?: string | null;
4082
+ /**
4083
+ * Optional. The start time of the currently active billing subscription.
4084
+ */
4085
+ startTime?: string | null;
4086
+ }
4036
4087
  /**
4037
4088
  * Customer provided configurations.
4038
4089
  */
@@ -4050,6 +4101,10 @@ export declare namespace discoveryengine_v1 {
4050
4101
  * Model Armor configuration to be used for sanitizing user prompts and LLM responses.
4051
4102
  */
4052
4103
  modelArmorConfig?: Schema$GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
4104
+ /**
4105
+ * Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.
4106
+ */
4107
+ optOutNotebookSharing?: boolean | null;
4053
4108
  }
4054
4109
  /**
4055
4110
  * Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and LLM responses.
@@ -4629,7 +4684,7 @@ export declare namespace discoveryengine_v1 {
4629
4684
  [key: string]: string;
4630
4685
  } | null;
4631
4686
  /**
4632
- * A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
4687
+ * Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
4633
4688
  */
4634
4689
  userPseudoId?: string | null;
4635
4690
  }
@@ -7301,6 +7356,10 @@ export declare namespace discoveryengine_v1 {
7301
7356
  * Optional. Configuration for configurable billing approach. See
7302
7357
  */
7303
7358
  configurableBillingApproach?: string | null;
7359
+ /**
7360
+ * Output only. The timestamp when configurable_billing_approach was last updated.
7361
+ */
7362
+ configurableBillingApproachUpdateTime?: string | null;
7304
7363
  /**
7305
7364
  * Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
7306
7365
  */
@@ -8310,6 +8369,10 @@ export declare namespace discoveryengine_v1 {
8310
8369
  * Metadata and configurations for a Google Cloud project in the service.
8311
8370
  */
8312
8371
  export interface Schema$GoogleCloudDiscoveryengineV1betaProject {
8372
+ /**
8373
+ * Output only. The current status of the project's configurable billing.
8374
+ */
8375
+ configurableBillingStatus?: Schema$GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus;
8313
8376
  /**
8314
8377
  * Output only. The timestamp when this project is created.
8315
8378
  */
@@ -8333,6 +8396,23 @@ export declare namespace discoveryengine_v1 {
8333
8396
  [key: string]: Schema$GoogleCloudDiscoveryengineV1betaProjectServiceTerms;
8334
8397
  } | null;
8335
8398
  }
8399
+ /**
8400
+ * Represents the currently effective configurable billing parameters. These values are derived from the customer's subscription history stored internally and reflect the thresholds actively being used for billing purposes at the time of the GetProject call. This includes the start_time of the subscription and may differ from the values in `customer_provided_config` due to billing rules (e.g., scale-downs taking effect only at the start of a new month).
8401
+ */
8402
+ export interface Schema$GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus {
8403
+ /**
8404
+ * Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations.
8405
+ */
8406
+ effectiveIndexingCoreThreshold?: string | null;
8407
+ /**
8408
+ * Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.
8409
+ */
8410
+ effectiveSearchQpmThreshold?: string | null;
8411
+ /**
8412
+ * Optional. The start time of the currently active billing subscription.
8413
+ */
8414
+ startTime?: string | null;
8415
+ }
8336
8416
  /**
8337
8417
  * Customer provided configurations.
8338
8418
  */
@@ -8350,6 +8430,10 @@ export declare namespace discoveryengine_v1 {
8350
8430
  * Model Armor configuration to be used for sanitizing user prompts and LLM responses.
8351
8431
  */
8352
8432
  modelArmorConfig?: Schema$GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
8433
+ /**
8434
+ * Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.
8435
+ */
8436
+ optOutNotebookSharing?: boolean | null;
8353
8437
  }
8354
8438
  /**
8355
8439
  * Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and LLM responses.
@@ -8727,7 +8811,7 @@ export declare namespace discoveryengine_v1 {
8727
8811
  [key: string]: string;
8728
8812
  } | null;
8729
8813
  /**
8730
- * A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
8814
+ * Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
8731
8815
  */
8732
8816
  userPseudoId?: string | null;
8733
8817
  }
@@ -9420,6 +9504,31 @@ export declare namespace discoveryengine_v1 {
9420
9504
  */
9421
9505
  userProfile?: string | null;
9422
9506
  }
9507
+ /**
9508
+ * Configures metadata that is used for End User entities.
9509
+ */
9510
+ export interface Schema$GoogleCloudDiscoveryengineV1betaUserStore {
9511
+ /**
9512
+ * Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.
9513
+ */
9514
+ defaultLicenseConfig?: string | null;
9515
+ /**
9516
+ * The display name of the User Store.
9517
+ */
9518
+ displayName?: string | null;
9519
+ /**
9520
+ * Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.
9521
+ */
9522
+ enableExpiredLicenseAutoUpdate?: boolean | null;
9523
+ /**
9524
+ * Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.
9525
+ */
9526
+ enableLicenseAutoRegister?: boolean | null;
9527
+ /**
9528
+ * Immutable. The full resource name of the User Store, in the format of `projects/{project\}/locations/{location\}/userStores/{user_store\}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
9529
+ */
9530
+ name?: string | null;
9531
+ }
9423
9532
  /**
9424
9533
  * Config to store data store type configuration for workspace data
9425
9534
  */
@@ -10702,6 +10811,10 @@ export declare namespace discoveryengine_v1 {
10702
10811
  * Optional. Configuration for configurable billing approach. See
10703
10812
  */
10704
10813
  configurableBillingApproach?: string | null;
10814
+ /**
10815
+ * Output only. The timestamp when configurable_billing_approach was last updated.
10816
+ */
10817
+ configurableBillingApproachUpdateTime?: string | null;
10705
10818
  /**
10706
10819
  * Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
10707
10820
  */
@@ -12223,6 +12336,19 @@ export declare namespace discoveryengine_v1 {
12223
12336
  */
12224
12337
  schemas?: Schema$GoogleCloudDiscoveryengineV1Schema[];
12225
12338
  }
12339
+ /**
12340
+ * Response for ListServingConfigs method.
12341
+ */
12342
+ export interface Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse {
12343
+ /**
12344
+ * Pagination token, if not returned indicates the last page.
12345
+ */
12346
+ nextPageToken?: string | null;
12347
+ /**
12348
+ * All the ServingConfigs for a given dataStore.
12349
+ */
12350
+ servingConfigs?: Schema$GoogleCloudDiscoveryengineV1ServingConfig[];
12351
+ }
12226
12352
  /**
12227
12353
  * Response for ListSessions method.
12228
12354
  */
@@ -12346,6 +12472,10 @@ export declare namespace discoveryengine_v1 {
12346
12472
  * Metadata and configurations for a Google Cloud project in the service.
12347
12473
  */
12348
12474
  export interface Schema$GoogleCloudDiscoveryengineV1Project {
12475
+ /**
12476
+ * Output only. The current status of the project's configurable billing.
12477
+ */
12478
+ configurableBillingStatus?: Schema$GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus;
12349
12479
  /**
12350
12480
  * Output only. The timestamp when this project is created.
12351
12481
  */
@@ -12369,6 +12499,23 @@ export declare namespace discoveryengine_v1 {
12369
12499
  [key: string]: Schema$GoogleCloudDiscoveryengineV1ProjectServiceTerms;
12370
12500
  } | null;
12371
12501
  }
12502
+ /**
12503
+ * Represents the currently effective configurable billing parameters. These values are derived from the customer's subscription history stored internally and reflect the thresholds actively being used for billing purposes at the time of the GetProject call. This includes the start_time of the subscription and may differ from the values in `customer_provided_config` due to billing rules (e.g., scale-downs taking effect only at the start of a new month).
12504
+ */
12505
+ export interface Schema$GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus {
12506
+ /**
12507
+ * Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations.
12508
+ */
12509
+ effectiveIndexingCoreThreshold?: string | null;
12510
+ /**
12511
+ * Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.
12512
+ */
12513
+ effectiveSearchQpmThreshold?: string | null;
12514
+ /**
12515
+ * Optional. The start time of the currently active billing subscription.
12516
+ */
12517
+ startTime?: string | null;
12518
+ }
12372
12519
  /**
12373
12520
  * Customer provided configurations.
12374
12521
  */
@@ -12386,6 +12533,10 @@ export declare namespace discoveryengine_v1 {
12386
12533
  * Model Armor configuration to be used for sanitizing user prompts and LLM responses.
12387
12534
  */
12388
12535
  modelArmorConfig?: Schema$GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
12536
+ /**
12537
+ * Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.
12538
+ */
12539
+ optOutNotebookSharing?: boolean | null;
12389
12540
  }
12390
12541
  /**
12391
12542
  * Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and LLM responses.
@@ -13034,7 +13185,7 @@ export declare namespace discoveryengine_v1 {
13034
13185
  [key: string]: string;
13035
13186
  } | null;
13036
13187
  /**
13037
- * A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
13188
+ * Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
13038
13189
  */
13039
13190
  userPseudoId?: string | null;
13040
13191
  }
@@ -14510,6 +14661,31 @@ export declare namespace discoveryengine_v1 {
14510
14661
  */
14511
14662
  userProfile?: string | null;
14512
14663
  }
14664
+ /**
14665
+ * Configures metadata that is used for End User entities.
14666
+ */
14667
+ export interface Schema$GoogleCloudDiscoveryengineV1UserStore {
14668
+ /**
14669
+ * Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.
14670
+ */
14671
+ defaultLicenseConfig?: string | null;
14672
+ /**
14673
+ * The display name of the User Store.
14674
+ */
14675
+ displayName?: string | null;
14676
+ /**
14677
+ * Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.
14678
+ */
14679
+ enableExpiredLicenseAutoUpdate?: boolean | null;
14680
+ /**
14681
+ * Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.
14682
+ */
14683
+ enableLicenseAutoRegister?: boolean | null;
14684
+ /**
14685
+ * Immutable. The full resource name of the User Store, in the format of `projects/{project\}/locations/{location\}/userStores/{user_store\}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
14686
+ */
14687
+ name?: string | null;
14688
+ }
14513
14689
  /**
14514
14690
  * Config to store data store type configuration for workspace data
14515
14691
  */
@@ -16460,7 +16636,7 @@ export declare namespace discoveryengine_v1 {
16460
16636
  * query: 'placeholder-value',
16461
16637
  * // Specifies the autocomplete data model. This overrides any model specified in the Configuration \> Autocomplete section of the Cloud console. Currently supported values: * `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. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.
16462
16638
  * queryModel: 'placeholder-value',
16463
- * // A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
16639
+ * // Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
16464
16640
  * userPseudoId: 'placeholder-value',
16465
16641
  * },
16466
16642
  * );
@@ -16549,6 +16725,7 @@ export declare namespace discoveryengine_v1 {
16549
16725
  * // "billingEstimation": {},
16550
16726
  * // "cmekConfig": {},
16551
16727
  * // "configurableBillingApproach": "my_configurableBillingApproach",
16728
+ * // "configurableBillingApproachUpdateTime": "my_configurableBillingApproachUpdateTime",
16552
16729
  * // "contentConfig": "my_contentConfig",
16553
16730
  * // "createTime": "my_createTime",
16554
16731
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -16712,6 +16889,7 @@ export declare namespace discoveryengine_v1 {
16712
16889
  * // "billingEstimation": {},
16713
16890
  * // "cmekConfig": {},
16714
16891
  * // "configurableBillingApproach": "my_configurableBillingApproach",
16892
+ * // "configurableBillingApproachUpdateTime": "my_configurableBillingApproachUpdateTime",
16715
16893
  * // "contentConfig": "my_contentConfig",
16716
16894
  * // "createTime": "my_createTime",
16717
16895
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -16935,6 +17113,7 @@ export declare namespace discoveryengine_v1 {
16935
17113
  * // "billingEstimation": {},
16936
17114
  * // "cmekConfig": {},
16937
17115
  * // "configurableBillingApproach": "my_configurableBillingApproach",
17116
+ * // "configurableBillingApproachUpdateTime": "my_configurableBillingApproachUpdateTime",
16938
17117
  * // "contentConfig": "my_contentConfig",
16939
17118
  * // "createTime": "my_createTime",
16940
17119
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -16962,6 +17141,7 @@ export declare namespace discoveryengine_v1 {
16962
17141
  * // "billingEstimation": {},
16963
17142
  * // "cmekConfig": {},
16964
17143
  * // "configurableBillingApproach": "my_configurableBillingApproach",
17144
+ * // "configurableBillingApproachUpdateTime": "my_configurableBillingApproachUpdateTime",
16965
17145
  * // "contentConfig": "my_contentConfig",
16966
17146
  * // "createTime": "my_createTime",
16967
17147
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -17099,7 +17279,7 @@ export declare namespace discoveryengine_v1 {
17099
17279
  */
17100
17280
  queryModel?: string;
17101
17281
  /**
17102
- * A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
17282
+ * Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
17103
17283
  */
17104
17284
  userPseudoId?: string;
17105
17285
  }
@@ -20642,6 +20822,163 @@ export declare namespace discoveryengine_v1 {
20642
20822
  answer(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
20643
20823
  answer(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
20644
20824
  answer(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
20825
+ /**
20826
+ * Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
20827
+ * @example
20828
+ * ```js
20829
+ * // Before running the sample:
20830
+ * // - Enable the API at:
20831
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
20832
+ * // - Login into gcloud by running:
20833
+ * // ```sh
20834
+ * // $ gcloud auth application-default login
20835
+ * // ```
20836
+ * // - Install the npm module by running:
20837
+ * // ```sh
20838
+ * // $ npm install googleapis
20839
+ * // ```
20840
+ *
20841
+ * const {google} = require('googleapis');
20842
+ * const discoveryengine = google.discoveryengine('v1');
20843
+ *
20844
+ * async function main() {
20845
+ * const auth = new google.auth.GoogleAuth({
20846
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
20847
+ * scopes: [
20848
+ * 'https://www.googleapis.com/auth/cloud-platform',
20849
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
20850
+ * ],
20851
+ * });
20852
+ *
20853
+ * // Acquire an auth client, and bind it to all future calls
20854
+ * const authClient = await auth.getClient();
20855
+ * google.options({auth: authClient});
20856
+ *
20857
+ * // Do the magic
20858
+ * const res =
20859
+ * await discoveryengine.projects.locations.collections.dataStores.servingConfigs.get(
20860
+ * {
20861
+ * // Required. The resource name of the ServingConfig to get. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
20862
+ * name: 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore/servingConfigs/my-servingConfig',
20863
+ * },
20864
+ * );
20865
+ * console.log(res.data);
20866
+ *
20867
+ * // Example response
20868
+ * // {
20869
+ * // "answerGenerationSpec": {},
20870
+ * // "boostControlIds": [],
20871
+ * // "createTime": "my_createTime",
20872
+ * // "displayName": "my_displayName",
20873
+ * // "dissociateControlIds": [],
20874
+ * // "diversityLevel": "my_diversityLevel",
20875
+ * // "filterControlIds": [],
20876
+ * // "genericConfig": {},
20877
+ * // "ignoreControlIds": [],
20878
+ * // "mediaConfig": {},
20879
+ * // "modelId": "my_modelId",
20880
+ * // "name": "my_name",
20881
+ * // "onewaySynonymsControlIds": [],
20882
+ * // "promoteControlIds": [],
20883
+ * // "rankingExpression": "my_rankingExpression",
20884
+ * // "redirectControlIds": [],
20885
+ * // "replacementControlIds": [],
20886
+ * // "solutionType": "my_solutionType",
20887
+ * // "synonymsControlIds": [],
20888
+ * // "updateTime": "my_updateTime"
20889
+ * // }
20890
+ * }
20891
+ *
20892
+ * main().catch(e => {
20893
+ * console.error(e);
20894
+ * throw e;
20895
+ * });
20896
+ *
20897
+ * ```
20898
+ *
20899
+ * @param params - Parameters for request
20900
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
20901
+ * @param callback - Optional callback that handles the response.
20902
+ * @returns A promise if used with async/await, or void if used with a callback.
20903
+ */
20904
+ get(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
20905
+ get(params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1ServingConfig>>;
20906
+ get(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
20907
+ get(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
20908
+ get(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
20909
+ get(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
20910
+ /**
20911
+ * Lists all ServingConfigs linked to this dataStore.
20912
+ * @example
20913
+ * ```js
20914
+ * // Before running the sample:
20915
+ * // - Enable the API at:
20916
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
20917
+ * // - Login into gcloud by running:
20918
+ * // ```sh
20919
+ * // $ gcloud auth application-default login
20920
+ * // ```
20921
+ * // - Install the npm module by running:
20922
+ * // ```sh
20923
+ * // $ npm install googleapis
20924
+ * // ```
20925
+ *
20926
+ * const {google} = require('googleapis');
20927
+ * const discoveryengine = google.discoveryengine('v1');
20928
+ *
20929
+ * async function main() {
20930
+ * const auth = new google.auth.GoogleAuth({
20931
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
20932
+ * scopes: [
20933
+ * 'https://www.googleapis.com/auth/cloud-platform',
20934
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
20935
+ * ],
20936
+ * });
20937
+ *
20938
+ * // Acquire an auth client, and bind it to all future calls
20939
+ * const authClient = await auth.getClient();
20940
+ * google.options({auth: authClient});
20941
+ *
20942
+ * // Do the magic
20943
+ * const res =
20944
+ * await discoveryengine.projects.locations.collections.dataStores.servingConfigs.list(
20945
+ * {
20946
+ * // Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.
20947
+ * pageSize: 'placeholder-value',
20948
+ * // Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.
20949
+ * pageToken: 'placeholder-value',
20950
+ * // Required. Full resource name of the parent resource. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
20951
+ * parent:
20952
+ * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
20953
+ * },
20954
+ * );
20955
+ * console.log(res.data);
20956
+ *
20957
+ * // Example response
20958
+ * // {
20959
+ * // "nextPageToken": "my_nextPageToken",
20960
+ * // "servingConfigs": []
20961
+ * // }
20962
+ * }
20963
+ *
20964
+ * main().catch(e => {
20965
+ * console.error(e);
20966
+ * throw e;
20967
+ * });
20968
+ *
20969
+ * ```
20970
+ *
20971
+ * @param params - Parameters for request
20972
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
20973
+ * @param callback - Optional callback that handles the response.
20974
+ * @returns A promise if used with async/await, or void if used with a callback.
20975
+ */
20976
+ list(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
20977
+ list(params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>>;
20978
+ list(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
20979
+ list(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>): void;
20980
+ list(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>): void;
20981
+ list(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>): void;
20645
20982
  /**
20646
20983
  * Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.
20647
20984
  * @example
@@ -21170,6 +21507,26 @@ export declare namespace discoveryengine_v1 {
21170
21507
  */
21171
21508
  requestBody?: Schema$GoogleCloudDiscoveryengineV1AnswerQueryRequest;
21172
21509
  }
21510
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get extends StandardParameters {
21511
+ /**
21512
+ * Required. The resource name of the ServingConfig to get. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
21513
+ */
21514
+ name?: string;
21515
+ }
21516
+ export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List extends StandardParameters {
21517
+ /**
21518
+ * Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.
21519
+ */
21520
+ pageSize?: number;
21521
+ /**
21522
+ * Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.
21523
+ */
21524
+ pageToken?: string;
21525
+ /**
21526
+ * Required. Full resource name of the parent resource. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
21527
+ */
21528
+ parent?: string;
21529
+ }
21173
21530
  export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch extends StandardParameters {
21174
21531
  /**
21175
21532
  * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
@@ -26178,6 +26535,163 @@ export declare namespace discoveryengine_v1 {
26178
26535
  answer(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
26179
26536
  answer(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
26180
26537
  answer(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
26538
+ /**
26539
+ * Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
26540
+ * @example
26541
+ * ```js
26542
+ * // Before running the sample:
26543
+ * // - Enable the API at:
26544
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
26545
+ * // - Login into gcloud by running:
26546
+ * // ```sh
26547
+ * // $ gcloud auth application-default login
26548
+ * // ```
26549
+ * // - Install the npm module by running:
26550
+ * // ```sh
26551
+ * // $ npm install googleapis
26552
+ * // ```
26553
+ *
26554
+ * const {google} = require('googleapis');
26555
+ * const discoveryengine = google.discoveryengine('v1');
26556
+ *
26557
+ * async function main() {
26558
+ * const auth = new google.auth.GoogleAuth({
26559
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
26560
+ * scopes: [
26561
+ * 'https://www.googleapis.com/auth/cloud-platform',
26562
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
26563
+ * ],
26564
+ * });
26565
+ *
26566
+ * // Acquire an auth client, and bind it to all future calls
26567
+ * const authClient = await auth.getClient();
26568
+ * google.options({auth: authClient});
26569
+ *
26570
+ * // Do the magic
26571
+ * const res =
26572
+ * await discoveryengine.projects.locations.collections.engines.servingConfigs.get(
26573
+ * {
26574
+ * // Required. The resource name of the ServingConfig to get. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
26575
+ * name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/servingConfigs/my-servingConfig',
26576
+ * },
26577
+ * );
26578
+ * console.log(res.data);
26579
+ *
26580
+ * // Example response
26581
+ * // {
26582
+ * // "answerGenerationSpec": {},
26583
+ * // "boostControlIds": [],
26584
+ * // "createTime": "my_createTime",
26585
+ * // "displayName": "my_displayName",
26586
+ * // "dissociateControlIds": [],
26587
+ * // "diversityLevel": "my_diversityLevel",
26588
+ * // "filterControlIds": [],
26589
+ * // "genericConfig": {},
26590
+ * // "ignoreControlIds": [],
26591
+ * // "mediaConfig": {},
26592
+ * // "modelId": "my_modelId",
26593
+ * // "name": "my_name",
26594
+ * // "onewaySynonymsControlIds": [],
26595
+ * // "promoteControlIds": [],
26596
+ * // "rankingExpression": "my_rankingExpression",
26597
+ * // "redirectControlIds": [],
26598
+ * // "replacementControlIds": [],
26599
+ * // "solutionType": "my_solutionType",
26600
+ * // "synonymsControlIds": [],
26601
+ * // "updateTime": "my_updateTime"
26602
+ * // }
26603
+ * }
26604
+ *
26605
+ * main().catch(e => {
26606
+ * console.error(e);
26607
+ * throw e;
26608
+ * });
26609
+ *
26610
+ * ```
26611
+ *
26612
+ * @param params - Parameters for request
26613
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
26614
+ * @param callback - Optional callback that handles the response.
26615
+ * @returns A promise if used with async/await, or void if used with a callback.
26616
+ */
26617
+ get(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
26618
+ get(params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1ServingConfig>>;
26619
+ get(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
26620
+ get(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
26621
+ get(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
26622
+ get(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
26623
+ /**
26624
+ * Lists all ServingConfigs linked to this dataStore.
26625
+ * @example
26626
+ * ```js
26627
+ * // Before running the sample:
26628
+ * // - Enable the API at:
26629
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
26630
+ * // - Login into gcloud by running:
26631
+ * // ```sh
26632
+ * // $ gcloud auth application-default login
26633
+ * // ```
26634
+ * // - Install the npm module by running:
26635
+ * // ```sh
26636
+ * // $ npm install googleapis
26637
+ * // ```
26638
+ *
26639
+ * const {google} = require('googleapis');
26640
+ * const discoveryengine = google.discoveryengine('v1');
26641
+ *
26642
+ * async function main() {
26643
+ * const auth = new google.auth.GoogleAuth({
26644
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
26645
+ * scopes: [
26646
+ * 'https://www.googleapis.com/auth/cloud-platform',
26647
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
26648
+ * ],
26649
+ * });
26650
+ *
26651
+ * // Acquire an auth client, and bind it to all future calls
26652
+ * const authClient = await auth.getClient();
26653
+ * google.options({auth: authClient});
26654
+ *
26655
+ * // Do the magic
26656
+ * const res =
26657
+ * await discoveryengine.projects.locations.collections.engines.servingConfigs.list(
26658
+ * {
26659
+ * // Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.
26660
+ * pageSize: 'placeholder-value',
26661
+ * // Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.
26662
+ * pageToken: 'placeholder-value',
26663
+ * // Required. Full resource name of the parent resource. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
26664
+ * parent:
26665
+ * 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine',
26666
+ * },
26667
+ * );
26668
+ * console.log(res.data);
26669
+ *
26670
+ * // Example response
26671
+ * // {
26672
+ * // "nextPageToken": "my_nextPageToken",
26673
+ * // "servingConfigs": []
26674
+ * // }
26675
+ * }
26676
+ *
26677
+ * main().catch(e => {
26678
+ * console.error(e);
26679
+ * throw e;
26680
+ * });
26681
+ *
26682
+ * ```
26683
+ *
26684
+ * @param params - Parameters for request
26685
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
26686
+ * @param callback - Optional callback that handles the response.
26687
+ * @returns A promise if used with async/await, or void if used with a callback.
26688
+ */
26689
+ list(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
26690
+ list(params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>>;
26691
+ list(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
26692
+ list(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>): void;
26693
+ list(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>): void;
26694
+ list(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>): void;
26181
26695
  /**
26182
26696
  * Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.
26183
26697
  * @example
@@ -26706,6 +27220,26 @@ export declare namespace discoveryengine_v1 {
26706
27220
  */
26707
27221
  requestBody?: Schema$GoogleCloudDiscoveryengineV1AnswerQueryRequest;
26708
27222
  }
27223
+ export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get extends StandardParameters {
27224
+ /**
27225
+ * Required. The resource name of the ServingConfig to get. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
27226
+ */
27227
+ name?: string;
27228
+ }
27229
+ export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List extends StandardParameters {
27230
+ /**
27231
+ * Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.
27232
+ */
27233
+ pageSize?: number;
27234
+ /**
27235
+ * Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.
27236
+ */
27237
+ pageToken?: string;
27238
+ /**
27239
+ * Required. Full resource name of the parent resource. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
27240
+ */
27241
+ parent?: string;
27242
+ }
26709
27243
  export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch extends StandardParameters {
26710
27244
  /**
26711
27245
  * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
@@ -27551,7 +28085,7 @@ export declare namespace discoveryengine_v1 {
27551
28085
  * query: 'placeholder-value',
27552
28086
  * // Specifies the autocomplete data model. This overrides any model specified in the Configuration \> Autocomplete section of the Cloud console. Currently supported values: * `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. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.
27553
28087
  * queryModel: 'placeholder-value',
27554
- * // A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
28088
+ * // Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
27555
28089
  * userPseudoId: 'placeholder-value',
27556
28090
  * },
27557
28091
  * );
@@ -27638,6 +28172,7 @@ export declare namespace discoveryengine_v1 {
27638
28172
  * // "billingEstimation": {},
27639
28173
  * // "cmekConfig": {},
27640
28174
  * // "configurableBillingApproach": "my_configurableBillingApproach",
28175
+ * // "configurableBillingApproachUpdateTime": "my_configurableBillingApproachUpdateTime",
27641
28176
  * // "contentConfig": "my_contentConfig",
27642
28177
  * // "createTime": "my_createTime",
27643
28178
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -27799,6 +28334,7 @@ export declare namespace discoveryengine_v1 {
27799
28334
  * // "billingEstimation": {},
27800
28335
  * // "cmekConfig": {},
27801
28336
  * // "configurableBillingApproach": "my_configurableBillingApproach",
28337
+ * // "configurableBillingApproachUpdateTime": "my_configurableBillingApproachUpdateTime",
27802
28338
  * // "contentConfig": "my_contentConfig",
27803
28339
  * // "createTime": "my_createTime",
27804
28340
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -28017,6 +28553,7 @@ export declare namespace discoveryengine_v1 {
28017
28553
  * // "billingEstimation": {},
28018
28554
  * // "cmekConfig": {},
28019
28555
  * // "configurableBillingApproach": "my_configurableBillingApproach",
28556
+ * // "configurableBillingApproachUpdateTime": "my_configurableBillingApproachUpdateTime",
28020
28557
  * // "contentConfig": "my_contentConfig",
28021
28558
  * // "createTime": "my_createTime",
28022
28559
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -28044,6 +28581,7 @@ export declare namespace discoveryengine_v1 {
28044
28581
  * // "billingEstimation": {},
28045
28582
  * // "cmekConfig": {},
28046
28583
  * // "configurableBillingApproach": "my_configurableBillingApproach",
28584
+ * // "configurableBillingApproachUpdateTime": "my_configurableBillingApproachUpdateTime",
28047
28585
  * // "contentConfig": "my_contentConfig",
28048
28586
  * // "createTime": "my_createTime",
28049
28587
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -28099,7 +28637,7 @@ export declare namespace discoveryengine_v1 {
28099
28637
  */
28100
28638
  queryModel?: string;
28101
28639
  /**
28102
- * A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
28640
+ * Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
28103
28641
  */
28104
28642
  userPseudoId?: string;
28105
28643
  }
@@ -31330,6 +31868,159 @@ export declare namespace discoveryengine_v1 {
31330
31868
  answer(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
31331
31869
  answer(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
31332
31870
  answer(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
31871
+ /**
31872
+ * Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
31873
+ * @example
31874
+ * ```js
31875
+ * // Before running the sample:
31876
+ * // - Enable the API at:
31877
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
31878
+ * // - Login into gcloud by running:
31879
+ * // ```sh
31880
+ * // $ gcloud auth application-default login
31881
+ * // ```
31882
+ * // - Install the npm module by running:
31883
+ * // ```sh
31884
+ * // $ npm install googleapis
31885
+ * // ```
31886
+ *
31887
+ * const {google} = require('googleapis');
31888
+ * const discoveryengine = google.discoveryengine('v1');
31889
+ *
31890
+ * async function main() {
31891
+ * const auth = new google.auth.GoogleAuth({
31892
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
31893
+ * scopes: [
31894
+ * 'https://www.googleapis.com/auth/cloud-platform',
31895
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
31896
+ * ],
31897
+ * });
31898
+ *
31899
+ * // Acquire an auth client, and bind it to all future calls
31900
+ * const authClient = await auth.getClient();
31901
+ * google.options({auth: authClient});
31902
+ *
31903
+ * // Do the magic
31904
+ * const res =
31905
+ * await discoveryengine.projects.locations.dataStores.servingConfigs.get({
31906
+ * // Required. The resource name of the ServingConfig to get. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
31907
+ * name: 'projects/my-project/locations/my-location/dataStores/my-dataStore/servingConfigs/my-servingConfig',
31908
+ * });
31909
+ * console.log(res.data);
31910
+ *
31911
+ * // Example response
31912
+ * // {
31913
+ * // "answerGenerationSpec": {},
31914
+ * // "boostControlIds": [],
31915
+ * // "createTime": "my_createTime",
31916
+ * // "displayName": "my_displayName",
31917
+ * // "dissociateControlIds": [],
31918
+ * // "diversityLevel": "my_diversityLevel",
31919
+ * // "filterControlIds": [],
31920
+ * // "genericConfig": {},
31921
+ * // "ignoreControlIds": [],
31922
+ * // "mediaConfig": {},
31923
+ * // "modelId": "my_modelId",
31924
+ * // "name": "my_name",
31925
+ * // "onewaySynonymsControlIds": [],
31926
+ * // "promoteControlIds": [],
31927
+ * // "rankingExpression": "my_rankingExpression",
31928
+ * // "redirectControlIds": [],
31929
+ * // "replacementControlIds": [],
31930
+ * // "solutionType": "my_solutionType",
31931
+ * // "synonymsControlIds": [],
31932
+ * // "updateTime": "my_updateTime"
31933
+ * // }
31934
+ * }
31935
+ *
31936
+ * main().catch(e => {
31937
+ * console.error(e);
31938
+ * throw e;
31939
+ * });
31940
+ *
31941
+ * ```
31942
+ *
31943
+ * @param params - Parameters for request
31944
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
31945
+ * @param callback - Optional callback that handles the response.
31946
+ * @returns A promise if used with async/await, or void if used with a callback.
31947
+ */
31948
+ get(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
31949
+ get(params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1ServingConfig>>;
31950
+ get(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
31951
+ get(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
31952
+ get(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
31953
+ get(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
31954
+ /**
31955
+ * Lists all ServingConfigs linked to this dataStore.
31956
+ * @example
31957
+ * ```js
31958
+ * // Before running the sample:
31959
+ * // - Enable the API at:
31960
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
31961
+ * // - Login into gcloud by running:
31962
+ * // ```sh
31963
+ * // $ gcloud auth application-default login
31964
+ * // ```
31965
+ * // - Install the npm module by running:
31966
+ * // ```sh
31967
+ * // $ npm install googleapis
31968
+ * // ```
31969
+ *
31970
+ * const {google} = require('googleapis');
31971
+ * const discoveryengine = google.discoveryengine('v1');
31972
+ *
31973
+ * async function main() {
31974
+ * const auth = new google.auth.GoogleAuth({
31975
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
31976
+ * scopes: [
31977
+ * 'https://www.googleapis.com/auth/cloud-platform',
31978
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
31979
+ * ],
31980
+ * });
31981
+ *
31982
+ * // Acquire an auth client, and bind it to all future calls
31983
+ * const authClient = await auth.getClient();
31984
+ * google.options({auth: authClient});
31985
+ *
31986
+ * // Do the magic
31987
+ * const res =
31988
+ * await discoveryengine.projects.locations.dataStores.servingConfigs.list({
31989
+ * // Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.
31990
+ * pageSize: 'placeholder-value',
31991
+ * // Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.
31992
+ * pageToken: 'placeholder-value',
31993
+ * // Required. Full resource name of the parent resource. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
31994
+ * parent:
31995
+ * 'projects/my-project/locations/my-location/dataStores/my-dataStore',
31996
+ * });
31997
+ * console.log(res.data);
31998
+ *
31999
+ * // Example response
32000
+ * // {
32001
+ * // "nextPageToken": "my_nextPageToken",
32002
+ * // "servingConfigs": []
32003
+ * // }
32004
+ * }
32005
+ *
32006
+ * main().catch(e => {
32007
+ * console.error(e);
32008
+ * throw e;
32009
+ * });
32010
+ *
32011
+ * ```
32012
+ *
32013
+ * @param params - Parameters for request
32014
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
32015
+ * @param callback - Optional callback that handles the response.
32016
+ * @returns A promise if used with async/await, or void if used with a callback.
32017
+ */
32018
+ list(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
32019
+ list(params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>>;
32020
+ list(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
32021
+ list(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>): void;
32022
+ list(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$List, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>): void;
32023
+ list(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ListServingConfigsResponse>): void;
31333
32024
  /**
31334
32025
  * Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.
31335
32026
  * @example
@@ -31854,6 +32545,26 @@ export declare namespace discoveryengine_v1 {
31854
32545
  */
31855
32546
  requestBody?: Schema$GoogleCloudDiscoveryengineV1AnswerQueryRequest;
31856
32547
  }
32548
+ export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get extends StandardParameters {
32549
+ /**
32550
+ * Required. The resource name of the ServingConfig to get. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
32551
+ */
32552
+ name?: string;
32553
+ }
32554
+ export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$List extends StandardParameters {
32555
+ /**
32556
+ * Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.
32557
+ */
32558
+ pageSize?: number;
32559
+ /**
32560
+ * Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.
32561
+ */
32562
+ pageToken?: string;
32563
+ /**
32564
+ * Required. Full resource name of the parent resource. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
32565
+ */
32566
+ parent?: string;
32567
+ }
31857
32568
  export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch extends StandardParameters {
31858
32569
  /**
31859
32570
  * Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
@@ -36006,6 +36717,302 @@ export declare namespace discoveryengine_v1 {
36006
36717
  batchUpdateUserLicenses(params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
36007
36718
  batchUpdateUserLicenses(params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
36008
36719
  batchUpdateUserLicenses(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
36720
+ /**
36721
+ * Creates a new User Store.
36722
+ * @example
36723
+ * ```js
36724
+ * // Before running the sample:
36725
+ * // - Enable the API at:
36726
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
36727
+ * // - Login into gcloud by running:
36728
+ * // ```sh
36729
+ * // $ gcloud auth application-default login
36730
+ * // ```
36731
+ * // - Install the npm module by running:
36732
+ * // ```sh
36733
+ * // $ npm install googleapis
36734
+ * // ```
36735
+ *
36736
+ * const {google} = require('googleapis');
36737
+ * const discoveryengine = google.discoveryengine('v1');
36738
+ *
36739
+ * async function main() {
36740
+ * const auth = new google.auth.GoogleAuth({
36741
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
36742
+ * scopes: [
36743
+ * 'https://www.googleapis.com/auth/cloud-platform',
36744
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
36745
+ * ],
36746
+ * });
36747
+ *
36748
+ * // Acquire an auth client, and bind it to all future calls
36749
+ * const authClient = await auth.getClient();
36750
+ * google.options({auth: authClient});
36751
+ *
36752
+ * // Do the magic
36753
+ * const res = await discoveryengine.projects.locations.userStores.create({
36754
+ * // Required. The parent collection resource name, such as `projects/{project\}/locations/{location\}`.
36755
+ * parent: 'projects/my-project/locations/my-location',
36756
+ * // Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.
36757
+ * userStoreId: 'placeholder-value',
36758
+ *
36759
+ * // Request body metadata
36760
+ * requestBody: {
36761
+ * // request body parameters
36762
+ * // {
36763
+ * // "defaultLicenseConfig": "my_defaultLicenseConfig",
36764
+ * // "displayName": "my_displayName",
36765
+ * // "enableExpiredLicenseAutoUpdate": false,
36766
+ * // "enableLicenseAutoRegister": false,
36767
+ * // "name": "my_name"
36768
+ * // }
36769
+ * },
36770
+ * });
36771
+ * console.log(res.data);
36772
+ *
36773
+ * // Example response
36774
+ * // {
36775
+ * // "defaultLicenseConfig": "my_defaultLicenseConfig",
36776
+ * // "displayName": "my_displayName",
36777
+ * // "enableExpiredLicenseAutoUpdate": false,
36778
+ * // "enableLicenseAutoRegister": false,
36779
+ * // "name": "my_name"
36780
+ * // }
36781
+ * }
36782
+ *
36783
+ * main().catch(e => {
36784
+ * console.error(e);
36785
+ * throw e;
36786
+ * });
36787
+ *
36788
+ * ```
36789
+ *
36790
+ * @param params - Parameters for request
36791
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
36792
+ * @param callback - Optional callback that handles the response.
36793
+ * @returns A promise if used with async/await, or void if used with a callback.
36794
+ */
36795
+ create(params: Params$Resource$Projects$Locations$Userstores$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
36796
+ create(params?: Params$Resource$Projects$Locations$Userstores$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1UserStore>>;
36797
+ create(params: Params$Resource$Projects$Locations$Userstores$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
36798
+ create(params: Params$Resource$Projects$Locations$Userstores$Create, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1UserStore>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1UserStore>): void;
36799
+ create(params: Params$Resource$Projects$Locations$Userstores$Create, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1UserStore>): void;
36800
+ create(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1UserStore>): void;
36801
+ /**
36802
+ * Deletes the User Store.
36803
+ * @example
36804
+ * ```js
36805
+ * // Before running the sample:
36806
+ * // - Enable the API at:
36807
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
36808
+ * // - Login into gcloud by running:
36809
+ * // ```sh
36810
+ * // $ gcloud auth application-default login
36811
+ * // ```
36812
+ * // - Install the npm module by running:
36813
+ * // ```sh
36814
+ * // $ npm install googleapis
36815
+ * // ```
36816
+ *
36817
+ * const {google} = require('googleapis');
36818
+ * const discoveryengine = google.discoveryengine('v1');
36819
+ *
36820
+ * async function main() {
36821
+ * const auth = new google.auth.GoogleAuth({
36822
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
36823
+ * scopes: [
36824
+ * 'https://www.googleapis.com/auth/cloud-platform',
36825
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
36826
+ * ],
36827
+ * });
36828
+ *
36829
+ * // Acquire an auth client, and bind it to all future calls
36830
+ * const authClient = await auth.getClient();
36831
+ * google.options({auth: authClient});
36832
+ *
36833
+ * // Do the magic
36834
+ * const res = await discoveryengine.projects.locations.userStores.delete({
36835
+ * // Required. The name of the User Store to delete. Format: `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`
36836
+ * name: 'projects/my-project/locations/my-location/userStores/my-userStore',
36837
+ * });
36838
+ * console.log(res.data);
36839
+ *
36840
+ * // Example response
36841
+ * // {
36842
+ * // "done": false,
36843
+ * // "error": {},
36844
+ * // "metadata": {},
36845
+ * // "name": "my_name",
36846
+ * // "response": {}
36847
+ * // }
36848
+ * }
36849
+ *
36850
+ * main().catch(e => {
36851
+ * console.error(e);
36852
+ * throw e;
36853
+ * });
36854
+ *
36855
+ * ```
36856
+ *
36857
+ * @param params - Parameters for request
36858
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
36859
+ * @param callback - Optional callback that handles the response.
36860
+ * @returns A promise if used with async/await, or void if used with a callback.
36861
+ */
36862
+ delete(params: Params$Resource$Projects$Locations$Userstores$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
36863
+ delete(params?: Params$Resource$Projects$Locations$Userstores$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
36864
+ delete(params: Params$Resource$Projects$Locations$Userstores$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
36865
+ delete(params: Params$Resource$Projects$Locations$Userstores$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
36866
+ delete(params: Params$Resource$Projects$Locations$Userstores$Delete, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
36867
+ delete(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
36868
+ /**
36869
+ * Gets the User Store.
36870
+ * @example
36871
+ * ```js
36872
+ * // Before running the sample:
36873
+ * // - Enable the API at:
36874
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
36875
+ * // - Login into gcloud by running:
36876
+ * // ```sh
36877
+ * // $ gcloud auth application-default login
36878
+ * // ```
36879
+ * // - Install the npm module by running:
36880
+ * // ```sh
36881
+ * // $ npm install googleapis
36882
+ * // ```
36883
+ *
36884
+ * const {google} = require('googleapis');
36885
+ * const discoveryengine = google.discoveryengine('v1');
36886
+ *
36887
+ * async function main() {
36888
+ * const auth = new google.auth.GoogleAuth({
36889
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
36890
+ * scopes: [
36891
+ * 'https://www.googleapis.com/auth/cloud-platform',
36892
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
36893
+ * ],
36894
+ * });
36895
+ *
36896
+ * // Acquire an auth client, and bind it to all future calls
36897
+ * const authClient = await auth.getClient();
36898
+ * google.options({auth: authClient});
36899
+ *
36900
+ * // Do the magic
36901
+ * const res = await discoveryengine.projects.locations.userStores.get({
36902
+ * // Required. The name of the User Store to get. Format: `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`
36903
+ * name: 'projects/my-project/locations/my-location/userStores/my-userStore',
36904
+ * });
36905
+ * console.log(res.data);
36906
+ *
36907
+ * // Example response
36908
+ * // {
36909
+ * // "defaultLicenseConfig": "my_defaultLicenseConfig",
36910
+ * // "displayName": "my_displayName",
36911
+ * // "enableExpiredLicenseAutoUpdate": false,
36912
+ * // "enableLicenseAutoRegister": false,
36913
+ * // "name": "my_name"
36914
+ * // }
36915
+ * }
36916
+ *
36917
+ * main().catch(e => {
36918
+ * console.error(e);
36919
+ * throw e;
36920
+ * });
36921
+ *
36922
+ * ```
36923
+ *
36924
+ * @param params - Parameters for request
36925
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
36926
+ * @param callback - Optional callback that handles the response.
36927
+ * @returns A promise if used with async/await, or void if used with a callback.
36928
+ */
36929
+ get(params: Params$Resource$Projects$Locations$Userstores$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
36930
+ get(params?: Params$Resource$Projects$Locations$Userstores$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1UserStore>>;
36931
+ get(params: Params$Resource$Projects$Locations$Userstores$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
36932
+ get(params: Params$Resource$Projects$Locations$Userstores$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1UserStore>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1UserStore>): void;
36933
+ get(params: Params$Resource$Projects$Locations$Userstores$Get, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1UserStore>): void;
36934
+ get(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1UserStore>): void;
36935
+ /**
36936
+ * Updates the User Store.
36937
+ * @example
36938
+ * ```js
36939
+ * // Before running the sample:
36940
+ * // - Enable the API at:
36941
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
36942
+ * // - Login into gcloud by running:
36943
+ * // ```sh
36944
+ * // $ gcloud auth application-default login
36945
+ * // ```
36946
+ * // - Install the npm module by running:
36947
+ * // ```sh
36948
+ * // $ npm install googleapis
36949
+ * // ```
36950
+ *
36951
+ * const {google} = require('googleapis');
36952
+ * const discoveryengine = google.discoveryengine('v1');
36953
+ *
36954
+ * async function main() {
36955
+ * const auth = new google.auth.GoogleAuth({
36956
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
36957
+ * scopes: [
36958
+ * 'https://www.googleapis.com/auth/cloud-platform',
36959
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
36960
+ * ],
36961
+ * });
36962
+ *
36963
+ * // Acquire an auth client, and bind it to all future calls
36964
+ * const authClient = await auth.getClient();
36965
+ * google.options({auth: authClient});
36966
+ *
36967
+ * // Do the magic
36968
+ * const res = await discoveryengine.projects.locations.userStores.patch({
36969
+ * // Immutable. The full resource name of the User Store, in the format of `projects/{project\}/locations/{location\}/userStores/{user_store\}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
36970
+ * name: 'projects/my-project/locations/my-location/userStores/my-userStore',
36971
+ * // Optional. The list of fields to update.
36972
+ * updateMask: 'placeholder-value',
36973
+ *
36974
+ * // Request body metadata
36975
+ * requestBody: {
36976
+ * // request body parameters
36977
+ * // {
36978
+ * // "defaultLicenseConfig": "my_defaultLicenseConfig",
36979
+ * // "displayName": "my_displayName",
36980
+ * // "enableExpiredLicenseAutoUpdate": false,
36981
+ * // "enableLicenseAutoRegister": false,
36982
+ * // "name": "my_name"
36983
+ * // }
36984
+ * },
36985
+ * });
36986
+ * console.log(res.data);
36987
+ *
36988
+ * // Example response
36989
+ * // {
36990
+ * // "defaultLicenseConfig": "my_defaultLicenseConfig",
36991
+ * // "displayName": "my_displayName",
36992
+ * // "enableExpiredLicenseAutoUpdate": false,
36993
+ * // "enableLicenseAutoRegister": false,
36994
+ * // "name": "my_name"
36995
+ * // }
36996
+ * }
36997
+ *
36998
+ * main().catch(e => {
36999
+ * console.error(e);
37000
+ * throw e;
37001
+ * });
37002
+ *
37003
+ * ```
37004
+ *
37005
+ * @param params - Parameters for request
37006
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
37007
+ * @param callback - Optional callback that handles the response.
37008
+ * @returns A promise if used with async/await, or void if used with a callback.
37009
+ */
37010
+ patch(params: Params$Resource$Projects$Locations$Userstores$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
37011
+ patch(params?: Params$Resource$Projects$Locations$Userstores$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1UserStore>>;
37012
+ patch(params: Params$Resource$Projects$Locations$Userstores$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
37013
+ patch(params: Params$Resource$Projects$Locations$Userstores$Patch, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1UserStore>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1UserStore>): void;
37014
+ patch(params: Params$Resource$Projects$Locations$Userstores$Patch, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1UserStore>): void;
37015
+ patch(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1UserStore>): void;
36009
37016
  }
36010
37017
  export interface Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses extends StandardParameters {
36011
37018
  /**
@@ -36017,6 +37024,46 @@ export declare namespace discoveryengine_v1 {
36017
37024
  */
36018
37025
  requestBody?: Schema$GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest;
36019
37026
  }
37027
+ export interface Params$Resource$Projects$Locations$Userstores$Create extends StandardParameters {
37028
+ /**
37029
+ * Required. The parent collection resource name, such as `projects/{project\}/locations/{location\}`.
37030
+ */
37031
+ parent?: string;
37032
+ /**
37033
+ * Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.
37034
+ */
37035
+ userStoreId?: string;
37036
+ /**
37037
+ * Request body metadata
37038
+ */
37039
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1UserStore;
37040
+ }
37041
+ export interface Params$Resource$Projects$Locations$Userstores$Delete extends StandardParameters {
37042
+ /**
37043
+ * Required. The name of the User Store to delete. Format: `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`
37044
+ */
37045
+ name?: string;
37046
+ }
37047
+ export interface Params$Resource$Projects$Locations$Userstores$Get extends StandardParameters {
37048
+ /**
37049
+ * Required. The name of the User Store to get. Format: `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`
37050
+ */
37051
+ name?: string;
37052
+ }
37053
+ export interface Params$Resource$Projects$Locations$Userstores$Patch extends StandardParameters {
37054
+ /**
37055
+ * Immutable. The full resource name of the User Store, in the format of `projects/{project\}/locations/{location\}/userStores/{user_store\}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
37056
+ */
37057
+ name?: string;
37058
+ /**
37059
+ * Optional. The list of fields to update.
37060
+ */
37061
+ updateMask?: string;
37062
+ /**
37063
+ * Request body metadata
37064
+ */
37065
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1UserStore;
37066
+ }
36020
37067
  export class Resource$Projects$Locations$Userstores$Userlicenses {
36021
37068
  context: APIRequestContext;
36022
37069
  constructor(context: APIRequestContext);