@maxim_mazurok/gapi.client.serviceusage-v1beta1 0.1.20260227 → 0.2.20260227
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/index.d.ts +288 -102
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -53,7 +53,11 @@ declare namespace gapi.client {
|
|
|
53
53
|
/** Output only. Analysis result of updating a policy. */
|
|
54
54
|
analysis?: AnalysisResult;
|
|
55
55
|
/** Output only. The type of analysis. */
|
|
56
|
-
analysisType?:
|
|
56
|
+
analysisType?:
|
|
57
|
+
| 'ANALYSIS_TYPE_UNSPECIFIED'
|
|
58
|
+
| 'ANALYSIS_TYPE_DEPENDENCY'
|
|
59
|
+
| 'ANALYSIS_TYPE_RESOURCE_USAGE'
|
|
60
|
+
| 'ANALYSIS_TYPE_RESOURCE_EXISTENCE';
|
|
57
61
|
/** Output only. The user friendly display name of the analysis type. E.g. service dependency analysis, service resource usage analysis, etc. */
|
|
58
62
|
displayName?: string;
|
|
59
63
|
/** The names of the service that has analysis result of warnings or blockers. Example: `services/storage.googleapis.com`. */
|
|
@@ -84,7 +88,7 @@ declare namespace gapi.client {
|
|
|
84
88
|
/** Source context for the protocol buffer service represented by this message. */
|
|
85
89
|
sourceContext?: SourceContext;
|
|
86
90
|
/** The source syntax of the service. */
|
|
87
|
-
syntax?:
|
|
91
|
+
syntax?: 'SYNTAX_PROTO2' | 'SYNTAX_PROTO3' | 'SYNTAX_EDITIONS';
|
|
88
92
|
/** A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces. */
|
|
89
93
|
version?: string;
|
|
90
94
|
}
|
|
@@ -160,7 +164,10 @@ declare namespace gapi.client {
|
|
|
160
164
|
/** The map between request protocol and the backend address. */
|
|
161
165
|
overridesByRequestProtocol?: {[P in string]: BackendRule};
|
|
162
166
|
/** no-lint */
|
|
163
|
-
pathTranslation?:
|
|
167
|
+
pathTranslation?:
|
|
168
|
+
| 'PATH_TRANSLATION_UNSPECIFIED'
|
|
169
|
+
| 'CONSTANT_ADDRESS'
|
|
170
|
+
| 'APPEND_PATH_TO_ADDRESS';
|
|
164
171
|
/** The protocol used for sending a request to the backend. The supported values are "http/1.1" and "h2". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to "h2" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values. */
|
|
165
172
|
protocol?: string;
|
|
166
173
|
/** Selects the methods to which this rule applies. Refer to selector for syntax details. */
|
|
@@ -210,7 +217,11 @@ declare namespace gapi.client {
|
|
|
210
217
|
/** The maximum number of elements allowed by flow control. */
|
|
211
218
|
flowControlElementLimit?: number;
|
|
212
219
|
/** The behavior to take when the flow control limit is exceeded. */
|
|
213
|
-
flowControlLimitExceededBehavior?:
|
|
220
|
+
flowControlLimitExceededBehavior?:
|
|
221
|
+
| 'UNSET_BEHAVIOR'
|
|
222
|
+
| 'THROW_EXCEPTION'
|
|
223
|
+
| 'BLOCK'
|
|
224
|
+
| 'IGNORE';
|
|
214
225
|
/** The maximum size of the request that could be accepted by server. */
|
|
215
226
|
requestByteLimit?: number;
|
|
216
227
|
/** The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message. */
|
|
@@ -236,7 +247,15 @@ declare namespace gapi.client {
|
|
|
236
247
|
/** Settings for legacy Java features, supported in the Service YAML. */
|
|
237
248
|
javaSettings?: JavaSettings;
|
|
238
249
|
/** Launch stage of this version of the API. */
|
|
239
|
-
launchStage?:
|
|
250
|
+
launchStage?:
|
|
251
|
+
| 'LAUNCH_STAGE_UNSPECIFIED'
|
|
252
|
+
| 'UNIMPLEMENTED'
|
|
253
|
+
| 'PRELAUNCH'
|
|
254
|
+
| 'EARLY_ACCESS'
|
|
255
|
+
| 'ALPHA'
|
|
256
|
+
| 'BETA'
|
|
257
|
+
| 'GA'
|
|
258
|
+
| 'DEPRECATED';
|
|
240
259
|
/** Settings for Node client libraries. */
|
|
241
260
|
nodeSettings?: NodeSettings;
|
|
242
261
|
/** Settings for PHP client libraries. */
|
|
@@ -252,7 +271,10 @@ declare namespace gapi.client {
|
|
|
252
271
|
}
|
|
253
272
|
interface CommonLanguageSettings {
|
|
254
273
|
/** The destination where API teams want this client library to be published. */
|
|
255
|
-
destinations?:
|
|
274
|
+
destinations?:
|
|
275
|
+
| 'CLIENT_LIBRARY_DESTINATION_UNSPECIFIED'
|
|
276
|
+
| 'GITHUB'
|
|
277
|
+
| 'PACKAGE_MANAGER'[];
|
|
256
278
|
/** Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest */
|
|
257
279
|
referenceDocsUri?: string;
|
|
258
280
|
/** Configuration for which RPCs should be generated in the GAPIC client. */
|
|
@@ -416,7 +438,11 @@ declare namespace gapi.client {
|
|
|
416
438
|
}
|
|
417
439
|
interface EnableRule {
|
|
418
440
|
/** Client and resource project enable type. */
|
|
419
|
-
enableType?:
|
|
441
|
+
enableType?:
|
|
442
|
+
| 'ENABLE_TYPE_UNSPECIFIED'
|
|
443
|
+
| 'CLIENT'
|
|
444
|
+
| 'RESOURCE'
|
|
445
|
+
| 'V1_COMPATIBLE';
|
|
420
446
|
/** DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service groups that are enabled (Not Implemented). Example: `groups/googleServices`. */
|
|
421
447
|
groups?: string[];
|
|
422
448
|
/** DEPRECATED: Please use field `values`. Service should have prefix `services/`. The names of the services that are enabled. Example: `storage.googleapis.com`. */
|
|
@@ -451,7 +477,7 @@ declare namespace gapi.client {
|
|
|
451
477
|
/** The source context. */
|
|
452
478
|
sourceContext?: SourceContext;
|
|
453
479
|
/** The source syntax. */
|
|
454
|
-
syntax?:
|
|
480
|
+
syntax?: 'SYNTAX_PROTO2' | 'SYNTAX_PROTO3' | 'SYNTAX_EDITIONS';
|
|
455
481
|
}
|
|
456
482
|
interface EnumValue {
|
|
457
483
|
/** Enum value name. */
|
|
@@ -471,13 +497,36 @@ declare namespace gapi.client {
|
|
|
471
497
|
}
|
|
472
498
|
interface Field {
|
|
473
499
|
/** The field cardinality. */
|
|
474
|
-
cardinality?:
|
|
500
|
+
cardinality?:
|
|
501
|
+
| 'CARDINALITY_UNKNOWN'
|
|
502
|
+
| 'CARDINALITY_OPTIONAL'
|
|
503
|
+
| 'CARDINALITY_REQUIRED'
|
|
504
|
+
| 'CARDINALITY_REPEATED';
|
|
475
505
|
/** The string value of the default value of this field. Proto2 syntax only. */
|
|
476
506
|
defaultValue?: string;
|
|
477
507
|
/** The field JSON name. */
|
|
478
508
|
jsonName?: string;
|
|
479
509
|
/** The field type. */
|
|
480
|
-
kind?:
|
|
510
|
+
kind?:
|
|
511
|
+
| 'TYPE_UNKNOWN'
|
|
512
|
+
| 'TYPE_DOUBLE'
|
|
513
|
+
| 'TYPE_FLOAT'
|
|
514
|
+
| 'TYPE_INT64'
|
|
515
|
+
| 'TYPE_UINT64'
|
|
516
|
+
| 'TYPE_INT32'
|
|
517
|
+
| 'TYPE_FIXED64'
|
|
518
|
+
| 'TYPE_FIXED32'
|
|
519
|
+
| 'TYPE_BOOL'
|
|
520
|
+
| 'TYPE_STRING'
|
|
521
|
+
| 'TYPE_GROUP'
|
|
522
|
+
| 'TYPE_MESSAGE'
|
|
523
|
+
| 'TYPE_BYTES'
|
|
524
|
+
| 'TYPE_UINT32'
|
|
525
|
+
| 'TYPE_ENUM'
|
|
526
|
+
| 'TYPE_SFIXED32'
|
|
527
|
+
| 'TYPE_SFIXED64'
|
|
528
|
+
| 'TYPE_SINT32'
|
|
529
|
+
| 'TYPE_SINT64';
|
|
481
530
|
/** The field name. */
|
|
482
531
|
name?: string;
|
|
483
532
|
/** The field number. */
|
|
@@ -504,7 +553,7 @@ declare namespace gapi.client {
|
|
|
504
553
|
/** Service identity that service producer can use to access consumer resources. If exists is true, it contains email and unique_id. If exists is false, it contains pre-constructed email and empty unique_id. */
|
|
505
554
|
identity?: ServiceIdentity;
|
|
506
555
|
/** Service identity state. */
|
|
507
|
-
state?:
|
|
556
|
+
state?: 'IDENTITY_STATE_UNSPECIFIED' | 'ACTIVE';
|
|
508
557
|
}
|
|
509
558
|
interface GoogleApiService {
|
|
510
559
|
/** A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files. */
|
|
@@ -570,7 +619,7 @@ declare namespace gapi.client {
|
|
|
570
619
|
/** Service identity that service producer can use to access consumer resources. If exists is true, it contains email and unique_id. If exists is false, it contains pre-constructed email and empty unique_id. */
|
|
571
620
|
identity?: GoogleApiServiceusageV1beta1ServiceIdentity;
|
|
572
621
|
/** Service identity state. */
|
|
573
|
-
state?:
|
|
622
|
+
state?: 'IDENTITY_STATE_UNSPECIFIED' | 'ACTIVE';
|
|
574
623
|
}
|
|
575
624
|
interface GoogleApiServiceusageV1beta1ServiceIdentity {
|
|
576
625
|
/** The email address of the service account that a service producer would use to access consumer resources. */
|
|
@@ -590,7 +639,7 @@ declare namespace gapi.client {
|
|
|
590
639
|
/** The resource name of the consumer. A valid name would be: - projects/123 */
|
|
591
640
|
parent?: string;
|
|
592
641
|
/** Whether or not the service has been enabled for use by the consumer. */
|
|
593
|
-
state?:
|
|
642
|
+
state?: 'STATE_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
|
|
594
643
|
}
|
|
595
644
|
interface GoogleApiServiceusageV1ServiceConfig {
|
|
596
645
|
/** A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces. */
|
|
@@ -637,7 +686,10 @@ declare namespace gapi.client {
|
|
|
637
686
|
/** Output only. Analysis result of updating a policy. */
|
|
638
687
|
analysisResult?: GoogleApiServiceusageV2betaAnalysisResult;
|
|
639
688
|
/** Output only. The type of analysis. */
|
|
640
|
-
analysisType?:
|
|
689
|
+
analysisType?:
|
|
690
|
+
| 'ANALYSIS_TYPE_UNSPECIFIED'
|
|
691
|
+
| 'ANALYSIS_TYPE_DEPENDENCY'
|
|
692
|
+
| 'ANALYSIS_TYPE_RESOURCE_USAGE';
|
|
641
693
|
/** Output only. The user friendly display name of the analysis type. E.g. service dependency analysis, service resource usage analysis, etc. */
|
|
642
694
|
displayName?: string;
|
|
643
695
|
/** The names of the service that has analysis result of warnings or blockers. Example: `services/storage.googleapis.com`. */
|
|
@@ -674,7 +726,9 @@ declare namespace gapi.client {
|
|
|
674
726
|
/** Output only. User friendly impact detail in a free form message. */
|
|
675
727
|
detail?: string;
|
|
676
728
|
/** Output only. The type of impact. */
|
|
677
|
-
impactType?:
|
|
729
|
+
impactType?:
|
|
730
|
+
| 'IMPACT_TYPE_UNSPECIFIED'
|
|
731
|
+
| 'DEPENDENCY_MISSING_DEPENDENCIES';
|
|
678
732
|
/** Output only. This field will be populated only for the `DEPENDENCY_MISSING_DEPENDENCIES` impact type. Example: `services/compute.googleapis.com`. Impact.detail will be in format : `missing service dependency: {missing_dependency}.` */
|
|
679
733
|
missingDependency?: string;
|
|
680
734
|
}
|
|
@@ -738,7 +792,10 @@ declare namespace gapi.client {
|
|
|
738
792
|
/** Output only. User friendly impact detail in a free form message. */
|
|
739
793
|
detail?: string;
|
|
740
794
|
/** Output only. The type of impact. */
|
|
741
|
-
impactType?:
|
|
795
|
+
impactType?:
|
|
796
|
+
| 'IMPACT_TYPE_UNSPECIFIED'
|
|
797
|
+
| 'DEPENDENCY_MISSING_DEPENDENCIES'
|
|
798
|
+
| 'RESOURCE_EXISTENCE_PROJECT';
|
|
742
799
|
/** The parent resource that the analysis is based on and the service name that the analysis is for. Example: `projects/100/services/compute.googleapis.com`, folders/101/services/compute.googleapis.com` and `organizations/102/services/compute.googleapis.com`. Usually, the parent resource here is same as the parent resource of the analyzed policy. However, for some analysis types, the parent can be different. For example, for resource existence analysis, if the parent resource of the analyzed policy is a folder or an organization, the parent resource here can still be the project that contains the resources. */
|
|
743
800
|
parent?: string;
|
|
744
801
|
}
|
|
@@ -747,7 +804,10 @@ declare namespace gapi.client {
|
|
|
747
804
|
/** Whether to force the creation of the quota overrides. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations. If force is set to true, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
748
805
|
force?: boolean;
|
|
749
806
|
/** 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. If force_only is specified, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
750
|
-
forceOnly?:
|
|
807
|
+
forceOnly?:
|
|
808
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
809
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
810
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'[];
|
|
751
811
|
/** The import data is specified in the request message itself */
|
|
752
812
|
inlineSource?: OverrideInlineSource;
|
|
753
813
|
}
|
|
@@ -765,7 +825,10 @@ declare namespace gapi.client {
|
|
|
765
825
|
/** Whether to force the creation of the quota overrides. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations. If force is set to true, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
766
826
|
force?: boolean;
|
|
767
827
|
/** 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. If force_only is specified, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
768
|
-
forceOnly?:
|
|
828
|
+
forceOnly?:
|
|
829
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
830
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
831
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'[];
|
|
769
832
|
/** The import data is specified in the request message itself */
|
|
770
833
|
inlineSource?: OverrideInlineSource;
|
|
771
834
|
}
|
|
@@ -797,7 +860,7 @@ declare namespace gapi.client {
|
|
|
797
860
|
/** The label key. */
|
|
798
861
|
key?: string;
|
|
799
862
|
/** The type of data that can be assigned to the label. */
|
|
800
|
-
valueType?:
|
|
863
|
+
valueType?: 'STRING' | 'BOOL' | 'INT64';
|
|
801
864
|
}
|
|
802
865
|
interface ListAdminOverridesResponse {
|
|
803
866
|
/** Token identifying which result to start with; returned by a previous list call. */
|
|
@@ -899,7 +962,7 @@ declare namespace gapi.client {
|
|
|
899
962
|
/** The URL of the output message type. */
|
|
900
963
|
responseTypeUrl?: string;
|
|
901
964
|
/** The source syntax of this method. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue. */
|
|
902
|
-
syntax?:
|
|
965
|
+
syntax?: 'SYNTAX_PROTO2' | 'SYNTAX_PROTO3' | 'SYNTAX_EDITIONS';
|
|
903
966
|
}
|
|
904
967
|
interface MethodPolicy {
|
|
905
968
|
/** Policies that are applicable to the request message. */
|
|
@@ -925,11 +988,19 @@ declare namespace gapi.client {
|
|
|
925
988
|
/** The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed. */
|
|
926
989
|
labels?: LabelDescriptor[];
|
|
927
990
|
/** Optional. The launch stage of the metric definition. */
|
|
928
|
-
launchStage?:
|
|
991
|
+
launchStage?:
|
|
992
|
+
| 'LAUNCH_STAGE_UNSPECIFIED'
|
|
993
|
+
| 'UNIMPLEMENTED'
|
|
994
|
+
| 'PRELAUNCH'
|
|
995
|
+
| 'EARLY_ACCESS'
|
|
996
|
+
| 'ALPHA'
|
|
997
|
+
| 'BETA'
|
|
998
|
+
| 'GA'
|
|
999
|
+
| 'DEPRECATED';
|
|
929
1000
|
/** Optional. Metadata which can be used to guide usage of the metric. */
|
|
930
1001
|
metadata?: MetricDescriptorMetadata;
|
|
931
1002
|
/** Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported. */
|
|
932
|
-
metricKind?:
|
|
1003
|
+
metricKind?: 'METRIC_KIND_UNSPECIFIED' | 'GAUGE' | 'DELTA' | 'CUMULATIVE';
|
|
933
1004
|
/** Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here. */
|
|
934
1005
|
monitoredResourceTypes?: string[];
|
|
935
1006
|
/** The resource name of the metric descriptor. */
|
|
@@ -939,17 +1010,36 @@ declare namespace gapi.client {
|
|
|
939
1010
|
/** The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then the value of the metric is always in thousands of bytes, no matter how it might be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`. Alternatively, if you want a custom metric to record data in a more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). The supported units are a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost never have `/s` in a metric `unit`; rates should always be computed at query time from the underlying cumulative or delta value). * `.` multiplication or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: * `Annotation` is just a comment if it follows a `UNIT`. If the annotation is used alone, then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing `{` or `}`. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3` would mean "5300 page views per day"). * `%` represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means "3 percent"). * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means "3 percent"). */
|
|
940
1011
|
unit?: string;
|
|
941
1012
|
/** Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported. */
|
|
942
|
-
valueType?:
|
|
1013
|
+
valueType?:
|
|
1014
|
+
| 'VALUE_TYPE_UNSPECIFIED'
|
|
1015
|
+
| 'BOOL'
|
|
1016
|
+
| 'INT64'
|
|
1017
|
+
| 'DOUBLE'
|
|
1018
|
+
| 'STRING'
|
|
1019
|
+
| 'DISTRIBUTION'
|
|
1020
|
+
| 'MONEY';
|
|
943
1021
|
}
|
|
944
1022
|
interface MetricDescriptorMetadata {
|
|
945
1023
|
/** The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. */
|
|
946
1024
|
ingestDelay?: string;
|
|
947
1025
|
/** Deprecated. Must use the MetricDescriptor.launch_stage instead. */
|
|
948
|
-
launchStage?:
|
|
1026
|
+
launchStage?:
|
|
1027
|
+
| 'LAUNCH_STAGE_UNSPECIFIED'
|
|
1028
|
+
| 'UNIMPLEMENTED'
|
|
1029
|
+
| 'PRELAUNCH'
|
|
1030
|
+
| 'EARLY_ACCESS'
|
|
1031
|
+
| 'ALPHA'
|
|
1032
|
+
| 'BETA'
|
|
1033
|
+
| 'GA'
|
|
1034
|
+
| 'DEPRECATED';
|
|
949
1035
|
/** The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period. */
|
|
950
1036
|
samplePeriod?: string;
|
|
951
1037
|
/** The scope of the timeseries data of the metric. */
|
|
952
|
-
timeSeriesResourceHierarchyLevel?:
|
|
1038
|
+
timeSeriesResourceHierarchyLevel?:
|
|
1039
|
+
| 'TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED'
|
|
1040
|
+
| 'PROJECT'
|
|
1041
|
+
| 'ORGANIZATION'
|
|
1042
|
+
| 'FOLDER'[];
|
|
953
1043
|
}
|
|
954
1044
|
interface MetricRule {
|
|
955
1045
|
/** 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. */
|
|
@@ -971,7 +1061,15 @@ declare namespace gapi.client {
|
|
|
971
1061
|
/** Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `"database_id"` and `"zone"`. */
|
|
972
1062
|
labels?: LabelDescriptor[];
|
|
973
1063
|
/** Optional. The launch stage of the monitored resource definition. */
|
|
974
|
-
launchStage?:
|
|
1064
|
+
launchStage?:
|
|
1065
|
+
| 'LAUNCH_STAGE_UNSPECIFIED'
|
|
1066
|
+
| 'UNIMPLEMENTED'
|
|
1067
|
+
| 'PRELAUNCH'
|
|
1068
|
+
| 'EARLY_ACCESS'
|
|
1069
|
+
| 'ALPHA'
|
|
1070
|
+
| 'BETA'
|
|
1071
|
+
| 'GA'
|
|
1072
|
+
| 'DEPRECATED';
|
|
975
1073
|
/** Optional. The resource name of the monitored resource descriptor: `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `"monitoredResourceDescriptors/{type}"`. */
|
|
976
1074
|
name?: string;
|
|
977
1075
|
/** Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. For a list of types, see [Monitored resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list). */
|
|
@@ -1069,7 +1167,15 @@ declare namespace gapi.client {
|
|
|
1069
1167
|
/** Link to a *public* URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103 */
|
|
1070
1168
|
newIssueUri?: string;
|
|
1071
1169
|
/** For whom the client library is being published. */
|
|
1072
|
-
organization?:
|
|
1170
|
+
organization?:
|
|
1171
|
+
| 'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED'
|
|
1172
|
+
| 'CLOUD'
|
|
1173
|
+
| 'ADS'
|
|
1174
|
+
| 'PHOTOS'
|
|
1175
|
+
| 'STREET_VIEW'
|
|
1176
|
+
| 'SHOPPING'
|
|
1177
|
+
| 'GEO'
|
|
1178
|
+
| 'GENERATIVE_AI';
|
|
1073
1179
|
/** Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc */
|
|
1074
1180
|
protoReferenceDocumentationUri?: string;
|
|
1075
1181
|
/** Optional link to REST reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rest */
|
|
@@ -1170,7 +1276,7 @@ declare namespace gapi.client {
|
|
|
1170
1276
|
/** The resource name of the consumer. A valid name would be: - `projects/123` */
|
|
1171
1277
|
parent?: string;
|
|
1172
1278
|
/** Whether or not the service has been enabled for use by the consumer. */
|
|
1173
|
-
state?:
|
|
1279
|
+
state?: 'STATE_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
|
|
1174
1280
|
}
|
|
1175
1281
|
interface ServiceConfig {
|
|
1176
1282
|
/** A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces. */
|
|
@@ -1248,7 +1354,7 @@ declare namespace gapi.client {
|
|
|
1248
1354
|
/** The source context. */
|
|
1249
1355
|
sourceContext?: SourceContext;
|
|
1250
1356
|
/** The source syntax. */
|
|
1251
|
-
syntax?:
|
|
1357
|
+
syntax?: 'SYNTAX_PROTO2' | 'SYNTAX_PROTO3' | 'SYNTAX_EDITIONS';
|
|
1252
1358
|
}
|
|
1253
1359
|
interface UpdateAdminQuotaPolicyMetadata {}
|
|
1254
1360
|
interface UpdateConsumerPolicyMetadata {}
|
|
@@ -1274,11 +1380,11 @@ declare namespace gapi.client {
|
|
|
1274
1380
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1275
1381
|
get(request?: {
|
|
1276
1382
|
/** V1 error format. */
|
|
1277
|
-
'$.xgafv'?:
|
|
1383
|
+
'$.xgafv'?: '1' | '2';
|
|
1278
1384
|
/** OAuth access token. */
|
|
1279
1385
|
access_token?: string;
|
|
1280
1386
|
/** Data format for response. */
|
|
1281
|
-
alt?:
|
|
1387
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1282
1388
|
/** JSONP */
|
|
1283
1389
|
callback?: string;
|
|
1284
1390
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1301,11 +1407,11 @@ declare namespace gapi.client {
|
|
|
1301
1407
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1302
1408
|
list(request?: {
|
|
1303
1409
|
/** V1 error format. */
|
|
1304
|
-
'$.xgafv'?:
|
|
1410
|
+
'$.xgafv'?: '1' | '2';
|
|
1305
1411
|
/** OAuth access token. */
|
|
1306
1412
|
access_token?: string;
|
|
1307
1413
|
/** Data format for response. */
|
|
1308
|
-
alt?:
|
|
1414
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1309
1415
|
/** JSONP */
|
|
1310
1416
|
callback?: string;
|
|
1311
1417
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1338,11 +1444,11 @@ declare namespace gapi.client {
|
|
|
1338
1444
|
/** Creates an admin override. An admin override is applied by an administrator of a parent folder or parent organization of the consumer receiving the override. An admin override is intended to limit the amount of quota the consumer can use out of the total quota pool allocated to all children of the folder or organization. */
|
|
1339
1445
|
create(request: {
|
|
1340
1446
|
/** V1 error format. */
|
|
1341
|
-
'$.xgafv'?:
|
|
1447
|
+
'$.xgafv'?: '1' | '2';
|
|
1342
1448
|
/** OAuth access token. */
|
|
1343
1449
|
access_token?: string;
|
|
1344
1450
|
/** Data format for response. */
|
|
1345
|
-
alt?:
|
|
1451
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1346
1452
|
/** JSONP */
|
|
1347
1453
|
callback?: string;
|
|
1348
1454
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1350,7 +1456,15 @@ declare namespace gapi.client {
|
|
|
1350
1456
|
/** 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. If force is set to true, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1351
1457
|
force?: boolean;
|
|
1352
1458
|
/** 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. If force_only is specified, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1353
|
-
forceOnly?:
|
|
1459
|
+
forceOnly?:
|
|
1460
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1461
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1462
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1463
|
+
| (
|
|
1464
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1465
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1466
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1467
|
+
)[];
|
|
1354
1468
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1355
1469
|
key?: string;
|
|
1356
1470
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -1371,11 +1485,11 @@ declare namespace gapi.client {
|
|
|
1371
1485
|
create(
|
|
1372
1486
|
request: {
|
|
1373
1487
|
/** V1 error format. */
|
|
1374
|
-
'$.xgafv'?:
|
|
1488
|
+
'$.xgafv'?: '1' | '2';
|
|
1375
1489
|
/** OAuth access token. */
|
|
1376
1490
|
access_token?: string;
|
|
1377
1491
|
/** Data format for response. */
|
|
1378
|
-
alt?:
|
|
1492
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1379
1493
|
/** JSONP */
|
|
1380
1494
|
callback?: string;
|
|
1381
1495
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1383,7 +1497,15 @@ declare namespace gapi.client {
|
|
|
1383
1497
|
/** 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. If force is set to true, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1384
1498
|
force?: boolean;
|
|
1385
1499
|
/** 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. If force_only is specified, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1386
|
-
forceOnly?:
|
|
1500
|
+
forceOnly?:
|
|
1501
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1502
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1503
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1504
|
+
| (
|
|
1505
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1506
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1507
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1508
|
+
)[];
|
|
1387
1509
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1388
1510
|
key?: string;
|
|
1389
1511
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -1404,11 +1526,11 @@ declare namespace gapi.client {
|
|
|
1404
1526
|
/** Deletes an admin override. */
|
|
1405
1527
|
delete(request?: {
|
|
1406
1528
|
/** V1 error format. */
|
|
1407
|
-
'$.xgafv'?:
|
|
1529
|
+
'$.xgafv'?: '1' | '2';
|
|
1408
1530
|
/** OAuth access token. */
|
|
1409
1531
|
access_token?: string;
|
|
1410
1532
|
/** Data format for response. */
|
|
1411
|
-
alt?:
|
|
1533
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1412
1534
|
/** JSONP */
|
|
1413
1535
|
callback?: string;
|
|
1414
1536
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1416,7 +1538,15 @@ declare namespace gapi.client {
|
|
|
1416
1538
|
/** 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. If force is set to true, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1417
1539
|
force?: boolean;
|
|
1418
1540
|
/** 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. If force_only is specified, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1419
|
-
forceOnly?:
|
|
1541
|
+
forceOnly?:
|
|
1542
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1543
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1544
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1545
|
+
| (
|
|
1546
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1547
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1548
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1549
|
+
)[];
|
|
1420
1550
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1421
1551
|
key?: string;
|
|
1422
1552
|
/** 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` */
|
|
@@ -1435,11 +1565,11 @@ declare namespace gapi.client {
|
|
|
1435
1565
|
/** Lists all admin overrides on this limit. */
|
|
1436
1566
|
list(request?: {
|
|
1437
1567
|
/** V1 error format. */
|
|
1438
|
-
'$.xgafv'?:
|
|
1568
|
+
'$.xgafv'?: '1' | '2';
|
|
1439
1569
|
/** OAuth access token. */
|
|
1440
1570
|
access_token?: string;
|
|
1441
1571
|
/** Data format for response. */
|
|
1442
|
-
alt?:
|
|
1572
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1443
1573
|
/** JSONP */
|
|
1444
1574
|
callback?: string;
|
|
1445
1575
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1466,11 +1596,11 @@ declare namespace gapi.client {
|
|
|
1466
1596
|
/** Updates an admin override. */
|
|
1467
1597
|
patch(request: {
|
|
1468
1598
|
/** V1 error format. */
|
|
1469
|
-
'$.xgafv'?:
|
|
1599
|
+
'$.xgafv'?: '1' | '2';
|
|
1470
1600
|
/** OAuth access token. */
|
|
1471
1601
|
access_token?: string;
|
|
1472
1602
|
/** Data format for response. */
|
|
1473
|
-
alt?:
|
|
1603
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1474
1604
|
/** JSONP */
|
|
1475
1605
|
callback?: string;
|
|
1476
1606
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1478,7 +1608,15 @@ declare namespace gapi.client {
|
|
|
1478
1608
|
/** 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. If force is set to true, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1479
1609
|
force?: boolean;
|
|
1480
1610
|
/** 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. If force_only is specified, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1481
|
-
forceOnly?:
|
|
1611
|
+
forceOnly?:
|
|
1612
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1613
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1614
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1615
|
+
| (
|
|
1616
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1617
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1618
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1619
|
+
)[];
|
|
1482
1620
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1483
1621
|
key?: string;
|
|
1484
1622
|
/** 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` */
|
|
@@ -1501,11 +1639,11 @@ declare namespace gapi.client {
|
|
|
1501
1639
|
patch(
|
|
1502
1640
|
request: {
|
|
1503
1641
|
/** V1 error format. */
|
|
1504
|
-
'$.xgafv'?:
|
|
1642
|
+
'$.xgafv'?: '1' | '2';
|
|
1505
1643
|
/** OAuth access token. */
|
|
1506
1644
|
access_token?: string;
|
|
1507
1645
|
/** Data format for response. */
|
|
1508
|
-
alt?:
|
|
1646
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1509
1647
|
/** JSONP */
|
|
1510
1648
|
callback?: string;
|
|
1511
1649
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1513,7 +1651,15 @@ declare namespace gapi.client {
|
|
|
1513
1651
|
/** 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. If force is set to true, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1514
1652
|
force?: boolean;
|
|
1515
1653
|
/** 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. If force_only is specified, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1516
|
-
forceOnly?:
|
|
1654
|
+
forceOnly?:
|
|
1655
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1656
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1657
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1658
|
+
| (
|
|
1659
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1660
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1661
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1662
|
+
)[];
|
|
1517
1663
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1518
1664
|
key?: string;
|
|
1519
1665
|
/** 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` */
|
|
@@ -1538,11 +1684,11 @@ declare namespace gapi.client {
|
|
|
1538
1684
|
/** Creates a consumer override. A consumer override is applied to the consumer on its own authority to limit its own quota usage. Consumer overrides cannot be used to grant more quota than would be allowed by admin overrides, producer overrides, or the default limit of the service. */
|
|
1539
1685
|
create(request: {
|
|
1540
1686
|
/** V1 error format. */
|
|
1541
|
-
'$.xgafv'?:
|
|
1687
|
+
'$.xgafv'?: '1' | '2';
|
|
1542
1688
|
/** OAuth access token. */
|
|
1543
1689
|
access_token?: string;
|
|
1544
1690
|
/** Data format for response. */
|
|
1545
|
-
alt?:
|
|
1691
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1546
1692
|
/** JSONP */
|
|
1547
1693
|
callback?: string;
|
|
1548
1694
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1550,7 +1696,15 @@ declare namespace gapi.client {
|
|
|
1550
1696
|
/** 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. If force is set to true, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1551
1697
|
force?: boolean;
|
|
1552
1698
|
/** 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. If force_only is specified, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1553
|
-
forceOnly?:
|
|
1699
|
+
forceOnly?:
|
|
1700
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1701
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1702
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1703
|
+
| (
|
|
1704
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1705
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1706
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1707
|
+
)[];
|
|
1554
1708
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1555
1709
|
key?: string;
|
|
1556
1710
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -1571,11 +1725,11 @@ declare namespace gapi.client {
|
|
|
1571
1725
|
create(
|
|
1572
1726
|
request: {
|
|
1573
1727
|
/** V1 error format. */
|
|
1574
|
-
'$.xgafv'?:
|
|
1728
|
+
'$.xgafv'?: '1' | '2';
|
|
1575
1729
|
/** OAuth access token. */
|
|
1576
1730
|
access_token?: string;
|
|
1577
1731
|
/** Data format for response. */
|
|
1578
|
-
alt?:
|
|
1732
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1579
1733
|
/** JSONP */
|
|
1580
1734
|
callback?: string;
|
|
1581
1735
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1583,7 +1737,15 @@ declare namespace gapi.client {
|
|
|
1583
1737
|
/** 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. If force is set to true, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1584
1738
|
force?: boolean;
|
|
1585
1739
|
/** 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. If force_only is specified, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1586
|
-
forceOnly?:
|
|
1740
|
+
forceOnly?:
|
|
1741
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1742
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1743
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1744
|
+
| (
|
|
1745
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1746
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1747
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1748
|
+
)[];
|
|
1587
1749
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1588
1750
|
key?: string;
|
|
1589
1751
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -1604,11 +1766,11 @@ declare namespace gapi.client {
|
|
|
1604
1766
|
/** Deletes a consumer override. */
|
|
1605
1767
|
delete(request?: {
|
|
1606
1768
|
/** V1 error format. */
|
|
1607
|
-
'$.xgafv'?:
|
|
1769
|
+
'$.xgafv'?: '1' | '2';
|
|
1608
1770
|
/** OAuth access token. */
|
|
1609
1771
|
access_token?: string;
|
|
1610
1772
|
/** Data format for response. */
|
|
1611
|
-
alt?:
|
|
1773
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1612
1774
|
/** JSONP */
|
|
1613
1775
|
callback?: string;
|
|
1614
1776
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1616,7 +1778,15 @@ declare namespace gapi.client {
|
|
|
1616
1778
|
/** 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. If force is set to true, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1617
1779
|
force?: boolean;
|
|
1618
1780
|
/** 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. If force_only is specified, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1619
|
-
forceOnly?:
|
|
1781
|
+
forceOnly?:
|
|
1782
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1783
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1784
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1785
|
+
| (
|
|
1786
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1787
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1788
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1789
|
+
)[];
|
|
1620
1790
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1621
1791
|
key?: string;
|
|
1622
1792
|
/** 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` */
|
|
@@ -1635,11 +1805,11 @@ declare namespace gapi.client {
|
|
|
1635
1805
|
/** Lists all consumer overrides on this limit. */
|
|
1636
1806
|
list(request?: {
|
|
1637
1807
|
/** V1 error format. */
|
|
1638
|
-
'$.xgafv'?:
|
|
1808
|
+
'$.xgafv'?: '1' | '2';
|
|
1639
1809
|
/** OAuth access token. */
|
|
1640
1810
|
access_token?: string;
|
|
1641
1811
|
/** Data format for response. */
|
|
1642
|
-
alt?:
|
|
1812
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1643
1813
|
/** JSONP */
|
|
1644
1814
|
callback?: string;
|
|
1645
1815
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1666,11 +1836,11 @@ declare namespace gapi.client {
|
|
|
1666
1836
|
/** Updates a consumer override. */
|
|
1667
1837
|
patch(request: {
|
|
1668
1838
|
/** V1 error format. */
|
|
1669
|
-
'$.xgafv'?:
|
|
1839
|
+
'$.xgafv'?: '1' | '2';
|
|
1670
1840
|
/** OAuth access token. */
|
|
1671
1841
|
access_token?: string;
|
|
1672
1842
|
/** Data format for response. */
|
|
1673
|
-
alt?:
|
|
1843
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1674
1844
|
/** JSONP */
|
|
1675
1845
|
callback?: string;
|
|
1676
1846
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1678,7 +1848,15 @@ declare namespace gapi.client {
|
|
|
1678
1848
|
/** 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. If force is set to true, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1679
1849
|
force?: boolean;
|
|
1680
1850
|
/** 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. If force_only is specified, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1681
|
-
forceOnly?:
|
|
1851
|
+
forceOnly?:
|
|
1852
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1853
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1854
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1855
|
+
| (
|
|
1856
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1857
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1858
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1859
|
+
)[];
|
|
1682
1860
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1683
1861
|
key?: string;
|
|
1684
1862
|
/** 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` */
|
|
@@ -1701,11 +1879,11 @@ declare namespace gapi.client {
|
|
|
1701
1879
|
patch(
|
|
1702
1880
|
request: {
|
|
1703
1881
|
/** V1 error format. */
|
|
1704
|
-
'$.xgafv'?:
|
|
1882
|
+
'$.xgafv'?: '1' | '2';
|
|
1705
1883
|
/** OAuth access token. */
|
|
1706
1884
|
access_token?: string;
|
|
1707
1885
|
/** Data format for response. */
|
|
1708
|
-
alt?:
|
|
1886
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1709
1887
|
/** JSONP */
|
|
1710
1888
|
callback?: string;
|
|
1711
1889
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1713,7 +1891,15 @@ declare namespace gapi.client {
|
|
|
1713
1891
|
/** 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. If force is set to true, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1714
1892
|
force?: boolean;
|
|
1715
1893
|
/** 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. If force_only is specified, it is recommended to include a case id in "X-Goog-Request-Reason" header when sending the request. */
|
|
1716
|
-
forceOnly?:
|
|
1894
|
+
forceOnly?:
|
|
1895
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1896
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1897
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1898
|
+
| (
|
|
1899
|
+
| 'QUOTA_SAFETY_CHECK_UNSPECIFIED'
|
|
1900
|
+
| 'LIMIT_DECREASE_BELOW_USAGE'
|
|
1901
|
+
| 'LIMIT_DECREASE_PERCENTAGE_TOO_HIGH'
|
|
1902
|
+
)[];
|
|
1717
1903
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1718
1904
|
key?: string;
|
|
1719
1905
|
/** 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` */
|
|
@@ -1738,11 +1924,11 @@ declare namespace gapi.client {
|
|
|
1738
1924
|
/** Retrieves a summary of quota information for a specific quota limit. */
|
|
1739
1925
|
get(request?: {
|
|
1740
1926
|
/** V1 error format. */
|
|
1741
|
-
'$.xgafv'?:
|
|
1927
|
+
'$.xgafv'?: '1' | '2';
|
|
1742
1928
|
/** OAuth access token. */
|
|
1743
1929
|
access_token?: string;
|
|
1744
1930
|
/** Data format for response. */
|
|
1745
|
-
alt?:
|
|
1931
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1746
1932
|
/** JSONP */
|
|
1747
1933
|
callback?: string;
|
|
1748
1934
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1762,7 +1948,7 @@ declare namespace gapi.client {
|
|
|
1762
1948
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1763
1949
|
uploadType?: string;
|
|
1764
1950
|
/** Specifies the level of detail for quota information in the response. */
|
|
1765
|
-
view?:
|
|
1951
|
+
view?: 'QUOTA_VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
|
|
1766
1952
|
}): Request<ConsumerQuotaLimit>;
|
|
1767
1953
|
adminOverrides: AdminOverridesResource;
|
|
1768
1954
|
consumerOverrides: ConsumerOverridesResource;
|
|
@@ -1771,11 +1957,11 @@ declare namespace gapi.client {
|
|
|
1771
1957
|
/** Retrieves a summary of quota information for a specific quota metric */
|
|
1772
1958
|
get(request?: {
|
|
1773
1959
|
/** V1 error format. */
|
|
1774
|
-
'$.xgafv'?:
|
|
1960
|
+
'$.xgafv'?: '1' | '2';
|
|
1775
1961
|
/** OAuth access token. */
|
|
1776
1962
|
access_token?: string;
|
|
1777
1963
|
/** Data format for response. */
|
|
1778
|
-
alt?:
|
|
1964
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1779
1965
|
/** JSONP */
|
|
1780
1966
|
callback?: string;
|
|
1781
1967
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1795,16 +1981,16 @@ declare namespace gapi.client {
|
|
|
1795
1981
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1796
1982
|
uploadType?: string;
|
|
1797
1983
|
/** Specifies the level of detail for quota information in the response. */
|
|
1798
|
-
view?:
|
|
1984
|
+
view?: 'QUOTA_VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
|
|
1799
1985
|
}): Request<ConsumerQuotaMetric>;
|
|
1800
1986
|
/** Creates or updates multiple admin overrides atomically, all on the same consumer, but on many different metrics or limits. The name field in the quota override message should not be set. */
|
|
1801
1987
|
importAdminOverrides(request: {
|
|
1802
1988
|
/** V1 error format. */
|
|
1803
|
-
'$.xgafv'?:
|
|
1989
|
+
'$.xgafv'?: '1' | '2';
|
|
1804
1990
|
/** OAuth access token. */
|
|
1805
1991
|
access_token?: string;
|
|
1806
1992
|
/** Data format for response. */
|
|
1807
|
-
alt?:
|
|
1993
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1808
1994
|
/** JSONP */
|
|
1809
1995
|
callback?: string;
|
|
1810
1996
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1829,11 +2015,11 @@ declare namespace gapi.client {
|
|
|
1829
2015
|
importAdminOverrides(
|
|
1830
2016
|
request: {
|
|
1831
2017
|
/** V1 error format. */
|
|
1832
|
-
'$.xgafv'?:
|
|
2018
|
+
'$.xgafv'?: '1' | '2';
|
|
1833
2019
|
/** OAuth access token. */
|
|
1834
2020
|
access_token?: string;
|
|
1835
2021
|
/** Data format for response. */
|
|
1836
|
-
alt?:
|
|
2022
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1837
2023
|
/** JSONP */
|
|
1838
2024
|
callback?: string;
|
|
1839
2025
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1858,11 +2044,11 @@ declare namespace gapi.client {
|
|
|
1858
2044
|
/** Creates or updates multiple consumer overrides atomically, all on the same consumer, but on many different metrics or limits. The name field in the quota override message should not be set. */
|
|
1859
2045
|
importConsumerOverrides(request: {
|
|
1860
2046
|
/** V1 error format. */
|
|
1861
|
-
'$.xgafv'?:
|
|
2047
|
+
'$.xgafv'?: '1' | '2';
|
|
1862
2048
|
/** OAuth access token. */
|
|
1863
2049
|
access_token?: string;
|
|
1864
2050
|
/** Data format for response. */
|
|
1865
|
-
alt?:
|
|
2051
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1866
2052
|
/** JSONP */
|
|
1867
2053
|
callback?: string;
|
|
1868
2054
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1887,11 +2073,11 @@ declare namespace gapi.client {
|
|
|
1887
2073
|
importConsumerOverrides(
|
|
1888
2074
|
request: {
|
|
1889
2075
|
/** V1 error format. */
|
|
1890
|
-
'$.xgafv'?:
|
|
2076
|
+
'$.xgafv'?: '1' | '2';
|
|
1891
2077
|
/** OAuth access token. */
|
|
1892
2078
|
access_token?: string;
|
|
1893
2079
|
/** Data format for response. */
|
|
1894
|
-
alt?:
|
|
2080
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1895
2081
|
/** JSONP */
|
|
1896
2082
|
callback?: string;
|
|
1897
2083
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1916,11 +2102,11 @@ declare namespace gapi.client {
|
|
|
1916
2102
|
/** Retrieves a summary of all quota information visible to the service consumer, organized by service metric. Each metric includes information about all of its defined limits. Each limit includes the limit configuration (quota unit, preciseness, default value), the current effective limit value, and all of the overrides applied to the limit. */
|
|
1917
2103
|
list(request?: {
|
|
1918
2104
|
/** V1 error format. */
|
|
1919
|
-
'$.xgafv'?:
|
|
2105
|
+
'$.xgafv'?: '1' | '2';
|
|
1920
2106
|
/** OAuth access token. */
|
|
1921
2107
|
access_token?: string;
|
|
1922
2108
|
/** Data format for response. */
|
|
1923
|
-
alt?:
|
|
2109
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1924
2110
|
/** JSONP */
|
|
1925
2111
|
callback?: string;
|
|
1926
2112
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1944,7 +2130,7 @@ declare namespace gapi.client {
|
|
|
1944
2130
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1945
2131
|
uploadType?: string;
|
|
1946
2132
|
/** Specifies the level of detail for quota information in the response. */
|
|
1947
|
-
view?:
|
|
2133
|
+
view?: 'QUOTA_VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
|
|
1948
2134
|
}): Request<ListConsumerQuotaMetricsResponse>;
|
|
1949
2135
|
limits: LimitsResource;
|
|
1950
2136
|
}
|
|
@@ -1952,11 +2138,11 @@ declare namespace gapi.client {
|
|
|
1952
2138
|
/** Enables multiple services on a project. The operation is atomic: if enabling any service fails, then the entire batch fails, and no state changes occur. Operation response type: `google.protobuf.Empty` */
|
|
1953
2139
|
batchEnable(request: {
|
|
1954
2140
|
/** V1 error format. */
|
|
1955
|
-
'$.xgafv'?:
|
|
2141
|
+
'$.xgafv'?: '1' | '2';
|
|
1956
2142
|
/** OAuth access token. */
|
|
1957
2143
|
access_token?: string;
|
|
1958
2144
|
/** Data format for response. */
|
|
1959
|
-
alt?:
|
|
2145
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1960
2146
|
/** JSONP */
|
|
1961
2147
|
callback?: string;
|
|
1962
2148
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1981,11 +2167,11 @@ declare namespace gapi.client {
|
|
|
1981
2167
|
batchEnable(
|
|
1982
2168
|
request: {
|
|
1983
2169
|
/** V1 error format. */
|
|
1984
|
-
'$.xgafv'?:
|
|
2170
|
+
'$.xgafv'?: '1' | '2';
|
|
1985
2171
|
/** OAuth access token. */
|
|
1986
2172
|
access_token?: string;
|
|
1987
2173
|
/** Data format for response. */
|
|
1988
|
-
alt?:
|
|
2174
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1989
2175
|
/** JSONP */
|
|
1990
2176
|
callback?: string;
|
|
1991
2177
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2010,11 +2196,11 @@ declare namespace gapi.client {
|
|
|
2010
2196
|
/** Disables a service so that it can no longer be used with a project. This prevents unintended usage that may cause unexpected billing charges or security leaks. It is not valid to call the disable method on a service that is not currently enabled. Callers will receive a `FAILED_PRECONDITION` status if the target service is not currently enabled. Operation response type: `google.protobuf.Empty` */
|
|
2011
2197
|
disable(request: {
|
|
2012
2198
|
/** V1 error format. */
|
|
2013
|
-
'$.xgafv'?:
|
|
2199
|
+
'$.xgafv'?: '1' | '2';
|
|
2014
2200
|
/** OAuth access token. */
|
|
2015
2201
|
access_token?: string;
|
|
2016
2202
|
/** Data format for response. */
|
|
2017
|
-
alt?:
|
|
2203
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2018
2204
|
/** JSONP */
|
|
2019
2205
|
callback?: string;
|
|
2020
2206
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2039,11 +2225,11 @@ declare namespace gapi.client {
|
|
|
2039
2225
|
disable(
|
|
2040
2226
|
request: {
|
|
2041
2227
|
/** V1 error format. */
|
|
2042
|
-
'$.xgafv'?:
|
|
2228
|
+
'$.xgafv'?: '1' | '2';
|
|
2043
2229
|
/** OAuth access token. */
|
|
2044
2230
|
access_token?: string;
|
|
2045
2231
|
/** Data format for response. */
|
|
2046
|
-
alt?:
|
|
2232
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2047
2233
|
/** JSONP */
|
|
2048
2234
|
callback?: string;
|
|
2049
2235
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2068,11 +2254,11 @@ declare namespace gapi.client {
|
|
|
2068
2254
|
/** Enables a service so that it can be used with a project. Operation response type: `google.protobuf.Empty` */
|
|
2069
2255
|
enable(request: {
|
|
2070
2256
|
/** V1 error format. */
|
|
2071
|
-
'$.xgafv'?:
|
|
2257
|
+
'$.xgafv'?: '1' | '2';
|
|
2072
2258
|
/** OAuth access token. */
|
|
2073
2259
|
access_token?: string;
|
|
2074
2260
|
/** Data format for response. */
|
|
2075
|
-
alt?:
|
|
2261
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2076
2262
|
/** JSONP */
|
|
2077
2263
|
callback?: string;
|
|
2078
2264
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2097,11 +2283,11 @@ declare namespace gapi.client {
|
|
|
2097
2283
|
enable(
|
|
2098
2284
|
request: {
|
|
2099
2285
|
/** V1 error format. */
|
|
2100
|
-
'$.xgafv'?:
|
|
2286
|
+
'$.xgafv'?: '1' | '2';
|
|
2101
2287
|
/** OAuth access token. */
|
|
2102
2288
|
access_token?: string;
|
|
2103
2289
|
/** Data format for response. */
|
|
2104
|
-
alt?:
|
|
2290
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2105
2291
|
/** JSONP */
|
|
2106
2292
|
callback?: string;
|
|
2107
2293
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2126,11 +2312,11 @@ declare namespace gapi.client {
|
|
|
2126
2312
|
/** Generates service identity for service. */
|
|
2127
2313
|
generateServiceIdentity(request?: {
|
|
2128
2314
|
/** V1 error format. */
|
|
2129
|
-
'$.xgafv'?:
|
|
2315
|
+
'$.xgafv'?: '1' | '2';
|
|
2130
2316
|
/** OAuth access token. */
|
|
2131
2317
|
access_token?: string;
|
|
2132
2318
|
/** Data format for response. */
|
|
2133
|
-
alt?:
|
|
2319
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2134
2320
|
/** JSONP */
|
|
2135
2321
|
callback?: string;
|
|
2136
2322
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2153,11 +2339,11 @@ declare namespace gapi.client {
|
|
|
2153
2339
|
/** Returns the service configuration and enabled state for a given service. */
|
|
2154
2340
|
get(request?: {
|
|
2155
2341
|
/** V1 error format. */
|
|
2156
|
-
'$.xgafv'?:
|
|
2342
|
+
'$.xgafv'?: '1' | '2';
|
|
2157
2343
|
/** OAuth access token. */
|
|
2158
2344
|
access_token?: string;
|
|
2159
2345
|
/** Data format for response. */
|
|
2160
|
-
alt?:
|
|
2346
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2161
2347
|
/** JSONP */
|
|
2162
2348
|
callback?: string;
|
|
2163
2349
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2180,11 +2366,11 @@ declare namespace gapi.client {
|
|
|
2180
2366
|
/** Lists all services available to the specified project, and the current state of those services with respect to the project. The list includes all public services, all services for which the calling user has the `servicemanagement.services.bind` permission, and all services that have already been enabled on the project. The list can be filtered to only include services in a specific state, for example to only include services enabled on the project. */
|
|
2181
2367
|
list(request?: {
|
|
2182
2368
|
/** V1 error format. */
|
|
2183
|
-
'$.xgafv'?:
|
|
2369
|
+
'$.xgafv'?: '1' | '2';
|
|
2184
2370
|
/** OAuth access token. */
|
|
2185
2371
|
access_token?: string;
|
|
2186
2372
|
/** Data format for response. */
|
|
2187
|
-
alt?:
|
|
2373
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2188
2374
|
/** JSONP */
|
|
2189
2375
|
callback?: string;
|
|
2190
2376
|
/** Selector specifying which fields to include in a partial response. */
|