@googleapis/discoveryengine 27.0.0 → 27.1.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/CHANGELOG.md +8 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +1600 -118
- package/build/v1.js +271 -0
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +1039 -28
- package/build/v1alpha.js +274 -0
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +156 -2
- package/build/v1beta.js +43 -0
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +2387 -266
- package/v1alpha.ts +1779 -65
- package/v1beta.ts +247 -2
package/v1beta.ts
CHANGED
|
@@ -2896,6 +2896,10 @@ export namespace discoveryengine_v1beta {
|
|
|
2896
2896
|
* Optional. If true, the LLM based annotation is added to the image during parsing.
|
|
2897
2897
|
*/
|
|
2898
2898
|
enableImageAnnotation?: boolean | null;
|
|
2899
|
+
/**
|
|
2900
|
+
* Optional. If true, the pdf layout will be refined using an LLM.
|
|
2901
|
+
*/
|
|
2902
|
+
enableLlmLayoutParsing?: boolean | null;
|
|
2899
2903
|
/**
|
|
2900
2904
|
* Optional. If true, the LLM based annotation is added to the table during parsing.
|
|
2901
2905
|
*/
|
|
@@ -2963,6 +2967,10 @@ export namespace discoveryengine_v1beta {
|
|
|
2963
2967
|
* Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
|
|
2964
2968
|
*/
|
|
2965
2969
|
chatEngineMetadata?: Schema$GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata;
|
|
2970
|
+
/**
|
|
2971
|
+
* Output only. CMEK-related information for the Engine.
|
|
2972
|
+
*/
|
|
2973
|
+
cmekConfig?: Schema$GoogleCloudDiscoveryengineV1alphaCmekConfig;
|
|
2966
2974
|
/**
|
|
2967
2975
|
* Common config spec that specifies the metadata of the engine.
|
|
2968
2976
|
*/
|
|
@@ -2999,6 +3007,10 @@ export namespace discoveryengine_v1beta {
|
|
|
2999
3007
|
* Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.
|
|
3000
3008
|
*/
|
|
3001
3009
|
mediaRecommendationEngineConfig?: Schema$GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig;
|
|
3010
|
+
/**
|
|
3011
|
+
* Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.
|
|
3012
|
+
*/
|
|
3013
|
+
modelConfigs?: {[key: string]: string} | null;
|
|
3002
3014
|
/**
|
|
3003
3015
|
* Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` engine should be 1-63 characters, and valid characters are /a-z0-9x/. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
3004
3016
|
*/
|
|
@@ -8642,6 +8654,10 @@ export namespace discoveryengine_v1beta {
|
|
|
8642
8654
|
* Optional. If true, the LLM based annotation is added to the image during parsing.
|
|
8643
8655
|
*/
|
|
8644
8656
|
enableImageAnnotation?: boolean | null;
|
|
8657
|
+
/**
|
|
8658
|
+
* Optional. If true, the pdf layout will be refined using an LLM.
|
|
8659
|
+
*/
|
|
8660
|
+
enableLlmLayoutParsing?: boolean | null;
|
|
8645
8661
|
/**
|
|
8646
8662
|
* Optional. If true, the LLM based annotation is added to the table during parsing.
|
|
8647
8663
|
*/
|
|
@@ -8731,6 +8747,10 @@ export namespace discoveryengine_v1beta {
|
|
|
8731
8747
|
* Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
|
|
8732
8748
|
*/
|
|
8733
8749
|
chatEngineMetadata?: Schema$GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata;
|
|
8750
|
+
/**
|
|
8751
|
+
* Output only. CMEK-related information for the Engine.
|
|
8752
|
+
*/
|
|
8753
|
+
cmekConfig?: Schema$GoogleCloudDiscoveryengineV1betaCmekConfig;
|
|
8734
8754
|
/**
|
|
8735
8755
|
* Common config spec that specifies the metadata of the engine.
|
|
8736
8756
|
*/
|
|
@@ -8767,6 +8787,10 @@ export namespace discoveryengine_v1beta {
|
|
|
8767
8787
|
* Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.
|
|
8768
8788
|
*/
|
|
8769
8789
|
mediaRecommendationEngineConfig?: Schema$GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig;
|
|
8790
|
+
/**
|
|
8791
|
+
* Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.
|
|
8792
|
+
*/
|
|
8793
|
+
modelConfigs?: {[key: string]: string} | null;
|
|
8770
8794
|
/**
|
|
8771
8795
|
* Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` engine should be 1-63 characters, and valid characters are /a-z0-9x/. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
8772
8796
|
*/
|
|
@@ -9694,6 +9718,19 @@ export namespace discoveryengine_v1beta {
|
|
|
9694
9718
|
*/
|
|
9695
9719
|
subscriptionTier?: string | null;
|
|
9696
9720
|
}
|
|
9721
|
+
/**
|
|
9722
|
+
* Stats about users' licenses.
|
|
9723
|
+
*/
|
|
9724
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats {
|
|
9725
|
+
/**
|
|
9726
|
+
* Required. The LicenseConfig name.
|
|
9727
|
+
*/
|
|
9728
|
+
licenseConfig?: string | null;
|
|
9729
|
+
/**
|
|
9730
|
+
* Required. The number of licenses used.
|
|
9731
|
+
*/
|
|
9732
|
+
usedLicenseCount?: string | null;
|
|
9733
|
+
}
|
|
9697
9734
|
/**
|
|
9698
9735
|
* Response message for CmekConfigService.ListCmekConfigs method.
|
|
9699
9736
|
*/
|
|
@@ -9842,6 +9879,15 @@ export namespace discoveryengine_v1beta {
|
|
|
9842
9879
|
*/
|
|
9843
9880
|
nextPageToken?: string | null;
|
|
9844
9881
|
}
|
|
9882
|
+
/**
|
|
9883
|
+
* Response message for UserLicenseService.ListLicenseConfigUsageStats method.
|
|
9884
|
+
*/
|
|
9885
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse {
|
|
9886
|
+
/**
|
|
9887
|
+
* All the customer's LicenseConfigUsageStats.
|
|
9888
|
+
*/
|
|
9889
|
+
licenseConfigUsageStats?: Schema$GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats[];
|
|
9890
|
+
}
|
|
9845
9891
|
/**
|
|
9846
9892
|
* Response message for SampleQueryService.ListSampleQueries method.
|
|
9847
9893
|
*/
|
|
@@ -13751,6 +13797,10 @@ export namespace discoveryengine_v1beta {
|
|
|
13751
13797
|
* Optional. If true, the LLM based annotation is added to the image during parsing.
|
|
13752
13798
|
*/
|
|
13753
13799
|
enableImageAnnotation?: boolean | null;
|
|
13800
|
+
/**
|
|
13801
|
+
* Optional. If true, the pdf layout will be refined using an LLM.
|
|
13802
|
+
*/
|
|
13803
|
+
enableLlmLayoutParsing?: boolean | null;
|
|
13754
13804
|
/**
|
|
13755
13805
|
* Optional. If true, the LLM based annotation is added to the table during parsing.
|
|
13756
13806
|
*/
|
|
@@ -13818,6 +13868,10 @@ export namespace discoveryengine_v1beta {
|
|
|
13818
13868
|
* Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
|
|
13819
13869
|
*/
|
|
13820
13870
|
chatEngineMetadata?: Schema$GoogleCloudDiscoveryengineV1EngineChatEngineMetadata;
|
|
13871
|
+
/**
|
|
13872
|
+
* Output only. CMEK-related information for the Engine.
|
|
13873
|
+
*/
|
|
13874
|
+
cmekConfig?: Schema$GoogleCloudDiscoveryengineV1CmekConfig;
|
|
13821
13875
|
/**
|
|
13822
13876
|
* Common config spec that specifies the metadata of the engine.
|
|
13823
13877
|
*/
|
|
@@ -13854,6 +13908,10 @@ export namespace discoveryengine_v1beta {
|
|
|
13854
13908
|
* Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.
|
|
13855
13909
|
*/
|
|
13856
13910
|
mediaRecommendationEngineConfig?: Schema$GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig;
|
|
13911
|
+
/**
|
|
13912
|
+
* Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.
|
|
13913
|
+
*/
|
|
13914
|
+
modelConfigs?: {[key: string]: string} | null;
|
|
13857
13915
|
/**
|
|
13858
13916
|
* Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` engine should be 1-63 characters, and valid characters are /a-z0-9x/. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
13859
13917
|
*/
|
|
@@ -33192,6 +33250,7 @@ export namespace discoveryengine_v1beta {
|
|
|
33192
33250
|
* // "appType": "my_appType",
|
|
33193
33251
|
* // "chatEngineConfig": {},
|
|
33194
33252
|
* // "chatEngineMetadata": {},
|
|
33253
|
+
* // "cmekConfig": {},
|
|
33195
33254
|
* // "commonConfig": {},
|
|
33196
33255
|
* // "configurableBillingApproach": "my_configurableBillingApproach",
|
|
33197
33256
|
* // "createTime": "my_createTime",
|
|
@@ -33201,6 +33260,7 @@ export namespace discoveryengine_v1beta {
|
|
|
33201
33260
|
* // "features": {},
|
|
33202
33261
|
* // "industryVertical": "my_industryVertical",
|
|
33203
33262
|
* // "mediaRecommendationEngineConfig": {},
|
|
33263
|
+
* // "modelConfigs": {},
|
|
33204
33264
|
* // "name": "my_name",
|
|
33205
33265
|
* // "searchEngineConfig": {},
|
|
33206
33266
|
* // "solutionType": "my_solutionType",
|
|
@@ -33513,6 +33573,7 @@ export namespace discoveryengine_v1beta {
|
|
|
33513
33573
|
* // "appType": "my_appType",
|
|
33514
33574
|
* // "chatEngineConfig": {},
|
|
33515
33575
|
* // "chatEngineMetadata": {},
|
|
33576
|
+
* // "cmekConfig": {},
|
|
33516
33577
|
* // "commonConfig": {},
|
|
33517
33578
|
* // "configurableBillingApproach": "my_configurableBillingApproach",
|
|
33518
33579
|
* // "createTime": "my_createTime",
|
|
@@ -33522,6 +33583,7 @@ export namespace discoveryengine_v1beta {
|
|
|
33522
33583
|
* // "features": {},
|
|
33523
33584
|
* // "industryVertical": "my_industryVertical",
|
|
33524
33585
|
* // "mediaRecommendationEngineConfig": {},
|
|
33586
|
+
* // "modelConfigs": {},
|
|
33525
33587
|
* // "name": "my_name",
|
|
33526
33588
|
* // "searchEngineConfig": {},
|
|
33527
33589
|
* // "solutionType": "my_solutionType",
|
|
@@ -33842,6 +33904,7 @@ export namespace discoveryengine_v1beta {
|
|
|
33842
33904
|
* // "appType": "my_appType",
|
|
33843
33905
|
* // "chatEngineConfig": {},
|
|
33844
33906
|
* // "chatEngineMetadata": {},
|
|
33907
|
+
* // "cmekConfig": {},
|
|
33845
33908
|
* // "commonConfig": {},
|
|
33846
33909
|
* // "configurableBillingApproach": "my_configurableBillingApproach",
|
|
33847
33910
|
* // "createTime": "my_createTime",
|
|
@@ -33851,6 +33914,7 @@ export namespace discoveryengine_v1beta {
|
|
|
33851
33914
|
* // "features": {},
|
|
33852
33915
|
* // "industryVertical": "my_industryVertical",
|
|
33853
33916
|
* // "mediaRecommendationEngineConfig": {},
|
|
33917
|
+
* // "modelConfigs": {},
|
|
33854
33918
|
* // "name": "my_name",
|
|
33855
33919
|
* // "searchEngineConfig": {},
|
|
33856
33920
|
* // "solutionType": "my_solutionType",
|
|
@@ -33865,6 +33929,7 @@ export namespace discoveryengine_v1beta {
|
|
|
33865
33929
|
* // "appType": "my_appType",
|
|
33866
33930
|
* // "chatEngineConfig": {},
|
|
33867
33931
|
* // "chatEngineMetadata": {},
|
|
33932
|
+
* // "cmekConfig": {},
|
|
33868
33933
|
* // "commonConfig": {},
|
|
33869
33934
|
* // "configurableBillingApproach": "my_configurableBillingApproach",
|
|
33870
33935
|
* // "createTime": "my_createTime",
|
|
@@ -33874,6 +33939,7 @@ export namespace discoveryengine_v1beta {
|
|
|
33874
33939
|
* // "features": {},
|
|
33875
33940
|
* // "industryVertical": "my_industryVertical",
|
|
33876
33941
|
* // "mediaRecommendationEngineConfig": {},
|
|
33942
|
+
* // "modelConfigs": {},
|
|
33877
33943
|
* // "name": "my_name",
|
|
33878
33944
|
* // "searchEngineConfig": {},
|
|
33879
33945
|
* // "solutionType": "my_solutionType",
|
|
@@ -34036,6 +34102,7 @@ export namespace discoveryengine_v1beta {
|
|
|
34036
34102
|
* // "appType": "my_appType",
|
|
34037
34103
|
* // "chatEngineConfig": {},
|
|
34038
34104
|
* // "chatEngineMetadata": {},
|
|
34105
|
+
* // "cmekConfig": {},
|
|
34039
34106
|
* // "commonConfig": {},
|
|
34040
34107
|
* // "configurableBillingApproach": "my_configurableBillingApproach",
|
|
34041
34108
|
* // "createTime": "my_createTime",
|
|
@@ -34045,6 +34112,7 @@ export namespace discoveryengine_v1beta {
|
|
|
34045
34112
|
* // "features": {},
|
|
34046
34113
|
* // "industryVertical": "my_industryVertical",
|
|
34047
34114
|
* // "mediaRecommendationEngineConfig": {},
|
|
34115
|
+
* // "modelConfigs": {},
|
|
34048
34116
|
* // "name": "my_name",
|
|
34049
34117
|
* // "searchEngineConfig": {},
|
|
34050
34118
|
* // "solutionType": "my_solutionType",
|
|
@@ -34210,6 +34278,7 @@ export namespace discoveryengine_v1beta {
|
|
|
34210
34278
|
* // "appType": "my_appType",
|
|
34211
34279
|
* // "chatEngineConfig": {},
|
|
34212
34280
|
* // "chatEngineMetadata": {},
|
|
34281
|
+
* // "cmekConfig": {},
|
|
34213
34282
|
* // "commonConfig": {},
|
|
34214
34283
|
* // "configurableBillingApproach": "my_configurableBillingApproach",
|
|
34215
34284
|
* // "createTime": "my_createTime",
|
|
@@ -34219,6 +34288,7 @@ export namespace discoveryengine_v1beta {
|
|
|
34219
34288
|
* // "features": {},
|
|
34220
34289
|
* // "industryVertical": "my_industryVertical",
|
|
34221
34290
|
* // "mediaRecommendationEngineConfig": {},
|
|
34291
|
+
* // "modelConfigs": {},
|
|
34222
34292
|
* // "name": "my_name",
|
|
34223
34293
|
* // "searchEngineConfig": {},
|
|
34224
34294
|
* // "solutionType": "my_solutionType",
|
|
@@ -60636,9 +60706,14 @@ export namespace discoveryengine_v1beta {
|
|
|
60636
60706
|
|
|
60637
60707
|
export class Resource$Projects$Locations$Userstores {
|
|
60638
60708
|
context: APIRequestContext;
|
|
60709
|
+
licenseConfigsUsageStats: Resource$Projects$Locations$Userstores$Licenseconfigsusagestats;
|
|
60639
60710
|
userLicenses: Resource$Projects$Locations$Userstores$Userlicenses;
|
|
60640
60711
|
constructor(context: APIRequestContext) {
|
|
60641
60712
|
this.context = context;
|
|
60713
|
+
this.licenseConfigsUsageStats =
|
|
60714
|
+
new Resource$Projects$Locations$Userstores$Licenseconfigsusagestats(
|
|
60715
|
+
this.context
|
|
60716
|
+
);
|
|
60642
60717
|
this.userLicenses =
|
|
60643
60718
|
new Resource$Projects$Locations$Userstores$Userlicenses(this.context);
|
|
60644
60719
|
}
|
|
@@ -61498,6 +61573,176 @@ export namespace discoveryengine_v1beta {
|
|
|
61498
61573
|
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaUserStore;
|
|
61499
61574
|
}
|
|
61500
61575
|
|
|
61576
|
+
export class Resource$Projects$Locations$Userstores$Licenseconfigsusagestats {
|
|
61577
|
+
context: APIRequestContext;
|
|
61578
|
+
constructor(context: APIRequestContext) {
|
|
61579
|
+
this.context = context;
|
|
61580
|
+
}
|
|
61581
|
+
|
|
61582
|
+
/**
|
|
61583
|
+
* Lists all the LicenseConfigUsageStatss associated with the project.
|
|
61584
|
+
* @example
|
|
61585
|
+
* ```js
|
|
61586
|
+
* // Before running the sample:
|
|
61587
|
+
* // - Enable the API at:
|
|
61588
|
+
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
61589
|
+
* // - Login into gcloud by running:
|
|
61590
|
+
* // ```sh
|
|
61591
|
+
* // $ gcloud auth application-default login
|
|
61592
|
+
* // ```
|
|
61593
|
+
* // - Install the npm module by running:
|
|
61594
|
+
* // ```sh
|
|
61595
|
+
* // $ npm install googleapis
|
|
61596
|
+
* // ```
|
|
61597
|
+
*
|
|
61598
|
+
* const {google} = require('googleapis');
|
|
61599
|
+
* const discoveryengine = google.discoveryengine('v1beta');
|
|
61600
|
+
*
|
|
61601
|
+
* async function main() {
|
|
61602
|
+
* const auth = new google.auth.GoogleAuth({
|
|
61603
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
61604
|
+
* scopes: [
|
|
61605
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
61606
|
+
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
61607
|
+
* ],
|
|
61608
|
+
* });
|
|
61609
|
+
*
|
|
61610
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
61611
|
+
* const authClient = await auth.getClient();
|
|
61612
|
+
* google.options({auth: authClient});
|
|
61613
|
+
*
|
|
61614
|
+
* // Do the magic
|
|
61615
|
+
* const res =
|
|
61616
|
+
* await discoveryengine.projects.locations.userStores.licenseConfigsUsageStats.list(
|
|
61617
|
+
* {
|
|
61618
|
+
* // Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`.
|
|
61619
|
+
* parent:
|
|
61620
|
+
* 'projects/my-project/locations/my-location/userStores/my-userStore',
|
|
61621
|
+
* },
|
|
61622
|
+
* );
|
|
61623
|
+
* console.log(res.data);
|
|
61624
|
+
*
|
|
61625
|
+
* // Example response
|
|
61626
|
+
* // {
|
|
61627
|
+
* // "licenseConfigUsageStats": []
|
|
61628
|
+
* // }
|
|
61629
|
+
* }
|
|
61630
|
+
*
|
|
61631
|
+
* main().catch(e => {
|
|
61632
|
+
* console.error(e);
|
|
61633
|
+
* throw e;
|
|
61634
|
+
* });
|
|
61635
|
+
*
|
|
61636
|
+
* ```
|
|
61637
|
+
*
|
|
61638
|
+
* @param params - Parameters for request
|
|
61639
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
61640
|
+
* @param callback - Optional callback that handles the response.
|
|
61641
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
61642
|
+
*/
|
|
61643
|
+
list(
|
|
61644
|
+
params: Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List,
|
|
61645
|
+
options: StreamMethodOptions
|
|
61646
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
61647
|
+
list(
|
|
61648
|
+
params?: Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List,
|
|
61649
|
+
options?: MethodOptions
|
|
61650
|
+
): Promise<
|
|
61651
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>
|
|
61652
|
+
>;
|
|
61653
|
+
list(
|
|
61654
|
+
params: Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List,
|
|
61655
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
61656
|
+
callback: BodyResponseCallback<Readable>
|
|
61657
|
+
): void;
|
|
61658
|
+
list(
|
|
61659
|
+
params: Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List,
|
|
61660
|
+
options:
|
|
61661
|
+
| MethodOptions
|
|
61662
|
+
| BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>,
|
|
61663
|
+
callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>
|
|
61664
|
+
): void;
|
|
61665
|
+
list(
|
|
61666
|
+
params: Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List,
|
|
61667
|
+
callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>
|
|
61668
|
+
): void;
|
|
61669
|
+
list(
|
|
61670
|
+
callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>
|
|
61671
|
+
): void;
|
|
61672
|
+
list(
|
|
61673
|
+
paramsOrCallback?:
|
|
61674
|
+
| Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List
|
|
61675
|
+
| BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>
|
|
61676
|
+
| BodyResponseCallback<Readable>,
|
|
61677
|
+
optionsOrCallback?:
|
|
61678
|
+
| MethodOptions
|
|
61679
|
+
| StreamMethodOptions
|
|
61680
|
+
| BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>
|
|
61681
|
+
| BodyResponseCallback<Readable>,
|
|
61682
|
+
callback?:
|
|
61683
|
+
| BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>
|
|
61684
|
+
| BodyResponseCallback<Readable>
|
|
61685
|
+
):
|
|
61686
|
+
| void
|
|
61687
|
+
| Promise<
|
|
61688
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>
|
|
61689
|
+
>
|
|
61690
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
61691
|
+
let params = (paramsOrCallback ||
|
|
61692
|
+
{}) as Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List;
|
|
61693
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
61694
|
+
|
|
61695
|
+
if (typeof paramsOrCallback === 'function') {
|
|
61696
|
+
callback = paramsOrCallback;
|
|
61697
|
+
params =
|
|
61698
|
+
{} as Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List;
|
|
61699
|
+
options = {};
|
|
61700
|
+
}
|
|
61701
|
+
|
|
61702
|
+
if (typeof optionsOrCallback === 'function') {
|
|
61703
|
+
callback = optionsOrCallback;
|
|
61704
|
+
options = {};
|
|
61705
|
+
}
|
|
61706
|
+
|
|
61707
|
+
const rootUrl =
|
|
61708
|
+
options.rootUrl || 'https://discoveryengine.googleapis.com/';
|
|
61709
|
+
const parameters = {
|
|
61710
|
+
options: Object.assign(
|
|
61711
|
+
{
|
|
61712
|
+
url: (
|
|
61713
|
+
rootUrl + '/v1beta/{+parent}/licenseConfigsUsageStats'
|
|
61714
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
61715
|
+
method: 'GET',
|
|
61716
|
+
apiVersion: '',
|
|
61717
|
+
},
|
|
61718
|
+
options
|
|
61719
|
+
),
|
|
61720
|
+
params,
|
|
61721
|
+
requiredParams: ['parent'],
|
|
61722
|
+
pathParams: ['parent'],
|
|
61723
|
+
context: this.context,
|
|
61724
|
+
};
|
|
61725
|
+
if (callback) {
|
|
61726
|
+
createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>(
|
|
61727
|
+
parameters,
|
|
61728
|
+
callback as BodyResponseCallback<unknown>
|
|
61729
|
+
);
|
|
61730
|
+
} else {
|
|
61731
|
+
return createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>(
|
|
61732
|
+
parameters
|
|
61733
|
+
);
|
|
61734
|
+
}
|
|
61735
|
+
}
|
|
61736
|
+
}
|
|
61737
|
+
|
|
61738
|
+
export interface Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List
|
|
61739
|
+
extends StandardParameters {
|
|
61740
|
+
/**
|
|
61741
|
+
* Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`.
|
|
61742
|
+
*/
|
|
61743
|
+
parent?: string;
|
|
61744
|
+
}
|
|
61745
|
+
|
|
61501
61746
|
export class Resource$Projects$Locations$Userstores$Userlicenses {
|
|
61502
61747
|
context: APIRequestContext;
|
|
61503
61748
|
constructor(context: APIRequestContext) {
|
|
@@ -61539,7 +61784,7 @@ export namespace discoveryengine_v1beta {
|
|
|
61539
61784
|
* // Do the magic
|
|
61540
61785
|
* const res =
|
|
61541
61786
|
* await discoveryengine.projects.locations.userStores.userLicenses.list({
|
|
61542
|
-
* // Optional. Filter for the list request. Supported fields: * `
|
|
61787
|
+
* // Optional. Filter for the list request. Supported fields: * `license`_`assignment`_`state` * `user_principal` * `user_profile` Examples: * `license`_`assignment`_`state = ASSIGNED` to list assigned user licenses. * `license`_`assignment`_`state = NO_LICENSE` to list not licensed users. * `license`_`assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license`_`assignment`_`state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned.
|
|
61543
61788
|
* filter: 'placeholder-value',
|
|
61544
61789
|
* // Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned.
|
|
61545
61790
|
* pageSize: 'placeholder-value',
|
|
@@ -61669,7 +61914,7 @@ export namespace discoveryengine_v1beta {
|
|
|
61669
61914
|
export interface Params$Resource$Projects$Locations$Userstores$Userlicenses$List
|
|
61670
61915
|
extends StandardParameters {
|
|
61671
61916
|
/**
|
|
61672
|
-
* Optional. Filter for the list request. Supported fields: * `
|
|
61917
|
+
* Optional. Filter for the list request. Supported fields: * `license`_`assignment`_`state` * `user_principal` * `user_profile` Examples: * `license`_`assignment`_`state = ASSIGNED` to list assigned user licenses. * `license`_`assignment`_`state = NO_LICENSE` to list not licensed users. * `license`_`assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license`_`assignment`_`state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned.
|
|
61673
61918
|
*/
|
|
61674
61919
|
filter?: string;
|
|
61675
61920
|
/**
|