@googleapis/serviceusage 1.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +85 -0
- package/README.md +11 -2
- package/build/v1.d.ts +13 -17
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +174 -173
- package/build/v1beta1.js +24 -12
- package/build/v1beta1.js.map +1 -1
- package/package.json +2 -2
- package/v1.ts +13 -17
- package/v1beta1.ts +202 -189
package/build/v1beta1.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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); \}
|
|
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
|
|
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
|
|
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
|
/**
|
|
@@ -1331,7 +1331,7 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
1331
1331
|
*/
|
|
1332
1332
|
name?: string | null;
|
|
1333
1333
|
/**
|
|
1334
|
-
* Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL.
|
|
1334
|
+
* 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
1335
|
*/
|
|
1336
1336
|
type?: string | null;
|
|
1337
1337
|
}
|
|
@@ -1437,7 +1437,7 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
1437
1437
|
*/
|
|
1438
1438
|
export interface Schema$Page {
|
|
1439
1439
|
/**
|
|
1440
|
-
* The Markdown content of the page. You can use (== include {path\} ==) to include content from a Markdown file.
|
|
1440
|
+
* 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
1441
|
*/
|
|
1442
1442
|
content?: string | null;
|
|
1443
1443
|
/**
|
|
@@ -2453,8 +2453,7 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
2453
2453
|
* // Do the magic
|
|
2454
2454
|
* const res = await serviceusage.services.consumerQuotaMetrics.get({
|
|
2455
2455
|
* // 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',
|
|
2456
|
+
* name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric',
|
|
2458
2457
|
* // Specifies the level of detail for quota information in the response.
|
|
2459
2458
|
* view: 'placeholder-value',
|
|
2460
2459
|
* });
|
|
@@ -2518,8 +2517,8 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
2518
2517
|
* google.options({auth: authClient});
|
|
2519
2518
|
*
|
|
2520
2519
|
* // Do the magic
|
|
2521
|
-
* const res =
|
|
2522
|
-
* {
|
|
2520
|
+
* const res =
|
|
2521
|
+
* await serviceusage.services.consumerQuotaMetrics.importAdminOverrides({
|
|
2523
2522
|
* // The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com`
|
|
2524
2523
|
* parent: '[^/]+/[^/]+/services/my-service',
|
|
2525
2524
|
*
|
|
@@ -2532,8 +2531,7 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
2532
2531
|
* // "inlineSource": {}
|
|
2533
2532
|
* // }
|
|
2534
2533
|
* },
|
|
2535
|
-
* }
|
|
2536
|
-
* );
|
|
2534
|
+
* });
|
|
2537
2535
|
* console.log(res.data);
|
|
2538
2536
|
*
|
|
2539
2537
|
* // Example response
|
|
@@ -2593,8 +2591,8 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
2593
2591
|
* google.options({auth: authClient});
|
|
2594
2592
|
*
|
|
2595
2593
|
* // Do the magic
|
|
2596
|
-
* const res =
|
|
2597
|
-
* {
|
|
2594
|
+
* const res =
|
|
2595
|
+
* await serviceusage.services.consumerQuotaMetrics.importConsumerOverrides({
|
|
2598
2596
|
* // The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com`
|
|
2599
2597
|
* parent: '[^/]+/[^/]+/services/my-service',
|
|
2600
2598
|
*
|
|
@@ -2607,8 +2605,7 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
2607
2605
|
* // "inlineSource": {}
|
|
2608
2606
|
* // }
|
|
2609
2607
|
* },
|
|
2610
|
-
* }
|
|
2611
|
-
* );
|
|
2608
|
+
* });
|
|
2612
2609
|
* console.log(res.data);
|
|
2613
2610
|
*
|
|
2614
2611
|
* // Example response
|
|
@@ -2790,8 +2787,7 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
2790
2787
|
* // Do the magic
|
|
2791
2788
|
* const res = await serviceusage.services.consumerQuotaMetrics.limits.get({
|
|
2792
2789
|
* // 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',
|
|
2790
|
+
* name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
|
|
2795
2791
|
* // Specifies the level of detail for quota information in the response.
|
|
2796
2792
|
* view: 'placeholder-value',
|
|
2797
2793
|
* });
|
|
@@ -2804,6 +2800,7 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
2804
2800
|
* // "metric": "my_metric",
|
|
2805
2801
|
* // "name": "my_name",
|
|
2806
2802
|
* // "quotaBuckets": [],
|
|
2803
|
+
* // "supportedLocations": [],
|
|
2807
2804
|
* // "unit": "my_unit"
|
|
2808
2805
|
* // }
|
|
2809
2806
|
* }
|
|
@@ -2869,30 +2866,31 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
2869
2866
|
* google.options({auth: authClient});
|
|
2870
2867
|
*
|
|
2871
2868
|
* // Do the magic
|
|
2872
|
-
* const res =
|
|
2873
|
-
*
|
|
2874
|
-
*
|
|
2875
|
-
*
|
|
2876
|
-
*
|
|
2877
|
-
*
|
|
2878
|
-
*
|
|
2879
|
-
*
|
|
2880
|
-
*
|
|
2881
|
-
*
|
|
2882
|
-
*
|
|
2883
|
-
*
|
|
2884
|
-
*
|
|
2885
|
-
*
|
|
2886
|
-
*
|
|
2887
|
-
*
|
|
2888
|
-
*
|
|
2889
|
-
*
|
|
2890
|
-
*
|
|
2891
|
-
*
|
|
2892
|
-
*
|
|
2893
|
-
*
|
|
2894
|
-
*
|
|
2895
|
-
*
|
|
2869
|
+
* const res =
|
|
2870
|
+
* await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.create(
|
|
2871
|
+
* {
|
|
2872
|
+
* // 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.
|
|
2873
|
+
* force: 'placeholder-value',
|
|
2874
|
+
* // 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.
|
|
2875
|
+
* forceOnly: 'placeholder-value',
|
|
2876
|
+
* // 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`
|
|
2877
|
+
* parent:
|
|
2878
|
+
* '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
|
|
2879
|
+
*
|
|
2880
|
+
* // Request body metadata
|
|
2881
|
+
* requestBody: {
|
|
2882
|
+
* // request body parameters
|
|
2883
|
+
* // {
|
|
2884
|
+
* // "adminOverrideAncestor": "my_adminOverrideAncestor",
|
|
2885
|
+
* // "dimensions": {},
|
|
2886
|
+
* // "metric": "my_metric",
|
|
2887
|
+
* // "name": "my_name",
|
|
2888
|
+
* // "overrideValue": "my_overrideValue",
|
|
2889
|
+
* // "unit": "my_unit"
|
|
2890
|
+
* // }
|
|
2891
|
+
* },
|
|
2892
|
+
* }
|
|
2893
|
+
* );
|
|
2896
2894
|
* console.log(res.data);
|
|
2897
2895
|
*
|
|
2898
2896
|
* // Example response
|
|
@@ -2952,17 +2950,17 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
2952
2950
|
* google.options({auth: authClient});
|
|
2953
2951
|
*
|
|
2954
2952
|
* // Do the magic
|
|
2955
|
-
* const res =
|
|
2956
|
-
*
|
|
2957
|
-
*
|
|
2958
|
-
*
|
|
2959
|
-
*
|
|
2960
|
-
*
|
|
2961
|
-
*
|
|
2962
|
-
*
|
|
2963
|
-
* '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
|
|
2964
|
-
*
|
|
2965
|
-
*
|
|
2953
|
+
* const res =
|
|
2954
|
+
* await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.delete(
|
|
2955
|
+
* {
|
|
2956
|
+
* // 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.
|
|
2957
|
+
* force: 'placeholder-value',
|
|
2958
|
+
* // 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.
|
|
2959
|
+
* forceOnly: 'placeholder-value',
|
|
2960
|
+
* // 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`
|
|
2961
|
+
* name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
|
|
2962
|
+
* }
|
|
2963
|
+
* );
|
|
2966
2964
|
* console.log(res.data);
|
|
2967
2965
|
*
|
|
2968
2966
|
* // Example response
|
|
@@ -3022,17 +3020,18 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
3022
3020
|
* google.options({auth: authClient});
|
|
3023
3021
|
*
|
|
3024
3022
|
* // Do the magic
|
|
3025
|
-
* const res =
|
|
3026
|
-
*
|
|
3027
|
-
*
|
|
3028
|
-
*
|
|
3029
|
-
*
|
|
3030
|
-
*
|
|
3031
|
-
*
|
|
3032
|
-
*
|
|
3033
|
-
*
|
|
3034
|
-
*
|
|
3035
|
-
*
|
|
3023
|
+
* const res =
|
|
3024
|
+
* await serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.list(
|
|
3025
|
+
* {
|
|
3026
|
+
* // Requested size of the next page of data.
|
|
3027
|
+
* pageSize: 'placeholder-value',
|
|
3028
|
+
* // Token identifying which result to start with; returned by a previous list call.
|
|
3029
|
+
* pageToken: 'placeholder-value',
|
|
3030
|
+
* // 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`
|
|
3031
|
+
* parent:
|
|
3032
|
+
* '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
|
|
3033
|
+
* }
|
|
3034
|
+
* );
|
|
3036
3035
|
* console.log(res.data);
|
|
3037
3036
|
*
|
|
3038
3037
|
* // Example response
|
|
@@ -3089,32 +3088,32 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
3089
3088
|
* google.options({auth: authClient});
|
|
3090
3089
|
*
|
|
3091
3090
|
* // Do the magic
|
|
3092
|
-
* const res =
|
|
3093
|
-
*
|
|
3094
|
-
*
|
|
3095
|
-
*
|
|
3096
|
-
*
|
|
3097
|
-
*
|
|
3098
|
-
*
|
|
3099
|
-
*
|
|
3100
|
-
* '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
|
|
3101
|
-
*
|
|
3102
|
-
*
|
|
3103
|
-
*
|
|
3104
|
-
*
|
|
3105
|
-
*
|
|
3106
|
-
*
|
|
3107
|
-
*
|
|
3108
|
-
*
|
|
3109
|
-
*
|
|
3110
|
-
*
|
|
3111
|
-
*
|
|
3112
|
-
*
|
|
3113
|
-
*
|
|
3114
|
-
*
|
|
3115
|
-
*
|
|
3116
|
-
*
|
|
3117
|
-
*
|
|
3091
|
+
* const res =
|
|
3092
|
+
* 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: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/adminOverrides/my-adminOverride',
|
|
3100
|
+
* // Update only the specified fields of the override. If unset, all fields will be updated.
|
|
3101
|
+
* updateMask: 'placeholder-value',
|
|
3102
|
+
*
|
|
3103
|
+
* // Request body metadata
|
|
3104
|
+
* requestBody: {
|
|
3105
|
+
* // request body parameters
|
|
3106
|
+
* // {
|
|
3107
|
+
* // "adminOverrideAncestor": "my_adminOverrideAncestor",
|
|
3108
|
+
* // "dimensions": {},
|
|
3109
|
+
* // "metric": "my_metric",
|
|
3110
|
+
* // "name": "my_name",
|
|
3111
|
+
* // "overrideValue": "my_overrideValue",
|
|
3112
|
+
* // "unit": "my_unit"
|
|
3113
|
+
* // }
|
|
3114
|
+
* },
|
|
3115
|
+
* }
|
|
3116
|
+
* );
|
|
3118
3117
|
* console.log(res.data);
|
|
3119
3118
|
*
|
|
3120
3119
|
* // Example response
|
|
@@ -3246,30 +3245,31 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
3246
3245
|
* google.options({auth: authClient});
|
|
3247
3246
|
*
|
|
3248
3247
|
* // Do the magic
|
|
3249
|
-
* const res =
|
|
3250
|
-
*
|
|
3251
|
-
*
|
|
3252
|
-
*
|
|
3253
|
-
*
|
|
3254
|
-
*
|
|
3255
|
-
*
|
|
3256
|
-
*
|
|
3257
|
-
*
|
|
3258
|
-
*
|
|
3259
|
-
*
|
|
3260
|
-
*
|
|
3261
|
-
*
|
|
3262
|
-
*
|
|
3263
|
-
*
|
|
3264
|
-
*
|
|
3265
|
-
*
|
|
3266
|
-
*
|
|
3267
|
-
*
|
|
3268
|
-
*
|
|
3269
|
-
*
|
|
3270
|
-
*
|
|
3271
|
-
*
|
|
3272
|
-
*
|
|
3248
|
+
* const res =
|
|
3249
|
+
* 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
|
+
* );
|
|
3273
3273
|
* console.log(res.data);
|
|
3274
3274
|
*
|
|
3275
3275
|
* // Example response
|
|
@@ -3329,17 +3329,17 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
3329
3329
|
* google.options({auth: authClient});
|
|
3330
3330
|
*
|
|
3331
3331
|
* // Do the magic
|
|
3332
|
-
* const res =
|
|
3333
|
-
*
|
|
3334
|
-
*
|
|
3335
|
-
*
|
|
3336
|
-
*
|
|
3337
|
-
*
|
|
3338
|
-
*
|
|
3339
|
-
*
|
|
3340
|
-
* '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
|
|
3341
|
-
*
|
|
3342
|
-
*
|
|
3332
|
+
* const res =
|
|
3333
|
+
* await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.delete(
|
|
3334
|
+
* {
|
|
3335
|
+
* // 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.
|
|
3336
|
+
* force: 'placeholder-value',
|
|
3337
|
+
* // 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.
|
|
3338
|
+
* forceOnly: 'placeholder-value',
|
|
3339
|
+
* // 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`
|
|
3340
|
+
* name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
|
|
3341
|
+
* }
|
|
3342
|
+
* );
|
|
3343
3343
|
* console.log(res.data);
|
|
3344
3344
|
*
|
|
3345
3345
|
* // Example response
|
|
@@ -3399,17 +3399,18 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
3399
3399
|
* google.options({auth: authClient});
|
|
3400
3400
|
*
|
|
3401
3401
|
* // Do the magic
|
|
3402
|
-
* const res =
|
|
3403
|
-
*
|
|
3404
|
-
*
|
|
3405
|
-
*
|
|
3406
|
-
*
|
|
3407
|
-
*
|
|
3408
|
-
*
|
|
3409
|
-
*
|
|
3410
|
-
*
|
|
3411
|
-
*
|
|
3412
|
-
*
|
|
3402
|
+
* const res =
|
|
3403
|
+
* await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.list(
|
|
3404
|
+
* {
|
|
3405
|
+
* // Requested size of the next page of data.
|
|
3406
|
+
* pageSize: 'placeholder-value',
|
|
3407
|
+
* // Token identifying which result to start with; returned by a previous list call.
|
|
3408
|
+
* pageToken: 'placeholder-value',
|
|
3409
|
+
* // 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`
|
|
3410
|
+
* parent:
|
|
3411
|
+
* '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit',
|
|
3412
|
+
* }
|
|
3413
|
+
* );
|
|
3413
3414
|
* console.log(res.data);
|
|
3414
3415
|
*
|
|
3415
3416
|
* // Example response
|
|
@@ -3466,32 +3467,32 @@ export declare namespace serviceusage_v1beta1 {
|
|
|
3466
3467
|
* google.options({auth: authClient});
|
|
3467
3468
|
*
|
|
3468
3469
|
* // Do the magic
|
|
3469
|
-
* const res =
|
|
3470
|
-
*
|
|
3471
|
-
*
|
|
3472
|
-
*
|
|
3473
|
-
*
|
|
3474
|
-
*
|
|
3475
|
-
*
|
|
3476
|
-
*
|
|
3477
|
-
* '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
|
|
3478
|
-
*
|
|
3479
|
-
*
|
|
3480
|
-
*
|
|
3481
|
-
*
|
|
3482
|
-
*
|
|
3483
|
-
*
|
|
3484
|
-
*
|
|
3485
|
-
*
|
|
3486
|
-
*
|
|
3487
|
-
*
|
|
3488
|
-
*
|
|
3489
|
-
*
|
|
3490
|
-
*
|
|
3491
|
-
*
|
|
3492
|
-
*
|
|
3493
|
-
*
|
|
3494
|
-
*
|
|
3470
|
+
* const res =
|
|
3471
|
+
* await serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.patch(
|
|
3472
|
+
* {
|
|
3473
|
+
* // 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.
|
|
3474
|
+
* force: 'placeholder-value',
|
|
3475
|
+
* // 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.
|
|
3476
|
+
* forceOnly: 'placeholder-value',
|
|
3477
|
+
* // 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`
|
|
3478
|
+
* name: '[^/]+/[^/]+/services/my-service/consumerQuotaMetrics/my-consumerQuotaMetric/limits/my-limit/consumerOverrides/my-consumerOverride',
|
|
3479
|
+
* // Update only the specified fields of the override. If unset, all fields will be updated.
|
|
3480
|
+
* updateMask: 'placeholder-value',
|
|
3481
|
+
*
|
|
3482
|
+
* // Request body metadata
|
|
3483
|
+
* requestBody: {
|
|
3484
|
+
* // request body parameters
|
|
3485
|
+
* // {
|
|
3486
|
+
* // "adminOverrideAncestor": "my_adminOverrideAncestor",
|
|
3487
|
+
* // "dimensions": {},
|
|
3488
|
+
* // "metric": "my_metric",
|
|
3489
|
+
* // "name": "my_name",
|
|
3490
|
+
* // "overrideValue": "my_overrideValue",
|
|
3491
|
+
* // "unit": "my_unit"
|
|
3492
|
+
* // }
|
|
3493
|
+
* },
|
|
3494
|
+
* }
|
|
3495
|
+
* );
|
|
3495
3496
|
* console.log(res.data);
|
|
3496
3497
|
*
|
|
3497
3498
|
* // Example response
|