@maxim_mazurok/gapi.client.monitoring-v3 0.1.20260310 → 0.2.20260528

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.
Files changed (3) hide show
  1. package/index.d.ts +621 -218
  2. package/package.json +1 -1
  3. package/readme.md +12 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://monitoring.googleapis.com/$discovery/rest?version=v3
12
- // Revision: 20260310
12
+ // Revision: 20260528
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -28,11 +28,44 @@ declare namespace gapi.client {
28
28
  /** The alignment_period specifies a time interval, in seconds, that is used to divide the data in all the time series into consistent blocks of time. This will be done before the per-series aligner can be applied to the data.The value must be at least 60 seconds. If a per-series aligner other than ALIGN_NONE is specified, this field is required or an error is returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is specified, then this field is ignored.The maximum value of the alignment_period is 104 weeks (2 years) for charts, and 90,000 seconds (25 hours) for alerting policies. */
29
29
  alignmentPeriod?: string;
30
30
  /** The reduction operation to be used to combine time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.Not all reducer operations can be applied to all time series. The valid choices depend on the metric_kind and the value_type of the original time series. Reduction can yield a time series with a different metric_kind or value_type than the input time series.Time series data must first be aligned (see per_series_aligner) in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified, and must not be ALIGN_NONE. An alignment_period must also be specified; otherwise, an error is returned. */
31
- crossSeriesReducer?: string;
31
+ crossSeriesReducer?:
32
+ | 'REDUCE_NONE'
33
+ | 'REDUCE_MEAN'
34
+ | 'REDUCE_MIN'
35
+ | 'REDUCE_MAX'
36
+ | 'REDUCE_SUM'
37
+ | 'REDUCE_STDDEV'
38
+ | 'REDUCE_COUNT'
39
+ | 'REDUCE_COUNT_TRUE'
40
+ | 'REDUCE_COUNT_FALSE'
41
+ | 'REDUCE_FRACTION_TRUE'
42
+ | 'REDUCE_PERCENTILE_99'
43
+ | 'REDUCE_PERCENTILE_95'
44
+ | 'REDUCE_PERCENTILE_50'
45
+ | 'REDUCE_PERCENTILE_05';
32
46
  /** The set of fields to preserve when cross_series_reducer is specified. The group_by_fields determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The cross_series_reducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in group_by_fields are aggregated away. If group_by_fields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If cross_series_reducer is not defined, this field is ignored. */
33
47
  groupByFields?: string[];
34
48
  /** An Aligner describes how to bring the data points in a single time series into temporal alignment. Except for ALIGN_NONE, all alignments cause all the data points in an alignment_period to be mathematically grouped together, resulting in a single data point for each alignment_period with end timestamp at the end of the period.Not all alignment operations may be applied to all time series. The valid choices depend on the metric_kind and value_type of the original time series. Alignment can change the metric_kind or the value_type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified and not equal to ALIGN_NONE and alignment_period must be specified; otherwise, an error is returned. */
35
- perSeriesAligner?: string;
49
+ perSeriesAligner?:
50
+ | 'ALIGN_NONE'
51
+ | 'ALIGN_DELTA'
52
+ | 'ALIGN_RATE'
53
+ | 'ALIGN_INTERPOLATE'
54
+ | 'ALIGN_NEXT_OLDER'
55
+ | 'ALIGN_MIN'
56
+ | 'ALIGN_MAX'
57
+ | 'ALIGN_MEAN'
58
+ | 'ALIGN_COUNT'
59
+ | 'ALIGN_SUM'
60
+ | 'ALIGN_STDDEV'
61
+ | 'ALIGN_COUNT_TRUE'
62
+ | 'ALIGN_COUNT_FALSE'
63
+ | 'ALIGN_FRACTION_TRUE'
64
+ | 'ALIGN_PERCENTILE_99'
65
+ | 'ALIGN_PERCENTILE_95'
66
+ | 'ALIGN_PERCENTILE_50'
67
+ | 'ALIGN_PERCENTILE_05'
68
+ | 'ALIGN_PERCENT_CHANGE';
36
69
  }
37
70
  interface Alert {
38
71
  /** The time when the alert was closed. */
@@ -52,13 +85,17 @@ declare namespace gapi.client {
52
85
  /** The monitored resource type and any monitored resource labels preserved from the incident's generating condition. */
53
86
  resource?: MonitoredResource;
54
87
  /** Output only. The current state of the alert. */
55
- state?: string;
88
+ state?: 'STATE_UNSPECIFIED' | 'OPEN' | 'CLOSED';
56
89
  }
57
90
  interface AlertPolicy {
58
91
  /** Control over how this alerting policy's notification channels are notified. */
59
92
  alertStrategy?: AlertStrategy;
60
93
  /** How to combine the results of multiple conditions to determine if an incident should be opened. If condition_time_series_query_language is present, this must be COMBINE_UNSPECIFIED. */
61
- combiner?: string;
94
+ combiner?:
95
+ | 'COMBINE_UNSPECIFIED'
96
+ | 'AND'
97
+ | 'OR'
98
+ | 'AND_WITH_MATCHING_RESOURCE';
62
99
  /** A list of conditions for the policy. The conditions are combined by AND or OR according to the combiner field. If the combined conditions evaluate to true, then an incident is created. A policy can have from one to six conditions. If condition_time_series_query_language is present, it must be the only condition. If condition_monitoring_query_language is present, it must be the only condition. */
63
100
  conditions?: Condition[];
64
101
  /** A read-only record of the creation of the alerting policy. If provided in a call to create or update, this field will be ignored. */
@@ -76,7 +113,7 @@ declare namespace gapi.client {
76
113
  /** Identifies the notification channels to which notifications should be sent when incidents are opened or closed or when new violations occur on an already opened incident. Each element of this array corresponds to the name field in each of the NotificationChannel objects that are returned from the ListNotificationChannels method. The format of the entries in this field is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] */
77
114
  notificationChannels?: string[];
78
115
  /** Optional. The severity of an alerting policy indicates how important incidents generated by that policy are. The severity level will be displayed on the Incident detail page and in notifications. */
79
- severity?: string;
116
+ severity?: 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'ERROR' | 'WARNING';
80
117
  /** User-supplied key/value data to be used for organizing and identifying the AlertPolicy objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.Note that Prometheus {alert name} is a valid Prometheus label names (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels), whereas Prometheus {rule group} is an unrestricted UTF-8 string. This means that they cannot be stored as-is in user labels, because they may contain characters that are not allowed in user-label values. */
81
118
  userLabels?: {[P in string]: string};
82
119
  /** Read-only description of how the alerting policy is invalid. This field is only set when the alerting policy is invalid. An invalid alerting policy will not generate incidents. */
@@ -88,7 +125,10 @@ declare namespace gapi.client {
88
125
  /** Control how notifications will be sent out, on a per-channel basis. */
89
126
  notificationChannelStrategy?: NotificationChannelStrategy[];
90
127
  /** For log-based alert policies, the notification prompts is always OPENED. For non log-based alert policies, the notification prompts can be OPENED or OPENED, CLOSED. */
91
- notificationPrompts?: string[];
128
+ notificationPrompts?:
129
+ | 'NOTIFICATION_PROMPT_UNSPECIFIED'
130
+ | 'OPENED'
131
+ | 'CLOSED'[];
92
132
  /** Required for log-based alerting policies, i.e. policies with a LogMatch condition.This limit is not implemented for alerting policies that do not have a LogMatch condition. */
93
133
  notificationRateLimit?: NotificationRateLimit;
94
134
  }
@@ -189,7 +229,12 @@ declare namespace gapi.client {
189
229
  /** The data source for the collectd value. For example, there are two data sources for network measurements: "rx" and "tx". */
190
230
  dataSourceName?: string;
191
231
  /** The type of measurement. */
192
- dataSourceType?: string;
232
+ dataSourceType?:
233
+ | 'UNSPECIFIED_DATA_SOURCE_TYPE'
234
+ | 'GAUGE'
235
+ | 'COUNTER'
236
+ | 'DERIVE'
237
+ | 'ABSOLUTE';
193
238
  /** The measurement value. */
194
239
  value?: TypedValue;
195
240
  }
@@ -223,7 +268,14 @@ declare namespace gapi.client {
223
268
  /** Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH */
224
269
  jsonPathMatcher?: JsonPathMatcher;
225
270
  /** The type of content matcher that will be applied to the server output, compared to the content string when the check is run. */
226
- matcher?: string;
271
+ matcher?:
272
+ | 'CONTENT_MATCHER_OPTION_UNSPECIFIED'
273
+ | 'CONTAINS_STRING'
274
+ | 'NOT_CONTAINS_STRING'
275
+ | 'MATCHES_REGEX'
276
+ | 'NOT_MATCHES_REGEX'
277
+ | 'MATCHES_JSON_PATH'
278
+ | 'NOT_MATCHES_JSON_PATH';
227
279
  }
228
280
  interface CreateCollectdTimeSeriesRequest {
229
281
  /** The collectd payloads representing the time series data. You must not include more than a single point for each time series, so no two payloads can have the same values for all of the fields plugin, plugin_instance, type, and type_instance. */
@@ -309,7 +361,7 @@ declare namespace gapi.client {
309
361
  }
310
362
  interface Exemplar {
311
363
  /** Contextual information about the example value. Examples are:Trace: type.googleapis.com/google.monitoring.v3.SpanContextLiteral string: type.googleapis.com/google.protobuf.StringValueLabels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabelsThere may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system. */
312
- attachments?: Array<{[P in string]: any}>;
364
+ attachments?: {[P in string]: any}[];
313
365
  /** The observation (sampling) time of the above value. */
314
366
  timestamp?: string;
315
367
  /** Value of the exemplar point. This value determines to which bucket the exemplar belongs. */
@@ -329,13 +381,36 @@ declare namespace gapi.client {
329
381
  }
330
382
  interface Field {
331
383
  /** The field cardinality. */
332
- cardinality?: string;
384
+ cardinality?:
385
+ | 'CARDINALITY_UNKNOWN'
386
+ | 'CARDINALITY_OPTIONAL'
387
+ | 'CARDINALITY_REQUIRED'
388
+ | 'CARDINALITY_REPEATED';
333
389
  /** The string value of the default value of this field. Proto2 syntax only. */
334
390
  defaultValue?: string;
335
391
  /** The field JSON name. */
336
392
  jsonName?: string;
337
393
  /** The field type. */
338
- kind?: string;
394
+ kind?:
395
+ | 'TYPE_UNKNOWN'
396
+ | 'TYPE_DOUBLE'
397
+ | 'TYPE_FLOAT'
398
+ | 'TYPE_INT64'
399
+ | 'TYPE_UINT64'
400
+ | 'TYPE_INT32'
401
+ | 'TYPE_FIXED64'
402
+ | 'TYPE_FIXED32'
403
+ | 'TYPE_BOOL'
404
+ | 'TYPE_STRING'
405
+ | 'TYPE_GROUP'
406
+ | 'TYPE_MESSAGE'
407
+ | 'TYPE_BYTES'
408
+ | 'TYPE_UINT32'
409
+ | 'TYPE_ENUM'
410
+ | 'TYPE_SFIXED32'
411
+ | 'TYPE_SFIXED64'
412
+ | 'TYPE_SINT32'
413
+ | 'TYPE_SINT64';
339
414
  /** The field name. */
340
415
  name?: string;
341
416
  /** The field number. */
@@ -431,7 +506,7 @@ declare namespace gapi.client {
431
506
  /** The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type. */
432
507
  body?: string;
433
508
  /** The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead. */
434
- contentType?: string;
509
+ contentType?: 'TYPE_UNSPECIFIED' | 'URL_ENCODED' | 'USER_PROVIDED';
435
510
  /** A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set. */
436
511
  customContentType?: string;
437
512
  /** The list of headers to send as part of the Uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100. */
@@ -445,7 +520,7 @@ declare namespace gapi.client {
445
520
  /** Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL. */
446
521
  port?: number;
447
522
  /** The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET. */
448
- requestMethod?: string;
523
+ requestMethod?: 'METHOD_UNSPECIFIED' | 'GET' | 'POST';
449
524
  /** If specified, Uptime will generate and attach an OIDC JWT token for the Monitoring service agent service account as an Authorization header in the HTTP request when probing. */
450
525
  serviceAgentAuthentication?: ServiceAgentAuthentication;
451
526
  /** If true, use HTTPS instead of HTTP to run the check. */
@@ -465,7 +540,7 @@ declare namespace gapi.client {
465
540
  /** The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project. */
466
541
  peerProjectId?: string;
467
542
  /** The current operational state of the internal checker. */
468
- state?: string;
543
+ state?: 'UNSPECIFIED' | 'CREATING' | 'RUNNING';
469
544
  }
470
545
  interface IstioCanonicalService {
471
546
  /** The name of the canonical service underlying this service. Corresponds to the destination_canonical_service_name metric label in label in Istio metrics (https://cloud.google.com/monitoring/api/metrics_istio). */
@@ -477,7 +552,10 @@ declare namespace gapi.client {
477
552
  }
478
553
  interface JsonPathMatcher {
479
554
  /** The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content) */
480
- jsonMatcher?: string;
555
+ jsonMatcher?:
556
+ | 'JSON_PATH_MATCHER_OPTION_UNSPECIFIED'
557
+ | 'EXACT_MATCH'
558
+ | 'REGEX_MATCH';
481
559
  /** JSONPath within the response output pointing to the expected ContentMatcher::content to match against. */
482
560
  jsonPath?: string;
483
561
  }
@@ -487,7 +565,7 @@ declare namespace gapi.client {
487
565
  /** The key for this label. The key must meet the following criteria: Does not exceed 100 characters. Matches the following regular expression: [a-zA-Z][a-zA-Z0-9_]* The first character must be an upper- or lower-case letter. The remaining characters must be letters, digits, or underscores. */
488
566
  key?: string;
489
567
  /** The type of data that can be assigned to the label. */
490
- valueType?: string;
568
+ valueType?: 'STRING' | 'BOOL' | 'INT64';
491
569
  }
492
570
  interface LabelValue {
493
571
  /** A bool label value. */
@@ -657,11 +735,19 @@ declare namespace gapi.client {
657
735
  /** 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. */
658
736
  labels?: LabelDescriptor[];
659
737
  /** Optional. The launch stage of the metric definition. */
660
- launchStage?: string;
738
+ launchStage?:
739
+ | 'LAUNCH_STAGE_UNSPECIFIED'
740
+ | 'UNIMPLEMENTED'
741
+ | 'PRELAUNCH'
742
+ | 'EARLY_ACCESS'
743
+ | 'ALPHA'
744
+ | 'BETA'
745
+ | 'GA'
746
+ | 'DEPRECATED';
661
747
  /** Optional. Metadata which can be used to guide usage of the metric. */
662
748
  metadata?: MetricDescriptorMetadata;
663
749
  /** Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported. */
664
- metricKind?: string;
750
+ metricKind?: 'METRIC_KIND_UNSPECIFIED' | 'GAUGE' | 'DELTA' | 'CUMULATIVE';
665
751
  /** 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. */
666
752
  monitoredResourceTypes?: string[];
667
753
  /** The resource name of the metric descriptor. */
@@ -671,17 +757,36 @@ declare namespace gapi.client {
671
757
  /** 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 dimensionlessPrefixes (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)GrammarThe 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"). */
672
758
  unit?: string;
673
759
  /** Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported. */
674
- valueType?: string;
760
+ valueType?:
761
+ | 'VALUE_TYPE_UNSPECIFIED'
762
+ | 'BOOL'
763
+ | 'INT64'
764
+ | 'DOUBLE'
765
+ | 'STRING'
766
+ | 'DISTRIBUTION'
767
+ | 'MONEY';
675
768
  }
676
769
  interface MetricDescriptorMetadata {
677
770
  /** 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. */
678
771
  ingestDelay?: string;
679
772
  /** Deprecated. Must use the MetricDescriptor.launch_stage instead. */
680
- launchStage?: string;
773
+ launchStage?:
774
+ | 'LAUNCH_STAGE_UNSPECIFIED'
775
+ | 'UNIMPLEMENTED'
776
+ | 'PRELAUNCH'
777
+ | 'EARLY_ACCESS'
778
+ | 'ALPHA'
779
+ | 'BETA'
780
+ | 'GA'
781
+ | 'DEPRECATED';
681
782
  /** 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. */
682
783
  samplePeriod?: string;
683
784
  /** The scope of the timeseries data of the metric. */
684
- timeSeriesResourceHierarchyLevel?: string[];
785
+ timeSeriesResourceHierarchyLevel?:
786
+ | 'TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED'
787
+ | 'PROJECT'
788
+ | 'ORGANIZATION'
789
+ | 'FOLDER'[];
685
790
  }
686
791
  interface MetricRange {
687
792
  /** Range of values considered "good." For a one-sided range, set one bound to an infinite value. */
@@ -693,7 +798,14 @@ declare namespace gapi.client {
693
798
  /** Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources). Multiple aggregations are applied in the order specified.This field is similar to the one in the ListTimeSeries request (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the ListTimeSeries method when debugging this field. */
694
799
  aggregations?: Aggregation[];
695
800
  /** The comparison to apply between the time series (indicated by filter and aggregation) and the threshold (indicated by threshold_value). The comparison is applied on each time series, with the time series on the left-hand side and the threshold on the right-hand side.Only COMPARISON_LT and COMPARISON_GT are supported currently. */
696
- comparison?: string;
801
+ comparison?:
802
+ | 'COMPARISON_UNSPECIFIED'
803
+ | 'COMPARISON_GT'
804
+ | 'COMPARISON_GE'
805
+ | 'COMPARISON_LT'
806
+ | 'COMPARISON_LE'
807
+ | 'COMPARISON_EQ'
808
+ | 'COMPARISON_NE';
697
809
  /** Specifies the alignment of data points in individual time series selected by denominatorFilter as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources).When computing ratios, the aggregations and denominator_aggregations fields must use the same alignment period and produce time series that have the same periodicity and labels. */
698
810
  denominatorAggregations?: Aggregation[];
699
811
  /** A filter (https://cloud.google.com/monitoring/api/v3/filters) that identifies a time series that should be used as the denominator of a ratio that will be compared with the threshold. If a denominator_filter is specified, the time series specified by the filter field will be used as the numerator.The filter must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length. */
@@ -701,7 +813,11 @@ declare namespace gapi.client {
701
813
  /** Required. The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly. */
702
814
  duration?: string;
703
815
  /** A condition control that determines how metric-threshold conditions are evaluated when data stops arriving. To use this control, the value of the duration field must be greater than or equal to 60 seconds. */
704
- evaluationMissingData?: string;
816
+ evaluationMissingData?:
817
+ | 'EVALUATION_MISSING_DATA_UNSPECIFIED'
818
+ | 'EVALUATION_MISSING_DATA_INACTIVE'
819
+ | 'EVALUATION_MISSING_DATA_ACTIVE'
820
+ | 'EVALUATION_MISSING_DATA_NO_OP';
705
821
  /** Required. A filter (https://cloud.google.com/monitoring/api/v3/filters) that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the ListTimeSeries request (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that call is useful to verify the time series that will be retrieved / processed). The filter must specify the metric type and the resource type. Optionally, it can specify resource labels and metric labels. This field must not exceed 2048 Unicode characters in length. */
706
822
  filter?: string;
707
823
  /** When this field is present, the MetricThreshold condition forecasts whether the time series is predicted to violate the threshold within the forecast_horizon. When this field is not set, the MetricThreshold tests the current value of the timeseries against the threshold. */
@@ -729,7 +845,15 @@ declare namespace gapi.client {
729
845
  /** 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". */
730
846
  labels?: LabelDescriptor[];
731
847
  /** Optional. The launch stage of the monitored resource definition. */
732
- launchStage?: string;
848
+ launchStage?:
849
+ | 'LAUNCH_STAGE_UNSPECIFIED'
850
+ | 'UNIMPLEMENTED'
851
+ | 'PRELAUNCH'
852
+ | 'EARLY_ACCESS'
853
+ | 'ALPHA'
854
+ | 'BETA'
855
+ | 'GA'
856
+ | 'DEPRECATED';
733
857
  /** 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}". */
734
858
  name?: string;
735
859
  /** 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). */
@@ -745,7 +869,11 @@ declare namespace gapi.client {
745
869
  /** Optional. The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly. The default value is zero. */
746
870
  duration?: string;
747
871
  /** A condition control that determines how metric-threshold conditions are evaluated when data stops arriving. */
748
- evaluationMissingData?: string;
872
+ evaluationMissingData?:
873
+ | 'EVALUATION_MISSING_DATA_UNSPECIFIED'
874
+ | 'EVALUATION_MISSING_DATA_INACTIVE'
875
+ | 'EVALUATION_MISSING_DATA_ACTIVE'
876
+ | 'EVALUATION_MISSING_DATA_NO_OP';
749
877
  /** Monitoring Query Language (https://cloud.google.com/monitoring/mql) query that outputs a boolean stream. */
750
878
  query?: string;
751
879
  /** The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominator_filter and denominator_aggregations are specified. */
@@ -777,7 +905,10 @@ declare namespace gapi.client {
777
905
  /** User-supplied key/value data that does not need to conform to the corresponding NotificationChannelDescriptor's schema, unlike the labels field. This field is intended to be used for organizing and identifying the NotificationChannel objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter. */
778
906
  userLabels?: {[P in string]: string};
779
907
  /** Indicates whether this channel has been verified or not. On a ListNotificationChannels or GetNotificationChannel operation, this field is expected to be populated.If the value is UNVERIFIED, then it indicates that the channel is non-functioning (it both requires verification and lacks verification); otherwise, it is assumed that the channel works.If the channel is neither VERIFIED nor UNVERIFIED, it implies that the channel is of a type that does not require verification or that this specific channel has been exempted from verification because it was created prior to verification being required for channels of this type.This field cannot be modified using a standard UpdateNotificationChannel operation. To change the value of this field, you must call VerifyNotificationChannel. */
780
- verificationStatus?: string;
908
+ verificationStatus?:
909
+ | 'VERIFICATION_STATUS_UNSPECIFIED'
910
+ | 'UNVERIFIED'
911
+ | 'VERIFIED';
781
912
  }
782
913
  interface NotificationChannelDescriptor {
783
914
  /** A human-readable description of the notification channel type. The description may include a description of the properties of the channel and pointers to external documentation. */
@@ -787,11 +918,22 @@ declare namespace gapi.client {
787
918
  /** The set of labels that must be defined to identify a particular channel of the corresponding type. Each label includes a description for how that field should be populated. */
788
919
  labels?: LabelDescriptor[];
789
920
  /** The product launch stage for channels of this type. */
790
- launchStage?: string;
921
+ launchStage?:
922
+ | 'LAUNCH_STAGE_UNSPECIFIED'
923
+ | 'UNIMPLEMENTED'
924
+ | 'PRELAUNCH'
925
+ | 'EARLY_ACCESS'
926
+ | 'ALPHA'
927
+ | 'BETA'
928
+ | 'GA'
929
+ | 'DEPRECATED';
791
930
  /** The full REST resource name for this descriptor. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE] In the above, [TYPE] is the value of the type field. */
792
931
  name?: string;
793
932
  /** The tiers that support this notification channel; the project service tier must be one of the supported_tiers. */
794
- supportedTiers?: string[];
933
+ supportedTiers?:
934
+ | 'SERVICE_TIER_UNSPECIFIED'
935
+ | 'SERVICE_TIER_BASIC'
936
+ | 'SERVICE_TIER_PREMIUM'[];
795
937
  /** The type of notification channel, such as "email" and "sms". To view the full list of channels, see Channel descriptors (https://cloud.google.com/monitoring/alerts/using-channels-api#ncd). Notification channel types are globally unique. */
796
938
  type?: string;
797
939
  }
@@ -809,7 +951,12 @@ declare namespace gapi.client {
809
951
  /** The time when the batch request was received. */
810
952
  createTime?: string;
811
953
  /** Current state of the batch operation. */
812
- state?: string;
954
+ state?:
955
+ | 'STATE_UNSPECIFIED'
956
+ | 'CREATED'
957
+ | 'RUNNING'
958
+ | 'DONE'
959
+ | 'CANCELLED';
813
960
  /** The time when the operation result was last updated. */
814
961
  updateTime?: string;
815
962
  }
@@ -849,7 +996,7 @@ declare namespace gapi.client {
849
996
  /** The name of the alert policy resource. In the form of "projects/PROJECT_ID_OR_NUMBER/alertPolicies/ALERT_POLICY_ID". */
850
997
  name?: string;
851
998
  /** The severity of the alert policy. */
852
- severity?: string;
999
+ severity?: 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'ERROR' | 'WARNING';
853
1000
  /** The user labels for the alert policy. */
854
1001
  userLabels?: {[P in string]: string};
855
1002
  }
@@ -903,17 +1050,34 @@ declare namespace gapi.client {
903
1050
  /** The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]. */
904
1051
  groupId?: string;
905
1052
  /** The resource type of the group members. */
906
- resourceType?: string;
1053
+ resourceType?:
1054
+ | 'RESOURCE_TYPE_UNSPECIFIED'
1055
+ | 'INSTANCE'
1056
+ | 'AWS_ELB_LOAD_BALANCER';
907
1057
  }
908
1058
  interface ResponseStatusCode {
909
1059
  /** A class of status codes to accept. */
910
- statusClass?: string;
1060
+ statusClass?:
1061
+ | 'STATUS_CLASS_UNSPECIFIED'
1062
+ | 'STATUS_CLASS_1XX'
1063
+ | 'STATUS_CLASS_2XX'
1064
+ | 'STATUS_CLASS_3XX'
1065
+ | 'STATUS_CLASS_4XX'
1066
+ | 'STATUS_CLASS_5XX'
1067
+ | 'STATUS_CLASS_ANY';
911
1068
  /** A status code to accept. */
912
1069
  statusValue?: number;
913
1070
  }
914
1071
  interface RowCountTest {
915
1072
  /** Required. The comparison to apply between the number of rows returned by the query and the threshold. */
916
- comparison?: string;
1073
+ comparison?:
1074
+ | 'COMPARISON_UNSPECIFIED'
1075
+ | 'COMPARISON_GT'
1076
+ | 'COMPARISON_GE'
1077
+ | 'COMPARISON_LT'
1078
+ | 'COMPARISON_LE'
1079
+ | 'COMPARISON_EQ'
1080
+ | 'COMPARISON_NE';
917
1081
  /** Required. The value against which to compare the row count. */
918
1082
  threshold?: string;
919
1083
  }
@@ -952,7 +1116,7 @@ declare namespace gapi.client {
952
1116
  }
953
1117
  interface ServiceAgentAuthentication {
954
1118
  /** Type of authentication. */
955
- type?: string;
1119
+ type?: 'SERVICE_AGENT_AUTHENTICATION_TYPE_UNSPECIFIED' | 'OIDC_TOKEN';
956
1120
  }
957
1121
  interface ServiceLevelIndicator {
958
1122
  /** Basic SLI on a well-known service type. */
@@ -964,7 +1128,15 @@ declare namespace gapi.client {
964
1128
  }
965
1129
  interface ServiceLevelObjective {
966
1130
  /** A calendar period, semantically "since the start of the current ". At this time, only DAY, WEEK, FORTNIGHT, and MONTH are supported. */
967
- calendarPeriod?: string;
1131
+ calendarPeriod?:
1132
+ | 'CALENDAR_PERIOD_UNSPECIFIED'
1133
+ | 'DAY'
1134
+ | 'WEEK'
1135
+ | 'FORTNIGHT'
1136
+ | 'MONTH'
1137
+ | 'QUARTER'
1138
+ | 'HALF'
1139
+ | 'YEAR';
968
1140
  /** Name used for UI elements listing this SLO. */
969
1141
  displayName?: string;
970
1142
  /** The fraction of service that must be good in order for this objective to be met. 0 < goal <= 0.9999. */
@@ -1014,7 +1186,7 @@ declare namespace gapi.client {
1014
1186
  /** The status code, which should be an enum value of google.rpc.Code. */
1015
1187
  code?: number;
1016
1188
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
1017
- details?: Array<{[P in string]: any}>;
1189
+ details?: {[P in string]: any}[];
1018
1190
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
1019
1191
  message?: string;
1020
1192
  }
@@ -1056,7 +1228,7 @@ declare namespace gapi.client {
1056
1228
  /** The associated metric. A fully-specified metric used to identify the time series. */
1057
1229
  metric?: Metric;
1058
1230
  /** The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either GAUGE (the default) or CUMULATIVE. */
1059
- metricKind?: string;
1231
+ metricKind?: 'METRIC_KIND_UNSPECIFIED' | 'GAUGE' | 'DELTA' | 'CUMULATIVE';
1060
1232
  /** The data points of this time series. When listing time series, points are returned in reverse time order.When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION. */
1061
1233
  points?: Point[];
1062
1234
  /** The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see Monitored resources for custom metrics (https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources). */
@@ -1064,7 +1236,14 @@ declare namespace gapi.client {
1064
1236
  /** 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. This field can only be changed through CreateTimeSeries when it is empty. */
1065
1237
  unit?: string;
1066
1238
  /** The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the type of the data in the points field. */
1067
- valueType?: string;
1239
+ valueType?:
1240
+ | 'VALUE_TYPE_UNSPECIFIED'
1241
+ | 'BOOL'
1242
+ | 'INT64'
1243
+ | 'DOUBLE'
1244
+ | 'STRING'
1245
+ | 'DISTRIBUTION'
1246
+ | 'MONEY';
1068
1247
  }
1069
1248
  interface TimeSeriesData {
1070
1249
  /** The values of the labels in the time series identifier, given in the same order as the label_descriptors field of the TimeSeriesDescriptor associated with this object. Each value must have a value of the type given in the corresponding entry of label_descriptors. */
@@ -1106,7 +1285,7 @@ declare namespace gapi.client {
1106
1285
  /** The source context. */
1107
1286
  sourceContext?: SourceContext;
1108
1287
  /** The source syntax. */
1109
- syntax?: string;
1288
+ syntax?: 'SYNTAX_PROTO2' | 'SYNTAX_PROTO3' | 'SYNTAX_EDITIONS';
1110
1289
  }
1111
1290
  interface TypedValue {
1112
1291
  /** A Boolean value: true or false. */
@@ -1122,7 +1301,10 @@ declare namespace gapi.client {
1122
1301
  }
1123
1302
  interface UptimeCheckConfig {
1124
1303
  /** The type of checkers to use to execute the Uptime check. */
1125
- checkerType?: string;
1304
+ checkerType?:
1305
+ | 'CHECKER_TYPE_UNSPECIFIED'
1306
+ | 'STATIC_IP_CHECKERS'
1307
+ | 'VPC_CHECKERS';
1126
1308
  /** The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the content_matchers list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check. */
1127
1309
  contentMatchers?: ContentMatcher[];
1128
1310
  /** Whether the check is disabled or not. */
@@ -1146,7 +1328,15 @@ declare namespace gapi.client {
1146
1328
  /** The group resource associated with the configuration. */
1147
1329
  resourceGroup?: ResourceGroup;
1148
1330
  /** The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions. */
1149
- selectedRegions?: string[];
1331
+ selectedRegions?:
1332
+ | 'REGION_UNSPECIFIED'
1333
+ | 'USA'
1334
+ | 'EUROPE'
1335
+ | 'SOUTH_AMERICA'
1336
+ | 'ASIA_PACIFIC'
1337
+ | 'USA_OREGON'
1338
+ | 'USA_IOWA'
1339
+ | 'USA_VIRGINIA'[];
1150
1340
  /** Specifies a Synthetic Monitor to invoke. */
1151
1341
  syntheticMonitor?: SyntheticMonitorTarget;
1152
1342
  /** Contains information needed to make a TCP check. */
@@ -1162,17 +1352,32 @@ declare namespace gapi.client {
1162
1352
  /** A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category. */
1163
1353
  location?: string;
1164
1354
  /** A broad region category in which the IP address is located. */
1165
- region?: string;
1355
+ region?:
1356
+ | 'REGION_UNSPECIFIED'
1357
+ | 'USA'
1358
+ | 'EUROPE'
1359
+ | 'SOUTH_AMERICA'
1360
+ | 'ASIA_PACIFIC'
1361
+ | 'USA_OREGON'
1362
+ | 'USA_IOWA'
1363
+ | 'USA_VIRGINIA';
1166
1364
  }
1167
1365
  interface ValueDescriptor {
1168
1366
  /** The value key. */
1169
1367
  key?: string;
1170
1368
  /** The value stream kind. */
1171
- metricKind?: string;
1369
+ metricKind?: 'METRIC_KIND_UNSPECIFIED' | 'GAUGE' | 'DELTA' | 'CUMULATIVE';
1172
1370
  /** The unit in which time_series point values are reported. unit follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. unit is only valid if value_type is INTEGER, DOUBLE, DISTRIBUTION. */
1173
1371
  unit?: string;
1174
1372
  /** The value type. */
1175
- valueType?: string;
1373
+ valueType?:
1374
+ | 'VALUE_TYPE_UNSPECIFIED'
1375
+ | 'BOOL'
1376
+ | 'INT64'
1377
+ | 'DOUBLE'
1378
+ | 'STRING'
1379
+ | 'DISTRIBUTION'
1380
+ | 'MONEY';
1176
1381
  }
1177
1382
  interface VerifyNotificationChannelRequest {
1178
1383
  /** Required. The verification code that was delivered to the channel as a result of invoking the SendNotificationChannelVerificationCode API method or that was retrieved from a verified channel via GetNotificationChannelVerificationCode. For example, one might have "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only guaranteed that the code is valid UTF-8; one should not make any assumptions regarding the structure or format of the code). */
@@ -1194,19 +1399,52 @@ declare namespace gapi.client {
1194
1399
  /** Lists time series that match a filter. */
1195
1400
  list(request?: {
1196
1401
  /** V1 error format. */
1197
- '$.xgafv'?: string;
1402
+ '$.xgafv'?: '1' | '2';
1198
1403
  /** OAuth access token. */
1199
1404
  access_token?: string;
1200
1405
  /** The alignment_period specifies a time interval, in seconds, that is used to divide the data in all the time series into consistent blocks of time. This will be done before the per-series aligner can be applied to the data.The value must be at least 60 seconds. If a per-series aligner other than ALIGN_NONE is specified, this field is required or an error is returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is specified, then this field is ignored.The maximum value of the alignment_period is 104 weeks (2 years) for charts, and 90,000 seconds (25 hours) for alerting policies. */
1201
1406
  'aggregation.alignmentPeriod'?: string;
1202
1407
  /** The reduction operation to be used to combine time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.Not all reducer operations can be applied to all time series. The valid choices depend on the metric_kind and the value_type of the original time series. Reduction can yield a time series with a different metric_kind or value_type than the input time series.Time series data must first be aligned (see per_series_aligner) in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified, and must not be ALIGN_NONE. An alignment_period must also be specified; otherwise, an error is returned. */
1203
- 'aggregation.crossSeriesReducer'?: string;
1408
+ 'aggregation.crossSeriesReducer'?:
1409
+ | 'REDUCE_NONE'
1410
+ | 'REDUCE_MEAN'
1411
+ | 'REDUCE_MIN'
1412
+ | 'REDUCE_MAX'
1413
+ | 'REDUCE_SUM'
1414
+ | 'REDUCE_STDDEV'
1415
+ | 'REDUCE_COUNT'
1416
+ | 'REDUCE_COUNT_TRUE'
1417
+ | 'REDUCE_COUNT_FALSE'
1418
+ | 'REDUCE_FRACTION_TRUE'
1419
+ | 'REDUCE_PERCENTILE_99'
1420
+ | 'REDUCE_PERCENTILE_95'
1421
+ | 'REDUCE_PERCENTILE_50'
1422
+ | 'REDUCE_PERCENTILE_05';
1204
1423
  /** The set of fields to preserve when cross_series_reducer is specified. The group_by_fields determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The cross_series_reducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in group_by_fields are aggregated away. If group_by_fields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If cross_series_reducer is not defined, this field is ignored. */
1205
1424
  'aggregation.groupByFields'?: string | string[];
1206
1425
  /** An Aligner describes how to bring the data points in a single time series into temporal alignment. Except for ALIGN_NONE, all alignments cause all the data points in an alignment_period to be mathematically grouped together, resulting in a single data point for each alignment_period with end timestamp at the end of the period.Not all alignment operations may be applied to all time series. The valid choices depend on the metric_kind and value_type of the original time series. Alignment can change the metric_kind or the value_type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified and not equal to ALIGN_NONE and alignment_period must be specified; otherwise, an error is returned. */
1207
- 'aggregation.perSeriesAligner'?: string;
1426
+ 'aggregation.perSeriesAligner'?:
1427
+ | 'ALIGN_NONE'
1428
+ | 'ALIGN_DELTA'
1429
+ | 'ALIGN_RATE'
1430
+ | 'ALIGN_INTERPOLATE'
1431
+ | 'ALIGN_NEXT_OLDER'
1432
+ | 'ALIGN_MIN'
1433
+ | 'ALIGN_MAX'
1434
+ | 'ALIGN_MEAN'
1435
+ | 'ALIGN_COUNT'
1436
+ | 'ALIGN_SUM'
1437
+ | 'ALIGN_STDDEV'
1438
+ | 'ALIGN_COUNT_TRUE'
1439
+ | 'ALIGN_COUNT_FALSE'
1440
+ | 'ALIGN_FRACTION_TRUE'
1441
+ | 'ALIGN_PERCENTILE_99'
1442
+ | 'ALIGN_PERCENTILE_95'
1443
+ | 'ALIGN_PERCENTILE_50'
1444
+ | 'ALIGN_PERCENTILE_05'
1445
+ | 'ALIGN_PERCENT_CHANGE';
1208
1446
  /** Data format for response. */
1209
- alt?: string;
1447
+ alt?: 'json' | 'media' | 'proto';
1210
1448
  /** JSONP */
1211
1449
  callback?: string;
1212
1450
  /** Selector specifying which fields to include in a partial response. */
@@ -1236,17 +1474,50 @@ declare namespace gapi.client {
1236
1474
  /** The alignment_period specifies a time interval, in seconds, that is used to divide the data in all the time series into consistent blocks of time. This will be done before the per-series aligner can be applied to the data.The value must be at least 60 seconds. If a per-series aligner other than ALIGN_NONE is specified, this field is required or an error is returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is specified, then this field is ignored.The maximum value of the alignment_period is 104 weeks (2 years) for charts, and 90,000 seconds (25 hours) for alerting policies. */
1237
1475
  'secondaryAggregation.alignmentPeriod'?: string;
1238
1476
  /** The reduction operation to be used to combine time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.Not all reducer operations can be applied to all time series. The valid choices depend on the metric_kind and the value_type of the original time series. Reduction can yield a time series with a different metric_kind or value_type than the input time series.Time series data must first be aligned (see per_series_aligner) in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified, and must not be ALIGN_NONE. An alignment_period must also be specified; otherwise, an error is returned. */
1239
- 'secondaryAggregation.crossSeriesReducer'?: string;
1477
+ 'secondaryAggregation.crossSeriesReducer'?:
1478
+ | 'REDUCE_NONE'
1479
+ | 'REDUCE_MEAN'
1480
+ | 'REDUCE_MIN'
1481
+ | 'REDUCE_MAX'
1482
+ | 'REDUCE_SUM'
1483
+ | 'REDUCE_STDDEV'
1484
+ | 'REDUCE_COUNT'
1485
+ | 'REDUCE_COUNT_TRUE'
1486
+ | 'REDUCE_COUNT_FALSE'
1487
+ | 'REDUCE_FRACTION_TRUE'
1488
+ | 'REDUCE_PERCENTILE_99'
1489
+ | 'REDUCE_PERCENTILE_95'
1490
+ | 'REDUCE_PERCENTILE_50'
1491
+ | 'REDUCE_PERCENTILE_05';
1240
1492
  /** The set of fields to preserve when cross_series_reducer is specified. The group_by_fields determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The cross_series_reducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in group_by_fields are aggregated away. If group_by_fields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If cross_series_reducer is not defined, this field is ignored. */
1241
1493
  'secondaryAggregation.groupByFields'?: string | string[];
1242
1494
  /** An Aligner describes how to bring the data points in a single time series into temporal alignment. Except for ALIGN_NONE, all alignments cause all the data points in an alignment_period to be mathematically grouped together, resulting in a single data point for each alignment_period with end timestamp at the end of the period.Not all alignment operations may be applied to all time series. The valid choices depend on the metric_kind and value_type of the original time series. Alignment can change the metric_kind or the value_type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified and not equal to ALIGN_NONE and alignment_period must be specified; otherwise, an error is returned. */
1243
- 'secondaryAggregation.perSeriesAligner'?: string;
1495
+ 'secondaryAggregation.perSeriesAligner'?:
1496
+ | 'ALIGN_NONE'
1497
+ | 'ALIGN_DELTA'
1498
+ | 'ALIGN_RATE'
1499
+ | 'ALIGN_INTERPOLATE'
1500
+ | 'ALIGN_NEXT_OLDER'
1501
+ | 'ALIGN_MIN'
1502
+ | 'ALIGN_MAX'
1503
+ | 'ALIGN_MEAN'
1504
+ | 'ALIGN_COUNT'
1505
+ | 'ALIGN_SUM'
1506
+ | 'ALIGN_STDDEV'
1507
+ | 'ALIGN_COUNT_TRUE'
1508
+ | 'ALIGN_COUNT_FALSE'
1509
+ | 'ALIGN_FRACTION_TRUE'
1510
+ | 'ALIGN_PERCENTILE_99'
1511
+ | 'ALIGN_PERCENTILE_95'
1512
+ | 'ALIGN_PERCENTILE_50'
1513
+ | 'ALIGN_PERCENTILE_05'
1514
+ | 'ALIGN_PERCENT_CHANGE';
1244
1515
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1245
1516
  upload_protocol?: string;
1246
1517
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1247
1518
  uploadType?: string;
1248
1519
  /** Required. Specifies which information is returned about the time series. */
1249
- view?: string;
1520
+ view?: 'FULL' | 'HEADERS';
1250
1521
  }): Request<ListTimeSeriesResponse>;
1251
1522
  }
1252
1523
  interface FoldersResource {
@@ -1256,19 +1527,52 @@ declare namespace gapi.client {
1256
1527
  /** Lists time series that match a filter. */
1257
1528
  list(request?: {
1258
1529
  /** V1 error format. */
1259
- '$.xgafv'?: string;
1530
+ '$.xgafv'?: '1' | '2';
1260
1531
  /** OAuth access token. */
1261
1532
  access_token?: string;
1262
1533
  /** The alignment_period specifies a time interval, in seconds, that is used to divide the data in all the time series into consistent blocks of time. This will be done before the per-series aligner can be applied to the data.The value must be at least 60 seconds. If a per-series aligner other than ALIGN_NONE is specified, this field is required or an error is returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is specified, then this field is ignored.The maximum value of the alignment_period is 104 weeks (2 years) for charts, and 90,000 seconds (25 hours) for alerting policies. */
1263
1534
  'aggregation.alignmentPeriod'?: string;
1264
1535
  /** The reduction operation to be used to combine time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.Not all reducer operations can be applied to all time series. The valid choices depend on the metric_kind and the value_type of the original time series. Reduction can yield a time series with a different metric_kind or value_type than the input time series.Time series data must first be aligned (see per_series_aligner) in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified, and must not be ALIGN_NONE. An alignment_period must also be specified; otherwise, an error is returned. */
1265
- 'aggregation.crossSeriesReducer'?: string;
1536
+ 'aggregation.crossSeriesReducer'?:
1537
+ | 'REDUCE_NONE'
1538
+ | 'REDUCE_MEAN'
1539
+ | 'REDUCE_MIN'
1540
+ | 'REDUCE_MAX'
1541
+ | 'REDUCE_SUM'
1542
+ | 'REDUCE_STDDEV'
1543
+ | 'REDUCE_COUNT'
1544
+ | 'REDUCE_COUNT_TRUE'
1545
+ | 'REDUCE_COUNT_FALSE'
1546
+ | 'REDUCE_FRACTION_TRUE'
1547
+ | 'REDUCE_PERCENTILE_99'
1548
+ | 'REDUCE_PERCENTILE_95'
1549
+ | 'REDUCE_PERCENTILE_50'
1550
+ | 'REDUCE_PERCENTILE_05';
1266
1551
  /** The set of fields to preserve when cross_series_reducer is specified. The group_by_fields determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The cross_series_reducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in group_by_fields are aggregated away. If group_by_fields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If cross_series_reducer is not defined, this field is ignored. */
1267
1552
  'aggregation.groupByFields'?: string | string[];
1268
1553
  /** An Aligner describes how to bring the data points in a single time series into temporal alignment. Except for ALIGN_NONE, all alignments cause all the data points in an alignment_period to be mathematically grouped together, resulting in a single data point for each alignment_period with end timestamp at the end of the period.Not all alignment operations may be applied to all time series. The valid choices depend on the metric_kind and value_type of the original time series. Alignment can change the metric_kind or the value_type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified and not equal to ALIGN_NONE and alignment_period must be specified; otherwise, an error is returned. */
1269
- 'aggregation.perSeriesAligner'?: string;
1554
+ 'aggregation.perSeriesAligner'?:
1555
+ | 'ALIGN_NONE'
1556
+ | 'ALIGN_DELTA'
1557
+ | 'ALIGN_RATE'
1558
+ | 'ALIGN_INTERPOLATE'
1559
+ | 'ALIGN_NEXT_OLDER'
1560
+ | 'ALIGN_MIN'
1561
+ | 'ALIGN_MAX'
1562
+ | 'ALIGN_MEAN'
1563
+ | 'ALIGN_COUNT'
1564
+ | 'ALIGN_SUM'
1565
+ | 'ALIGN_STDDEV'
1566
+ | 'ALIGN_COUNT_TRUE'
1567
+ | 'ALIGN_COUNT_FALSE'
1568
+ | 'ALIGN_FRACTION_TRUE'
1569
+ | 'ALIGN_PERCENTILE_99'
1570
+ | 'ALIGN_PERCENTILE_95'
1571
+ | 'ALIGN_PERCENTILE_50'
1572
+ | 'ALIGN_PERCENTILE_05'
1573
+ | 'ALIGN_PERCENT_CHANGE';
1270
1574
  /** Data format for response. */
1271
- alt?: string;
1575
+ alt?: 'json' | 'media' | 'proto';
1272
1576
  /** JSONP */
1273
1577
  callback?: string;
1274
1578
  /** Selector specifying which fields to include in a partial response. */
@@ -1298,17 +1602,50 @@ declare namespace gapi.client {
1298
1602
  /** The alignment_period specifies a time interval, in seconds, that is used to divide the data in all the time series into consistent blocks of time. This will be done before the per-series aligner can be applied to the data.The value must be at least 60 seconds. If a per-series aligner other than ALIGN_NONE is specified, this field is required or an error is returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is specified, then this field is ignored.The maximum value of the alignment_period is 104 weeks (2 years) for charts, and 90,000 seconds (25 hours) for alerting policies. */
1299
1603
  'secondaryAggregation.alignmentPeriod'?: string;
1300
1604
  /** The reduction operation to be used to combine time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.Not all reducer operations can be applied to all time series. The valid choices depend on the metric_kind and the value_type of the original time series. Reduction can yield a time series with a different metric_kind or value_type than the input time series.Time series data must first be aligned (see per_series_aligner) in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified, and must not be ALIGN_NONE. An alignment_period must also be specified; otherwise, an error is returned. */
1301
- 'secondaryAggregation.crossSeriesReducer'?: string;
1605
+ 'secondaryAggregation.crossSeriesReducer'?:
1606
+ | 'REDUCE_NONE'
1607
+ | 'REDUCE_MEAN'
1608
+ | 'REDUCE_MIN'
1609
+ | 'REDUCE_MAX'
1610
+ | 'REDUCE_SUM'
1611
+ | 'REDUCE_STDDEV'
1612
+ | 'REDUCE_COUNT'
1613
+ | 'REDUCE_COUNT_TRUE'
1614
+ | 'REDUCE_COUNT_FALSE'
1615
+ | 'REDUCE_FRACTION_TRUE'
1616
+ | 'REDUCE_PERCENTILE_99'
1617
+ | 'REDUCE_PERCENTILE_95'
1618
+ | 'REDUCE_PERCENTILE_50'
1619
+ | 'REDUCE_PERCENTILE_05';
1302
1620
  /** The set of fields to preserve when cross_series_reducer is specified. The group_by_fields determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The cross_series_reducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in group_by_fields are aggregated away. If group_by_fields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If cross_series_reducer is not defined, this field is ignored. */
1303
1621
  'secondaryAggregation.groupByFields'?: string | string[];
1304
1622
  /** An Aligner describes how to bring the data points in a single time series into temporal alignment. Except for ALIGN_NONE, all alignments cause all the data points in an alignment_period to be mathematically grouped together, resulting in a single data point for each alignment_period with end timestamp at the end of the period.Not all alignment operations may be applied to all time series. The valid choices depend on the metric_kind and value_type of the original time series. Alignment can change the metric_kind or the value_type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified and not equal to ALIGN_NONE and alignment_period must be specified; otherwise, an error is returned. */
1305
- 'secondaryAggregation.perSeriesAligner'?: string;
1623
+ 'secondaryAggregation.perSeriesAligner'?:
1624
+ | 'ALIGN_NONE'
1625
+ | 'ALIGN_DELTA'
1626
+ | 'ALIGN_RATE'
1627
+ | 'ALIGN_INTERPOLATE'
1628
+ | 'ALIGN_NEXT_OLDER'
1629
+ | 'ALIGN_MIN'
1630
+ | 'ALIGN_MAX'
1631
+ | 'ALIGN_MEAN'
1632
+ | 'ALIGN_COUNT'
1633
+ | 'ALIGN_SUM'
1634
+ | 'ALIGN_STDDEV'
1635
+ | 'ALIGN_COUNT_TRUE'
1636
+ | 'ALIGN_COUNT_FALSE'
1637
+ | 'ALIGN_FRACTION_TRUE'
1638
+ | 'ALIGN_PERCENTILE_99'
1639
+ | 'ALIGN_PERCENTILE_95'
1640
+ | 'ALIGN_PERCENTILE_50'
1641
+ | 'ALIGN_PERCENTILE_05'
1642
+ | 'ALIGN_PERCENT_CHANGE';
1306
1643
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1307
1644
  upload_protocol?: string;
1308
1645
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1309
1646
  uploadType?: string;
1310
1647
  /** Required. Specifies which information is returned about the time series. */
1311
- view?: string;
1648
+ view?: 'FULL' | 'HEADERS';
1312
1649
  }): Request<ListTimeSeriesResponse>;
1313
1650
  }
1314
1651
  interface OrganizationsResource {
@@ -1318,11 +1655,11 @@ declare namespace gapi.client {
1318
1655
  /** Creates a new alerting policy.Design your application to single-thread API calls that modify the state of alerting policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy. */
1319
1656
  create(request: {
1320
1657
  /** V1 error format. */
1321
- '$.xgafv'?: string;
1658
+ '$.xgafv'?: '1' | '2';
1322
1659
  /** OAuth access token. */
1323
1660
  access_token?: string;
1324
1661
  /** Data format for response. */
1325
- alt?: string;
1662
+ alt?: 'json' | 'media' | 'proto';
1326
1663
  /** JSONP */
1327
1664
  callback?: string;
1328
1665
  /** Selector specifying which fields to include in a partial response. */
@@ -1347,11 +1684,11 @@ declare namespace gapi.client {
1347
1684
  create(
1348
1685
  request: {
1349
1686
  /** V1 error format. */
1350
- '$.xgafv'?: string;
1687
+ '$.xgafv'?: '1' | '2';
1351
1688
  /** OAuth access token. */
1352
1689
  access_token?: string;
1353
1690
  /** Data format for response. */
1354
- alt?: string;
1691
+ alt?: 'json' | 'media' | 'proto';
1355
1692
  /** JSONP */
1356
1693
  callback?: string;
1357
1694
  /** Selector specifying which fields to include in a partial response. */
@@ -1376,11 +1713,11 @@ declare namespace gapi.client {
1376
1713
  /** Deletes an alerting policy.Design your application to single-thread API calls that modify the state of alerting policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy. */
1377
1714
  delete(request?: {
1378
1715
  /** V1 error format. */
1379
- '$.xgafv'?: string;
1716
+ '$.xgafv'?: '1' | '2';
1380
1717
  /** OAuth access token. */
1381
1718
  access_token?: string;
1382
1719
  /** Data format for response. */
1383
- alt?: string;
1720
+ alt?: 'json' | 'media' | 'proto';
1384
1721
  /** JSONP */
1385
1722
  callback?: string;
1386
1723
  /** Selector specifying which fields to include in a partial response. */
@@ -1403,11 +1740,11 @@ declare namespace gapi.client {
1403
1740
  /** Gets a single alerting policy. */
1404
1741
  get(request?: {
1405
1742
  /** V1 error format. */
1406
- '$.xgafv'?: string;
1743
+ '$.xgafv'?: '1' | '2';
1407
1744
  /** OAuth access token. */
1408
1745
  access_token?: string;
1409
1746
  /** Data format for response. */
1410
- alt?: string;
1747
+ alt?: 'json' | 'media' | 'proto';
1411
1748
  /** JSONP */
1412
1749
  callback?: string;
1413
1750
  /** Selector specifying which fields to include in a partial response. */
@@ -1430,11 +1767,11 @@ declare namespace gapi.client {
1430
1767
  /** Lists the existing alerting policies for the workspace. */
1431
1768
  list(request?: {
1432
1769
  /** V1 error format. */
1433
- '$.xgafv'?: string;
1770
+ '$.xgafv'?: '1' | '2';
1434
1771
  /** OAuth access token. */
1435
1772
  access_token?: string;
1436
1773
  /** Data format for response. */
1437
- alt?: string;
1774
+ alt?: 'json' | 'media' | 'proto';
1438
1775
  /** JSONP */
1439
1776
  callback?: string;
1440
1777
  /** Selector specifying which fields to include in a partial response. */
@@ -1465,11 +1802,11 @@ declare namespace gapi.client {
1465
1802
  /** Updates an alerting policy. You can either replace the entire policy with a new one or replace only certain fields in the current alerting policy by specifying the fields to be updated via updateMask. Returns the updated alerting policy.Design your application to single-thread API calls that modify the state of alerting policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy. */
1466
1803
  patch(request: {
1467
1804
  /** V1 error format. */
1468
- '$.xgafv'?: string;
1805
+ '$.xgafv'?: '1' | '2';
1469
1806
  /** OAuth access token. */
1470
1807
  access_token?: string;
1471
1808
  /** Data format for response. */
1472
- alt?: string;
1809
+ alt?: 'json' | 'media' | 'proto';
1473
1810
  /** JSONP */
1474
1811
  callback?: string;
1475
1812
  /** Selector specifying which fields to include in a partial response. */
@@ -1496,11 +1833,11 @@ declare namespace gapi.client {
1496
1833
  patch(
1497
1834
  request: {
1498
1835
  /** V1 error format. */
1499
- '$.xgafv'?: string;
1836
+ '$.xgafv'?: '1' | '2';
1500
1837
  /** OAuth access token. */
1501
1838
  access_token?: string;
1502
1839
  /** Data format for response. */
1503
- alt?: string;
1840
+ alt?: 'json' | 'media' | 'proto';
1504
1841
  /** JSONP */
1505
1842
  callback?: string;
1506
1843
  /** Selector specifying which fields to include in a partial response. */
@@ -1529,11 +1866,11 @@ declare namespace gapi.client {
1529
1866
  /** Gets a single alert. */
1530
1867
  get(request?: {
1531
1868
  /** V1 error format. */
1532
- '$.xgafv'?: string;
1869
+ '$.xgafv'?: '1' | '2';
1533
1870
  /** OAuth access token. */
1534
1871
  access_token?: string;
1535
1872
  /** Data format for response. */
1536
- alt?: string;
1873
+ alt?: 'json' | 'media' | 'proto';
1537
1874
  /** JSONP */
1538
1875
  callback?: string;
1539
1876
  /** Selector specifying which fields to include in a partial response. */
@@ -1556,11 +1893,11 @@ declare namespace gapi.client {
1556
1893
  /** Lists the existing alerts for the metrics scope of the project. */
1557
1894
  list(request?: {
1558
1895
  /** V1 error format. */
1559
- '$.xgafv'?: string;
1896
+ '$.xgafv'?: '1' | '2';
1560
1897
  /** OAuth access token. */
1561
1898
  access_token?: string;
1562
1899
  /** Data format for response. */
1563
- alt?: string;
1900
+ alt?: 'json' | 'media' | 'proto';
1564
1901
  /** JSONP */
1565
1902
  callback?: string;
1566
1903
  /** Selector specifying which fields to include in a partial response. */
@@ -1593,11 +1930,11 @@ declare namespace gapi.client {
1593
1930
  /** Cloud Monitoring Agent only: Creates a new time series.This method is only for use by the Cloud Monitoring Agent. Use projects.timeSeries.create instead. */
1594
1931
  create(request: {
1595
1932
  /** V1 error format. */
1596
- '$.xgafv'?: string;
1933
+ '$.xgafv'?: '1' | '2';
1597
1934
  /** OAuth access token. */
1598
1935
  access_token?: string;
1599
1936
  /** Data format for response. */
1600
- alt?: string;
1937
+ alt?: 'json' | 'media' | 'proto';
1601
1938
  /** JSONP */
1602
1939
  callback?: string;
1603
1940
  /** Selector specifying which fields to include in a partial response. */
@@ -1622,11 +1959,11 @@ declare namespace gapi.client {
1622
1959
  create(
1623
1960
  request: {
1624
1961
  /** V1 error format. */
1625
- '$.xgafv'?: string;
1962
+ '$.xgafv'?: '1' | '2';
1626
1963
  /** OAuth access token. */
1627
1964
  access_token?: string;
1628
1965
  /** Data format for response. */
1629
- alt?: string;
1966
+ alt?: 'json' | 'media' | 'proto';
1630
1967
  /** JSONP */
1631
1968
  callback?: string;
1632
1969
  /** Selector specifying which fields to include in a partial response. */
@@ -1653,11 +1990,11 @@ declare namespace gapi.client {
1653
1990
  /** Lists the monitored resources that are members of a group. */
1654
1991
  list(request?: {
1655
1992
  /** V1 error format. */
1656
- '$.xgafv'?: string;
1993
+ '$.xgafv'?: '1' | '2';
1657
1994
  /** OAuth access token. */
1658
1995
  access_token?: string;
1659
1996
  /** Data format for response. */
1660
- alt?: string;
1997
+ alt?: 'json' | 'media' | 'proto';
1661
1998
  /** JSONP */
1662
1999
  callback?: string;
1663
2000
  /** Selector specifying which fields to include in a partial response. */
@@ -1692,11 +2029,11 @@ declare namespace gapi.client {
1692
2029
  /** Creates a new group. */
1693
2030
  create(request: {
1694
2031
  /** V1 error format. */
1695
- '$.xgafv'?: string;
2032
+ '$.xgafv'?: '1' | '2';
1696
2033
  /** OAuth access token. */
1697
2034
  access_token?: string;
1698
2035
  /** Data format for response. */
1699
- alt?: string;
2036
+ alt?: 'json' | 'media' | 'proto';
1700
2037
  /** JSONP */
1701
2038
  callback?: string;
1702
2039
  /** Selector specifying which fields to include in a partial response. */
@@ -1723,11 +2060,11 @@ declare namespace gapi.client {
1723
2060
  create(
1724
2061
  request: {
1725
2062
  /** V1 error format. */
1726
- '$.xgafv'?: string;
2063
+ '$.xgafv'?: '1' | '2';
1727
2064
  /** OAuth access token. */
1728
2065
  access_token?: string;
1729
2066
  /** Data format for response. */
1730
- alt?: string;
2067
+ alt?: 'json' | 'media' | 'proto';
1731
2068
  /** JSONP */
1732
2069
  callback?: string;
1733
2070
  /** Selector specifying which fields to include in a partial response. */
@@ -1754,11 +2091,11 @@ declare namespace gapi.client {
1754
2091
  /** Deletes an existing group. */
1755
2092
  delete(request?: {
1756
2093
  /** V1 error format. */
1757
- '$.xgafv'?: string;
2094
+ '$.xgafv'?: '1' | '2';
1758
2095
  /** OAuth access token. */
1759
2096
  access_token?: string;
1760
2097
  /** Data format for response. */
1761
- alt?: string;
2098
+ alt?: 'json' | 'media' | 'proto';
1762
2099
  /** JSONP */
1763
2100
  callback?: string;
1764
2101
  /** Selector specifying which fields to include in a partial response. */
@@ -1783,11 +2120,11 @@ declare namespace gapi.client {
1783
2120
  /** Gets a single group. */
1784
2121
  get(request?: {
1785
2122
  /** V1 error format. */
1786
- '$.xgafv'?: string;
2123
+ '$.xgafv'?: '1' | '2';
1787
2124
  /** OAuth access token. */
1788
2125
  access_token?: string;
1789
2126
  /** Data format for response. */
1790
- alt?: string;
2127
+ alt?: 'json' | 'media' | 'proto';
1791
2128
  /** JSONP */
1792
2129
  callback?: string;
1793
2130
  /** Selector specifying which fields to include in a partial response. */
@@ -1810,11 +2147,11 @@ declare namespace gapi.client {
1810
2147
  /** Lists the existing groups. */
1811
2148
  list(request?: {
1812
2149
  /** V1 error format. */
1813
- '$.xgafv'?: string;
2150
+ '$.xgafv'?: '1' | '2';
1814
2151
  /** OAuth access token. */
1815
2152
  access_token?: string;
1816
2153
  /** Data format for response. */
1817
- alt?: string;
2154
+ alt?: 'json' | 'media' | 'proto';
1818
2155
  /** A group name. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns groups that are ancestors of the specified group. The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty. */
1819
2156
  ancestorsOfGroup?: string;
1820
2157
  /** JSONP */
@@ -1847,11 +2184,11 @@ declare namespace gapi.client {
1847
2184
  /** Updates an existing group. You can change any group attributes except name. */
1848
2185
  update(request: {
1849
2186
  /** V1 error format. */
1850
- '$.xgafv'?: string;
2187
+ '$.xgafv'?: '1' | '2';
1851
2188
  /** OAuth access token. */
1852
2189
  access_token?: string;
1853
2190
  /** Data format for response. */
1854
- alt?: string;
2191
+ alt?: 'json' | 'media' | 'proto';
1855
2192
  /** JSONP */
1856
2193
  callback?: string;
1857
2194
  /** Selector specifying which fields to include in a partial response. */
@@ -1878,11 +2215,11 @@ declare namespace gapi.client {
1878
2215
  update(
1879
2216
  request: {
1880
2217
  /** V1 error format. */
1881
- '$.xgafv'?: string;
2218
+ '$.xgafv'?: '1' | '2';
1882
2219
  /** OAuth access token. */
1883
2220
  access_token?: string;
1884
2221
  /** Data format for response. */
1885
- alt?: string;
2222
+ alt?: 'json' | 'media' | 'proto';
1886
2223
  /** JSONP */
1887
2224
  callback?: string;
1888
2225
  /** Selector specifying which fields to include in a partial response. */
@@ -1912,11 +2249,11 @@ declare namespace gapi.client {
1912
2249
  /** Creates a new metric descriptor. The creation is executed asynchronously. User-created metric descriptors define custom metrics (https://cloud.google.com/monitoring/custom-metrics). The metric descriptor is updated if it already exists, except that metric labels are never removed. */
1913
2250
  create(request: {
1914
2251
  /** V1 error format. */
1915
- '$.xgafv'?: string;
2252
+ '$.xgafv'?: '1' | '2';
1916
2253
  /** OAuth access token. */
1917
2254
  access_token?: string;
1918
2255
  /** Data format for response. */
1919
- alt?: string;
2256
+ alt?: 'json' | 'media' | 'proto';
1920
2257
  /** JSONP */
1921
2258
  callback?: string;
1922
2259
  /** Selector specifying which fields to include in a partial response. */
@@ -1941,11 +2278,11 @@ declare namespace gapi.client {
1941
2278
  create(
1942
2279
  request: {
1943
2280
  /** V1 error format. */
1944
- '$.xgafv'?: string;
2281
+ '$.xgafv'?: '1' | '2';
1945
2282
  /** OAuth access token. */
1946
2283
  access_token?: string;
1947
2284
  /** Data format for response. */
1948
- alt?: string;
2285
+ alt?: 'json' | 'media' | 'proto';
1949
2286
  /** JSONP */
1950
2287
  callback?: string;
1951
2288
  /** Selector specifying which fields to include in a partial response. */
@@ -1970,11 +2307,11 @@ declare namespace gapi.client {
1970
2307
  /** Deletes a metric descriptor. Only user-created custom metrics (https://cloud.google.com/monitoring/custom-metrics) can be deleted. */
1971
2308
  delete(request?: {
1972
2309
  /** V1 error format. */
1973
- '$.xgafv'?: string;
2310
+ '$.xgafv'?: '1' | '2';
1974
2311
  /** OAuth access token. */
1975
2312
  access_token?: string;
1976
2313
  /** Data format for response. */
1977
- alt?: string;
2314
+ alt?: 'json' | 'media' | 'proto';
1978
2315
  /** JSONP */
1979
2316
  callback?: string;
1980
2317
  /** Selector specifying which fields to include in a partial response. */
@@ -1997,11 +2334,11 @@ declare namespace gapi.client {
1997
2334
  /** Gets a single metric descriptor. */
1998
2335
  get(request?: {
1999
2336
  /** V1 error format. */
2000
- '$.xgafv'?: string;
2337
+ '$.xgafv'?: '1' | '2';
2001
2338
  /** OAuth access token. */
2002
2339
  access_token?: string;
2003
2340
  /** Data format for response. */
2004
- alt?: string;
2341
+ alt?: 'json' | 'media' | 'proto';
2005
2342
  /** JSONP */
2006
2343
  callback?: string;
2007
2344
  /** Selector specifying which fields to include in a partial response. */
@@ -2024,13 +2361,13 @@ declare namespace gapi.client {
2024
2361
  /** Lists metric descriptors that match a filter. */
2025
2362
  list(request?: {
2026
2363
  /** V1 error format. */
2027
- '$.xgafv'?: string;
2364
+ '$.xgafv'?: '1' | '2';
2028
2365
  /** OAuth access token. */
2029
2366
  access_token?: string;
2030
2367
  /** Optional. If true, only metrics and monitored resource types that have recent data (within roughly 25 hours) will be included in the response. - If a metric descriptor enumerates monitored resource types, only the monitored resource types for which the metric type has recent data will be included in the returned metric descriptor, and if none of them have recent data, the metric descriptor will not be returned. - If a metric descriptor does not enumerate the compatible monitored resource types, it will be returned only if the metric type has recent data for some monitored resource type. The returned descriptor will not enumerate any monitored resource types. */
2031
2368
  activeOnly?: boolean;
2032
2369
  /** Data format for response. */
2033
- alt?: string;
2370
+ alt?: 'json' | 'media' | 'proto';
2034
2371
  /** JSONP */
2035
2372
  callback?: string;
2036
2373
  /** Selector specifying which fields to include in a partial response. */
@@ -2061,11 +2398,11 @@ declare namespace gapi.client {
2061
2398
  /** Gets a single monitored resource descriptor. */
2062
2399
  get(request?: {
2063
2400
  /** V1 error format. */
2064
- '$.xgafv'?: string;
2401
+ '$.xgafv'?: '1' | '2';
2065
2402
  /** OAuth access token. */
2066
2403
  access_token?: string;
2067
2404
  /** Data format for response. */
2068
- alt?: string;
2405
+ alt?: 'json' | 'media' | 'proto';
2069
2406
  /** JSONP */
2070
2407
  callback?: string;
2071
2408
  /** Selector specifying which fields to include in a partial response. */
@@ -2088,11 +2425,11 @@ declare namespace gapi.client {
2088
2425
  /** Lists monitored resource descriptors that match a filter. */
2089
2426
  list(request?: {
2090
2427
  /** V1 error format. */
2091
- '$.xgafv'?: string;
2428
+ '$.xgafv'?: '1' | '2';
2092
2429
  /** OAuth access token. */
2093
2430
  access_token?: string;
2094
2431
  /** Data format for response. */
2095
- alt?: string;
2432
+ alt?: 'json' | 'media' | 'proto';
2096
2433
  /** JSONP */
2097
2434
  callback?: string;
2098
2435
  /** Selector specifying which fields to include in a partial response. */
@@ -2123,11 +2460,11 @@ declare namespace gapi.client {
2123
2460
  /** Gets a single channel descriptor. The descriptor indicates which fields are expected / permitted for a notification channel of the given type. */
2124
2461
  get(request?: {
2125
2462
  /** V1 error format. */
2126
- '$.xgafv'?: string;
2463
+ '$.xgafv'?: '1' | '2';
2127
2464
  /** OAuth access token. */
2128
2465
  access_token?: string;
2129
2466
  /** Data format for response. */
2130
- alt?: string;
2467
+ alt?: 'json' | 'media' | 'proto';
2131
2468
  /** JSONP */
2132
2469
  callback?: string;
2133
2470
  /** Selector specifying which fields to include in a partial response. */
@@ -2150,11 +2487,11 @@ declare namespace gapi.client {
2150
2487
  /** Lists the descriptors for supported channel types. The use of descriptors makes it possible for new channel types to be dynamically added. */
2151
2488
  list(request?: {
2152
2489
  /** V1 error format. */
2153
- '$.xgafv'?: string;
2490
+ '$.xgafv'?: '1' | '2';
2154
2491
  /** OAuth access token. */
2155
2492
  access_token?: string;
2156
2493
  /** Data format for response. */
2157
- alt?: string;
2494
+ alt?: 'json' | 'media' | 'proto';
2158
2495
  /** JSONP */
2159
2496
  callback?: string;
2160
2497
  /** Selector specifying which fields to include in a partial response. */
@@ -2183,11 +2520,11 @@ declare namespace gapi.client {
2183
2520
  /** Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.Design your application to single-thread API calls that modify the state of notification channels in a single project. This includes calls to CreateNotificationChannel, DeleteNotificationChannel and UpdateNotificationChannel. */
2184
2521
  create(request: {
2185
2522
  /** V1 error format. */
2186
- '$.xgafv'?: string;
2523
+ '$.xgafv'?: '1' | '2';
2187
2524
  /** OAuth access token. */
2188
2525
  access_token?: string;
2189
2526
  /** Data format for response. */
2190
- alt?: string;
2527
+ alt?: 'json' | 'media' | 'proto';
2191
2528
  /** JSONP */
2192
2529
  callback?: string;
2193
2530
  /** Selector specifying which fields to include in a partial response. */
@@ -2212,11 +2549,11 @@ declare namespace gapi.client {
2212
2549
  create(
2213
2550
  request: {
2214
2551
  /** V1 error format. */
2215
- '$.xgafv'?: string;
2552
+ '$.xgafv'?: '1' | '2';
2216
2553
  /** OAuth access token. */
2217
2554
  access_token?: string;
2218
2555
  /** Data format for response. */
2219
- alt?: string;
2556
+ alt?: 'json' | 'media' | 'proto';
2220
2557
  /** JSONP */
2221
2558
  callback?: string;
2222
2559
  /** Selector specifying which fields to include in a partial response. */
@@ -2241,11 +2578,11 @@ declare namespace gapi.client {
2241
2578
  /** Deletes a notification channel.Design your application to single-thread API calls that modify the state of notification channels in a single project. This includes calls to CreateNotificationChannel, DeleteNotificationChannel and UpdateNotificationChannel. */
2242
2579
  delete(request?: {
2243
2580
  /** V1 error format. */
2244
- '$.xgafv'?: string;
2581
+ '$.xgafv'?: '1' | '2';
2245
2582
  /** OAuth access token. */
2246
2583
  access_token?: string;
2247
2584
  /** Data format for response. */
2248
- alt?: string;
2585
+ alt?: 'json' | 'media' | 'proto';
2249
2586
  /** JSONP */
2250
2587
  callback?: string;
2251
2588
  /** Selector specifying which fields to include in a partial response. */
@@ -2270,11 +2607,11 @@ declare namespace gapi.client {
2270
2607
  /** Gets a single notification channel. The channel includes the relevant configuration details with which the channel was created. However, the response may truncate or omit passwords, API keys, or other private key matter and thus the response may not be 100% identical to the information that was supplied in the call to the create method. */
2271
2608
  get(request?: {
2272
2609
  /** V1 error format. */
2273
- '$.xgafv'?: string;
2610
+ '$.xgafv'?: '1' | '2';
2274
2611
  /** OAuth access token. */
2275
2612
  access_token?: string;
2276
2613
  /** Data format for response. */
2277
- alt?: string;
2614
+ alt?: 'json' | 'media' | 'proto';
2278
2615
  /** JSONP */
2279
2616
  callback?: string;
2280
2617
  /** Selector specifying which fields to include in a partial response. */
@@ -2297,11 +2634,11 @@ declare namespace gapi.client {
2297
2634
  /** Requests a verification code for an already verified channel that can then be used in a call to VerifyNotificationChannel() on a different channel with an equivalent identity in the same or in a different project. This makes it possible to copy a channel between projects without requiring manual reverification of the channel. If the channel is not in the verified state, this method will fail (in other words, this may only be used if the SendNotificationChannelVerificationCode and VerifyNotificationChannel paths have already been used to put the given channel into the verified state).There is no guarantee that the verification codes returned by this method will be of a similar structure or form as the ones that are delivered to the channel via SendNotificationChannelVerificationCode; while VerifyNotificationChannel() will recognize both the codes delivered via SendNotificationChannelVerificationCode() and returned from GetNotificationChannelVerificationCode(), it is typically the case that the verification codes delivered via SendNotificationChannelVerificationCode() will be shorter and also have a shorter expiration (e.g. codes such as "G-123456") whereas GetVerificationCode() will typically return a much longer, websafe base 64 encoded string that has a longer expiration time. */
2298
2635
  getVerificationCode(request: {
2299
2636
  /** V1 error format. */
2300
- '$.xgafv'?: string;
2637
+ '$.xgafv'?: '1' | '2';
2301
2638
  /** OAuth access token. */
2302
2639
  access_token?: string;
2303
2640
  /** Data format for response. */
2304
- alt?: string;
2641
+ alt?: 'json' | 'media' | 'proto';
2305
2642
  /** JSONP */
2306
2643
  callback?: string;
2307
2644
  /** Selector specifying which fields to include in a partial response. */
@@ -2326,11 +2663,11 @@ declare namespace gapi.client {
2326
2663
  getVerificationCode(
2327
2664
  request: {
2328
2665
  /** V1 error format. */
2329
- '$.xgafv'?: string;
2666
+ '$.xgafv'?: '1' | '2';
2330
2667
  /** OAuth access token. */
2331
2668
  access_token?: string;
2332
2669
  /** Data format for response. */
2333
- alt?: string;
2670
+ alt?: 'json' | 'media' | 'proto';
2334
2671
  /** JSONP */
2335
2672
  callback?: string;
2336
2673
  /** Selector specifying which fields to include in a partial response. */
@@ -2355,11 +2692,11 @@ declare namespace gapi.client {
2355
2692
  /** Lists the notification channels that have been created for the project. To list the types of notification channels that are supported, use the ListNotificationChannelDescriptors method. */
2356
2693
  list(request?: {
2357
2694
  /** V1 error format. */
2358
- '$.xgafv'?: string;
2695
+ '$.xgafv'?: '1' | '2';
2359
2696
  /** OAuth access token. */
2360
2697
  access_token?: string;
2361
2698
  /** Data format for response. */
2362
- alt?: string;
2699
+ alt?: 'json' | 'media' | 'proto';
2363
2700
  /** JSONP */
2364
2701
  callback?: string;
2365
2702
  /** Selector specifying which fields to include in a partial response. */
@@ -2390,11 +2727,11 @@ declare namespace gapi.client {
2390
2727
  /** Updates a notification channel. Fields not specified in the field mask remain unchanged.Design your application to single-thread API calls that modify the state of notification channels in a single project. This includes calls to CreateNotificationChannel, DeleteNotificationChannel and UpdateNotificationChannel. */
2391
2728
  patch(request: {
2392
2729
  /** V1 error format. */
2393
- '$.xgafv'?: string;
2730
+ '$.xgafv'?: '1' | '2';
2394
2731
  /** OAuth access token. */
2395
2732
  access_token?: string;
2396
2733
  /** Data format for response. */
2397
- alt?: string;
2734
+ alt?: 'json' | 'media' | 'proto';
2398
2735
  /** JSONP */
2399
2736
  callback?: string;
2400
2737
  /** Selector specifying which fields to include in a partial response. */
@@ -2421,11 +2758,11 @@ declare namespace gapi.client {
2421
2758
  patch(
2422
2759
  request: {
2423
2760
  /** V1 error format. */
2424
- '$.xgafv'?: string;
2761
+ '$.xgafv'?: '1' | '2';
2425
2762
  /** OAuth access token. */
2426
2763
  access_token?: string;
2427
2764
  /** Data format for response. */
2428
- alt?: string;
2765
+ alt?: 'json' | 'media' | 'proto';
2429
2766
  /** JSONP */
2430
2767
  callback?: string;
2431
2768
  /** Selector specifying which fields to include in a partial response. */
@@ -2452,11 +2789,11 @@ declare namespace gapi.client {
2452
2789
  /** Causes a verification code to be delivered to the channel. The code can then be supplied in VerifyNotificationChannel to verify the channel. */
2453
2790
  sendVerificationCode(request: {
2454
2791
  /** V1 error format. */
2455
- '$.xgafv'?: string;
2792
+ '$.xgafv'?: '1' | '2';
2456
2793
  /** OAuth access token. */
2457
2794
  access_token?: string;
2458
2795
  /** Data format for response. */
2459
- alt?: string;
2796
+ alt?: 'json' | 'media' | 'proto';
2460
2797
  /** JSONP */
2461
2798
  callback?: string;
2462
2799
  /** Selector specifying which fields to include in a partial response. */
@@ -2481,11 +2818,11 @@ declare namespace gapi.client {
2481
2818
  sendVerificationCode(
2482
2819
  request: {
2483
2820
  /** V1 error format. */
2484
- '$.xgafv'?: string;
2821
+ '$.xgafv'?: '1' | '2';
2485
2822
  /** OAuth access token. */
2486
2823
  access_token?: string;
2487
2824
  /** Data format for response. */
2488
- alt?: string;
2825
+ alt?: 'json' | 'media' | 'proto';
2489
2826
  /** JSONP */
2490
2827
  callback?: string;
2491
2828
  /** Selector specifying which fields to include in a partial response. */
@@ -2510,11 +2847,11 @@ declare namespace gapi.client {
2510
2847
  /** Verifies a NotificationChannel by proving receipt of the code delivered to the channel as a result of calling SendNotificationChannelVerificationCode. */
2511
2848
  verify(request: {
2512
2849
  /** V1 error format. */
2513
- '$.xgafv'?: string;
2850
+ '$.xgafv'?: '1' | '2';
2514
2851
  /** OAuth access token. */
2515
2852
  access_token?: string;
2516
2853
  /** Data format for response. */
2517
- alt?: string;
2854
+ alt?: 'json' | 'media' | 'proto';
2518
2855
  /** JSONP */
2519
2856
  callback?: string;
2520
2857
  /** Selector specifying which fields to include in a partial response. */
@@ -2539,11 +2876,11 @@ declare namespace gapi.client {
2539
2876
  verify(
2540
2877
  request: {
2541
2878
  /** V1 error format. */
2542
- '$.xgafv'?: string;
2879
+ '$.xgafv'?: '1' | '2';
2543
2880
  /** OAuth access token. */
2544
2881
  access_token?: string;
2545
2882
  /** Data format for response. */
2546
- alt?: string;
2883
+ alt?: 'json' | 'media' | 'proto';
2547
2884
  /** JSONP */
2548
2885
  callback?: string;
2549
2886
  /** Selector specifying which fields to include in a partial response. */
@@ -2570,11 +2907,11 @@ declare namespace gapi.client {
2570
2907
  /** Creates a Snooze that will prevent alerts, which match the provided criteria, from being opened. The Snooze applies for a specific time interval. */
2571
2908
  create(request: {
2572
2909
  /** V1 error format. */
2573
- '$.xgafv'?: string;
2910
+ '$.xgafv'?: '1' | '2';
2574
2911
  /** OAuth access token. */
2575
2912
  access_token?: string;
2576
2913
  /** Data format for response. */
2577
- alt?: string;
2914
+ alt?: 'json' | 'media' | 'proto';
2578
2915
  /** JSONP */
2579
2916
  callback?: string;
2580
2917
  /** Selector specifying which fields to include in a partial response. */
@@ -2599,11 +2936,11 @@ declare namespace gapi.client {
2599
2936
  create(
2600
2937
  request: {
2601
2938
  /** V1 error format. */
2602
- '$.xgafv'?: string;
2939
+ '$.xgafv'?: '1' | '2';
2603
2940
  /** OAuth access token. */
2604
2941
  access_token?: string;
2605
2942
  /** Data format for response. */
2606
- alt?: string;
2943
+ alt?: 'json' | 'media' | 'proto';
2607
2944
  /** JSONP */
2608
2945
  callback?: string;
2609
2946
  /** Selector specifying which fields to include in a partial response. */
@@ -2628,11 +2965,11 @@ declare namespace gapi.client {
2628
2965
  /** Retrieves a Snooze by name. */
2629
2966
  get(request?: {
2630
2967
  /** V1 error format. */
2631
- '$.xgafv'?: string;
2968
+ '$.xgafv'?: '1' | '2';
2632
2969
  /** OAuth access token. */
2633
2970
  access_token?: string;
2634
2971
  /** Data format for response. */
2635
- alt?: string;
2972
+ alt?: 'json' | 'media' | 'proto';
2636
2973
  /** JSONP */
2637
2974
  callback?: string;
2638
2975
  /** Selector specifying which fields to include in a partial response. */
@@ -2655,11 +2992,11 @@ declare namespace gapi.client {
2655
2992
  /** Lists the Snoozes associated with a project. Can optionally pass in filter, which specifies predicates to match Snoozes. */
2656
2993
  list(request?: {
2657
2994
  /** V1 error format. */
2658
- '$.xgafv'?: string;
2995
+ '$.xgafv'?: '1' | '2';
2659
2996
  /** OAuth access token. */
2660
2997
  access_token?: string;
2661
2998
  /** Data format for response. */
2662
- alt?: string;
2999
+ alt?: 'json' | 'media' | 'proto';
2663
3000
  /** JSONP */
2664
3001
  callback?: string;
2665
3002
  /** Selector specifying which fields to include in a partial response. */
@@ -2688,11 +3025,11 @@ declare namespace gapi.client {
2688
3025
  /** Updates a Snooze, identified by its name, with the parameters in the given Snooze object. */
2689
3026
  patch(request: {
2690
3027
  /** V1 error format. */
2691
- '$.xgafv'?: string;
3028
+ '$.xgafv'?: '1' | '2';
2692
3029
  /** OAuth access token. */
2693
3030
  access_token?: string;
2694
3031
  /** Data format for response. */
2695
- alt?: string;
3032
+ alt?: 'json' | 'media' | 'proto';
2696
3033
  /** JSONP */
2697
3034
  callback?: string;
2698
3035
  /** Selector specifying which fields to include in a partial response. */
@@ -2719,11 +3056,11 @@ declare namespace gapi.client {
2719
3056
  patch(
2720
3057
  request: {
2721
3058
  /** V1 error format. */
2722
- '$.xgafv'?: string;
3059
+ '$.xgafv'?: '1' | '2';
2723
3060
  /** OAuth access token. */
2724
3061
  access_token?: string;
2725
3062
  /** Data format for response. */
2726
- alt?: string;
3063
+ alt?: 'json' | 'media' | 'proto';
2727
3064
  /** JSONP */
2728
3065
  callback?: string;
2729
3066
  /** Selector specifying which fields to include in a partial response. */
@@ -2752,11 +3089,11 @@ declare namespace gapi.client {
2752
3089
  /** Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response. This method does not support resource locations constraint of an organization policy (https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations#setting_the_organization_policy). */
2753
3090
  create(request: {
2754
3091
  /** V1 error format. */
2755
- '$.xgafv'?: string;
3092
+ '$.xgafv'?: '1' | '2';
2756
3093
  /** OAuth access token. */
2757
3094
  access_token?: string;
2758
3095
  /** Data format for response. */
2759
- alt?: string;
3096
+ alt?: 'json' | 'media' | 'proto';
2760
3097
  /** JSONP */
2761
3098
  callback?: string;
2762
3099
  /** Selector specifying which fields to include in a partial response. */
@@ -2781,11 +3118,11 @@ declare namespace gapi.client {
2781
3118
  create(
2782
3119
  request: {
2783
3120
  /** V1 error format. */
2784
- '$.xgafv'?: string;
3121
+ '$.xgafv'?: '1' | '2';
2785
3122
  /** OAuth access token. */
2786
3123
  access_token?: string;
2787
3124
  /** Data format for response. */
2788
- alt?: string;
3125
+ alt?: 'json' | 'media' | 'proto';
2789
3126
  /** JSONP */
2790
3127
  callback?: string;
2791
3128
  /** Selector specifying which fields to include in a partial response. */
@@ -2810,11 +3147,11 @@ declare namespace gapi.client {
2810
3147
  /** Creates or adds data to one or more service time series. A service time series is a time series for a metric from a Google Cloud service. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response. This endpoint rejects writes to user-defined metrics. This method is only for use by Google Cloud services. Use projects.timeSeries.create instead. */
2811
3148
  createService(request: {
2812
3149
  /** V1 error format. */
2813
- '$.xgafv'?: string;
3150
+ '$.xgafv'?: '1' | '2';
2814
3151
  /** OAuth access token. */
2815
3152
  access_token?: string;
2816
3153
  /** Data format for response. */
2817
- alt?: string;
3154
+ alt?: 'json' | 'media' | 'proto';
2818
3155
  /** JSONP */
2819
3156
  callback?: string;
2820
3157
  /** Selector specifying which fields to include in a partial response. */
@@ -2839,11 +3176,11 @@ declare namespace gapi.client {
2839
3176
  createService(
2840
3177
  request: {
2841
3178
  /** V1 error format. */
2842
- '$.xgafv'?: string;
3179
+ '$.xgafv'?: '1' | '2';
2843
3180
  /** OAuth access token. */
2844
3181
  access_token?: string;
2845
3182
  /** Data format for response. */
2846
- alt?: string;
3183
+ alt?: 'json' | 'media' | 'proto';
2847
3184
  /** JSONP */
2848
3185
  callback?: string;
2849
3186
  /** Selector specifying which fields to include in a partial response. */
@@ -2868,19 +3205,52 @@ declare namespace gapi.client {
2868
3205
  /** Lists time series that match a filter. */
2869
3206
  list(request?: {
2870
3207
  /** V1 error format. */
2871
- '$.xgafv'?: string;
3208
+ '$.xgafv'?: '1' | '2';
2872
3209
  /** OAuth access token. */
2873
3210
  access_token?: string;
2874
3211
  /** The alignment_period specifies a time interval, in seconds, that is used to divide the data in all the time series into consistent blocks of time. This will be done before the per-series aligner can be applied to the data.The value must be at least 60 seconds. If a per-series aligner other than ALIGN_NONE is specified, this field is required or an error is returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is specified, then this field is ignored.The maximum value of the alignment_period is 104 weeks (2 years) for charts, and 90,000 seconds (25 hours) for alerting policies. */
2875
3212
  'aggregation.alignmentPeriod'?: string;
2876
3213
  /** The reduction operation to be used to combine time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.Not all reducer operations can be applied to all time series. The valid choices depend on the metric_kind and the value_type of the original time series. Reduction can yield a time series with a different metric_kind or value_type than the input time series.Time series data must first be aligned (see per_series_aligner) in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified, and must not be ALIGN_NONE. An alignment_period must also be specified; otherwise, an error is returned. */
2877
- 'aggregation.crossSeriesReducer'?: string;
3214
+ 'aggregation.crossSeriesReducer'?:
3215
+ | 'REDUCE_NONE'
3216
+ | 'REDUCE_MEAN'
3217
+ | 'REDUCE_MIN'
3218
+ | 'REDUCE_MAX'
3219
+ | 'REDUCE_SUM'
3220
+ | 'REDUCE_STDDEV'
3221
+ | 'REDUCE_COUNT'
3222
+ | 'REDUCE_COUNT_TRUE'
3223
+ | 'REDUCE_COUNT_FALSE'
3224
+ | 'REDUCE_FRACTION_TRUE'
3225
+ | 'REDUCE_PERCENTILE_99'
3226
+ | 'REDUCE_PERCENTILE_95'
3227
+ | 'REDUCE_PERCENTILE_50'
3228
+ | 'REDUCE_PERCENTILE_05';
2878
3229
  /** The set of fields to preserve when cross_series_reducer is specified. The group_by_fields determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The cross_series_reducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in group_by_fields are aggregated away. If group_by_fields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If cross_series_reducer is not defined, this field is ignored. */
2879
3230
  'aggregation.groupByFields'?: string | string[];
2880
3231
  /** An Aligner describes how to bring the data points in a single time series into temporal alignment. Except for ALIGN_NONE, all alignments cause all the data points in an alignment_period to be mathematically grouped together, resulting in a single data point for each alignment_period with end timestamp at the end of the period.Not all alignment operations may be applied to all time series. The valid choices depend on the metric_kind and value_type of the original time series. Alignment can change the metric_kind or the value_type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified and not equal to ALIGN_NONE and alignment_period must be specified; otherwise, an error is returned. */
2881
- 'aggregation.perSeriesAligner'?: string;
3232
+ 'aggregation.perSeriesAligner'?:
3233
+ | 'ALIGN_NONE'
3234
+ | 'ALIGN_DELTA'
3235
+ | 'ALIGN_RATE'
3236
+ | 'ALIGN_INTERPOLATE'
3237
+ | 'ALIGN_NEXT_OLDER'
3238
+ | 'ALIGN_MIN'
3239
+ | 'ALIGN_MAX'
3240
+ | 'ALIGN_MEAN'
3241
+ | 'ALIGN_COUNT'
3242
+ | 'ALIGN_SUM'
3243
+ | 'ALIGN_STDDEV'
3244
+ | 'ALIGN_COUNT_TRUE'
3245
+ | 'ALIGN_COUNT_FALSE'
3246
+ | 'ALIGN_FRACTION_TRUE'
3247
+ | 'ALIGN_PERCENTILE_99'
3248
+ | 'ALIGN_PERCENTILE_95'
3249
+ | 'ALIGN_PERCENTILE_50'
3250
+ | 'ALIGN_PERCENTILE_05'
3251
+ | 'ALIGN_PERCENT_CHANGE';
2882
3252
  /** Data format for response. */
2883
- alt?: string;
3253
+ alt?: 'json' | 'media' | 'proto';
2884
3254
  /** JSONP */
2885
3255
  callback?: string;
2886
3256
  /** Selector specifying which fields to include in a partial response. */
@@ -2910,26 +3280,59 @@ declare namespace gapi.client {
2910
3280
  /** The alignment_period specifies a time interval, in seconds, that is used to divide the data in all the time series into consistent blocks of time. This will be done before the per-series aligner can be applied to the data.The value must be at least 60 seconds. If a per-series aligner other than ALIGN_NONE is specified, this field is required or an error is returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is specified, then this field is ignored.The maximum value of the alignment_period is 104 weeks (2 years) for charts, and 90,000 seconds (25 hours) for alerting policies. */
2911
3281
  'secondaryAggregation.alignmentPeriod'?: string;
2912
3282
  /** The reduction operation to be used to combine time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.Not all reducer operations can be applied to all time series. The valid choices depend on the metric_kind and the value_type of the original time series. Reduction can yield a time series with a different metric_kind or value_type than the input time series.Time series data must first be aligned (see per_series_aligner) in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified, and must not be ALIGN_NONE. An alignment_period must also be specified; otherwise, an error is returned. */
2913
- 'secondaryAggregation.crossSeriesReducer'?: string;
3283
+ 'secondaryAggregation.crossSeriesReducer'?:
3284
+ | 'REDUCE_NONE'
3285
+ | 'REDUCE_MEAN'
3286
+ | 'REDUCE_MIN'
3287
+ | 'REDUCE_MAX'
3288
+ | 'REDUCE_SUM'
3289
+ | 'REDUCE_STDDEV'
3290
+ | 'REDUCE_COUNT'
3291
+ | 'REDUCE_COUNT_TRUE'
3292
+ | 'REDUCE_COUNT_FALSE'
3293
+ | 'REDUCE_FRACTION_TRUE'
3294
+ | 'REDUCE_PERCENTILE_99'
3295
+ | 'REDUCE_PERCENTILE_95'
3296
+ | 'REDUCE_PERCENTILE_50'
3297
+ | 'REDUCE_PERCENTILE_05';
2914
3298
  /** The set of fields to preserve when cross_series_reducer is specified. The group_by_fields determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The cross_series_reducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in group_by_fields are aggregated away. If group_by_fields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If cross_series_reducer is not defined, this field is ignored. */
2915
3299
  'secondaryAggregation.groupByFields'?: string | string[];
2916
3300
  /** An Aligner describes how to bring the data points in a single time series into temporal alignment. Except for ALIGN_NONE, all alignments cause all the data points in an alignment_period to be mathematically grouped together, resulting in a single data point for each alignment_period with end timestamp at the end of the period.Not all alignment operations may be applied to all time series. The valid choices depend on the metric_kind and value_type of the original time series. Alignment can change the metric_kind or the value_type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified and not equal to ALIGN_NONE and alignment_period must be specified; otherwise, an error is returned. */
2917
- 'secondaryAggregation.perSeriesAligner'?: string;
3301
+ 'secondaryAggregation.perSeriesAligner'?:
3302
+ | 'ALIGN_NONE'
3303
+ | 'ALIGN_DELTA'
3304
+ | 'ALIGN_RATE'
3305
+ | 'ALIGN_INTERPOLATE'
3306
+ | 'ALIGN_NEXT_OLDER'
3307
+ | 'ALIGN_MIN'
3308
+ | 'ALIGN_MAX'
3309
+ | 'ALIGN_MEAN'
3310
+ | 'ALIGN_COUNT'
3311
+ | 'ALIGN_SUM'
3312
+ | 'ALIGN_STDDEV'
3313
+ | 'ALIGN_COUNT_TRUE'
3314
+ | 'ALIGN_COUNT_FALSE'
3315
+ | 'ALIGN_FRACTION_TRUE'
3316
+ | 'ALIGN_PERCENTILE_99'
3317
+ | 'ALIGN_PERCENTILE_95'
3318
+ | 'ALIGN_PERCENTILE_50'
3319
+ | 'ALIGN_PERCENTILE_05'
3320
+ | 'ALIGN_PERCENT_CHANGE';
2918
3321
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2919
3322
  upload_protocol?: string;
2920
3323
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2921
3324
  uploadType?: string;
2922
3325
  /** Required. Specifies which information is returned about the time series. */
2923
- view?: string;
3326
+ view?: 'FULL' | 'HEADERS';
2924
3327
  }): Request<ListTimeSeriesResponse>;
2925
3328
  /** Queries time series by using Monitoring Query Language (MQL). We recommend using PromQL instead of MQL. For more information about the status of MQL, see the MQL deprecation notice (https://cloud.google.com/stackdriver/docs/deprecations/mql). */
2926
3329
  query(request: {
2927
3330
  /** V1 error format. */
2928
- '$.xgafv'?: string;
3331
+ '$.xgafv'?: '1' | '2';
2929
3332
  /** OAuth access token. */
2930
3333
  access_token?: string;
2931
3334
  /** Data format for response. */
2932
- alt?: string;
3335
+ alt?: 'json' | 'media' | 'proto';
2933
3336
  /** JSONP */
2934
3337
  callback?: string;
2935
3338
  /** Selector specifying which fields to include in a partial response. */
@@ -2954,11 +3357,11 @@ declare namespace gapi.client {
2954
3357
  query(
2955
3358
  request: {
2956
3359
  /** V1 error format. */
2957
- '$.xgafv'?: string;
3360
+ '$.xgafv'?: '1' | '2';
2958
3361
  /** OAuth access token. */
2959
3362
  access_token?: string;
2960
3363
  /** Data format for response. */
2961
- alt?: string;
3364
+ alt?: 'json' | 'media' | 'proto';
2962
3365
  /** JSONP */
2963
3366
  callback?: string;
2964
3367
  /** Selector specifying which fields to include in a partial response. */
@@ -2985,11 +3388,11 @@ declare namespace gapi.client {
2985
3388
  /** Creates a new Uptime check configuration. */
2986
3389
  create(request: {
2987
3390
  /** V1 error format. */
2988
- '$.xgafv'?: string;
3391
+ '$.xgafv'?: '1' | '2';
2989
3392
  /** OAuth access token. */
2990
3393
  access_token?: string;
2991
3394
  /** Data format for response. */
2992
- alt?: string;
3395
+ alt?: 'json' | 'media' | 'proto';
2993
3396
  /** JSONP */
2994
3397
  callback?: string;
2995
3398
  /** Selector specifying which fields to include in a partial response. */
@@ -3014,11 +3417,11 @@ declare namespace gapi.client {
3014
3417
  create(
3015
3418
  request: {
3016
3419
  /** V1 error format. */
3017
- '$.xgafv'?: string;
3420
+ '$.xgafv'?: '1' | '2';
3018
3421
  /** OAuth access token. */
3019
3422
  access_token?: string;
3020
3423
  /** Data format for response. */
3021
- alt?: string;
3424
+ alt?: 'json' | 'media' | 'proto';
3022
3425
  /** JSONP */
3023
3426
  callback?: string;
3024
3427
  /** Selector specifying which fields to include in a partial response. */
@@ -3043,11 +3446,11 @@ declare namespace gapi.client {
3043
3446
  /** Deletes an Uptime check configuration. Note that this method will fail if the Uptime check configuration is referenced by an alert policy or other dependent configs that would be rendered invalid by the deletion. */
3044
3447
  delete(request?: {
3045
3448
  /** V1 error format. */
3046
- '$.xgafv'?: string;
3449
+ '$.xgafv'?: '1' | '2';
3047
3450
  /** OAuth access token. */
3048
3451
  access_token?: string;
3049
3452
  /** Data format for response. */
3050
- alt?: string;
3453
+ alt?: 'json' | 'media' | 'proto';
3051
3454
  /** JSONP */
3052
3455
  callback?: string;
3053
3456
  /** Selector specifying which fields to include in a partial response. */
@@ -3070,11 +3473,11 @@ declare namespace gapi.client {
3070
3473
  /** Gets a single Uptime check configuration. */
3071
3474
  get(request?: {
3072
3475
  /** V1 error format. */
3073
- '$.xgafv'?: string;
3476
+ '$.xgafv'?: '1' | '2';
3074
3477
  /** OAuth access token. */
3075
3478
  access_token?: string;
3076
3479
  /** Data format for response. */
3077
- alt?: string;
3480
+ alt?: 'json' | 'media' | 'proto';
3078
3481
  /** JSONP */
3079
3482
  callback?: string;
3080
3483
  /** Selector specifying which fields to include in a partial response. */
@@ -3097,11 +3500,11 @@ declare namespace gapi.client {
3097
3500
  /** Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations). */
3098
3501
  list(request?: {
3099
3502
  /** V1 error format. */
3100
- '$.xgafv'?: string;
3503
+ '$.xgafv'?: '1' | '2';
3101
3504
  /** OAuth access token. */
3102
3505
  access_token?: string;
3103
3506
  /** Data format for response. */
3104
- alt?: string;
3507
+ alt?: 'json' | 'media' | 'proto';
3105
3508
  /** JSONP */
3106
3509
  callback?: string;
3107
3510
  /** Selector specifying which fields to include in a partial response. */
@@ -3130,11 +3533,11 @@ declare namespace gapi.client {
3130
3533
  /** Updates an Uptime check configuration. You can either replace the entire configuration with a new one or replace only certain fields in the current configuration by specifying the fields to be updated via updateMask. Returns the updated configuration. */
3131
3534
  patch(request: {
3132
3535
  /** V1 error format. */
3133
- '$.xgafv'?: string;
3536
+ '$.xgafv'?: '1' | '2';
3134
3537
  /** OAuth access token. */
3135
3538
  access_token?: string;
3136
3539
  /** Data format for response. */
3137
- alt?: string;
3540
+ alt?: 'json' | 'media' | 'proto';
3138
3541
  /** JSONP */
3139
3542
  callback?: string;
3140
3543
  /** Selector specifying which fields to include in a partial response. */
@@ -3161,11 +3564,11 @@ declare namespace gapi.client {
3161
3564
  patch(
3162
3565
  request: {
3163
3566
  /** V1 error format. */
3164
- '$.xgafv'?: string;
3567
+ '$.xgafv'?: '1' | '2';
3165
3568
  /** OAuth access token. */
3166
3569
  access_token?: string;
3167
3570
  /** Data format for response. */
3168
- alt?: string;
3571
+ alt?: 'json' | 'media' | 'proto';
3169
3572
  /** JSONP */
3170
3573
  callback?: string;
3171
3574
  /** Selector specifying which fields to include in a partial response. */
@@ -3207,11 +3610,11 @@ declare namespace gapi.client {
3207
3610
  /** Create a ServiceLevelObjective for the given Service. */
3208
3611
  create(request: {
3209
3612
  /** V1 error format. */
3210
- '$.xgafv'?: string;
3613
+ '$.xgafv'?: '1' | '2';
3211
3614
  /** OAuth access token. */
3212
3615
  access_token?: string;
3213
3616
  /** Data format for response. */
3214
- alt?: string;
3617
+ alt?: 'json' | 'media' | 'proto';
3215
3618
  /** JSONP */
3216
3619
  callback?: string;
3217
3620
  /** Selector specifying which fields to include in a partial response. */
@@ -3238,11 +3641,11 @@ declare namespace gapi.client {
3238
3641
  create(
3239
3642
  request: {
3240
3643
  /** V1 error format. */
3241
- '$.xgafv'?: string;
3644
+ '$.xgafv'?: '1' | '2';
3242
3645
  /** OAuth access token. */
3243
3646
  access_token?: string;
3244
3647
  /** Data format for response. */
3245
- alt?: string;
3648
+ alt?: 'json' | 'media' | 'proto';
3246
3649
  /** JSONP */
3247
3650
  callback?: string;
3248
3651
  /** Selector specifying which fields to include in a partial response. */
@@ -3269,11 +3672,11 @@ declare namespace gapi.client {
3269
3672
  /** Delete the given ServiceLevelObjective. */
3270
3673
  delete(request?: {
3271
3674
  /** V1 error format. */
3272
- '$.xgafv'?: string;
3675
+ '$.xgafv'?: '1' | '2';
3273
3676
  /** OAuth access token. */
3274
3677
  access_token?: string;
3275
3678
  /** Data format for response. */
3276
- alt?: string;
3679
+ alt?: 'json' | 'media' | 'proto';
3277
3680
  /** JSONP */
3278
3681
  callback?: string;
3279
3682
  /** Selector specifying which fields to include in a partial response. */
@@ -3296,11 +3699,11 @@ declare namespace gapi.client {
3296
3699
  /** Get a ServiceLevelObjective by name. */
3297
3700
  get(request?: {
3298
3701
  /** V1 error format. */
3299
- '$.xgafv'?: string;
3702
+ '$.xgafv'?: '1' | '2';
3300
3703
  /** OAuth access token. */
3301
3704
  access_token?: string;
3302
3705
  /** Data format for response. */
3303
- alt?: string;
3706
+ alt?: 'json' | 'media' | 'proto';
3304
3707
  /** JSONP */
3305
3708
  callback?: string;
3306
3709
  /** Selector specifying which fields to include in a partial response. */
@@ -3320,16 +3723,16 @@ declare namespace gapi.client {
3320
3723
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3321
3724
  uploadType?: string;
3322
3725
  /** View of the ServiceLevelObjective to return. If DEFAULT, return the ServiceLevelObjective as originally defined. If EXPLICIT and the ServiceLevelObjective is defined in terms of a BasicSli, replace the BasicSli with a RequestBasedSli spelling out how the SLI is computed. */
3323
- view?: string;
3726
+ view?: 'VIEW_UNSPECIFIED' | 'FULL' | 'EXPLICIT';
3324
3727
  }): Request<ServiceLevelObjective>;
3325
3728
  /** List the ServiceLevelObjectives for the given Service. */
3326
3729
  list(request?: {
3327
3730
  /** V1 error format. */
3328
- '$.xgafv'?: string;
3731
+ '$.xgafv'?: '1' | '2';
3329
3732
  /** OAuth access token. */
3330
3733
  access_token?: string;
3331
3734
  /** Data format for response. */
3332
- alt?: string;
3735
+ alt?: 'json' | 'media' | 'proto';
3333
3736
  /** JSONP */
3334
3737
  callback?: string;
3335
3738
  /** Selector specifying which fields to include in a partial response. */
@@ -3355,16 +3758,16 @@ declare namespace gapi.client {
3355
3758
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3356
3759
  uploadType?: string;
3357
3760
  /** View of the ServiceLevelObjectives to return. If DEFAULT, return each ServiceLevelObjective as originally defined. If EXPLICIT and the ServiceLevelObjective is defined in terms of a BasicSli, replace the BasicSli with a RequestBasedSli spelling out how the SLI is computed. */
3358
- view?: string;
3761
+ view?: 'VIEW_UNSPECIFIED' | 'FULL' | 'EXPLICIT';
3359
3762
  }): Request<ListServiceLevelObjectivesResponse>;
3360
3763
  /** Update the given ServiceLevelObjective. */
3361
3764
  patch(request: {
3362
3765
  /** V1 error format. */
3363
- '$.xgafv'?: string;
3766
+ '$.xgafv'?: '1' | '2';
3364
3767
  /** OAuth access token. */
3365
3768
  access_token?: string;
3366
3769
  /** Data format for response. */
3367
- alt?: string;
3770
+ alt?: 'json' | 'media' | 'proto';
3368
3771
  /** JSONP */
3369
3772
  callback?: string;
3370
3773
  /** Selector specifying which fields to include in a partial response. */
@@ -3391,11 +3794,11 @@ declare namespace gapi.client {
3391
3794
  patch(
3392
3795
  request: {
3393
3796
  /** V1 error format. */
3394
- '$.xgafv'?: string;
3797
+ '$.xgafv'?: '1' | '2';
3395
3798
  /** OAuth access token. */
3396
3799
  access_token?: string;
3397
3800
  /** Data format for response. */
3398
- alt?: string;
3801
+ alt?: 'json' | 'media' | 'proto';
3399
3802
  /** JSONP */
3400
3803
  callback?: string;
3401
3804
  /** Selector specifying which fields to include in a partial response. */
@@ -3424,11 +3827,11 @@ declare namespace gapi.client {
3424
3827
  /** Create a Service. */
3425
3828
  create(request: {
3426
3829
  /** V1 error format. */
3427
- '$.xgafv'?: string;
3830
+ '$.xgafv'?: '1' | '2';
3428
3831
  /** OAuth access token. */
3429
3832
  access_token?: string;
3430
3833
  /** Data format for response. */
3431
- alt?: string;
3834
+ alt?: 'json' | 'media' | 'proto';
3432
3835
  /** JSONP */
3433
3836
  callback?: string;
3434
3837
  /** Selector specifying which fields to include in a partial response. */
@@ -3455,11 +3858,11 @@ declare namespace gapi.client {
3455
3858
  create(
3456
3859
  request: {
3457
3860
  /** V1 error format. */
3458
- '$.xgafv'?: string;
3861
+ '$.xgafv'?: '1' | '2';
3459
3862
  /** OAuth access token. */
3460
3863
  access_token?: string;
3461
3864
  /** Data format for response. */
3462
- alt?: string;
3865
+ alt?: 'json' | 'media' | 'proto';
3463
3866
  /** JSONP */
3464
3867
  callback?: string;
3465
3868
  /** Selector specifying which fields to include in a partial response. */
@@ -3486,11 +3889,11 @@ declare namespace gapi.client {
3486
3889
  /** Soft delete this Service. */
3487
3890
  delete(request?: {
3488
3891
  /** V1 error format. */
3489
- '$.xgafv'?: string;
3892
+ '$.xgafv'?: '1' | '2';
3490
3893
  /** OAuth access token. */
3491
3894
  access_token?: string;
3492
3895
  /** Data format for response. */
3493
- alt?: string;
3896
+ alt?: 'json' | 'media' | 'proto';
3494
3897
  /** JSONP */
3495
3898
  callback?: string;
3496
3899
  /** Selector specifying which fields to include in a partial response. */
@@ -3513,11 +3916,11 @@ declare namespace gapi.client {
3513
3916
  /** Get the named Service. */
3514
3917
  get(request?: {
3515
3918
  /** V1 error format. */
3516
- '$.xgafv'?: string;
3919
+ '$.xgafv'?: '1' | '2';
3517
3920
  /** OAuth access token. */
3518
3921
  access_token?: string;
3519
3922
  /** Data format for response. */
3520
- alt?: string;
3923
+ alt?: 'json' | 'media' | 'proto';
3521
3924
  /** JSONP */
3522
3925
  callback?: string;
3523
3926
  /** Selector specifying which fields to include in a partial response. */
@@ -3540,11 +3943,11 @@ declare namespace gapi.client {
3540
3943
  /** List Services for this Metrics Scope. */
3541
3944
  list(request?: {
3542
3945
  /** V1 error format. */
3543
- '$.xgafv'?: string;
3946
+ '$.xgafv'?: '1' | '2';
3544
3947
  /** OAuth access token. */
3545
3948
  access_token?: string;
3546
3949
  /** Data format for response. */
3547
- alt?: string;
3950
+ alt?: 'json' | 'media' | 'proto';
3548
3951
  /** JSONP */
3549
3952
  callback?: string;
3550
3953
  /** Selector specifying which fields to include in a partial response. */
@@ -3573,11 +3976,11 @@ declare namespace gapi.client {
3573
3976
  /** Update this Service. */
3574
3977
  patch(request: {
3575
3978
  /** V1 error format. */
3576
- '$.xgafv'?: string;
3979
+ '$.xgafv'?: '1' | '2';
3577
3980
  /** OAuth access token. */
3578
3981
  access_token?: string;
3579
3982
  /** Data format for response. */
3580
- alt?: string;
3983
+ alt?: 'json' | 'media' | 'proto';
3581
3984
  /** JSONP */
3582
3985
  callback?: string;
3583
3986
  /** Selector specifying which fields to include in a partial response. */
@@ -3604,11 +4007,11 @@ declare namespace gapi.client {
3604
4007
  patch(
3605
4008
  request: {
3606
4009
  /** V1 error format. */
3607
- '$.xgafv'?: string;
4010
+ '$.xgafv'?: '1' | '2';
3608
4011
  /** OAuth access token. */
3609
4012
  access_token?: string;
3610
4013
  /** Data format for response. */
3611
- alt?: string;
4014
+ alt?: 'json' | 'media' | 'proto';
3612
4015
  /** JSONP */
3613
4016
  callback?: string;
3614
4017
  /** Selector specifying which fields to include in a partial response. */
@@ -3638,11 +4041,11 @@ declare namespace gapi.client {
3638
4041
  /** Returns the list of IP addresses that checkers run from. */
3639
4042
  list(request?: {
3640
4043
  /** V1 error format. */
3641
- '$.xgafv'?: string;
4044
+ '$.xgafv'?: '1' | '2';
3642
4045
  /** OAuth access token. */
3643
4046
  access_token?: string;
3644
4047
  /** Data format for response. */
3645
- alt?: string;
4048
+ alt?: 'json' | 'media' | 'proto';
3646
4049
  /** JSONP */
3647
4050
  callback?: string;
3648
4051
  /** Selector specifying which fields to include in a partial response. */