@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/build/v1beta.d.ts CHANGED
@@ -2888,6 +2888,10 @@ export declare namespace discoveryengine_v1beta {
2888
2888
  * Optional. If true, the LLM based annotation is added to the image during parsing.
2889
2889
  */
2890
2890
  enableImageAnnotation?: boolean | null;
2891
+ /**
2892
+ * Optional. If true, the pdf layout will be refined using an LLM.
2893
+ */
2894
+ enableLlmLayoutParsing?: boolean | null;
2891
2895
  /**
2892
2896
  * Optional. If true, the LLM based annotation is added to the table during parsing.
2893
2897
  */
@@ -2956,6 +2960,10 @@ export declare namespace discoveryengine_v1beta {
2956
2960
  * Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
2957
2961
  */
2958
2962
  chatEngineMetadata?: Schema$GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata;
2963
+ /**
2964
+ * Output only. CMEK-related information for the Engine.
2965
+ */
2966
+ cmekConfig?: Schema$GoogleCloudDiscoveryengineV1alphaCmekConfig;
2959
2967
  /**
2960
2968
  * Common config spec that specifies the metadata of the engine.
2961
2969
  */
@@ -2994,6 +3002,12 @@ export declare namespace discoveryengine_v1beta {
2994
3002
  * Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.
2995
3003
  */
2996
3004
  mediaRecommendationEngineConfig?: Schema$GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig;
3005
+ /**
3006
+ * 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.
3007
+ */
3008
+ modelConfigs?: {
3009
+ [key: string]: string;
3010
+ } | null;
2997
3011
  /**
2998
3012
  * 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.
2999
3013
  */
@@ -8680,6 +8694,10 @@ export declare namespace discoveryengine_v1beta {
8680
8694
  * Optional. If true, the LLM based annotation is added to the image during parsing.
8681
8695
  */
8682
8696
  enableImageAnnotation?: boolean | null;
8697
+ /**
8698
+ * Optional. If true, the pdf layout will be refined using an LLM.
8699
+ */
8700
+ enableLlmLayoutParsing?: boolean | null;
8683
8701
  /**
8684
8702
  * Optional. If true, the LLM based annotation is added to the table during parsing.
8685
8703
  */
@@ -8771,6 +8789,10 @@ export declare namespace discoveryengine_v1beta {
8771
8789
  * Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
8772
8790
  */
8773
8791
  chatEngineMetadata?: Schema$GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata;
8792
+ /**
8793
+ * Output only. CMEK-related information for the Engine.
8794
+ */
8795
+ cmekConfig?: Schema$GoogleCloudDiscoveryengineV1betaCmekConfig;
8774
8796
  /**
8775
8797
  * Common config spec that specifies the metadata of the engine.
8776
8798
  */
@@ -8809,6 +8831,12 @@ export declare namespace discoveryengine_v1beta {
8809
8831
  * Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.
8810
8832
  */
8811
8833
  mediaRecommendationEngineConfig?: Schema$GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig;
8834
+ /**
8835
+ * 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.
8836
+ */
8837
+ modelConfigs?: {
8838
+ [key: string]: string;
8839
+ } | null;
8812
8840
  /**
8813
8841
  * 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.
8814
8842
  */
@@ -9740,6 +9768,19 @@ export declare namespace discoveryengine_v1beta {
9740
9768
  */
9741
9769
  subscriptionTier?: string | null;
9742
9770
  }
9771
+ /**
9772
+ * Stats about users' licenses.
9773
+ */
9774
+ export interface Schema$GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats {
9775
+ /**
9776
+ * Required. The LicenseConfig name.
9777
+ */
9778
+ licenseConfig?: string | null;
9779
+ /**
9780
+ * Required. The number of licenses used.
9781
+ */
9782
+ usedLicenseCount?: string | null;
9783
+ }
9743
9784
  /**
9744
9785
  * Response message for CmekConfigService.ListCmekConfigs method.
9745
9786
  */
@@ -9888,6 +9929,15 @@ export declare namespace discoveryengine_v1beta {
9888
9929
  */
9889
9930
  nextPageToken?: string | null;
9890
9931
  }
9932
+ /**
9933
+ * Response message for UserLicenseService.ListLicenseConfigUsageStats method.
9934
+ */
9935
+ export interface Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse {
9936
+ /**
9937
+ * All the customer's LicenseConfigUsageStats.
9938
+ */
9939
+ licenseConfigUsageStats?: Schema$GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats[];
9940
+ }
9891
9941
  /**
9892
9942
  * Response message for SampleQueryService.ListSampleQueries method.
9893
9943
  */
@@ -13842,6 +13892,10 @@ export declare namespace discoveryengine_v1beta {
13842
13892
  * Optional. If true, the LLM based annotation is added to the image during parsing.
13843
13893
  */
13844
13894
  enableImageAnnotation?: boolean | null;
13895
+ /**
13896
+ * Optional. If true, the pdf layout will be refined using an LLM.
13897
+ */
13898
+ enableLlmLayoutParsing?: boolean | null;
13845
13899
  /**
13846
13900
  * Optional. If true, the LLM based annotation is added to the table during parsing.
13847
13901
  */
@@ -13910,6 +13964,10 @@ export declare namespace discoveryengine_v1beta {
13910
13964
  * Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
13911
13965
  */
13912
13966
  chatEngineMetadata?: Schema$GoogleCloudDiscoveryengineV1EngineChatEngineMetadata;
13967
+ /**
13968
+ * Output only. CMEK-related information for the Engine.
13969
+ */
13970
+ cmekConfig?: Schema$GoogleCloudDiscoveryengineV1CmekConfig;
13913
13971
  /**
13914
13972
  * Common config spec that specifies the metadata of the engine.
13915
13973
  */
@@ -13948,6 +14006,12 @@ export declare namespace discoveryengine_v1beta {
13948
14006
  * Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.
13949
14007
  */
13950
14008
  mediaRecommendationEngineConfig?: Schema$GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig;
14009
+ /**
14010
+ * 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.
14011
+ */
14012
+ modelConfigs?: {
14013
+ [key: string]: string;
14014
+ } | null;
13951
14015
  /**
13952
14016
  * 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.
13953
14017
  */
@@ -24573,6 +24637,7 @@ export declare namespace discoveryengine_v1beta {
24573
24637
  * // "appType": "my_appType",
24574
24638
  * // "chatEngineConfig": {},
24575
24639
  * // "chatEngineMetadata": {},
24640
+ * // "cmekConfig": {},
24576
24641
  * // "commonConfig": {},
24577
24642
  * // "configurableBillingApproach": "my_configurableBillingApproach",
24578
24643
  * // "createTime": "my_createTime",
@@ -24582,6 +24647,7 @@ export declare namespace discoveryengine_v1beta {
24582
24647
  * // "features": {},
24583
24648
  * // "industryVertical": "my_industryVertical",
24584
24649
  * // "mediaRecommendationEngineConfig": {},
24650
+ * // "modelConfigs": {},
24585
24651
  * // "name": "my_name",
24586
24652
  * // "searchEngineConfig": {},
24587
24653
  * // "solutionType": "my_solutionType",
@@ -24731,6 +24797,7 @@ export declare namespace discoveryengine_v1beta {
24731
24797
  * // "appType": "my_appType",
24732
24798
  * // "chatEngineConfig": {},
24733
24799
  * // "chatEngineMetadata": {},
24800
+ * // "cmekConfig": {},
24734
24801
  * // "commonConfig": {},
24735
24802
  * // "configurableBillingApproach": "my_configurableBillingApproach",
24736
24803
  * // "createTime": "my_createTime",
@@ -24740,6 +24807,7 @@ export declare namespace discoveryengine_v1beta {
24740
24807
  * // "features": {},
24741
24808
  * // "industryVertical": "my_industryVertical",
24742
24809
  * // "mediaRecommendationEngineConfig": {},
24810
+ * // "modelConfigs": {},
24743
24811
  * // "name": "my_name",
24744
24812
  * // "searchEngineConfig": {},
24745
24813
  * // "solutionType": "my_solutionType",
@@ -24885,6 +24953,7 @@ export declare namespace discoveryengine_v1beta {
24885
24953
  * // "appType": "my_appType",
24886
24954
  * // "chatEngineConfig": {},
24887
24955
  * // "chatEngineMetadata": {},
24956
+ * // "cmekConfig": {},
24888
24957
  * // "commonConfig": {},
24889
24958
  * // "configurableBillingApproach": "my_configurableBillingApproach",
24890
24959
  * // "createTime": "my_createTime",
@@ -24894,6 +24963,7 @@ export declare namespace discoveryengine_v1beta {
24894
24963
  * // "features": {},
24895
24964
  * // "industryVertical": "my_industryVertical",
24896
24965
  * // "mediaRecommendationEngineConfig": {},
24966
+ * // "modelConfigs": {},
24897
24967
  * // "name": "my_name",
24898
24968
  * // "searchEngineConfig": {},
24899
24969
  * // "solutionType": "my_solutionType",
@@ -24908,6 +24978,7 @@ export declare namespace discoveryengine_v1beta {
24908
24978
  * // "appType": "my_appType",
24909
24979
  * // "chatEngineConfig": {},
24910
24980
  * // "chatEngineMetadata": {},
24981
+ * // "cmekConfig": {},
24911
24982
  * // "commonConfig": {},
24912
24983
  * // "configurableBillingApproach": "my_configurableBillingApproach",
24913
24984
  * // "createTime": "my_createTime",
@@ -24917,6 +24988,7 @@ export declare namespace discoveryengine_v1beta {
24917
24988
  * // "features": {},
24918
24989
  * // "industryVertical": "my_industryVertical",
24919
24990
  * // "mediaRecommendationEngineConfig": {},
24991
+ * // "modelConfigs": {},
24920
24992
  * // "name": "my_name",
24921
24993
  * // "searchEngineConfig": {},
24922
24994
  * // "solutionType": "my_solutionType",
@@ -24993,6 +25065,7 @@ export declare namespace discoveryengine_v1beta {
24993
25065
  * // "appType": "my_appType",
24994
25066
  * // "chatEngineConfig": {},
24995
25067
  * // "chatEngineMetadata": {},
25068
+ * // "cmekConfig": {},
24996
25069
  * // "commonConfig": {},
24997
25070
  * // "configurableBillingApproach": "my_configurableBillingApproach",
24998
25071
  * // "createTime": "my_createTime",
@@ -25002,6 +25075,7 @@ export declare namespace discoveryengine_v1beta {
25002
25075
  * // "features": {},
25003
25076
  * // "industryVertical": "my_industryVertical",
25004
25077
  * // "mediaRecommendationEngineConfig": {},
25078
+ * // "modelConfigs": {},
25005
25079
  * // "name": "my_name",
25006
25080
  * // "searchEngineConfig": {},
25007
25081
  * // "solutionType": "my_solutionType",
@@ -25078,6 +25152,7 @@ export declare namespace discoveryengine_v1beta {
25078
25152
  * // "appType": "my_appType",
25079
25153
  * // "chatEngineConfig": {},
25080
25154
  * // "chatEngineMetadata": {},
25155
+ * // "cmekConfig": {},
25081
25156
  * // "commonConfig": {},
25082
25157
  * // "configurableBillingApproach": "my_configurableBillingApproach",
25083
25158
  * // "createTime": "my_createTime",
@@ -25087,6 +25162,7 @@ export declare namespace discoveryengine_v1beta {
25087
25162
  * // "features": {},
25088
25163
  * // "industryVertical": "my_industryVertical",
25089
25164
  * // "mediaRecommendationEngineConfig": {},
25165
+ * // "modelConfigs": {},
25090
25166
  * // "name": "my_name",
25091
25167
  * // "searchEngineConfig": {},
25092
25168
  * // "solutionType": "my_solutionType",
@@ -38597,6 +38673,7 @@ export declare namespace discoveryengine_v1beta {
38597
38673
  }
38598
38674
  export class Resource$Projects$Locations$Userstores {
38599
38675
  context: APIRequestContext;
38676
+ licenseConfigsUsageStats: Resource$Projects$Locations$Userstores$Licenseconfigsusagestats;
38600
38677
  userLicenses: Resource$Projects$Locations$Userstores$Userlicenses;
38601
38678
  constructor(context: APIRequestContext);
38602
38679
  /**
@@ -39026,6 +39103,83 @@ export declare namespace discoveryengine_v1beta {
39026
39103
  */
39027
39104
  requestBody?: Schema$GoogleCloudDiscoveryengineV1betaUserStore;
39028
39105
  }
39106
+ export class Resource$Projects$Locations$Userstores$Licenseconfigsusagestats {
39107
+ context: APIRequestContext;
39108
+ constructor(context: APIRequestContext);
39109
+ /**
39110
+ * Lists all the LicenseConfigUsageStatss associated with the project.
39111
+ * @example
39112
+ * ```js
39113
+ * // Before running the sample:
39114
+ * // - Enable the API at:
39115
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
39116
+ * // - Login into gcloud by running:
39117
+ * // ```sh
39118
+ * // $ gcloud auth application-default login
39119
+ * // ```
39120
+ * // - Install the npm module by running:
39121
+ * // ```sh
39122
+ * // $ npm install googleapis
39123
+ * // ```
39124
+ *
39125
+ * const {google} = require('googleapis');
39126
+ * const discoveryengine = google.discoveryengine('v1beta');
39127
+ *
39128
+ * async function main() {
39129
+ * const auth = new google.auth.GoogleAuth({
39130
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
39131
+ * scopes: [
39132
+ * 'https://www.googleapis.com/auth/cloud-platform',
39133
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
39134
+ * ],
39135
+ * });
39136
+ *
39137
+ * // Acquire an auth client, and bind it to all future calls
39138
+ * const authClient = await auth.getClient();
39139
+ * google.options({auth: authClient});
39140
+ *
39141
+ * // Do the magic
39142
+ * const res =
39143
+ * await discoveryengine.projects.locations.userStores.licenseConfigsUsageStats.list(
39144
+ * {
39145
+ * // Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`.
39146
+ * parent:
39147
+ * 'projects/my-project/locations/my-location/userStores/my-userStore',
39148
+ * },
39149
+ * );
39150
+ * console.log(res.data);
39151
+ *
39152
+ * // Example response
39153
+ * // {
39154
+ * // "licenseConfigUsageStats": []
39155
+ * // }
39156
+ * }
39157
+ *
39158
+ * main().catch(e => {
39159
+ * console.error(e);
39160
+ * throw e;
39161
+ * });
39162
+ *
39163
+ * ```
39164
+ *
39165
+ * @param params - Parameters for request
39166
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
39167
+ * @param callback - Optional callback that handles the response.
39168
+ * @returns A promise if used with async/await, or void if used with a callback.
39169
+ */
39170
+ list(params: Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
39171
+ list(params?: Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>>;
39172
+ list(params: Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
39173
+ list(params: Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>): void;
39174
+ list(params: Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>): void;
39175
+ list(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse>): void;
39176
+ }
39177
+ export interface Params$Resource$Projects$Locations$Userstores$Licenseconfigsusagestats$List extends StandardParameters {
39178
+ /**
39179
+ * Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`.
39180
+ */
39181
+ parent?: string;
39182
+ }
39029
39183
  export class Resource$Projects$Locations$Userstores$Userlicenses {
39030
39184
  context: APIRequestContext;
39031
39185
  constructor(context: APIRequestContext);
@@ -39064,7 +39218,7 @@ export declare namespace discoveryengine_v1beta {
39064
39218
  * // Do the magic
39065
39219
  * const res =
39066
39220
  * await discoveryengine.projects.locations.userStores.userLicenses.list({
39067
- * // Optional. Filter for the list request. Supported fields: * `license_assignment_state` 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.
39221
+ * // 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.
39068
39222
  * filter: 'placeholder-value',
39069
39223
  * // 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.
39070
39224
  * pageSize: 'placeholder-value',
@@ -39104,7 +39258,7 @@ export declare namespace discoveryengine_v1beta {
39104
39258
  }
39105
39259
  export interface Params$Resource$Projects$Locations$Userstores$Userlicenses$List extends StandardParameters {
39106
39260
  /**
39107
- * Optional. Filter for the list request. Supported fields: * `license_assignment_state` 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.
39261
+ * 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.
39108
39262
  */
39109
39263
  filter?: string;
39110
39264
  /**
package/build/v1beta.js CHANGED
@@ -8990,9 +8990,12 @@ var discoveryengine_v1beta;
8990
8990
  discoveryengine_v1beta.Resource$Projects$Locations$Userevents = Resource$Projects$Locations$Userevents;
8991
8991
  class Resource$Projects$Locations$Userstores {
8992
8992
  context;
8993
+ licenseConfigsUsageStats;
8993
8994
  userLicenses;
8994
8995
  constructor(context) {
8995
8996
  this.context = context;
8997
+ this.licenseConfigsUsageStats =
8998
+ new Resource$Projects$Locations$Userstores$Licenseconfigsusagestats(this.context);
8996
8999
  this.userLicenses =
8997
9000
  new Resource$Projects$Locations$Userstores$Userlicenses(this.context);
8998
9001
  }
@@ -9159,6 +9162,46 @@ var discoveryengine_v1beta;
9159
9162
  }
9160
9163
  }
9161
9164
  discoveryengine_v1beta.Resource$Projects$Locations$Userstores = Resource$Projects$Locations$Userstores;
9165
+ class Resource$Projects$Locations$Userstores$Licenseconfigsusagestats {
9166
+ context;
9167
+ constructor(context) {
9168
+ this.context = context;
9169
+ }
9170
+ list(paramsOrCallback, optionsOrCallback, callback) {
9171
+ let params = (paramsOrCallback ||
9172
+ {});
9173
+ let options = (optionsOrCallback || {});
9174
+ if (typeof paramsOrCallback === 'function') {
9175
+ callback = paramsOrCallback;
9176
+ params =
9177
+ {};
9178
+ options = {};
9179
+ }
9180
+ if (typeof optionsOrCallback === 'function') {
9181
+ callback = optionsOrCallback;
9182
+ options = {};
9183
+ }
9184
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
9185
+ const parameters = {
9186
+ options: Object.assign({
9187
+ url: (rootUrl + '/v1beta/{+parent}/licenseConfigsUsageStats').replace(/([^:]\/)\/+/g, '$1'),
9188
+ method: 'GET',
9189
+ apiVersion: '',
9190
+ }, options),
9191
+ params,
9192
+ requiredParams: ['parent'],
9193
+ pathParams: ['parent'],
9194
+ context: this.context,
9195
+ };
9196
+ if (callback) {
9197
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
9198
+ }
9199
+ else {
9200
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
9201
+ }
9202
+ }
9203
+ }
9204
+ discoveryengine_v1beta.Resource$Projects$Locations$Userstores$Licenseconfigsusagestats = Resource$Projects$Locations$Userstores$Licenseconfigsusagestats;
9162
9205
  class Resource$Projects$Locations$Userstores$Userlicenses {
9163
9206
  context;
9164
9207
  constructor(context) {