@googleapis/serviceusage 1.1.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -195,7 +195,7 @@ export declare namespace serviceusage_v1beta1 {
195
195
  */
196
196
  jwksUri?: string | null;
197
197
  /**
198
- * Defines the locations to extract the JWT. JWT locations can be either from HTTP headers or URL query parameters. The rule is that the first match wins. The checking order is: checking all headers first, then URL query parameters. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token
198
+ * Defines the locations to extract the JWT. For now it is only used by the Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) JWT locations can be one of HTTP headers, URL query parameters or cookies. The rule is that the first match wins. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token
199
199
  */
200
200
  jwtLocations?: Schema$JwtLocation[];
201
201
  }
@@ -241,10 +241,6 @@ export declare namespace serviceusage_v1beta1 {
241
241
  * 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.
242
242
  */
243
243
  jwtAudience?: string | null;
244
- /**
245
- * Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected.
246
- */
247
- minDeadline?: number | null;
248
244
  /**
249
245
  * The number of seconds to wait for the completion of a long running operation. The default is no deadline.
250
246
  */
@@ -345,6 +341,10 @@ export declare namespace serviceusage_v1beta1 {
345
341
  * 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).
346
342
  */
347
343
  quotaBuckets?: Schema$QuotaBucket[];
344
+ /**
345
+ * List of all supported locations. This field is present only if the limit has a {region\} or {zone\} dimension.
346
+ */
347
+ supportedLocations?: string[] | null;
348
348
  /**
349
349
  * 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.
350
350
  */
@@ -414,11 +414,11 @@ export declare namespace serviceusage_v1beta1 {
414
414
  selector?: string | null;
415
415
  }
416
416
  /**
417
- * Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.
417
+ * 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
418
418
  */
419
419
  export interface Schema$Control {
420
420
  /**
421
- * The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.
421
+ * 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
422
422
  */
423
423
  environment?: string | null;
424
424
  }
@@ -510,7 +510,7 @@ export declare namespace serviceusage_v1beta1 {
510
510
  */
511
511
  serviceRootUrl?: string | null;
512
512
  /**
513
- * A short summary of what the service does. Can only be provided by plain text.
513
+ * 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`.
514
514
  */
515
515
  summary?: string | null;
516
516
  }
@@ -523,16 +523,16 @@ export declare namespace serviceusage_v1beta1 {
523
523
  */
524
524
  deprecationDescription?: string | null;
525
525
  /**
526
- * Description of the selected API(s).
526
+ * 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.
527
527
  */
528
528
  description?: string | null;
529
529
  /**
530
- * 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.
530
+ * 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.
531
531
  */
532
532
  selector?: string | null;
533
533
  }
534
534
  /**
535
- * 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 `{\}`.
535
+ * 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); \}
536
536
  */
537
537
  export interface Schema$Empty {
538
538
  }
@@ -564,7 +564,7 @@ export declare namespace serviceusage_v1beta1 {
564
564
  service?: Schema$GoogleApiServiceusageV1Service;
565
565
  }
566
566
  /**
567
- * `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
567
+ * `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
568
568
  */
569
569
  export interface Schema$Endpoint {
570
570
  /**
@@ -686,7 +686,7 @@ export declare namespace serviceusage_v1beta1 {
686
686
  state?: string | null;
687
687
  }
688
688
  /**
689
- * `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
689
+ * `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
690
690
  */
691
691
  export interface Schema$GoogleApiService {
692
692
  /**
@@ -730,7 +730,7 @@ export declare namespace serviceusage_v1beta1 {
730
730
  */
731
731
  endpoints?: Schema$Endpoint[];
732
732
  /**
733
- * 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
733
+ * 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
734
734
  */
735
735
  enums?: Schema$Enum[];
736
736
  /**
@@ -786,11 +786,11 @@ export declare namespace serviceusage_v1beta1 {
786
786
  */
787
787
  systemTypes?: Schema$Type[];
788
788
  /**
789
- * The product title for this service.
789
+ * The product title for this service, it is the name displayed in Google Cloud Console.
790
790
  */
791
791
  title?: string | null;
792
792
  /**
793
- * 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
793
+ * 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
794
794
  */
795
795
  types?: Schema$Type[];
796
796
  /**
@@ -1037,6 +1037,10 @@ export declare namespace serviceusage_v1beta1 {
1037
1037
  * Specifies a location to extract JWT from an API request.
1038
1038
  */
1039
1039
  export interface Schema$JwtLocation {
1040
+ /**
1041
+ * Specifies cookie name to extract JWT token.
1042
+ */
1043
+ cookie?: string | null;
1040
1044
  /**
1041
1045
  * Specifies HTTP header name to extract JWT token.
1042
1046
  */
@@ -1282,6 +1286,12 @@ export declare namespace serviceusage_v1beta1 {
1282
1286
  * Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
1283
1287
  */
1284
1288
  export interface Schema$MetricRule {
1289
+ /**
1290
+ * Metrics to update when the selected methods are called. The key of the map is the metric name, the value is the DynamicCostType to specify how to calculate the cost from the request. The cost amount will be increased for the metric against which the quota limits are defined. It is only implemented in CloudESF(go/cloudesf)
1291
+ */
1292
+ dynamicMetricCosts?: {
1293
+ [key: string]: string;
1294
+ } | null;
1285
1295
  /**
1286
1296
  * Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.
1287
1297
  */
@@ -1331,7 +1341,7 @@ export declare namespace serviceusage_v1beta1 {
1331
1341
  */
1332
1342
  name?: string | null;
1333
1343
  /**
1334
- * Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL.
1344
+ * 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).
1335
1345
  */
1336
1346
  type?: string | null;
1337
1347
  }
@@ -1437,7 +1447,7 @@ export declare namespace serviceusage_v1beta1 {
1437
1447
  */
1438
1448
  export interface Schema$Page {
1439
1449
  /**
1440
- * The Markdown content of the page. You can use (== include {path\} ==) to include content from a Markdown file.
1450
+ * 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.
1441
1451
  */
1442
1452
  content?: string | null;
1443
1453
  /**
@@ -2453,8 +2463,7 @@ export declare namespace serviceusage_v1beta1 {
2453
2463
  * // Do the magic
2454
2464
  * const res = await serviceusage.services.consumerQuotaMetrics.get({
2455
2465
  * // 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`
2456
- * name:
2457
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric',
2466
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric',
2458
2467
  * // Specifies the level of detail for quota information in the response.
2459
2468
  * view: 'placeholder-value',
2460
2469
  * });
@@ -2518,8 +2527,8 @@ export declare namespace serviceusage_v1beta1 {
2518
2527
  * google.options({auth: authClient});
2519
2528
  *
2520
2529
  * // Do the magic
2521
- * const res = await serviceusage.services.consumerQuotaMetrics.importAdminOverrides(
2522
- * {
2530
+ * const res =
2531
+ * await serviceusage.services.consumerQuotaMetrics.importAdminOverrides({
2523
2532
  * // The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com`
2524
2533
  * parent: '[^/]+/[^/]+/services/my-service',
2525
2534
  *
@@ -2532,8 +2541,7 @@ export declare namespace serviceusage_v1beta1 {
2532
2541
  * // "inlineSource": {}
2533
2542
  * // }
2534
2543
  * },
2535
- * }
2536
- * );
2544
+ * });
2537
2545
  * console.log(res.data);
2538
2546
  *
2539
2547
  * // Example response
@@ -2593,8 +2601,8 @@ export declare namespace serviceusage_v1beta1 {
2593
2601
  * google.options({auth: authClient});
2594
2602
  *
2595
2603
  * // Do the magic
2596
- * const res = await serviceusage.services.consumerQuotaMetrics.importConsumerOverrides(
2597
- * {
2604
+ * const res =
2605
+ * await serviceusage.services.consumerQuotaMetrics.importConsumerOverrides({
2598
2606
  * // The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com`
2599
2607
  * parent: '[^/]+/[^/]+/services/my-service',
2600
2608
  *
@@ -2607,8 +2615,7 @@ export declare namespace serviceusage_v1beta1 {
2607
2615
  * // "inlineSource": {}
2608
2616
  * // }
2609
2617
  * },
2610
- * }
2611
- * );
2618
+ * });
2612
2619
  * console.log(res.data);
2613
2620
  *
2614
2621
  * // Example response
@@ -2790,8 +2797,7 @@ export declare namespace serviceusage_v1beta1 {
2790
2797
  * // Do the magic
2791
2798
  * const res = await serviceusage.services.consumerQuotaMetrics.limits.get({
2792
2799
  * // The resource name of the quota limit. Use the quota limit resource name returned by previous ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.
2793
- * name:
2794
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
2800
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
2795
2801
  * // Specifies the level of detail for quota information in the response.
2796
2802
  * view: 'placeholder-value',
2797
2803
  * });
@@ -2804,6 +2810,7 @@ export declare namespace serviceusage_v1beta1 {
2804
2810
  * // "metric": "my_metric",
2805
2811
  * // "name": "my_name",
2806
2812
  * // "quotaBuckets": [],
2813
+ * // "supportedLocations": [],
2807
2814
  * // "unit": "my_unit"
2808
2815
  * // }
2809
2816
  * }
@@ -2869,30 +2876,31 @@ export declare namespace serviceusage_v1beta1 {
2869
2876
  * google.options({auth: authClient});
2870
2877
  *
2871
2878
  * // Do the magic
2872
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.create(
2873
- * {
2874
- * // 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.
2875
- * force: 'placeholder-value',
2876
- * // 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.
2877
- * forceOnly: 'placeholder-value',
2878
- * // 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`
2879
- * parent:
2880
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
2881
- *
2882
- * // Request body metadata
2883
- * requestBody: {
2884
- * // request body parameters
2885
- * // {
2886
- * // "adminOverrideAncestor": "my_adminOverrideAncestor",
2887
- * // "dimensions": {},
2888
- * // "metric": "my_metric",
2889
- * // "name": "my_name",
2890
- * // "overrideValue": "my_overrideValue",
2891
- * // "unit": "my_unit"
2892
- * // }
2893
- * },
2894
- * }
2895
- * );
2879
+ * const res =
2880
+ * await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.create(
2881
+ * {
2882
+ * // 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.
2883
+ * force: 'placeholder-value',
2884
+ * // 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.
2885
+ * forceOnly: 'placeholder-value',
2886
+ * // 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`
2887
+ * parent:
2888
+ * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
2889
+ *
2890
+ * // Request body metadata
2891
+ * requestBody: {
2892
+ * // request body parameters
2893
+ * // {
2894
+ * // "adminOverrideAncestor": "my_adminOverrideAncestor",
2895
+ * // "dimensions": {},
2896
+ * // "metric": "my_metric",
2897
+ * // "name": "my_name",
2898
+ * // "overrideValue": "my_overrideValue",
2899
+ * // "unit": "my_unit"
2900
+ * // }
2901
+ * },
2902
+ * }
2903
+ * );
2896
2904
  * console.log(res.data);
2897
2905
  *
2898
2906
  * // Example response
@@ -2952,17 +2960,17 @@ export declare namespace serviceusage_v1beta1 {
2952
2960
  * google.options({auth: authClient});
2953
2961
  *
2954
2962
  * // Do the magic
2955
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.delete(
2956
- * {
2957
- * // 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.
2958
- * force: 'placeholder-value',
2959
- * // 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.
2960
- * forceOnly: 'placeholder-value',
2961
- * // 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`
2962
- * name:
2963
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
2964
- * }
2965
- * );
2963
+ * const res =
2964
+ * await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.delete(
2965
+ * {
2966
+ * // 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.
2967
+ * force: 'placeholder-value',
2968
+ * // 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.
2969
+ * forceOnly: 'placeholder-value',
2970
+ * // 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`
2971
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
2972
+ * }
2973
+ * );
2966
2974
  * console.log(res.data);
2967
2975
  *
2968
2976
  * // Example response
@@ -3022,17 +3030,18 @@ export declare namespace serviceusage_v1beta1 {
3022
3030
  * google.options({auth: authClient});
3023
3031
  *
3024
3032
  * // Do the magic
3025
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.list(
3026
- * {
3027
- * // Requested size of the next page of data.
3028
- * pageSize: 'placeholder-value',
3029
- * // Token identifying which result to start with; returned by a previous list call.
3030
- * pageToken: 'placeholder-value',
3031
- * // 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`
3032
- * parent:
3033
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3034
- * }
3035
- * );
3033
+ * const res =
3034
+ * await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.list(
3035
+ * {
3036
+ * // Requested size of the next page of data.
3037
+ * pageSize: 'placeholder-value',
3038
+ * // Token identifying which result to start with; returned by a previous list call.
3039
+ * pageToken: 'placeholder-value',
3040
+ * // 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`
3041
+ * parent:
3042
+ * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3043
+ * }
3044
+ * );
3036
3045
  * console.log(res.data);
3037
3046
  *
3038
3047
  * // Example response
@@ -3089,32 +3098,32 @@ export declare namespace serviceusage_v1beta1 {
3089
3098
  * google.options({auth: authClient});
3090
3099
  *
3091
3100
  * // Do the magic
3092
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.patch(
3093
- * {
3094
- * // 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.
3095
- * force: 'placeholder-value',
3096
- * // 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.
3097
- * forceOnly: 'placeholder-value',
3098
- * // 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`
3099
- * name:
3100
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
3101
- * // Update only the specified fields of the override. If unset, all fields will be updated.
3102
- * updateMask: 'placeholder-value',
3103
- *
3104
- * // Request body metadata
3105
- * requestBody: {
3106
- * // request body parameters
3107
- * // {
3108
- * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3109
- * // "dimensions": {},
3110
- * // "metric": "my_metric",
3111
- * // "name": "my_name",
3112
- * // "overrideValue": "my_overrideValue",
3113
- * // "unit": "my_unit"
3114
- * // }
3115
- * },
3116
- * }
3117
- * );
3101
+ * const res =
3102
+ * await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.patch(
3103
+ * {
3104
+ * // 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.
3105
+ * force: 'placeholder-value',
3106
+ * // 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.
3107
+ * forceOnly: 'placeholder-value',
3108
+ * // 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`
3109
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
3110
+ * // Update only the specified fields of the override. If unset, all fields will be updated.
3111
+ * updateMask: 'placeholder-value',
3112
+ *
3113
+ * // Request body metadata
3114
+ * requestBody: {
3115
+ * // request body parameters
3116
+ * // {
3117
+ * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3118
+ * // "dimensions": {},
3119
+ * // "metric": "my_metric",
3120
+ * // "name": "my_name",
3121
+ * // "overrideValue": "my_overrideValue",
3122
+ * // "unit": "my_unit"
3123
+ * // }
3124
+ * },
3125
+ * }
3126
+ * );
3118
3127
  * console.log(res.data);
3119
3128
  *
3120
3129
  * // Example response
@@ -3246,30 +3255,31 @@ export declare namespace serviceusage_v1beta1 {
3246
3255
  * google.options({auth: authClient});
3247
3256
  *
3248
3257
  * // Do the magic
3249
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.create(
3250
- * {
3251
- * // 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.
3252
- * force: 'placeholder-value',
3253
- * // 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.
3254
- * forceOnly: 'placeholder-value',
3255
- * // 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`
3256
- * parent:
3257
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3258
- *
3259
- * // Request body metadata
3260
- * requestBody: {
3261
- * // request body parameters
3262
- * // {
3263
- * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3264
- * // "dimensions": {},
3265
- * // "metric": "my_metric",
3266
- * // "name": "my_name",
3267
- * // "overrideValue": "my_overrideValue",
3268
- * // "unit": "my_unit"
3269
- * // }
3270
- * },
3271
- * }
3272
- * );
3258
+ * const res =
3259
+ * await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.create(
3260
+ * {
3261
+ * // 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.
3262
+ * force: 'placeholder-value',
3263
+ * // 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.
3264
+ * forceOnly: 'placeholder-value',
3265
+ * // 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`
3266
+ * parent:
3267
+ * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3268
+ *
3269
+ * // Request body metadata
3270
+ * requestBody: {
3271
+ * // request body parameters
3272
+ * // {
3273
+ * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3274
+ * // "dimensions": {},
3275
+ * // "metric": "my_metric",
3276
+ * // "name": "my_name",
3277
+ * // "overrideValue": "my_overrideValue",
3278
+ * // "unit": "my_unit"
3279
+ * // }
3280
+ * },
3281
+ * }
3282
+ * );
3273
3283
  * console.log(res.data);
3274
3284
  *
3275
3285
  * // Example response
@@ -3329,17 +3339,17 @@ export declare namespace serviceusage_v1beta1 {
3329
3339
  * google.options({auth: authClient});
3330
3340
  *
3331
3341
  * // Do the magic
3332
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.delete(
3333
- * {
3334
- * // 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.
3335
- * force: 'placeholder-value',
3336
- * // 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.
3337
- * forceOnly: 'placeholder-value',
3338
- * // 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`
3339
- * name:
3340
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
3341
- * }
3342
- * );
3342
+ * const res =
3343
+ * await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.delete(
3344
+ * {
3345
+ * // 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.
3346
+ * force: 'placeholder-value',
3347
+ * // 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.
3348
+ * forceOnly: 'placeholder-value',
3349
+ * // 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`
3350
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
3351
+ * }
3352
+ * );
3343
3353
  * console.log(res.data);
3344
3354
  *
3345
3355
  * // Example response
@@ -3399,17 +3409,18 @@ export declare namespace serviceusage_v1beta1 {
3399
3409
  * google.options({auth: authClient});
3400
3410
  *
3401
3411
  * // Do the magic
3402
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.list(
3403
- * {
3404
- * // Requested size of the next page of data.
3405
- * pageSize: 'placeholder-value',
3406
- * // Token identifying which result to start with; returned by a previous list call.
3407
- * pageToken: 'placeholder-value',
3408
- * // 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`
3409
- * parent:
3410
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3411
- * }
3412
- * );
3412
+ * const res =
3413
+ * await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.list(
3414
+ * {
3415
+ * // Requested size of the next page of data.
3416
+ * pageSize: 'placeholder-value',
3417
+ * // Token identifying which result to start with; returned by a previous list call.
3418
+ * pageToken: 'placeholder-value',
3419
+ * // 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`
3420
+ * parent:
3421
+ * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3422
+ * }
3423
+ * );
3413
3424
  * console.log(res.data);
3414
3425
  *
3415
3426
  * // Example response
@@ -3466,32 +3477,32 @@ export declare namespace serviceusage_v1beta1 {
3466
3477
  * google.options({auth: authClient});
3467
3478
  *
3468
3479
  * // Do the magic
3469
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.patch(
3470
- * {
3471
- * // 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.
3472
- * force: 'placeholder-value',
3473
- * // 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.
3474
- * forceOnly: 'placeholder-value',
3475
- * // 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`
3476
- * name:
3477
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
3478
- * // Update only the specified fields of the override. If unset, all fields will be updated.
3479
- * updateMask: 'placeholder-value',
3480
- *
3481
- * // Request body metadata
3482
- * requestBody: {
3483
- * // request body parameters
3484
- * // {
3485
- * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3486
- * // "dimensions": {},
3487
- * // "metric": "my_metric",
3488
- * // "name": "my_name",
3489
- * // "overrideValue": "my_overrideValue",
3490
- * // "unit": "my_unit"
3491
- * // }
3492
- * },
3493
- * }
3494
- * );
3480
+ * const res =
3481
+ * await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.patch(
3482
+ * {
3483
+ * // 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.
3484
+ * force: 'placeholder-value',
3485
+ * // 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.
3486
+ * forceOnly: 'placeholder-value',
3487
+ * // 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`
3488
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
3489
+ * // Update only the specified fields of the override. If unset, all fields will be updated.
3490
+ * updateMask: 'placeholder-value',
3491
+ *
3492
+ * // Request body metadata
3493
+ * requestBody: {
3494
+ * // request body parameters
3495
+ * // {
3496
+ * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3497
+ * // "dimensions": {},
3498
+ * // "metric": "my_metric",
3499
+ * // "name": "my_name",
3500
+ * // "overrideValue": "my_overrideValue",
3501
+ * // "unit": "my_unit"
3502
+ * // }
3503
+ * },
3504
+ * }
3505
+ * );
3495
3506
  * console.log(res.data);
3496
3507
  *
3497
3508
  * // Example response