@googleapis/serviceusage 1.0.0 → 3.2.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
  */
@@ -1331,7 +1335,7 @@ export declare namespace serviceusage_v1beta1 {
1331
1335
  */
1332
1336
  name?: string | null;
1333
1337
  /**
1334
- * Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL.
1338
+ * 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
1339
  */
1336
1340
  type?: string | null;
1337
1341
  }
@@ -1437,7 +1441,7 @@ export declare namespace serviceusage_v1beta1 {
1437
1441
  */
1438
1442
  export interface Schema$Page {
1439
1443
  /**
1440
- * The Markdown content of the page. You can use (== include {path\} ==) to include content from a Markdown file.
1444
+ * 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
1445
  */
1442
1446
  content?: string | null;
1443
1447
  /**
@@ -1817,7 +1821,10 @@ export declare namespace serviceusage_v1beta1 {
1817
1821
  * async function main() {
1818
1822
  * const auth = new google.auth.GoogleAuth({
1819
1823
  * // Scopes can be specified either as an array or as a single, space-delimited string.
1820
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1824
+ * scopes: [
1825
+ * 'https://www.googleapis.com/auth/cloud-platform',
1826
+ * 'https://www.googleapis.com/auth/service.management',
1827
+ * ],
1821
1828
  * });
1822
1829
  *
1823
1830
  * // Acquire an auth client, and bind it to all future calls
@@ -1877,7 +1884,10 @@ export declare namespace serviceusage_v1beta1 {
1877
1884
  * async function main() {
1878
1885
  * const auth = new google.auth.GoogleAuth({
1879
1886
  * // Scopes can be specified either as an array or as a single, space-delimited string.
1880
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1887
+ * scopes: [
1888
+ * 'https://www.googleapis.com/auth/cloud-platform',
1889
+ * 'https://www.googleapis.com/auth/service.management',
1890
+ * ],
1881
1891
  * });
1882
1892
  *
1883
1893
  * // Acquire an auth client, and bind it to all future calls
@@ -1969,7 +1979,10 @@ export declare namespace serviceusage_v1beta1 {
1969
1979
  * async function main() {
1970
1980
  * const auth = new google.auth.GoogleAuth({
1971
1981
  * // Scopes can be specified either as an array or as a single, space-delimited string.
1972
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1982
+ * scopes: [
1983
+ * 'https://www.googleapis.com/auth/cloud-platform',
1984
+ * 'https://www.googleapis.com/auth/service.management',
1985
+ * ],
1973
1986
  * });
1974
1987
  *
1975
1988
  * // Acquire an auth client, and bind it to all future calls
@@ -2037,7 +2050,10 @@ export declare namespace serviceusage_v1beta1 {
2037
2050
  * async function main() {
2038
2051
  * const auth = new google.auth.GoogleAuth({
2039
2052
  * // Scopes can be specified either as an array or as a single, space-delimited string.
2040
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2053
+ * scopes: [
2054
+ * 'https://www.googleapis.com/auth/cloud-platform',
2055
+ * 'https://www.googleapis.com/auth/service.management',
2056
+ * ],
2041
2057
  * });
2042
2058
  *
2043
2059
  * // Acquire an auth client, and bind it to all future calls
@@ -2103,7 +2119,10 @@ export declare namespace serviceusage_v1beta1 {
2103
2119
  * async function main() {
2104
2120
  * const auth = new google.auth.GoogleAuth({
2105
2121
  * // Scopes can be specified either as an array or as a single, space-delimited string.
2106
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2122
+ * scopes: [
2123
+ * 'https://www.googleapis.com/auth/cloud-platform',
2124
+ * 'https://www.googleapis.com/auth/service.management',
2125
+ * ],
2107
2126
  * });
2108
2127
  *
2109
2128
  * // Acquire an auth client, and bind it to all future calls
@@ -2169,7 +2188,10 @@ export declare namespace serviceusage_v1beta1 {
2169
2188
  * async function main() {
2170
2189
  * const auth = new google.auth.GoogleAuth({
2171
2190
  * // Scopes can be specified either as an array or as a single, space-delimited string.
2172
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2191
+ * scopes: [
2192
+ * 'https://www.googleapis.com/auth/cloud-platform',
2193
+ * 'https://www.googleapis.com/auth/service.management',
2194
+ * ],
2173
2195
  * });
2174
2196
  *
2175
2197
  * // Acquire an auth client, and bind it to all future calls
@@ -2229,7 +2251,10 @@ export declare namespace serviceusage_v1beta1 {
2229
2251
  * async function main() {
2230
2252
  * const auth = new google.auth.GoogleAuth({
2231
2253
  * // Scopes can be specified either as an array or as a single, space-delimited string.
2232
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2254
+ * scopes: [
2255
+ * 'https://www.googleapis.com/auth/cloud-platform',
2256
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2257
+ * ],
2233
2258
  * });
2234
2259
  *
2235
2260
  * // Acquire an auth client, and bind it to all future calls
@@ -2288,7 +2313,10 @@ export declare namespace serviceusage_v1beta1 {
2288
2313
  * async function main() {
2289
2314
  * const auth = new google.auth.GoogleAuth({
2290
2315
  * // Scopes can be specified either as an array or as a single, space-delimited string.
2291
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2316
+ * scopes: [
2317
+ * 'https://www.googleapis.com/auth/cloud-platform',
2318
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2319
+ * ],
2292
2320
  * });
2293
2321
  *
2294
2322
  * // Acquire an auth client, and bind it to all future calls
@@ -2416,7 +2444,10 @@ export declare namespace serviceusage_v1beta1 {
2416
2444
  * async function main() {
2417
2445
  * const auth = new google.auth.GoogleAuth({
2418
2446
  * // Scopes can be specified either as an array or as a single, space-delimited string.
2419
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2447
+ * scopes: [
2448
+ * 'https://www.googleapis.com/auth/cloud-platform',
2449
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2450
+ * ],
2420
2451
  * });
2421
2452
  *
2422
2453
  * // Acquire an auth client, and bind it to all future calls
@@ -2426,8 +2457,7 @@ export declare namespace serviceusage_v1beta1 {
2426
2457
  * // Do the magic
2427
2458
  * const res = await serviceusage.services.consumerQuotaMetrics.get({
2428
2459
  * // 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`
2429
- * name:
2430
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric',
2460
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric',
2431
2461
  * // Specifies the level of detail for quota information in the response.
2432
2462
  * view: 'placeholder-value',
2433
2463
  * });
@@ -2480,7 +2510,10 @@ export declare namespace serviceusage_v1beta1 {
2480
2510
  * async function main() {
2481
2511
  * const auth = new google.auth.GoogleAuth({
2482
2512
  * // Scopes can be specified either as an array or as a single, space-delimited string.
2483
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2513
+ * scopes: [
2514
+ * 'https://www.googleapis.com/auth/cloud-platform',
2515
+ * 'https://www.googleapis.com/auth/service.management',
2516
+ * ],
2484
2517
  * });
2485
2518
  *
2486
2519
  * // Acquire an auth client, and bind it to all future calls
@@ -2488,8 +2521,8 @@ export declare namespace serviceusage_v1beta1 {
2488
2521
  * google.options({auth: authClient});
2489
2522
  *
2490
2523
  * // Do the magic
2491
- * const res = await serviceusage.services.consumerQuotaMetrics.importAdminOverrides(
2492
- * {
2524
+ * const res =
2525
+ * await serviceusage.services.consumerQuotaMetrics.importAdminOverrides({
2493
2526
  * // The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com`
2494
2527
  * parent: '[^/]+/[^/]+/services/my-service',
2495
2528
  *
@@ -2502,8 +2535,7 @@ export declare namespace serviceusage_v1beta1 {
2502
2535
  * // "inlineSource": {}
2503
2536
  * // }
2504
2537
  * },
2505
- * }
2506
- * );
2538
+ * });
2507
2539
  * console.log(res.data);
2508
2540
  *
2509
2541
  * // Example response
@@ -2552,7 +2584,10 @@ export declare namespace serviceusage_v1beta1 {
2552
2584
  * async function main() {
2553
2585
  * const auth = new google.auth.GoogleAuth({
2554
2586
  * // Scopes can be specified either as an array or as a single, space-delimited string.
2555
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2587
+ * scopes: [
2588
+ * 'https://www.googleapis.com/auth/cloud-platform',
2589
+ * 'https://www.googleapis.com/auth/service.management',
2590
+ * ],
2556
2591
  * });
2557
2592
  *
2558
2593
  * // Acquire an auth client, and bind it to all future calls
@@ -2560,8 +2595,8 @@ export declare namespace serviceusage_v1beta1 {
2560
2595
  * google.options({auth: authClient});
2561
2596
  *
2562
2597
  * // Do the magic
2563
- * const res = await serviceusage.services.consumerQuotaMetrics.importConsumerOverrides(
2564
- * {
2598
+ * const res =
2599
+ * await serviceusage.services.consumerQuotaMetrics.importConsumerOverrides({
2565
2600
  * // The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com`
2566
2601
  * parent: '[^/]+/[^/]+/services/my-service',
2567
2602
  *
@@ -2574,8 +2609,7 @@ export declare namespace serviceusage_v1beta1 {
2574
2609
  * // "inlineSource": {}
2575
2610
  * // }
2576
2611
  * },
2577
- * }
2578
- * );
2612
+ * });
2579
2613
  * console.log(res.data);
2580
2614
  *
2581
2615
  * // Example response
@@ -2624,7 +2658,10 @@ export declare namespace serviceusage_v1beta1 {
2624
2658
  * async function main() {
2625
2659
  * const auth = new google.auth.GoogleAuth({
2626
2660
  * // Scopes can be specified either as an array or as a single, space-delimited string.
2627
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2661
+ * scopes: [
2662
+ * 'https://www.googleapis.com/auth/cloud-platform',
2663
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2664
+ * ],
2628
2665
  * });
2629
2666
  *
2630
2667
  * // Acquire an auth client, and bind it to all future calls
@@ -2741,7 +2778,10 @@ export declare namespace serviceusage_v1beta1 {
2741
2778
  * async function main() {
2742
2779
  * const auth = new google.auth.GoogleAuth({
2743
2780
  * // Scopes can be specified either as an array or as a single, space-delimited string.
2744
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2781
+ * scopes: [
2782
+ * 'https://www.googleapis.com/auth/cloud-platform',
2783
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2784
+ * ],
2745
2785
  * });
2746
2786
  *
2747
2787
  * // Acquire an auth client, and bind it to all future calls
@@ -2751,8 +2791,7 @@ export declare namespace serviceusage_v1beta1 {
2751
2791
  * // Do the magic
2752
2792
  * const res = await serviceusage.services.consumerQuotaMetrics.limits.get({
2753
2793
  * // The resource name of the quota limit. Use the quota limit resource name returned by previous ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.
2754
- * name:
2755
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
2794
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
2756
2795
  * // Specifies the level of detail for quota information in the response.
2757
2796
  * view: 'placeholder-value',
2758
2797
  * });
@@ -2765,6 +2804,7 @@ export declare namespace serviceusage_v1beta1 {
2765
2804
  * // "metric": "my_metric",
2766
2805
  * // "name": "my_name",
2767
2806
  * // "quotaBuckets": [],
2807
+ * // "supportedLocations": [],
2768
2808
  * // "unit": "my_unit"
2769
2809
  * // }
2770
2810
  * }
@@ -2819,7 +2859,10 @@ export declare namespace serviceusage_v1beta1 {
2819
2859
  * async function main() {
2820
2860
  * const auth = new google.auth.GoogleAuth({
2821
2861
  * // Scopes can be specified either as an array or as a single, space-delimited string.
2822
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2862
+ * scopes: [
2863
+ * 'https://www.googleapis.com/auth/cloud-platform',
2864
+ * 'https://www.googleapis.com/auth/service.management',
2865
+ * ],
2823
2866
  * });
2824
2867
  *
2825
2868
  * // Acquire an auth client, and bind it to all future calls
@@ -2827,30 +2870,31 @@ export declare namespace serviceusage_v1beta1 {
2827
2870
  * google.options({auth: authClient});
2828
2871
  *
2829
2872
  * // Do the magic
2830
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.create(
2831
- * {
2832
- * // 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.
2833
- * force: 'placeholder-value',
2834
- * // 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.
2835
- * forceOnly: 'placeholder-value',
2836
- * // 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`
2837
- * parent:
2838
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
2839
- *
2840
- * // Request body metadata
2841
- * requestBody: {
2842
- * // request body parameters
2843
- * // {
2844
- * // "adminOverrideAncestor": "my_adminOverrideAncestor",
2845
- * // "dimensions": {},
2846
- * // "metric": "my_metric",
2847
- * // "name": "my_name",
2848
- * // "overrideValue": "my_overrideValue",
2849
- * // "unit": "my_unit"
2850
- * // }
2851
- * },
2852
- * }
2853
- * );
2873
+ * const res =
2874
+ * await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.create(
2875
+ * {
2876
+ * // 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.
2877
+ * force: 'placeholder-value',
2878
+ * // 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.
2879
+ * forceOnly: 'placeholder-value',
2880
+ * // 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`
2881
+ * parent:
2882
+ * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
2883
+ *
2884
+ * // Request body metadata
2885
+ * requestBody: {
2886
+ * // request body parameters
2887
+ * // {
2888
+ * // "adminOverrideAncestor": "my_adminOverrideAncestor",
2889
+ * // "dimensions": {},
2890
+ * // "metric": "my_metric",
2891
+ * // "name": "my_name",
2892
+ * // "overrideValue": "my_overrideValue",
2893
+ * // "unit": "my_unit"
2894
+ * // }
2895
+ * },
2896
+ * }
2897
+ * );
2854
2898
  * console.log(res.data);
2855
2899
  *
2856
2900
  * // Example response
@@ -2899,7 +2943,10 @@ export declare namespace serviceusage_v1beta1 {
2899
2943
  * async function main() {
2900
2944
  * const auth = new google.auth.GoogleAuth({
2901
2945
  * // Scopes can be specified either as an array or as a single, space-delimited string.
2902
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2946
+ * scopes: [
2947
+ * 'https://www.googleapis.com/auth/cloud-platform',
2948
+ * 'https://www.googleapis.com/auth/service.management',
2949
+ * ],
2903
2950
  * });
2904
2951
  *
2905
2952
  * // Acquire an auth client, and bind it to all future calls
@@ -2907,17 +2954,17 @@ export declare namespace serviceusage_v1beta1 {
2907
2954
  * google.options({auth: authClient});
2908
2955
  *
2909
2956
  * // Do the magic
2910
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.delete(
2911
- * {
2912
- * // 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.
2913
- * force: 'placeholder-value',
2914
- * // 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.
2915
- * forceOnly: 'placeholder-value',
2916
- * // 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`
2917
- * name:
2918
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
2919
- * }
2920
- * );
2957
+ * const res =
2958
+ * await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.delete(
2959
+ * {
2960
+ * // 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.
2961
+ * force: 'placeholder-value',
2962
+ * // 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.
2963
+ * forceOnly: 'placeholder-value',
2964
+ * // 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`
2965
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
2966
+ * }
2967
+ * );
2921
2968
  * console.log(res.data);
2922
2969
  *
2923
2970
  * // Example response
@@ -2966,7 +3013,10 @@ export declare namespace serviceusage_v1beta1 {
2966
3013
  * async function main() {
2967
3014
  * const auth = new google.auth.GoogleAuth({
2968
3015
  * // Scopes can be specified either as an array or as a single, space-delimited string.
2969
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
3016
+ * scopes: [
3017
+ * 'https://www.googleapis.com/auth/cloud-platform',
3018
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
3019
+ * ],
2970
3020
  * });
2971
3021
  *
2972
3022
  * // Acquire an auth client, and bind it to all future calls
@@ -2974,17 +3024,18 @@ export declare namespace serviceusage_v1beta1 {
2974
3024
  * google.options({auth: authClient});
2975
3025
  *
2976
3026
  * // Do the magic
2977
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.list(
2978
- * {
2979
- * // Requested size of the next page of data.
2980
- * pageSize: 'placeholder-value',
2981
- * // Token identifying which result to start with; returned by a previous list call.
2982
- * pageToken: 'placeholder-value',
2983
- * // 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`
2984
- * parent:
2985
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
2986
- * }
2987
- * );
3027
+ * const res =
3028
+ * await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.list(
3029
+ * {
3030
+ * // Requested size of the next page of data.
3031
+ * pageSize: 'placeholder-value',
3032
+ * // Token identifying which result to start with; returned by a previous list call.
3033
+ * pageToken: 'placeholder-value',
3034
+ * // 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`
3035
+ * parent:
3036
+ * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3037
+ * }
3038
+ * );
2988
3039
  * console.log(res.data);
2989
3040
  *
2990
3041
  * // Example response
@@ -3030,7 +3081,10 @@ export declare namespace serviceusage_v1beta1 {
3030
3081
  * async function main() {
3031
3082
  * const auth = new google.auth.GoogleAuth({
3032
3083
  * // Scopes can be specified either as an array or as a single, space-delimited string.
3033
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
3084
+ * scopes: [
3085
+ * 'https://www.googleapis.com/auth/cloud-platform',
3086
+ * 'https://www.googleapis.com/auth/service.management',
3087
+ * ],
3034
3088
  * });
3035
3089
  *
3036
3090
  * // Acquire an auth client, and bind it to all future calls
@@ -3038,32 +3092,32 @@ export declare namespace serviceusage_v1beta1 {
3038
3092
  * google.options({auth: authClient});
3039
3093
  *
3040
3094
  * // Do the magic
3041
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.patch(
3042
- * {
3043
- * // 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.
3044
- * force: 'placeholder-value',
3045
- * // 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.
3046
- * forceOnly: 'placeholder-value',
3047
- * // 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`
3048
- * name:
3049
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
3050
- * // Update only the specified fields of the override. If unset, all fields will be updated.
3051
- * updateMask: 'placeholder-value',
3052
- *
3053
- * // Request body metadata
3054
- * requestBody: {
3055
- * // request body parameters
3056
- * // {
3057
- * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3058
- * // "dimensions": {},
3059
- * // "metric": "my_metric",
3060
- * // "name": "my_name",
3061
- * // "overrideValue": "my_overrideValue",
3062
- * // "unit": "my_unit"
3063
- * // }
3064
- * },
3065
- * }
3066
- * );
3095
+ * const res =
3096
+ * await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.patch(
3097
+ * {
3098
+ * // 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.
3099
+ * force: 'placeholder-value',
3100
+ * // 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.
3101
+ * forceOnly: 'placeholder-value',
3102
+ * // 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`
3103
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
3104
+ * // Update only the specified fields of the override. If unset, all fields will be updated.
3105
+ * updateMask: 'placeholder-value',
3106
+ *
3107
+ * // Request body metadata
3108
+ * requestBody: {
3109
+ * // request body parameters
3110
+ * // {
3111
+ * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3112
+ * // "dimensions": {},
3113
+ * // "metric": "my_metric",
3114
+ * // "name": "my_name",
3115
+ * // "overrideValue": "my_overrideValue",
3116
+ * // "unit": "my_unit"
3117
+ * // }
3118
+ * },
3119
+ * }
3120
+ * );
3067
3121
  * console.log(res.data);
3068
3122
  *
3069
3123
  * // Example response
@@ -3184,7 +3238,10 @@ export declare namespace serviceusage_v1beta1 {
3184
3238
  * async function main() {
3185
3239
  * const auth = new google.auth.GoogleAuth({
3186
3240
  * // Scopes can be specified either as an array or as a single, space-delimited string.
3187
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
3241
+ * scopes: [
3242
+ * 'https://www.googleapis.com/auth/cloud-platform',
3243
+ * 'https://www.googleapis.com/auth/service.management',
3244
+ * ],
3188
3245
  * });
3189
3246
  *
3190
3247
  * // Acquire an auth client, and bind it to all future calls
@@ -3192,30 +3249,31 @@ export declare namespace serviceusage_v1beta1 {
3192
3249
  * google.options({auth: authClient});
3193
3250
  *
3194
3251
  * // Do the magic
3195
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.create(
3196
- * {
3197
- * // 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.
3198
- * force: 'placeholder-value',
3199
- * // 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.
3200
- * forceOnly: 'placeholder-value',
3201
- * // 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`
3202
- * parent:
3203
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3204
- *
3205
- * // Request body metadata
3206
- * requestBody: {
3207
- * // request body parameters
3208
- * // {
3209
- * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3210
- * // "dimensions": {},
3211
- * // "metric": "my_metric",
3212
- * // "name": "my_name",
3213
- * // "overrideValue": "my_overrideValue",
3214
- * // "unit": "my_unit"
3215
- * // }
3216
- * },
3217
- * }
3218
- * );
3252
+ * const res =
3253
+ * await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.create(
3254
+ * {
3255
+ * // 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.
3256
+ * force: 'placeholder-value',
3257
+ * // 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.
3258
+ * forceOnly: 'placeholder-value',
3259
+ * // 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`
3260
+ * parent:
3261
+ * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3262
+ *
3263
+ * // Request body metadata
3264
+ * requestBody: {
3265
+ * // request body parameters
3266
+ * // {
3267
+ * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3268
+ * // "dimensions": {},
3269
+ * // "metric": "my_metric",
3270
+ * // "name": "my_name",
3271
+ * // "overrideValue": "my_overrideValue",
3272
+ * // "unit": "my_unit"
3273
+ * // }
3274
+ * },
3275
+ * }
3276
+ * );
3219
3277
  * console.log(res.data);
3220
3278
  *
3221
3279
  * // Example response
@@ -3264,7 +3322,10 @@ export declare namespace serviceusage_v1beta1 {
3264
3322
  * async function main() {
3265
3323
  * const auth = new google.auth.GoogleAuth({
3266
3324
  * // Scopes can be specified either as an array or as a single, space-delimited string.
3267
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
3325
+ * scopes: [
3326
+ * 'https://www.googleapis.com/auth/cloud-platform',
3327
+ * 'https://www.googleapis.com/auth/service.management',
3328
+ * ],
3268
3329
  * });
3269
3330
  *
3270
3331
  * // Acquire an auth client, and bind it to all future calls
@@ -3272,17 +3333,17 @@ export declare namespace serviceusage_v1beta1 {
3272
3333
  * google.options({auth: authClient});
3273
3334
  *
3274
3335
  * // Do the magic
3275
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.delete(
3276
- * {
3277
- * // 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.
3278
- * force: 'placeholder-value',
3279
- * // 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.
3280
- * forceOnly: 'placeholder-value',
3281
- * // 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`
3282
- * name:
3283
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
3284
- * }
3285
- * );
3336
+ * const res =
3337
+ * await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.delete(
3338
+ * {
3339
+ * // 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.
3340
+ * force: 'placeholder-value',
3341
+ * // 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.
3342
+ * forceOnly: 'placeholder-value',
3343
+ * // 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`
3344
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
3345
+ * }
3346
+ * );
3286
3347
  * console.log(res.data);
3287
3348
  *
3288
3349
  * // Example response
@@ -3331,7 +3392,10 @@ export declare namespace serviceusage_v1beta1 {
3331
3392
  * async function main() {
3332
3393
  * const auth = new google.auth.GoogleAuth({
3333
3394
  * // Scopes can be specified either as an array or as a single, space-delimited string.
3334
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
3395
+ * scopes: [
3396
+ * 'https://www.googleapis.com/auth/cloud-platform',
3397
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
3398
+ * ],
3335
3399
  * });
3336
3400
  *
3337
3401
  * // Acquire an auth client, and bind it to all future calls
@@ -3339,17 +3403,18 @@ export declare namespace serviceusage_v1beta1 {
3339
3403
  * google.options({auth: authClient});
3340
3404
  *
3341
3405
  * // Do the magic
3342
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.list(
3343
- * {
3344
- * // Requested size of the next page of data.
3345
- * pageSize: 'placeholder-value',
3346
- * // Token identifying which result to start with; returned by a previous list call.
3347
- * pageToken: 'placeholder-value',
3348
- * // 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`
3349
- * parent:
3350
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3351
- * }
3352
- * );
3406
+ * const res =
3407
+ * await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.list(
3408
+ * {
3409
+ * // Requested size of the next page of data.
3410
+ * pageSize: 'placeholder-value',
3411
+ * // Token identifying which result to start with; returned by a previous list call.
3412
+ * pageToken: 'placeholder-value',
3413
+ * // 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`
3414
+ * parent:
3415
+ * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
3416
+ * }
3417
+ * );
3353
3418
  * console.log(res.data);
3354
3419
  *
3355
3420
  * // Example response
@@ -3395,7 +3460,10 @@ export declare namespace serviceusage_v1beta1 {
3395
3460
  * async function main() {
3396
3461
  * const auth = new google.auth.GoogleAuth({
3397
3462
  * // Scopes can be specified either as an array or as a single, space-delimited string.
3398
- * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
3463
+ * scopes: [
3464
+ * 'https://www.googleapis.com/auth/cloud-platform',
3465
+ * 'https://www.googleapis.com/auth/service.management',
3466
+ * ],
3399
3467
  * });
3400
3468
  *
3401
3469
  * // Acquire an auth client, and bind it to all future calls
@@ -3403,32 +3471,32 @@ export declare namespace serviceusage_v1beta1 {
3403
3471
  * google.options({auth: authClient});
3404
3472
  *
3405
3473
  * // Do the magic
3406
- * const res = await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.patch(
3407
- * {
3408
- * // 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.
3409
- * force: 'placeholder-value',
3410
- * // 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.
3411
- * forceOnly: 'placeholder-value',
3412
- * // 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`
3413
- * name:
3414
- * '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
3415
- * // Update only the specified fields of the override. If unset, all fields will be updated.
3416
- * updateMask: 'placeholder-value',
3417
- *
3418
- * // Request body metadata
3419
- * requestBody: {
3420
- * // request body parameters
3421
- * // {
3422
- * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3423
- * // "dimensions": {},
3424
- * // "metric": "my_metric",
3425
- * // "name": "my_name",
3426
- * // "overrideValue": "my_overrideValue",
3427
- * // "unit": "my_unit"
3428
- * // }
3429
- * },
3430
- * }
3431
- * );
3474
+ * const res =
3475
+ * await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.patch(
3476
+ * {
3477
+ * // 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.
3478
+ * force: 'placeholder-value',
3479
+ * // 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.
3480
+ * forceOnly: 'placeholder-value',
3481
+ * // 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`
3482
+ * name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
3483
+ * // Update only the specified fields of the override. If unset, all fields will be updated.
3484
+ * updateMask: 'placeholder-value',
3485
+ *
3486
+ * // Request body metadata
3487
+ * requestBody: {
3488
+ * // request body parameters
3489
+ * // {
3490
+ * // "adminOverrideAncestor": "my_adminOverrideAncestor",
3491
+ * // "dimensions": {},
3492
+ * // "metric": "my_metric",
3493
+ * // "name": "my_name",
3494
+ * // "overrideValue": "my_overrideValue",
3495
+ * // "unit": "my_unit"
3496
+ * // }
3497
+ * },
3498
+ * }
3499
+ * );
3432
3500
  * console.log(res.data);
3433
3501
  *
3434
3502
  * // Example response