@googleapis/serviceusage 1.1.0 → 3.1.1

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/v1beta1.ts CHANGED
@@ -294,10 +294,6 @@ export namespace serviceusage_v1beta1 {
294
294
  * The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP "authorization" header, and sent to the backend.
295
295
  */
296
296
  jwtAudience?: string | null;
297
- /**
298
- * Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected.
299
- */
300
- minDeadline?: number | null;
301
297
  /**
302
298
  * The number of seconds to wait for the completion of a long running operation. The default is no deadline.
303
299
  */
@@ -398,6 +394,10 @@ export namespace serviceusage_v1beta1 {
398
394
  * Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
399
395
  */
400
396
  quotaBuckets?: Schema$QuotaBucket[];
397
+ /**
398
+ * List of all supported locations. This field is present only if the limit has a {region\} or {zone\} dimension.
399
+ */
400
+ supportedLocations?: string[] | null;
401
401
  /**
402
402
  * The limit unit. An example unit would be `1/{project\}/{region\}` Note that `{project\}` and `{region\}` are not placeholders in this example; the literal characters `{` and `\}` occur in the string.
403
403
  */
@@ -467,11 +467,11 @@ export namespace serviceusage_v1beta1 {
467
467
  selector?: string | null;
468
468
  }
469
469
  /**
470
- * Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.
470
+ * Selects and configures the service controller used by the service. The service controller handles two things: - **What is allowed:** for each API request, Chemist checks the project status, activation status, abuse status, billing status, service status, location restrictions, VPC Service Controls, SuperQuota, and other policies. - **What has happened:** for each API response, Chemist reports the telemetry data to analytics, auditing, billing, eventing, logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data not associated with API traffic, such as billing metrics. Example: control: environment: servicecontrol.googleapis.com
471
471
  */
472
472
  export interface Schema$Control {
473
473
  /**
474
- * The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.
474
+ * The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com
475
475
  */
476
476
  environment?: string | null;
477
477
  }
@@ -560,7 +560,7 @@ export namespace serviceusage_v1beta1 {
560
560
  */
561
561
  serviceRootUrl?: string | null;
562
562
  /**
563
- * A short summary of what the service does. Can only be provided by plain text.
563
+ * A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is equivalent to the standard field `description`.
564
564
  */
565
565
  summary?: string | null;
566
566
  }
@@ -573,16 +573,16 @@ export namespace serviceusage_v1beta1 {
573
573
  */
574
574
  deprecationDescription?: string | null;
575
575
  /**
576
- * Description of the selected API(s).
576
+ * Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.
577
577
  */
578
578
  description?: string | null;
579
579
  /**
580
- * The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used.
580
+ * The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used.
581
581
  */
582
582
  selector?: string | null;
583
583
  }
584
584
  /**
585
- * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} The JSON representation for `Empty` is empty JSON object `{\}`.
585
+ * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
586
586
  */
587
587
  export interface Schema$Empty {}
588
588
  /**
@@ -612,7 +612,7 @@ export namespace serviceusage_v1beta1 {
612
612
  service?: Schema$GoogleApiServiceusageV1Service;
613
613
  }
614
614
  /**
615
- * `Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true
615
+ * `Endpoint` describes a network address of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example: type: google.api.Service name: library-example.googleapis.com endpoints: # Declares network address `https://library-example.googleapis.com` # for service `library-example.googleapis.com`. The `https` scheme # is implicit for all service endpoints. Other schemes may be # supported in the future. - name: library-example.googleapis.com allow_cors: false - name: content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API frontend, for it # to decide whether the subsequent cross-origin request is allowed # to proceed. allow_cors: true
616
616
  */
617
617
  export interface Schema$Endpoint {
618
618
  /**
@@ -733,7 +733,7 @@ export namespace serviceusage_v1beta1 {
733
733
  state?: string | null;
734
734
  }
735
735
  /**
736
- * `Service` is the root object of Google service configuration schema. It describes basic information about a service, such as the name and the title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. See each proto message definition for details. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth
736
+ * `Service` is the root object of Google API service configuration (service config). It describes the basic information about a logical service, such as the service name and the user-facing title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. For more information, see each proto message definition. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3.*" restriction: PREVIEW backend: rules: - selector: "google.calendar.v3.*" address: calendar.example.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth
737
737
  */
738
738
  export interface Schema$GoogleApiService {
739
739
  /**
@@ -777,7 +777,7 @@ export namespace serviceusage_v1beta1 {
777
777
  */
778
778
  endpoints?: Schema$Endpoint[];
779
779
  /**
780
- * A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name. Example: enums: - name: google.someapi.v1.SomeEnum
780
+ * A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum
781
781
  */
782
782
  enums?: Schema$Enum[];
783
783
  /**
@@ -833,11 +833,11 @@ export namespace serviceusage_v1beta1 {
833
833
  */
834
834
  systemTypes?: Schema$Type[];
835
835
  /**
836
- * The product title for this service.
836
+ * The product title for this service, it is the name displayed in Google Cloud Console.
837
837
  */
838
838
  title?: string | null;
839
839
  /**
840
- * A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name. Example: types: - name: google.protobuf.Int32
840
+ * A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32
841
841
  */
842
842
  types?: Schema$Type[];
843
843
  /**
@@ -1373,7 +1373,7 @@ export namespace serviceusage_v1beta1 {
1373
1373
  */
1374
1374
  name?: string | null;
1375
1375
  /**
1376
- * Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL.
1376
+ * Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).
1377
1377
  */
1378
1378
  type?: string | null;
1379
1379
  }
@@ -1473,7 +1473,7 @@ export namespace serviceusage_v1beta1 {
1473
1473
  */
1474
1474
  export interface Schema$Page {
1475
1475
  /**
1476
- * The Markdown content of the page. You can use (== include {path\} ==) to include content from a Markdown file.
1476
+ * The Markdown content of the page. You can use (== include {path\} ==) to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page.
1477
1477
  */
1478
1478
  content?: string | null;
1479
1479
  /**
@@ -3084,8 +3084,7 @@ export namespace serviceusage_v1beta1 {
3084
3084
  * // Do the magic
3085
3085
  * const res = await serviceusage.services.consumerQuotaMetrics.get({
3086
3086
  * // The resource name of the quota limit. An example name would be: `projects/123/services/serviceusage.googleapis.com/quotas/metrics/serviceusage.googleapis.com%2Fmutate_requests`
3087
- * name:
3088
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric',
3087
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric',
3089
3088
  * // Specifies the level of detail for quota information in the response.
3090
3089
  * view: 'placeholder-value',
3091
3090
  * });
@@ -3222,8 +3221,8 @@ export namespace serviceusage_v1beta1 {
3222
3221
  * google.options({auth: authClient});
3223
3222
  *
3224
3223
  * // Do the magic
3225
- * const res = await serviceusage.services.consumerQuotaMetrics.importAdminOverrides(
3226
- * {
3224
+ * const res =
3225
+ * await serviceusage.services.consumerQuotaMetrics.importAdminOverrides({
3227
3226
  * // The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com`
3228
3227
  * parent: '[^/]+/[^/]+/services/my-service',
3229
3228
  *
@@ -3236,8 +3235,7 @@ export namespace serviceusage_v1beta1 {
3236
3235
  * // "inlineSource": {}
3237
3236
  * // }
3238
3237
  * },
3239
- * }
3240
- * );
3238
+ * });
3241
3239
  * console.log(res.data);
3242
3240
  *
3243
3241
  * // Example response
@@ -3307,7 +3305,8 @@ export namespace serviceusage_v1beta1 {
3307
3305
 
3308
3306
  if (typeof paramsOrCallback === 'function') {
3309
3307
  callback = paramsOrCallback;
3310
- params = {} as Params$Resource$Services$Consumerquotametrics$Importadminoverrides;
3308
+ params =
3309
+ {} as Params$Resource$Services$Consumerquotametrics$Importadminoverrides;
3311
3310
  options = {};
3312
3311
  }
3313
3312
 
@@ -3372,8 +3371,8 @@ export namespace serviceusage_v1beta1 {
3372
3371
  * google.options({auth: authClient});
3373
3372
  *
3374
3373
  * // Do the magic
3375
- * const res = await serviceusage.services.consumerQuotaMetrics.importConsumerOverrides(
3376
- * {
3374
+ * const res =
3375
+ * await serviceusage.services.consumerQuotaMetrics.importConsumerOverrides({
3377
3376
  * // The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com`
3378
3377
  * parent: '[^/]+/[^/]+/services/my-service',
3379
3378
  *
@@ -3386,8 +3385,7 @@ export namespace serviceusage_v1beta1 {
3386
3385
  * // "inlineSource": {}
3387
3386
  * // }
3388
3387
  * },
3389
- * }
3390
- * );
3388
+ * });
3391
3389
  * console.log(res.data);
3392
3390
  *
3393
3391
  * // Example response
@@ -3457,7 +3455,8 @@ export namespace serviceusage_v1beta1 {
3457
3455
 
3458
3456
  if (typeof paramsOrCallback === 'function') {
3459
3457
  callback = paramsOrCallback;
3460
- params = {} as Params$Resource$Services$Consumerquotametrics$Importconsumeroverrides;
3458
+ params =
3459
+ {} as Params$Resource$Services$Consumerquotametrics$Importconsumeroverrides;
3461
3460
  options = {};
3462
3461
  }
3463
3462
 
@@ -3703,12 +3702,14 @@ export namespace serviceusage_v1beta1 {
3703
3702
  consumerOverrides: Resource$Services$Consumerquotametrics$Limits$Consumeroverrides;
3704
3703
  constructor(context: APIRequestContext) {
3705
3704
  this.context = context;
3706
- this.adminOverrides = new Resource$Services$Consumerquotametrics$Limits$Adminoverrides(
3707
- this.context
3708
- );
3709
- this.consumerOverrides = new Resource$Services$Consumerquotametrics$Limits$Consumeroverrides(
3710
- this.context
3711
- );
3705
+ this.adminOverrides =
3706
+ new Resource$Services$Consumerquotametrics$Limits$Adminoverrides(
3707
+ this.context
3708
+ );
3709
+ this.consumerOverrides =
3710
+ new Resource$Services$Consumerquotametrics$Limits$Consumeroverrides(
3711
+ this.context
3712
+ );
3712
3713
  }
3713
3714
 
3714
3715
  /**
@@ -3742,8 +3743,7 @@ export namespace serviceusage_v1beta1 {
3742
3743
  * // Do the magic
3743
3744
  * const res = await serviceusage.services.consumerQuotaMetrics.limits.get({
3744
3745
  * // The resource name of the quota limit. Use the quota limit resource name returned by previous ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.
3745
- * name:
3746
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3746
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3747
3747
  * // Specifies the level of detail for quota information in the response.
3748
3748
  * view: 'placeholder-value',
3749
3749
  * });
@@ -3756,6 +3756,7 @@ export namespace serviceusage_v1beta1 {
3756
3756
  * // "metric": "my_metric",
3757
3757
  * // "name": "my_name",
3758
3758
  * // "quotaBuckets": [],
3759
+ * // "supportedLocations": [],
3759
3760
  * // "unit": "my_unit"
3760
3761
  * // }
3761
3762
  * }
@@ -3899,30 +3900,31 @@ export namespace serviceusage_v1beta1 {
3899
3900
  * google.options({auth: authClient});
3900
3901
  *
3901
3902
  * // Do the magic
3902
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.create(
3903
- * {
3904
- * // Whether to force the creation of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
3905
- * force: 'placeholder-value',
3906
- * // The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
3907
- * forceOnly: 'placeholder-value',
3908
- * // The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
3909
- * parent:
3910
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3911
- *
3912
- * // Request body metadata
3913
- * requestBody: {
3914
- * // request body parameters
3915
- * // {
3916
- * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3917
- * // "dimensions": {},
3918
- * // "metric": "my_metric",
3919
- * // "name": "my_name",
3920
- * // "overrideValue": "my_overrideValue",
3921
- * // "unit": "my_unit"
3922
- * // }
3923
- * },
3924
- * }
3925
- * );
3903
+ * const res =
3904
+ * await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.create(
3905
+ * {
3906
+ * // Whether to force the creation of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
3907
+ * force: 'placeholder-value',
3908
+ * // The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
3909
+ * forceOnly: 'placeholder-value',
3910
+ * // The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
3911
+ * parent:
3912
+ * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3913
+ *
3914
+ * // Request body metadata
3915
+ * requestBody: {
3916
+ * // request body parameters
3917
+ * // {
3918
+ * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3919
+ * // "dimensions": {},
3920
+ * // "metric": "my_metric",
3921
+ * // "name": "my_name",
3922
+ * // "overrideValue": "my_overrideValue",
3923
+ * // "unit": "my_unit"
3924
+ * // }
3925
+ * },
3926
+ * }
3927
+ * );
3926
3928
  * console.log(res.data);
3927
3929
  *
3928
3930
  * // Example response
@@ -3990,7 +3992,8 @@ export namespace serviceusage_v1beta1 {
3990
3992
 
3991
3993
  if (typeof paramsOrCallback === 'function') {
3992
3994
  callback = paramsOrCallback;
3993
- params = {} as Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Create;
3995
+ params =
3996
+ {} as Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Create;
3994
3997
  options = {};
3995
3998
  }
3996
3999
 
@@ -4055,17 +4058,17 @@ export namespace serviceusage_v1beta1 {
4055
4058
  * google.options({auth: authClient});
4056
4059
  *
4057
4060
  * // Do the magic
4058
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.delete(
4059
- * {
4060
- * // Whether to force the deletion of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
4061
- * force: 'placeholder-value',
4062
- * // The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
4063
- * forceOnly: 'placeholder-value',
4064
- * // The resource name of the override to delete. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
4065
- * name:
4066
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
4067
- * }
4068
- * );
4061
+ * const res =
4062
+ * await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.delete(
4063
+ * {
4064
+ * // Whether to force the deletion of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
4065
+ * force: 'placeholder-value',
4066
+ * // The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
4067
+ * forceOnly: 'placeholder-value',
4068
+ * // The resource name of the override to delete. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
4069
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
4070
+ * }
4071
+ * );
4069
4072
  * console.log(res.data);
4070
4073
  *
4071
4074
  * // Example response
@@ -4133,7 +4136,8 @@ export namespace serviceusage_v1beta1 {
4133
4136
 
4134
4137
  if (typeof paramsOrCallback === 'function') {
4135
4138
  callback = paramsOrCallback;
4136
- params = {} as Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Delete;
4139
+ params =
4140
+ {} as Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Delete;
4137
4141
  options = {};
4138
4142
  }
4139
4143
 
@@ -4195,17 +4199,18 @@ export namespace serviceusage_v1beta1 {
4195
4199
  * google.options({auth: authClient});
4196
4200
  *
4197
4201
  * // Do the magic
4198
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.list(
4199
- * {
4200
- * // Requested size of the next page of data.
4201
- * pageSize: 'placeholder-value',
4202
- * // Token identifying which result to start with; returned by a previous list call.
4203
- * pageToken: 'placeholder-value',
4204
- * // The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
4205
- * parent:
4206
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
4207
- * }
4208
- * );
4202
+ * const res =
4203
+ * await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.list(
4204
+ * {
4205
+ * // Requested size of the next page of data.
4206
+ * pageSize: 'placeholder-value',
4207
+ * // Token identifying which result to start with; returned by a previous list call.
4208
+ * pageToken: 'placeholder-value',
4209
+ * // The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
4210
+ * parent:
4211
+ * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
4212
+ * }
4213
+ * );
4209
4214
  * console.log(res.data);
4210
4215
  *
4211
4216
  * // Example response
@@ -4277,7 +4282,8 @@ export namespace serviceusage_v1beta1 {
4277
4282
 
4278
4283
  if (typeof paramsOrCallback === 'function') {
4279
4284
  callback = paramsOrCallback;
4280
- params = {} as Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$List;
4285
+ params =
4286
+ {} as Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$List;
4281
4287
  options = {};
4282
4288
  }
4283
4289
 
@@ -4342,32 +4348,32 @@ export namespace serviceusage_v1beta1 {
4342
4348
  * google.options({auth: authClient});
4343
4349
  *
4344
4350
  * // Do the magic
4345
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.patch(
4346
- * {
4347
- * // Whether to force the update of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
4348
- * force: 'placeholder-value',
4349
- * // The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
4350
- * forceOnly: 'placeholder-value',
4351
- * // The resource name of the override to update. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
4352
- * name:
4353
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
4354
- * // Update only the specified fields of the override. If unset, all fields will be updated.
4355
- * updateMask: 'placeholder-value',
4356
- *
4357
- * // Request body metadata
4358
- * requestBody: {
4359
- * // request body parameters
4360
- * // {
4361
- * // "adminOverrideAncestor": "my_adminOverrideAncestor",
4362
- * // "dimensions": {},
4363
- * // "metric": "my_metric",
4364
- * // "name": "my_name",
4365
- * // "overrideValue": "my_overrideValue",
4366
- * // "unit": "my_unit"
4367
- * // }
4368
- * },
4369
- * }
4370
- * );
4351
+ * const res =
4352
+ * await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.patch(
4353
+ * {
4354
+ * // Whether to force the update of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
4355
+ * force: 'placeholder-value',
4356
+ * // The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
4357
+ * forceOnly: 'placeholder-value',
4358
+ * // The resource name of the override to update. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
4359
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
4360
+ * // Update only the specified fields of the override. If unset, all fields will be updated.
4361
+ * updateMask: 'placeholder-value',
4362
+ *
4363
+ * // Request body metadata
4364
+ * requestBody: {
4365
+ * // request body parameters
4366
+ * // {
4367
+ * // "adminOverrideAncestor": "my_adminOverrideAncestor",
4368
+ * // "dimensions": {},
4369
+ * // "metric": "my_metric",
4370
+ * // "name": "my_name",
4371
+ * // "overrideValue": "my_overrideValue",
4372
+ * // "unit": "my_unit"
4373
+ * // }
4374
+ * },
4375
+ * }
4376
+ * );
4371
4377
  * console.log(res.data);
4372
4378
  *
4373
4379
  * // Example response
@@ -4435,7 +4441,8 @@ export namespace serviceusage_v1beta1 {
4435
4441
 
4436
4442
  if (typeof paramsOrCallback === 'function') {
4437
4443
  callback = paramsOrCallback;
4438
- params = {} as Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Patch;
4444
+ params =
4445
+ {} as Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Patch;
4439
4446
  options = {};
4440
4447
  }
4441
4448
 
@@ -4579,30 +4586,31 @@ export namespace serviceusage_v1beta1 {
4579
4586
  * google.options({auth: authClient});
4580
4587
  *
4581
4588
  * // Do the magic
4582
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.create(
4583
- * {
4584
- * // Whether to force the creation of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
4585
- * force: 'placeholder-value',
4586
- * // The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
4587
- * forceOnly: 'placeholder-value',
4588
- * // The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
4589
- * parent:
4590
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
4591
- *
4592
- * // Request body metadata
4593
- * requestBody: {
4594
- * // request body parameters
4595
- * // {
4596
- * // "adminOverrideAncestor": "my_adminOverrideAncestor",
4597
- * // "dimensions": {},
4598
- * // "metric": "my_metric",
4599
- * // "name": "my_name",
4600
- * // "overrideValue": "my_overrideValue",
4601
- * // "unit": "my_unit"
4602
- * // }
4603
- * },
4604
- * }
4605
- * );
4589
+ * const res =
4590
+ * await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.create(
4591
+ * {
4592
+ * // Whether to force the creation of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
4593
+ * force: 'placeholder-value',
4594
+ * // The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
4595
+ * forceOnly: 'placeholder-value',
4596
+ * // The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
4597
+ * parent:
4598
+ * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
4599
+ *
4600
+ * // Request body metadata
4601
+ * requestBody: {
4602
+ * // request body parameters
4603
+ * // {
4604
+ * // "adminOverrideAncestor": "my_adminOverrideAncestor",
4605
+ * // "dimensions": {},
4606
+ * // "metric": "my_metric",
4607
+ * // "name": "my_name",
4608
+ * // "overrideValue": "my_overrideValue",
4609
+ * // "unit": "my_unit"
4610
+ * // }
4611
+ * },
4612
+ * }
4613
+ * );
4606
4614
  * console.log(res.data);
4607
4615
  *
4608
4616
  * // Example response
@@ -4670,7 +4678,8 @@ export namespace serviceusage_v1beta1 {
4670
4678
 
4671
4679
  if (typeof paramsOrCallback === 'function') {
4672
4680
  callback = paramsOrCallback;
4673
- params = {} as Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Create;
4681
+ params =
4682
+ {} as Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Create;
4674
4683
  options = {};
4675
4684
  }
4676
4685
 
@@ -4735,17 +4744,17 @@ export namespace serviceusage_v1beta1 {
4735
4744
  * google.options({auth: authClient});
4736
4745
  *
4737
4746
  * // Do the magic
4738
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.delete(
4739
- * {
4740
- * // Whether to force the deletion of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
4741
- * force: 'placeholder-value',
4742
- * // The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
4743
- * forceOnly: 'placeholder-value',
4744
- * // The resource name of the override to delete. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
4745
- * name:
4746
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
4747
- * }
4748
- * );
4747
+ * const res =
4748
+ * await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.delete(
4749
+ * {
4750
+ * // Whether to force the deletion of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
4751
+ * force: 'placeholder-value',
4752
+ * // The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
4753
+ * forceOnly: 'placeholder-value',
4754
+ * // The resource name of the override to delete. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
4755
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
4756
+ * }
4757
+ * );
4749
4758
  * console.log(res.data);
4750
4759
  *
4751
4760
  * // Example response
@@ -4813,7 +4822,8 @@ export namespace serviceusage_v1beta1 {
4813
4822
 
4814
4823
  if (typeof paramsOrCallback === 'function') {
4815
4824
  callback = paramsOrCallback;
4816
- params = {} as Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Delete;
4825
+ params =
4826
+ {} as Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Delete;
4817
4827
  options = {};
4818
4828
  }
4819
4829
 
@@ -4875,17 +4885,18 @@ export namespace serviceusage_v1beta1 {
4875
4885
  * google.options({auth: authClient});
4876
4886
  *
4877
4887
  * // Do the magic
4878
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.list(
4879
- * {
4880
- * // Requested size of the next page of data.
4881
- * pageSize: 'placeholder-value',
4882
- * // Token identifying which result to start with; returned by a previous list call.
4883
- * pageToken: 'placeholder-value',
4884
- * // The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
4885
- * parent:
4886
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
4887
- * }
4888
- * );
4888
+ * const res =
4889
+ * await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.list(
4890
+ * {
4891
+ * // Requested size of the next page of data.
4892
+ * pageSize: 'placeholder-value',
4893
+ * // Token identifying which result to start with; returned by a previous list call.
4894
+ * pageToken: 'placeholder-value',
4895
+ * // The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
4896
+ * parent:
4897
+ * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
4898
+ * }
4899
+ * );
4889
4900
  * console.log(res.data);
4890
4901
  *
4891
4902
  * // Example response
@@ -4957,7 +4968,8 @@ export namespace serviceusage_v1beta1 {
4957
4968
 
4958
4969
  if (typeof paramsOrCallback === 'function') {
4959
4970
  callback = paramsOrCallback;
4960
- params = {} as Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$List;
4971
+ params =
4972
+ {} as Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$List;
4961
4973
  options = {};
4962
4974
  }
4963
4975
 
@@ -5024,32 +5036,32 @@ export namespace serviceusage_v1beta1 {
5024
5036
  * google.options({auth: authClient});
5025
5037
  *
5026
5038
  * // Do the magic
5027
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.patch(
5028
- * {
5029
- * // Whether to force the update of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
5030
- * force: 'placeholder-value',
5031
- * // The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
5032
- * forceOnly: 'placeholder-value',
5033
- * // The resource name of the override to update. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
5034
- * name:
5035
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
5036
- * // Update only the specified fields of the override. If unset, all fields will be updated.
5037
- * updateMask: 'placeholder-value',
5038
- *
5039
- * // Request body metadata
5040
- * requestBody: {
5041
- * // request body parameters
5042
- * // {
5043
- * // "adminOverrideAncestor": "my_adminOverrideAncestor",
5044
- * // "dimensions": {},
5045
- * // "metric": "my_metric",
5046
- * // "name": "my_name",
5047
- * // "overrideValue": "my_overrideValue",
5048
- * // "unit": "my_unit"
5049
- * // }
5050
- * },
5051
- * }
5052
- * );
5039
+ * const res =
5040
+ * await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.patch(
5041
+ * {
5042
+ * // Whether to force the update of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
5043
+ * force: 'placeholder-value',
5044
+ * // The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
5045
+ * forceOnly: 'placeholder-value',
5046
+ * // The resource name of the override to update. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
5047
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
5048
+ * // Update only the specified fields of the override. If unset, all fields will be updated.
5049
+ * updateMask: 'placeholder-value',
5050
+ *
5051
+ * // Request body metadata
5052
+ * requestBody: {
5053
+ * // request body parameters
5054
+ * // {
5055
+ * // "adminOverrideAncestor": "my_adminOverrideAncestor",
5056
+ * // "dimensions": {},
5057
+ * // "metric": "my_metric",
5058
+ * // "name": "my_name",
5059
+ * // "overrideValue": "my_overrideValue",
5060
+ * // "unit": "my_unit"
5061
+ * // }
5062
+ * },
5063
+ * }
5064
+ * );
5053
5065
  * console.log(res.data);
5054
5066
  *
5055
5067
  * // Example response
@@ -5117,7 +5129,8 @@ export namespace serviceusage_v1beta1 {
5117
5129
 
5118
5130
  if (typeof paramsOrCallback === 'function') {
5119
5131
  callback = paramsOrCallback;
5120
- params = {} as Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Patch;
5132
+ params =
5133
+ {} as Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Patch;
5121
5134
  options = {};
5122
5135
  }
5123
5136