@maxim_mazurok/gapi.client.monitoring-v1 0.0.20230424 → 0.0.20230507

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 +1011 -506
  2. package/package.json +1 -1
  3. package/tests.ts +1 -1
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=v1
12
- // Revision: 20230424
12
+ // Revision: 20230507
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -29,7 +29,8 @@ declare namespace gapi.client {
29
29
  * 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 2 years, or 104
30
30
  * weeks.
31
31
  */
32
- alignmentPeriod?: string;
32
+ alignmentPeriod?:
33
+ string;
33
34
  /**
34
35
  * 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
35
36
  * 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
@@ -37,7 +38,8 @@ declare namespace gapi.client {
37
38
  * 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
38
39
  * must also be specified; otherwise, an error is returned.
39
40
  */
40
- crossSeriesReducer?: string;
41
+ crossSeriesReducer?:
42
+ string;
41
43
  /**
42
44
  * 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
43
45
  * 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
@@ -45,7 +47,8 @@ declare namespace gapi.client {
45
47
  * 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
46
48
  * into a single output time series. If cross_series_reducer is not defined, this field is ignored.
47
49
  */
48
- groupByFields?: string[];
50
+ groupByFields?:
51
+ string[];
49
52
  /**
50
53
  * 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
51
54
  * 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
@@ -53,340 +56,440 @@ declare namespace gapi.client {
53
56
  * 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
54
57
  * specified and not equal to ALIGN_NONE and alignment_period must be specified; otherwise, an error is returned.
55
58
  */
56
- perSeriesAligner?: string;
59
+ perSeriesAligner?:
60
+ string;
57
61
  }
58
62
  interface AlertChart {
59
63
  /** Required. The resource name of the alert policy. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] */
60
- name?: string;
64
+ name?:
65
+ string;
61
66
  }
62
67
  interface Axis {
63
68
  /** The label of the axis. */
64
- label?: string;
69
+ label?:
70
+ string;
65
71
  /** The axis scale. By default, a linear scale is used. */
66
- scale?: string;
72
+ scale?:
73
+ string;
67
74
  }
68
75
  interface ChartOptions {
69
76
  /** The chart mode. */
70
- mode?: string;
77
+ mode?:
78
+ string;
71
79
  }
72
80
  interface CollapsibleGroup {
73
81
  /** The collapsed state of the widget on first page load. */
74
- collapsed?: boolean;
82
+ collapsed?:
83
+ boolean;
75
84
  }
76
85
  interface Column {
77
86
  /**
78
87
  * The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column
79
88
  * on the screen. If omitted, a value of 1 is used while rendering.
80
89
  */
81
- weight?: string;
90
+ weight?:
91
+ string;
82
92
  /** The display widgets arranged vertically in this column. */
83
- widgets?: Widget[];
93
+ widgets?:
94
+ Widget[];
84
95
  }
85
96
  interface ColumnLayout {
86
97
  /** The columns of content to display. */
87
- columns?: Column[];
98
+ columns?:
99
+ Column[];
88
100
  }
89
101
  interface ColumnSettings {
90
102
  /** Required. The id of the column. */
91
- column?: string;
103
+ column?:
104
+ string;
92
105
  /** Required. Whether the column should be visible on page load. */
93
- visible?: boolean;
106
+ visible?:
107
+ boolean;
94
108
  }
95
109
  interface Dashboard {
96
110
  /** The content is divided into equally spaced columns and the widgets are arranged vertically. */
97
- columnLayout?: ColumnLayout;
111
+ columnLayout?:
112
+ ColumnLayout;
98
113
  /** Filters to reduce the amount of data charted based on the filter criteria. */
99
- dashboardFilters?: DashboardFilter[];
114
+ dashboardFilters?:
115
+ DashboardFilter[];
100
116
  /** Required. The mutable, human-readable name. */
101
- displayName?: string;
117
+ displayName?:
118
+ string;
102
119
  /**
103
120
  * etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. An etag is returned in the response to
104
121
  * GetDashboard, and users are expected to put that etag in the request to UpdateDashboard to ensure that their change will be applied to the same version of the Dashboard
105
122
  * configuration. The field should not be passed during dashboard creation.
106
123
  */
107
- etag?: string;
124
+ etag?:
125
+ string;
108
126
  /** Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles. */
109
- gridLayout?: GridLayout;
127
+ gridLayout?:
128
+ GridLayout;
110
129
  /** Labels applied to the dashboard */
111
- labels?: { [P in string]: string };
130
+ labels?:
131
+ { [P in string]: string };
112
132
  /** The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks. */
113
- mosaicLayout?: MosaicLayout;
133
+ mosaicLayout?:
134
+ MosaicLayout;
114
135
  /** Immutable. The resource name of the dashboard. */
115
- name?: string;
136
+ name?:
137
+ string;
116
138
  /** The content is divided into equally spaced rows and the widgets are arranged horizontally. */
117
- rowLayout?: RowLayout;
139
+ rowLayout?:
140
+ RowLayout;
118
141
  }
119
142
  interface DashboardFilter {
120
143
  /** The specified filter type */
121
- filterType?: string;
144
+ filterType?:
145
+ string;
122
146
  /** Required. The key for the label */
123
- labelKey?: string;
147
+ labelKey?:
148
+ string;
124
149
  /** A variable-length string value. */
125
- stringValue?: string;
150
+ stringValue?:
151
+ string;
126
152
  /** The placeholder text that can be referenced in a filter string or MQL query. If omitted, the dashboard filter will be applied to all relevant widgets in the dashboard. */
127
- templateVariable?: string;
153
+ templateVariable?:
154
+ string;
128
155
  }
129
156
  interface DataSet {
130
157
  /** A template string for naming TimeSeries in the resulting data set. This should be a string with interpolations of the form ${label_name}, which will resolve to the label's value. */
131
- legendTemplate?: string;
158
+ legendTemplate?:
159
+ string;
132
160
  /**
133
161
  * Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is
134
162
  * published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.
135
163
  */
136
- minAlignmentPeriod?: string;
164
+ minAlignmentPeriod?:
165
+ string;
137
166
  /** How this data should be plotted on the chart. */
138
- plotType?: string;
167
+ plotType?:
168
+ string;
139
169
  /** Optional. The target axis to use for plotting the metric. */
140
- targetAxis?: string;
170
+ targetAxis?:
171
+ string;
141
172
  /** Required. Fields for querying time series data from the Stackdriver metrics API. */
142
- timeSeriesQuery?: TimeSeriesQuery;
173
+ timeSeriesQuery?:
174
+ TimeSeriesQuery;
143
175
  }
144
176
  interface DroppedLabels {
145
177
  /** Map from label to its value, for all labels dropped in any aggregation. */
146
- label?: { [P in string]: string };
178
+ label?:
179
+ { [P in string]: string };
147
180
  }
148
181
  // tslint:disable-next-line:no-empty-interface
149
182
  interface Empty {
150
183
  }
151
184
  interface Field {
152
185
  /** The field cardinality. */
153
- cardinality?: string;
186
+ cardinality?:
187
+ string;
154
188
  /** The string value of the default value of this field. Proto2 syntax only. */
155
- defaultValue?: string;
189
+ defaultValue?:
190
+ string;
156
191
  /** The field JSON name. */
157
- jsonName?: string;
192
+ jsonName?:
193
+ string;
158
194
  /** The field type. */
159
- kind?: string;
195
+ kind?:
196
+ string;
160
197
  /** The field name. */
161
- name?: string;
198
+ name?:
199
+ string;
162
200
  /** The field number. */
163
- number?: number;
201
+ number?:
202
+ number;
164
203
  /** The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list. */
165
- oneofIndex?: number;
204
+ oneofIndex?:
205
+ number;
166
206
  /** The protocol buffer options. */
167
- options?: Option[];
207
+ options?:
208
+ Option[];
168
209
  /** Whether to use alternative packed wire representation. */
169
- packed?: boolean;
210
+ packed?:
211
+ boolean;
170
212
  /** The field type URL, without the scheme, for message or enumeration types. Example: "type.googleapis.com/google.protobuf.Timestamp". */
171
- typeUrl?: string;
213
+ typeUrl?:
214
+ string;
172
215
  }
173
216
  interface GaugeView {
174
217
  /** The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this. */
175
- lowerBound?: number;
218
+ lowerBound?:
219
+ number;
176
220
  /** The upper bound for this gauge chart. The value of the chart should always be less than or equal to this. */
177
- upperBound?: number;
221
+ upperBound?:
222
+ number;
178
223
  }
179
224
  interface GridLayout {
180
225
  /** The number of columns into which the view's width is divided. If omitted or set to zero, a system default will be used while rendering. */
181
- columns?: string;
226
+ columns?:
227
+ string;
182
228
  /** The informational elements that are arranged into the columns row-first. */
183
- widgets?: Widget[];
229
+ widgets?:
230
+ Widget[];
184
231
  }
185
232
  interface HttpBody {
186
233
  /** The HTTP Content-Type header value specifying the content type of the body. */
187
- contentType?: string;
234
+ contentType?:
235
+ string;
188
236
  /** The HTTP request/response body as raw binary. */
189
- data?: string;
237
+ data?:
238
+ string;
190
239
  /** Application specific response metadata. Must be set in the first response for streaming APIs. */
191
- extensions?: Array<{ [P in string]: any }>;
240
+ extensions?:
241
+ Array<{ [P in string]: any }>;
192
242
  }
193
243
  interface IncidentList {
194
244
  /**
195
245
  * Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of
196
246
  * the resource labels. The resource type and labels are used for filtering.
197
247
  */
198
- monitoredResources?: MonitoredResource[];
248
+ monitoredResources?:
249
+ MonitoredResource[];
199
250
  /** Optional. A list of alert policy names to filter the incident list by. Don't include the project ID prefix in the policy name. For example, use alertPolicies/utilization. */
200
- policyNames?: string[];
251
+ policyNames?:
252
+ string[];
201
253
  }
202
254
  interface ListDashboardsResponse {
203
255
  /** The list of requested dashboards. */
204
- dashboards?: Dashboard[];
256
+ dashboards?:
257
+ Dashboard[];
205
258
  /**
206
259
  * If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this
207
260
  * method.
208
261
  */
209
- nextPageToken?: string;
262
+ nextPageToken?:
263
+ string;
210
264
  }
211
265
  interface ListLabelsRequest {
212
266
  /** The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
213
- end?: string;
267
+ end?:
268
+ string;
214
269
  /** A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them. */
215
- match?: string;
270
+ match?:
271
+ string;
216
272
  /** The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
217
- start?: string;
273
+ start?:
274
+ string;
218
275
  }
219
276
  interface ListMetricsScopesByMonitoredProjectResponse {
220
277
  /** A set of all metrics scopes that the specified monitored project has been added to. */
221
- metricsScopes?: MetricsScope[];
278
+ metricsScopes?:
279
+ MetricsScope[];
222
280
  }
223
281
  interface LogsPanel {
224
282
  /**
225
283
  * A filter that chooses which log entries to return. See Advanced Logs Queries (https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that match the filter
226
284
  * are returned. An empty filter matches all log entries.
227
285
  */
228
- filter?: string;
286
+ filter?:
287
+ string;
229
288
  /** The names of logging resources to collect logs for. Currently only projects are supported. If empty, the widget will default to the host project. */
230
- resourceNames?: string[];
289
+ resourceNames?:
290
+ string[];
231
291
  }
232
292
  interface MetricsScope {
233
293
  /** Output only. The time when this Metrics Scope was created. */
234
- createTime?: string;
294
+ createTime?:
295
+ string;
235
296
  /** Output only. The list of projects monitored by this Metrics Scope. */
236
- monitoredProjects?: MonitoredProject[];
297
+ monitoredProjects?:
298
+ MonitoredProject[];
237
299
  /**
238
300
  * Immutable. The resource name of the Monitoring Metrics Scope. On input, the resource name can be specified with the scoping project ID or number. On output, the resource name is
239
301
  * specified with the scoping project number. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}
240
302
  */
241
- name?: string;
303
+ name?:
304
+ string;
242
305
  /** Output only. The time when this Metrics Scope record was last updated. */
243
- updateTime?: string;
306
+ updateTime?:
307
+ string;
244
308
  }
245
309
  interface MonitoredProject {
246
310
  /** Output only. The time when this MonitoredProject was created. */
247
- createTime?: string;
311
+ createTime?:
312
+ string;
248
313
  /**
249
314
  * Immutable. The resource name of the MonitoredProject. On input, the resource name includes the scoping project ID and monitored project ID. On output, it contains the equivalent
250
315
  * project numbers. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}
251
316
  */
252
- name?: string;
317
+ name?:
318
+ string;
253
319
  }
254
320
  interface MonitoredResource {
255
321
  /**
256
322
  * Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id",
257
323
  * and "zone".
258
324
  */
259
- labels?: { [P in string]: string };
325
+ labels?:
326
+ { [P in string]: string };
260
327
  /**
261
328
  * Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is
262
329
  * gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types
263
330
  * (https://cloud.google.com/logging/docs/api/v2/resource-list).
264
331
  */
265
- type?: string;
332
+ type?:
333
+ string;
266
334
  }
267
335
  interface MosaicLayout {
268
336
  /** The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive. */
269
- columns?: number;
337
+ columns?:
338
+ number;
270
339
  /** The tiles to display. */
271
- tiles?: Tile[];
340
+ tiles?:
341
+ Tile[];
272
342
  }
273
343
  interface Operation {
274
344
  /** If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available. */
275
- done?: boolean;
345
+ done?:
346
+ boolean;
276
347
  /** The error result of the operation in case of failure or cancellation. */
277
- error?: Status;
348
+ error?:
349
+ Status;
278
350
  /**
279
351
  * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
280
352
  * metadata. Any method that returns a long-running operation should document the metadata type, if any.
281
353
  */
282
- metadata?: { [P in string]: any };
354
+ metadata?:
355
+ { [P in string]: any };
283
356
  /**
284
357
  * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending
285
358
  * with operations/{unique_id}.
286
359
  */
287
- name?: string;
360
+ name?:
361
+ string;
288
362
  /**
289
363
  * The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original
290
364
  * method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name.
291
365
  * For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
292
366
  */
293
- response?: { [P in string]: any };
367
+ response?:
368
+ { [P in string]: any };
294
369
  }
295
370
  interface OperationMetadata {
296
371
  /** The time when the batch request was received. */
297
- createTime?: string;
372
+ createTime?:
373
+ string;
298
374
  /** Current state of the batch operation. */
299
- state?: string;
375
+ state?:
376
+ string;
300
377
  /** The time when the operation result was last updated. */
301
- updateTime?: string;
378
+ updateTime?:
379
+ string;
302
380
  }
303
381
  interface Option {
304
382
  /**
305
383
  * The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, "map_entry". For custom options, it should be the
306
384
  * fully-qualified name. For example, "google.api.http".
307
385
  */
308
- name?: string;
386
+ name?:
387
+ string;
309
388
  /**
310
389
  * The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an
311
390
  * enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.
312
391
  */
313
- value?: { [P in string]: any };
392
+ value?:
393
+ { [P in string]: any };
314
394
  }
315
395
  interface PickTimeSeriesFilter {
316
396
  /** How to use the ranking to select time series that pass through the filter. */
317
- direction?: string;
397
+ direction?:
398
+ string;
318
399
  /** How many time series to allow to pass through the filter. */
319
- numTimeSeries?: number;
400
+ numTimeSeries?:
401
+ number;
320
402
  /** ranking_method is applied to each time series independently to produce the value which will be used to compare the time series to other time series. */
321
- rankingMethod?: string;
403
+ rankingMethod?:
404
+ string;
322
405
  }
323
406
  interface QueryExemplarsRequest {
324
407
  /** The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
325
- end?: string;
408
+ end?:
409
+ string;
326
410
  /** A PromQL query string. Query lanauge documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/. */
327
- query?: string;
411
+ query?:
412
+ string;
328
413
  /** The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
329
- start?: string;
414
+ start?:
415
+ string;
330
416
  }
331
417
  interface QueryInstantRequest {
332
418
  /** A PromQL query string. Query lanauge documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/. */
333
- query?: string;
419
+ query?:
420
+ string;
334
421
  /** The single point in time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
335
- time?: string;
422
+ time?:
423
+ string;
336
424
  /**
337
425
  * An upper bound timeout for the query. Either a Prometheus duration string (https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or floating point seconds.
338
426
  * This non-standard encoding must be used for compatibility with the open source API. Clients may still implement timeouts at the connection level while ignoring this field.
339
427
  */
340
- timeout?: string;
428
+ timeout?:
429
+ string;
341
430
  }
342
431
  interface QueryRangeRequest {
343
432
  /** The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
344
- end?: string;
433
+ end?:
434
+ string;
345
435
  /** A PromQL query string. Query lanauge documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/. */
346
- query?: string;
436
+ query?:
437
+ string;
347
438
  /** The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
348
- start?: string;
439
+ start?:
440
+ string;
349
441
  /**
350
442
  * The resolution of query result. Either a Prometheus duration string (https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or floating point seconds. This
351
443
  * non-standard encoding must be used for compatibility with the open source API. Clients may still implement timeouts at the connection level while ignoring this field.
352
444
  */
353
- step?: string;
445
+ step?:
446
+ string;
354
447
  /**
355
448
  * An upper bound timeout for the query. Either a Prometheus duration string (https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or floating point seconds.
356
449
  * This non-standard encoding must be used for compatibility with the open source API. Clients may still implement timeouts at the connection level while ignoring this field.
357
450
  */
358
- timeout?: string;
451
+ timeout?:
452
+ string;
359
453
  }
360
454
  interface QuerySeriesRequest {
361
455
  /** The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
362
- end?: string;
456
+ end?:
457
+ string;
363
458
  /** The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
364
- start?: string;
459
+ start?:
460
+ string;
365
461
  }
366
462
  interface RatioPart {
367
463
  /** By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data. */
368
- aggregation?: Aggregation;
464
+ aggregation?:
465
+ Aggregation;
369
466
  /** Required. The monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query. */
370
- filter?: string;
467
+ filter?:
468
+ string;
371
469
  }
372
470
  interface Row {
373
471
  /**
374
472
  * The relative weight of this row. The row weight is used to adjust the height of rows on the screen (relative to peers). Greater the weight, greater the height of the row on the
375
473
  * screen. If omitted, a value of 1 is used while rendering.
376
474
  */
377
- weight?: string;
475
+ weight?:
476
+ string;
378
477
  /** The display widgets arranged horizontally in this row. */
379
- widgets?: Widget[];
478
+ widgets?:
479
+ Widget[];
380
480
  }
381
481
  interface RowLayout {
382
482
  /** The rows of content to display. */
383
- rows?: Row[];
483
+ rows?:
484
+ Row[];
384
485
  }
385
486
  interface Scorecard {
386
487
  /** Will cause the scorecard to show a gauge chart. */
387
- gaugeView?: GaugeView;
488
+ gaugeView?:
489
+ GaugeView;
388
490
  /** Will cause the scorecard to show a spark chart. */
389
- sparkChartView?: SparkChartView;
491
+ sparkChartView?:
492
+ SparkChartView;
390
493
  /**
391
494
  * The thresholds used to determine the state of the scorecard given the time series' current value. For an actual value x, the scorecard is in a danger state if x is less than or
392
495
  * equal to a danger threshold that triggers below, or greater than or equal to a danger threshold that triggers above. Similarly, if x is above/below a warning threshold that triggers
@@ -396,320 +499,439 @@ declare namespace gapi.client {
396
499
  * 20 a WARNING state, values strictly between 20 and 70 an OK state, values greater than or equal to 70 but less than 90 a WARNING state, and values greater than or equal to 90 a
397
500
  * DANGER state.
398
501
  */
399
- thresholds?: Threshold[];
502
+ thresholds?:
503
+ Threshold[];
400
504
  /** Required. Fields for querying time series data from the Stackdriver metrics API. */
401
- timeSeriesQuery?: TimeSeriesQuery;
505
+ timeSeriesQuery?:
506
+ TimeSeriesQuery;
402
507
  }
403
508
  interface SourceContext {
404
509
  /** The path-qualified name of the .proto file that contained the associated protobuf element. For example: "google/protobuf/source_context.proto". */
405
- fileName?: string;
510
+ fileName?:
511
+ string;
406
512
  }
407
513
  interface SpanContext {
408
514
  /**
409
515
  * The resource name of the span. The format is: projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID] [TRACE_ID] is a unique identifier for a trace within a project; it is
410
516
  * a 32-character hexadecimal encoding of a 16-byte array.[SPAN_ID] is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array.
411
517
  */
412
- spanName?: string;
518
+ spanName?:
519
+ string;
413
520
  }
414
521
  interface SparkChartView {
415
522
  /**
416
523
  * The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once
417
524
  * every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.
418
525
  */
419
- minAlignmentPeriod?: string;
526
+ minAlignmentPeriod?:
527
+ string;
420
528
  /** Required. The type of sparkchart to show in this chartView. */
421
- sparkChartType?: string;
529
+ sparkChartType?:
530
+ string;
422
531
  }
423
532
  interface StatisticalTimeSeriesFilter {
424
533
  /** How many time series to output. */
425
- numTimeSeries?: number;
534
+ numTimeSeries?:
535
+ number;
426
536
  /**
427
537
  * rankingMethod is applied to a set of time series, and then the produced value for each individual time series is used to compare a given time series to others. These are methods
428
538
  * that cannot be applied stream-by-stream, but rather require the full context of a request to evaluate time series.
429
539
  */
430
- rankingMethod?: string;
540
+ rankingMethod?:
541
+ string;
431
542
  }
432
543
  interface Status {
433
544
  /** The status code, which should be an enum value of google.rpc.Code. */
434
- code?: number;
545
+ code?:
546
+ number;
435
547
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
436
- details?: Array<{ [P in string]: any }>;
548
+ details?:
549
+ Array<{ [P in string]: any }>;
437
550
  /**
438
551
  * 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
439
552
  * client.
440
553
  */
441
- message?: string;
554
+ message?:
555
+ string;
442
556
  }
443
557
  interface TableDataSet {
444
558
  /**
445
559
  * Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is
446
560
  * published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.
447
561
  */
448
- minAlignmentPeriod?: string;
562
+ minAlignmentPeriod?:
563
+ string;
449
564
  /** Optional. Table display options for configuring how the table is rendered. */
450
- tableDisplayOptions?: TableDisplayOptions;
565
+ tableDisplayOptions?:
566
+ TableDisplayOptions;
451
567
  /**
452
568
  * Optional. A template string for naming TimeSeries in the resulting data set. This should be a string with interpolations of the form ${label_name}, which will resolve to the label's
453
569
  * value i.e. "${resource.labels.project_id}."
454
570
  */
455
- tableTemplate?: string;
571
+ tableTemplate?:
572
+ string;
456
573
  /** Required. Fields for querying time series data from the Stackdriver metrics API. */
457
- timeSeriesQuery?: TimeSeriesQuery;
574
+ timeSeriesQuery?:
575
+ TimeSeriesQuery;
458
576
  }
459
577
  interface TableDisplayOptions {
460
578
  /** Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings */
461
- shownColumns?: string[];
579
+ shownColumns?:
580
+ string[];
462
581
  }
463
582
  interface Text {
464
583
  /** The text content to be displayed. */
465
- content?: string;
584
+ content?:
585
+ string;
466
586
  /** How the text content is formatted. */
467
- format?: string;
587
+ format?:
588
+ string;
468
589
  }
469
590
  interface Threshold {
470
591
  /** The state color for this threshold. Color is not allowed in a XyChart. */
471
- color?: string;
592
+ color?:
593
+ string;
472
594
  /** The direction for the current threshold. Direction is not allowed in a XyChart. */
473
- direction?: string;
595
+ direction?:
596
+ string;
474
597
  /** A label for the threshold. */
475
- label?: string;
598
+ label?:
599
+ string;
476
600
  /** The target axis to use for plotting the threshold. Target axis is not allowed in a Scorecard. */
477
- targetAxis?: string;
601
+ targetAxis?:
602
+ string;
478
603
  /** The value of the threshold. The value should be defined in the native scale of the metric. */
479
- value?: number;
604
+ value?:
605
+ number;
480
606
  }
481
607
  interface Tile {
482
608
  /** The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1. */
483
- height?: number;
609
+ height?:
610
+ number;
484
611
  /** The informational widget contained in the tile. For example an XyChart. */
485
- widget?: Widget;
612
+ widget?:
613
+ Widget;
486
614
  /** The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1. */
487
- width?: number;
615
+ width?:
616
+ number;
488
617
  /** The zero-indexed position of the tile in grid blocks relative to the left edge of the grid. Tiles must be contained within the specified number of columns. x_pos cannot be negative. */
489
- xPos?: number;
618
+ xPos?:
619
+ number;
490
620
  /** The zero-indexed position of the tile in grid blocks relative to the top edge of the grid. y_pos cannot be negative. */
491
- yPos?: number;
621
+ yPos?:
622
+ number;
492
623
  }
493
624
  interface TimeSeriesFilter {
494
625
  /** By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data. */
495
- aggregation?: Aggregation;
626
+ aggregation?:
627
+ Aggregation;
496
628
  /** Required. The monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query. */
497
- filter?: string;
629
+ filter?:
630
+ string;
498
631
  /** Ranking based time series filter. */
499
- pickTimeSeriesFilter?: PickTimeSeriesFilter;
632
+ pickTimeSeriesFilter?:
633
+ PickTimeSeriesFilter;
500
634
  /** Apply a second aggregation after aggregation is applied. */
501
- secondaryAggregation?: Aggregation;
635
+ secondaryAggregation?:
636
+ Aggregation;
502
637
  /** Statistics based time series filter. Note: This field is deprecated and completely ignored by the API. */
503
- statisticalTimeSeriesFilter?: StatisticalTimeSeriesFilter;
638
+ statisticalTimeSeriesFilter?:
639
+ StatisticalTimeSeriesFilter;
504
640
  }
505
641
  interface TimeSeriesFilterRatio {
506
642
  /** The denominator of the ratio. */
507
- denominator?: RatioPart;
643
+ denominator?:
644
+ RatioPart;
508
645
  /** The numerator of the ratio. */
509
- numerator?: RatioPart;
646
+ numerator?:
647
+ RatioPart;
510
648
  /** Ranking based time series filter. */
511
- pickTimeSeriesFilter?: PickTimeSeriesFilter;
649
+ pickTimeSeriesFilter?:
650
+ PickTimeSeriesFilter;
512
651
  /** Apply a second aggregation after the ratio is computed. */
513
- secondaryAggregation?: Aggregation;
652
+ secondaryAggregation?:
653
+ Aggregation;
514
654
  /** Statistics based time series filter. Note: This field is deprecated and completely ignored by the API. */
515
- statisticalTimeSeriesFilter?: StatisticalTimeSeriesFilter;
655
+ statisticalTimeSeriesFilter?:
656
+ StatisticalTimeSeriesFilter;
516
657
  }
517
658
  interface TimeSeriesQuery {
518
659
  /** A query used to fetch time series with PromQL. */
519
- prometheusQuery?: string;
660
+ prometheusQuery?:
661
+ string;
520
662
  /** Filter parameters to fetch time series. */
521
- timeSeriesFilter?: TimeSeriesFilter;
663
+ timeSeriesFilter?:
664
+ TimeSeriesFilter;
522
665
  /** Parameters to fetch a ratio between two time series filters. */
523
- timeSeriesFilterRatio?: TimeSeriesFilterRatio;
666
+ timeSeriesFilterRatio?:
667
+ TimeSeriesFilterRatio;
524
668
  /** A query used to fetch time series with MQL. */
525
- timeSeriesQueryLanguage?: string;
669
+ timeSeriesQueryLanguage?:
670
+ string;
526
671
  /**
527
672
  * The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the unit
528
673
  * (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in MetricDescriptor.
529
674
  */
530
- unitOverride?: string;
675
+ unitOverride?:
676
+ string;
531
677
  }
532
678
  interface TimeSeriesTable {
533
679
  /** Optional. The list of the persistent column settings for the table. */
534
- columnSettings?: ColumnSettings[];
680
+ columnSettings?:
681
+ ColumnSettings[];
535
682
  /** Required. The data displayed in this table. */
536
- dataSets?: TableDataSet[];
683
+ dataSets?:
684
+ TableDataSet[];
537
685
  /** Optional. Store rendering strategy */
538
- metricVisualization?: string;
686
+ metricVisualization?:
687
+ string;
539
688
  }
540
689
  interface Type {
541
690
  /** The source edition string, only valid when syntax is SYNTAX_EDITIONS. */
542
- edition?: string;
691
+ edition?:
692
+ string;
543
693
  /** The list of fields. */
544
- fields?: Field[];
694
+ fields?:
695
+ Field[];
545
696
  /** The fully qualified message name. */
546
- name?: string;
697
+ name?:
698
+ string;
547
699
  /** The list of types appearing in oneof definitions in this type. */
548
- oneofs?: string[];
700
+ oneofs?:
701
+ string[];
549
702
  /** The protocol buffer options. */
550
- options?: Option[];
703
+ options?:
704
+ Option[];
551
705
  /** The source context. */
552
- sourceContext?: SourceContext;
706
+ sourceContext?:
707
+ SourceContext;
553
708
  /** The source syntax. */
554
- syntax?: string;
709
+ syntax?:
710
+ string;
555
711
  }
556
712
  interface Widget {
557
713
  /** A chart of alert policy data. */
558
- alertChart?: AlertChart;
714
+ alertChart?:
715
+ AlertChart;
559
716
  /** A blank space. */
560
- blank?: any;
717
+ blank?:
718
+ any;
561
719
  /** A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets. */
562
- collapsibleGroup?: CollapsibleGroup;
720
+ collapsibleGroup?:
721
+ CollapsibleGroup;
563
722
  /** A widget that shows list of incidents. */
564
- incidentList?: IncidentList;
723
+ incidentList?:
724
+ IncidentList;
565
725
  /** A widget that shows a stream of logs. */
566
- logsPanel?: LogsPanel;
726
+ logsPanel?:
727
+ LogsPanel;
567
728
  /** A scorecard summarizing time series data. */
568
- scorecard?: Scorecard;
729
+ scorecard?:
730
+ Scorecard;
569
731
  /** A raw string or markdown displaying textual content. */
570
- text?: Text;
732
+ text?:
733
+ Text;
571
734
  /** A widget that displays time series data in a tabular format. */
572
- timeSeriesTable?: TimeSeriesTable;
735
+ timeSeriesTable?:
736
+ TimeSeriesTable;
573
737
  /** Optional. The title of the widget. */
574
- title?: string;
738
+ title?:
739
+ string;
575
740
  /** A chart of time series data. */
576
- xyChart?: XyChart;
741
+ xyChart?:
742
+ XyChart;
577
743
  }
578
744
  interface XyChart {
579
745
  /** Display options for the chart. */
580
- chartOptions?: ChartOptions;
746
+ chartOptions?:
747
+ ChartOptions;
581
748
  /** Required. The data displayed in this chart. */
582
- dataSets?: DataSet[];
749
+ dataSets?:
750
+ DataSet[];
583
751
  /** Threshold lines drawn horizontally across the chart. */
584
- thresholds?: Threshold[];
752
+ thresholds?:
753
+ Threshold[];
585
754
  /**
586
755
  * The duration used to display a comparison chart. A comparison chart simultaneously shows values from two similar-length time periods (e.g., week-over-week metrics). The duration
587
756
  * must be positive, and it can only be applied to charts with data sets of LINE plot type.
588
757
  */
589
- timeshiftDuration?: string;
758
+ timeshiftDuration?:
759
+ string;
590
760
  /** The properties applied to the x-axis. */
591
- xAxis?: Axis;
761
+ xAxis?:
762
+ Axis;
592
763
  /** The properties applied to the y2-axis. */
593
- y2Axis?: Axis;
764
+ y2Axis?:
765
+ Axis;
594
766
  /** The properties applied to the y-axis. */
595
- yAxis?: Axis;
767
+ yAxis?:
768
+ Axis;
596
769
  }
597
770
  interface ProjectsResource {
598
771
  /** Adds a MonitoredProject with the given project ID to the specified Metrics Scope. */
599
772
  create(request: {
600
773
  /** V1 error format. */
601
- "$.xgafv"?: string;
774
+ "$.xgafv"?:
775
+ string;
602
776
  /** OAuth access token. */
603
- access_token?: string;
777
+ access_token?:
778
+ string;
604
779
  /** Data format for response. */
605
- alt?: string;
780
+ alt?:
781
+ string;
606
782
  /** JSONP */
607
- callback?: string;
783
+ callback?:
784
+ string;
608
785
  /** Selector specifying which fields to include in a partial response. */
609
- fields?: string;
786
+ fields?:
787
+ string;
610
788
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
611
- key?: string;
789
+ key?:
790
+ string;
612
791
  /** OAuth 2.0 token for the current user. */
613
- oauth_token?: string;
792
+ oauth_token?:
793
+ string;
614
794
  /** Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER} */
615
- parent: string;
795
+ parent:
796
+ string;
616
797
  /** Returns response with indentations and line breaks. */
617
- prettyPrint?: boolean;
798
+ prettyPrint?:
799
+ boolean;
618
800
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
619
- quotaUser?: string;
801
+ quotaUser?:
802
+ string;
620
803
  /** Upload protocol for media (e.g. "raw", "multipart"). */
621
- upload_protocol?: string;
804
+ upload_protocol?:
805
+ string;
622
806
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
623
- uploadType?: string;
807
+ uploadType?:
808
+ string;
624
809
  /** Request body */
625
- resource: MonitoredProject;
810
+ resource:
811
+ MonitoredProject;
626
812
  }): Request<Operation>;
627
813
  create(request: {
628
814
  /** V1 error format. */
629
- "$.xgafv"?: string;
815
+ "$.xgafv"?:
816
+ string;
630
817
  /** OAuth access token. */
631
- access_token?: string;
818
+ access_token?:
819
+ string;
632
820
  /** Data format for response. */
633
- alt?: string;
821
+ alt?:
822
+ string;
634
823
  /** JSONP */
635
- callback?: string;
824
+ callback?:
825
+ string;
636
826
  /** Selector specifying which fields to include in a partial response. */
637
- fields?: string;
827
+ fields?:
828
+ string;
638
829
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
639
- key?: string;
830
+ key?:
831
+ string;
640
832
  /** OAuth 2.0 token for the current user. */
641
- oauth_token?: string;
833
+ oauth_token?:
834
+ string;
642
835
  /** Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER} */
643
- parent: string;
836
+ parent:
837
+ string;
644
838
  /** Returns response with indentations and line breaks. */
645
- prettyPrint?: boolean;
839
+ prettyPrint?:
840
+ boolean;
646
841
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
647
- quotaUser?: string;
842
+ quotaUser?:
843
+ string;
648
844
  /** Upload protocol for media (e.g. "raw", "multipart"). */
649
- upload_protocol?: string;
845
+ upload_protocol?:
846
+ string;
650
847
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
651
- uploadType?: string;
848
+ uploadType?:
849
+ string;
652
850
  },
653
851
  body: MonitoredProject): Request<Operation>;
654
852
  /** Deletes a MonitoredProject from the specified Metrics Scope. */
655
853
  delete(request?: {
656
854
  /** V1 error format. */
657
- "$.xgafv"?: string;
855
+ "$.xgafv"?:
856
+ string;
658
857
  /** OAuth access token. */
659
- access_token?: string;
858
+ access_token?:
859
+ string;
660
860
  /** Data format for response. */
661
- alt?: string;
861
+ alt?:
862
+ string;
662
863
  /** JSONP */
663
- callback?: string;
864
+ callback?:
865
+ string;
664
866
  /** Selector specifying which fields to include in a partial response. */
665
- fields?: string;
867
+ fields?:
868
+ string;
666
869
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
667
- key?: string;
870
+ key?:
871
+ string;
668
872
  /**
669
873
  * Required. The resource name of the MonitoredProject. Example:
670
874
  * locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}Authorization requires the following Google IAM
671
875
  * (https://cloud.google.com/iam) permissions on both the Metrics Scope and on the MonitoredProject: monitoring.metricsScopes.link
672
876
  */
673
- name: string;
877
+ name:
878
+ string;
674
879
  /** OAuth 2.0 token for the current user. */
675
- oauth_token?: string;
880
+ oauth_token?:
881
+ string;
676
882
  /** Returns response with indentations and line breaks. */
677
- prettyPrint?: boolean;
883
+ prettyPrint?:
884
+ boolean;
678
885
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
679
- quotaUser?: string;
886
+ quotaUser?:
887
+ string;
680
888
  /** Upload protocol for media (e.g. "raw", "multipart"). */
681
- upload_protocol?: string;
889
+ upload_protocol?:
890
+ string;
682
891
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
683
- uploadType?: string;
892
+ uploadType?:
893
+ string;
684
894
  }): Request<Operation>;
685
895
  }
686
896
  interface MetricsScopesResource {
687
897
  /** Returns a specific Metrics Scope, including the list of projects monitored by the specified Metrics Scope. */
688
898
  get(request?: {
689
899
  /** V1 error format. */
690
- "$.xgafv"?: string;
900
+ "$.xgafv"?:
901
+ string;
691
902
  /** OAuth access token. */
692
- access_token?: string;
903
+ access_token?:
904
+ string;
693
905
  /** Data format for response. */
694
- alt?: string;
906
+ alt?:
907
+ string;
695
908
  /** JSONP */
696
- callback?: string;
909
+ callback?:
910
+ string;
697
911
  /** Selector specifying which fields to include in a partial response. */
698
- fields?: string;
912
+ fields?:
913
+ string;
699
914
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
700
- key?: string;
915
+ key?:
916
+ string;
701
917
  /** Required. The resource name of the Metrics Scope. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER} */
702
- name: string;
918
+ name:
919
+ string;
703
920
  /** OAuth 2.0 token for the current user. */
704
- oauth_token?: string;
921
+ oauth_token?:
922
+ string;
705
923
  /** Returns response with indentations and line breaks. */
706
- prettyPrint?: boolean;
924
+ prettyPrint?:
925
+ boolean;
707
926
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
708
- quotaUser?: string;
927
+ quotaUser?:
928
+ string;
709
929
  /** Upload protocol for media (e.g. "raw", "multipart"). */
710
- upload_protocol?: string;
930
+ upload_protocol?:
931
+ string;
711
932
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
712
- uploadType?: string;
933
+ uploadType?:
934
+ string;
713
935
  }): Request<MetricsScope>;
714
936
  /**
715
937
  * Returns a list of every Metrics Scope that a specific MonitoredProject has been added to. The metrics scope representing the specified monitored project will always be the first
@@ -717,65 +939,92 @@ declare namespace gapi.client {
717
939
  */
718
940
  listMetricsScopesByMonitoredProject(request?: {
719
941
  /** V1 error format. */
720
- "$.xgafv"?: string;
942
+ "$.xgafv"?:
943
+ string;
721
944
  /** OAuth access token. */
722
- access_token?: string;
945
+ access_token?:
946
+ string;
723
947
  /** Data format for response. */
724
- alt?: string;
948
+ alt?:
949
+ string;
725
950
  /** JSONP */
726
- callback?: string;
951
+ callback?:
952
+ string;
727
953
  /** Selector specifying which fields to include in a partial response. */
728
- fields?: string;
954
+ fields?:
955
+ string;
729
956
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
730
- key?: string;
957
+ key?:
958
+ string;
731
959
  /** Required. The resource name of the Monitored Project being requested. Example: projects/{MONITORED_PROJECT_ID_OR_NUMBER} */
732
- monitoredResourceContainer?: string;
960
+ monitoredResourceContainer?:
961
+ string;
733
962
  /** OAuth 2.0 token for the current user. */
734
- oauth_token?: string;
963
+ oauth_token?:
964
+ string;
735
965
  /** Returns response with indentations and line breaks. */
736
- prettyPrint?: boolean;
966
+ prettyPrint?:
967
+ boolean;
737
968
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
738
- quotaUser?: string;
969
+ quotaUser?:
970
+ string;
739
971
  /** Upload protocol for media (e.g. "raw", "multipart"). */
740
- upload_protocol?: string;
972
+ upload_protocol?:
973
+ string;
741
974
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
742
- uploadType?: string;
975
+ uploadType?:
976
+ string;
743
977
  }): Request<ListMetricsScopesByMonitoredProjectResponse>;
744
- projects: ProjectsResource;
978
+ projects:
979
+ ProjectsResource;
745
980
  }
746
981
  interface GlobalResource {
747
- metricsScopes: MetricsScopesResource;
982
+ metricsScopes:
983
+ MetricsScopesResource;
748
984
  }
749
985
  interface LocationsResource {
750
- global: GlobalResource;
986
+ global:
987
+ GlobalResource;
751
988
  }
752
989
  interface OperationsResource {
753
990
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
754
991
  get(request?: {
755
992
  /** V1 error format. */
756
- "$.xgafv"?: string;
993
+ "$.xgafv"?:
994
+ string;
757
995
  /** OAuth access token. */
758
- access_token?: string;
996
+ access_token?:
997
+ string;
759
998
  /** Data format for response. */
760
- alt?: string;
999
+ alt?:
1000
+ string;
761
1001
  /** JSONP */
762
- callback?: string;
1002
+ callback?:
1003
+ string;
763
1004
  /** Selector specifying which fields to include in a partial response. */
764
- fields?: string;
1005
+ fields?:
1006
+ string;
765
1007
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
766
- key?: string;
1008
+ key?:
1009
+ string;
767
1010
  /** The name of the operation resource. */
768
- name: string;
1011
+ name:
1012
+ string;
769
1013
  /** OAuth 2.0 token for the current user. */
770
- oauth_token?: string;
1014
+ oauth_token?:
1015
+ string;
771
1016
  /** Returns response with indentations and line breaks. */
772
- prettyPrint?: boolean;
1017
+ prettyPrint?:
1018
+ boolean;
773
1019
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
774
- quotaUser?: string;
1020
+ quotaUser?:
1021
+ string;
775
1022
  /** Upload protocol for media (e.g. "raw", "multipart"). */
776
- upload_protocol?: string;
1023
+ upload_protocol?:
1024
+ string;
777
1025
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
778
- uploadType?: string;
1026
+ uploadType?:
1027
+ string;
779
1028
  }): Request<Operation>;
780
1029
  }
781
1030
  interface DashboardsResource {
@@ -786,61 +1035,88 @@ declare namespace gapi.client {
786
1035
  */
787
1036
  create(request: {
788
1037
  /** V1 error format. */
789
- "$.xgafv"?: string;
1038
+ "$.xgafv"?:
1039
+ string;
790
1040
  /** OAuth access token. */
791
- access_token?: string;
1041
+ access_token?:
1042
+ string;
792
1043
  /** Data format for response. */
793
- alt?: string;
1044
+ alt?:
1045
+ string;
794
1046
  /** JSONP */
795
- callback?: string;
1047
+ callback?:
1048
+ string;
796
1049
  /** Selector specifying which fields to include in a partial response. */
797
- fields?: string;
1050
+ fields?:
1051
+ string;
798
1052
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
799
- key?: string;
1053
+ key?:
1054
+ string;
800
1055
  /** OAuth 2.0 token for the current user. */
801
- oauth_token?: string;
1056
+ oauth_token?:
1057
+ string;
802
1058
  /** Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] The [PROJECT_ID_OR_NUMBER] must match the dashboard resource name. */
803
- parent: string;
1059
+ parent:
1060
+ string;
804
1061
  /** Returns response with indentations and line breaks. */
805
- prettyPrint?: boolean;
1062
+ prettyPrint?:
1063
+ boolean;
806
1064
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
807
- quotaUser?: string;
1065
+ quotaUser?:
1066
+ string;
808
1067
  /** Upload protocol for media (e.g. "raw", "multipart"). */
809
- upload_protocol?: string;
1068
+ upload_protocol?:
1069
+ string;
810
1070
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
811
- uploadType?: string;
1071
+ uploadType?:
1072
+ string;
812
1073
  /** If set, validate the request and preview the review, but do not actually save it. */
813
- validateOnly?: boolean;
1074
+ validateOnly?:
1075
+ boolean;
814
1076
  /** Request body */
815
- resource: Dashboard;
1077
+ resource:
1078
+ Dashboard;
816
1079
  }): Request<Dashboard>;
817
1080
  create(request: {
818
1081
  /** V1 error format. */
819
- "$.xgafv"?: string;
1082
+ "$.xgafv"?:
1083
+ string;
820
1084
  /** OAuth access token. */
821
- access_token?: string;
1085
+ access_token?:
1086
+ string;
822
1087
  /** Data format for response. */
823
- alt?: string;
1088
+ alt?:
1089
+ string;
824
1090
  /** JSONP */
825
- callback?: string;
1091
+ callback?:
1092
+ string;
826
1093
  /** Selector specifying which fields to include in a partial response. */
827
- fields?: string;
1094
+ fields?:
1095
+ string;
828
1096
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
829
- key?: string;
1097
+ key?:
1098
+ string;
830
1099
  /** OAuth 2.0 token for the current user. */
831
- oauth_token?: string;
1100
+ oauth_token?:
1101
+ string;
832
1102
  /** Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] The [PROJECT_ID_OR_NUMBER] must match the dashboard resource name. */
833
- parent: string;
1103
+ parent:
1104
+ string;
834
1105
  /** Returns response with indentations and line breaks. */
835
- prettyPrint?: boolean;
1106
+ prettyPrint?:
1107
+ boolean;
836
1108
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
837
- quotaUser?: string;
1109
+ quotaUser?:
1110
+ string;
838
1111
  /** Upload protocol for media (e.g. "raw", "multipart"). */
839
- upload_protocol?: string;
1112
+ upload_protocol?:
1113
+ string;
840
1114
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
841
- uploadType?: string;
1115
+ uploadType?:
1116
+ string;
842
1117
  /** If set, validate the request and preview the review, but do not actually save it. */
843
- validateOnly?: boolean;
1118
+ validateOnly?:
1119
+ boolean;
844
1120
  },
845
1121
  body: Dashboard): Request<Dashboard>;
846
1122
  /**
@@ -849,29 +1125,41 @@ declare namespace gapi.client {
849
1125
  */
850
1126
  delete(request?: {
851
1127
  /** V1 error format. */
852
- "$.xgafv"?: string;
1128
+ "$.xgafv"?:
1129
+ string;
853
1130
  /** OAuth access token. */
854
- access_token?: string;
1131
+ access_token?:
1132
+ string;
855
1133
  /** Data format for response. */
856
- alt?: string;
1134
+ alt?:
1135
+ string;
857
1136
  /** JSONP */
858
- callback?: string;
1137
+ callback?:
1138
+ string;
859
1139
  /** Selector specifying which fields to include in a partial response. */
860
- fields?: string;
1140
+ fields?:
1141
+ string;
861
1142
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
862
- key?: string;
1143
+ key?:
1144
+ string;
863
1145
  /** Required. The resource name of the Dashboard. The format is: projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] */
864
- name: string;
1146
+ name:
1147
+ string;
865
1148
  /** OAuth 2.0 token for the current user. */
866
- oauth_token?: string;
1149
+ oauth_token?:
1150
+ string;
867
1151
  /** Returns response with indentations and line breaks. */
868
- prettyPrint?: boolean;
1152
+ prettyPrint?:
1153
+ boolean;
869
1154
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
870
- quotaUser?: string;
1155
+ quotaUser?:
1156
+ string;
871
1157
  /** Upload protocol for media (e.g. "raw", "multipart"). */
872
- upload_protocol?: string;
1158
+ upload_protocol?:
1159
+ string;
873
1160
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
874
- uploadType?: string;
1161
+ uploadType?:
1162
+ string;
875
1163
  }): Request<{}>;
876
1164
  /**
877
1165
  * Fetches a specific dashboard.This method requires the monitoring.dashboards.get permission on the specified dashboard. For more information, see Cloud Identity and Access Management
@@ -879,32 +1167,44 @@ declare namespace gapi.client {
879
1167
  */
880
1168
  get(request?: {
881
1169
  /** V1 error format. */
882
- "$.xgafv"?: string;
1170
+ "$.xgafv"?:
1171
+ string;
883
1172
  /** OAuth access token. */
884
- access_token?: string;
1173
+ access_token?:
1174
+ string;
885
1175
  /** Data format for response. */
886
- alt?: string;
1176
+ alt?:
1177
+ string;
887
1178
  /** JSONP */
888
- callback?: string;
1179
+ callback?:
1180
+ string;
889
1181
  /** Selector specifying which fields to include in a partial response. */
890
- fields?: string;
1182
+ fields?:
1183
+ string;
891
1184
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
892
- key?: string;
1185
+ key?:
1186
+ string;
893
1187
  /**
894
1188
  * Required. The resource name of the Dashboard. The format is one of: dashboards/[DASHBOARD_ID] (for system dashboards) projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID]
895
1189
  * (for custom dashboards).
896
1190
  */
897
- name: string;
1191
+ name:
1192
+ string;
898
1193
  /** OAuth 2.0 token for the current user. */
899
- oauth_token?: string;
1194
+ oauth_token?:
1195
+ string;
900
1196
  /** Returns response with indentations and line breaks. */
901
- prettyPrint?: boolean;
1197
+ prettyPrint?:
1198
+ boolean;
902
1199
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
903
- quotaUser?: string;
1200
+ quotaUser?:
1201
+ string;
904
1202
  /** Upload protocol for media (e.g. "raw", "multipart"). */
905
- upload_protocol?: string;
1203
+ upload_protocol?:
1204
+ string;
906
1205
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
907
- uploadType?: string;
1206
+ uploadType?:
1207
+ string;
908
1208
  }): Request<Dashboard>;
909
1209
  /**
910
1210
  * Lists the existing dashboards.This method requires the monitoring.dashboards.list permission on the specified project. For more information, see Cloud Identity and Access Management
@@ -912,36 +1212,50 @@ declare namespace gapi.client {
912
1212
  */
913
1213
  list(request?: {
914
1214
  /** V1 error format. */
915
- "$.xgafv"?: string;
1215
+ "$.xgafv"?:
1216
+ string;
916
1217
  /** OAuth access token. */
917
- access_token?: string;
1218
+ access_token?:
1219
+ string;
918
1220
  /** Data format for response. */
919
- alt?: string;
1221
+ alt?:
1222
+ string;
920
1223
  /** JSONP */
921
- callback?: string;
1224
+ callback?:
1225
+ string;
922
1226
  /** Selector specifying which fields to include in a partial response. */
923
- fields?: string;
1227
+ fields?:
1228
+ string;
924
1229
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
925
- key?: string;
1230
+ key?:
1231
+ string;
926
1232
  /** OAuth 2.0 token for the current user. */
927
- oauth_token?: string;
1233
+ oauth_token?:
1234
+ string;
928
1235
  /** A positive number that is the maximum number of results to return. If unspecified, a default of 1000 is used. */
929
- pageSize?: number;
1236
+ pageSize?:
1237
+ number;
930
1238
  /**
931
1239
  * If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional
932
1240
  * results from the previous method call.
933
1241
  */
934
- pageToken?: string;
1242
+ pageToken?:
1243
+ string;
935
1244
  /** Required. The scope of the dashboards to list. The format is: projects/[PROJECT_ID_OR_NUMBER] */
936
- parent: string;
1245
+ parent:
1246
+ string;
937
1247
  /** Returns response with indentations and line breaks. */
938
- prettyPrint?: boolean;
1248
+ prettyPrint?:
1249
+ boolean;
939
1250
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
940
- quotaUser?: string;
1251
+ quotaUser?:
1252
+ string;
941
1253
  /** Upload protocol for media (e.g. "raw", "multipart"). */
942
- upload_protocol?: string;
1254
+ upload_protocol?:
1255
+ string;
943
1256
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
944
- uploadType?: string;
1257
+ uploadType?:
1258
+ string;
945
1259
  }): Request<ListDashboardsResponse>;
946
1260
  /**
947
1261
  * Replaces an existing custom dashboard with a new definition.This method requires the monitoring.dashboards.update permission on the specified dashboard. For more information, see
@@ -949,61 +1263,88 @@ declare namespace gapi.client {
949
1263
  */
950
1264
  patch(request: {
951
1265
  /** V1 error format. */
952
- "$.xgafv"?: string;
1266
+ "$.xgafv"?:
1267
+ string;
953
1268
  /** OAuth access token. */
954
- access_token?: string;
1269
+ access_token?:
1270
+ string;
955
1271
  /** Data format for response. */
956
- alt?: string;
1272
+ alt?:
1273
+ string;
957
1274
  /** JSONP */
958
- callback?: string;
1275
+ callback?:
1276
+ string;
959
1277
  /** Selector specifying which fields to include in a partial response. */
960
- fields?: string;
1278
+ fields?:
1279
+ string;
961
1280
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
962
- key?: string;
1281
+ key?:
1282
+ string;
963
1283
  /** Immutable. The resource name of the dashboard. */
964
- name: string;
1284
+ name:
1285
+ string;
965
1286
  /** OAuth 2.0 token for the current user. */
966
- oauth_token?: string;
1287
+ oauth_token?:
1288
+ string;
967
1289
  /** Returns response with indentations and line breaks. */
968
- prettyPrint?: boolean;
1290
+ prettyPrint?:
1291
+ boolean;
969
1292
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
970
- quotaUser?: string;
1293
+ quotaUser?:
1294
+ string;
971
1295
  /** Upload protocol for media (e.g. "raw", "multipart"). */
972
- upload_protocol?: string;
1296
+ upload_protocol?:
1297
+ string;
973
1298
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
974
- uploadType?: string;
1299
+ uploadType?:
1300
+ string;
975
1301
  /** If set, validate the request and preview the review, but do not actually save it. */
976
- validateOnly?: boolean;
1302
+ validateOnly?:
1303
+ boolean;
977
1304
  /** Request body */
978
- resource: Dashboard;
1305
+ resource:
1306
+ Dashboard;
979
1307
  }): Request<Dashboard>;
980
1308
  patch(request: {
981
1309
  /** V1 error format. */
982
- "$.xgafv"?: string;
1310
+ "$.xgafv"?:
1311
+ string;
983
1312
  /** OAuth access token. */
984
- access_token?: string;
1313
+ access_token?:
1314
+ string;
985
1315
  /** Data format for response. */
986
- alt?: string;
1316
+ alt?:
1317
+ string;
987
1318
  /** JSONP */
988
- callback?: string;
1319
+ callback?:
1320
+ string;
989
1321
  /** Selector specifying which fields to include in a partial response. */
990
- fields?: string;
1322
+ fields?:
1323
+ string;
991
1324
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
992
- key?: string;
1325
+ key?:
1326
+ string;
993
1327
  /** Immutable. The resource name of the dashboard. */
994
- name: string;
1328
+ name:
1329
+ string;
995
1330
  /** OAuth 2.0 token for the current user. */
996
- oauth_token?: string;
1331
+ oauth_token?:
1332
+ string;
997
1333
  /** Returns response with indentations and line breaks. */
998
- prettyPrint?: boolean;
1334
+ prettyPrint?:
1335
+ boolean;
999
1336
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1000
- quotaUser?: string;
1337
+ quotaUser?:
1338
+ string;
1001
1339
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1002
- upload_protocol?: string;
1340
+ upload_protocol?:
1341
+ string;
1003
1342
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1004
- uploadType?: string;
1343
+ uploadType?:
1344
+ string;
1005
1345
  /** If set, validate the request and preview the review, but do not actually save it. */
1006
- validateOnly?: boolean;
1346
+ validateOnly?:
1347
+ boolean;
1007
1348
  },
1008
1349
  body: Dashboard): Request<Dashboard>;
1009
1350
  }
@@ -1011,403 +1352,567 @@ declare namespace gapi.client {
1011
1352
  /** Lists possible values for a given label name. */
1012
1353
  values(request?: {
1013
1354
  /** V1 error format. */
1014
- "$.xgafv"?: string;
1355
+ "$.xgafv"?:
1356
+ string;
1015
1357
  /** OAuth access token. */
1016
- access_token?: string;
1358
+ access_token?:
1359
+ string;
1017
1360
  /** Data format for response. */
1018
- alt?: string;
1361
+ alt?:
1362
+ string;
1019
1363
  /** JSONP */
1020
- callback?: string;
1364
+ callback?:
1365
+ string;
1021
1366
  /** The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
1022
- end?: string;
1367
+ end?:
1368
+ string;
1023
1369
  /** Selector specifying which fields to include in a partial response. */
1024
- fields?: string;
1370
+ fields?:
1371
+ string;
1025
1372
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1026
- key?: string;
1373
+ key?:
1374
+ string;
1027
1375
  /** The label name for which values are queried. */
1028
- label: string;
1376
+ label:
1377
+ string;
1029
1378
  /** Location of the resource information. Has to be "global" now. */
1030
- location: string;
1379
+ location:
1380
+ string;
1031
1381
  /** A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them. */
1032
- match?: string;
1382
+ match?:
1383
+ string;
1033
1384
  /**
1034
1385
  * The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of
1035
1386
  * Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
1036
1387
  */
1037
- name: string;
1388
+ name:
1389
+ string;
1038
1390
  /** OAuth 2.0 token for the current user. */
1039
- oauth_token?: string;
1391
+ oauth_token?:
1392
+ string;
1040
1393
  /** Returns response with indentations and line breaks. */
1041
- prettyPrint?: boolean;
1394
+ prettyPrint?:
1395
+ boolean;
1042
1396
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1043
- quotaUser?: string;
1397
+ quotaUser?:
1398
+ string;
1044
1399
  /** The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
1045
- start?: string;
1400
+ start?:
1401
+ string;
1046
1402
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1047
- upload_protocol?: string;
1403
+ upload_protocol?:
1404
+ string;
1048
1405
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1049
- uploadType?: string;
1406
+ uploadType?:
1407
+ string;
1050
1408
  }): Request<HttpBody>;
1051
1409
  }
1052
1410
  interface LabelsResource {
1053
1411
  /** Lists labels for metrics. */
1054
1412
  list(request?: {
1055
1413
  /** V1 error format. */
1056
- "$.xgafv"?: string;
1414
+ "$.xgafv"?:
1415
+ string;
1057
1416
  /** OAuth access token. */
1058
- access_token?: string;
1417
+ access_token?:
1418
+ string;
1059
1419
  /** Data format for response. */
1060
- alt?: string;
1420
+ alt?:
1421
+ string;
1061
1422
  /** JSONP */
1062
- callback?: string;
1423
+ callback?:
1424
+ string;
1063
1425
  /** The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
1064
- end?: string;
1426
+ end?:
1427
+ string;
1065
1428
  /** Selector specifying which fields to include in a partial response. */
1066
- fields?: string;
1429
+ fields?:
1430
+ string;
1067
1431
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1068
- key?: string;
1432
+ key?:
1433
+ string;
1069
1434
  /** Location of the resource information. Has to be "global" now. */
1070
- location: string;
1435
+ location:
1436
+ string;
1071
1437
  /** A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them. */
1072
- match?: string;
1438
+ match?:
1439
+ string;
1073
1440
  /**
1074
1441
  * The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of
1075
1442
  * Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
1076
1443
  */
1077
- name: string;
1444
+ name:
1445
+ string;
1078
1446
  /** OAuth 2.0 token for the current user. */
1079
- oauth_token?: string;
1447
+ oauth_token?:
1448
+ string;
1080
1449
  /** Returns response with indentations and line breaks. */
1081
- prettyPrint?: boolean;
1450
+ prettyPrint?:
1451
+ boolean;
1082
1452
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1083
- quotaUser?: string;
1453
+ quotaUser?:
1454
+ string;
1084
1455
  /** The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
1085
- start?: string;
1456
+ start?:
1457
+ string;
1086
1458
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1087
- upload_protocol?: string;
1459
+ upload_protocol?:
1460
+ string;
1088
1461
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1089
- uploadType?: string;
1462
+ uploadType?:
1463
+ string;
1090
1464
  }): Request<HttpBody>;
1091
1465
  }
1092
1466
  interface MetadataResource {
1093
1467
  /** Lists metadata for metrics. */
1094
1468
  list(request?: {
1095
1469
  /** V1 error format. */
1096
- "$.xgafv"?: string;
1470
+ "$.xgafv"?:
1471
+ string;
1097
1472
  /** OAuth access token. */
1098
- access_token?: string;
1473
+ access_token?:
1474
+ string;
1099
1475
  /** Data format for response. */
1100
- alt?: string;
1476
+ alt?:
1477
+ string;
1101
1478
  /** JSONP */
1102
- callback?: string;
1479
+ callback?:
1480
+ string;
1103
1481
  /** Selector specifying which fields to include in a partial response. */
1104
- fields?: string;
1482
+ fields?:
1483
+ string;
1105
1484
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1106
- key?: string;
1485
+ key?:
1486
+ string;
1107
1487
  /** Maximum number of metrics to return. */
1108
- limit?: string;
1488
+ limit?:
1489
+ string;
1109
1490
  /** Location of the resource information. Has to be "global" for now. */
1110
- location: string;
1491
+ location:
1492
+ string;
1111
1493
  /** The metric name for which to query metadata. If unset, all metric metadata is returned. */
1112
- metric?: string;
1494
+ metric?:
1495
+ string;
1113
1496
  /**
1114
1497
  * Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus
1115
1498
  * instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
1116
1499
  */
1117
- name: string;
1500
+ name:
1501
+ string;
1118
1502
  /** OAuth 2.0 token for the current user. */
1119
- oauth_token?: string;
1503
+ oauth_token?:
1504
+ string;
1120
1505
  /** Returns response with indentations and line breaks. */
1121
- prettyPrint?: boolean;
1506
+ prettyPrint?:
1507
+ boolean;
1122
1508
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1123
- quotaUser?: string;
1509
+ quotaUser?:
1510
+ string;
1124
1511
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1125
- upload_protocol?: string;
1512
+ upload_protocol?:
1513
+ string;
1126
1514
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1127
- uploadType?: string;
1515
+ uploadType?:
1516
+ string;
1128
1517
  }): Request<HttpBody>;
1129
1518
  }
1130
1519
  interface V1Resource {
1131
1520
  /** Evaluate a PromQL query at a single point in time. */
1132
1521
  query(request: {
1133
1522
  /** V1 error format. */
1134
- "$.xgafv"?: string;
1523
+ "$.xgafv"?:
1524
+ string;
1135
1525
  /** OAuth access token. */
1136
- access_token?: string;
1526
+ access_token?:
1527
+ string;
1137
1528
  /** Data format for response. */
1138
- alt?: string;
1529
+ alt?:
1530
+ string;
1139
1531
  /** JSONP */
1140
- callback?: string;
1532
+ callback?:
1533
+ string;
1141
1534
  /** Selector specifying which fields to include in a partial response. */
1142
- fields?: string;
1535
+ fields?:
1536
+ string;
1143
1537
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1144
- key?: string;
1538
+ key?:
1539
+ string;
1145
1540
  /** Location of the resource information. Has to be "global" now. */
1146
- location: string;
1541
+ location:
1542
+ string;
1147
1543
  /**
1148
1544
  * The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but
1149
1545
  * used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.
1150
1546
  */
1151
- name: string;
1547
+ name:
1548
+ string;
1152
1549
  /** OAuth 2.0 token for the current user. */
1153
- oauth_token?: string;
1550
+ oauth_token?:
1551
+ string;
1154
1552
  /** Returns response with indentations and line breaks. */
1155
- prettyPrint?: boolean;
1553
+ prettyPrint?:
1554
+ boolean;
1156
1555
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1157
- quotaUser?: string;
1556
+ quotaUser?:
1557
+ string;
1158
1558
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1159
- upload_protocol?: string;
1559
+ upload_protocol?:
1560
+ string;
1160
1561
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1161
- uploadType?: string;
1562
+ uploadType?:
1563
+ string;
1162
1564
  /** Request body */
1163
- resource: QueryInstantRequest;
1565
+ resource:
1566
+ QueryInstantRequest;
1164
1567
  }): Request<HttpBody>;
1165
1568
  query(request: {
1166
1569
  /** V1 error format. */
1167
- "$.xgafv"?: string;
1570
+ "$.xgafv"?:
1571
+ string;
1168
1572
  /** OAuth access token. */
1169
- access_token?: string;
1573
+ access_token?:
1574
+ string;
1170
1575
  /** Data format for response. */
1171
- alt?: string;
1576
+ alt?:
1577
+ string;
1172
1578
  /** JSONP */
1173
- callback?: string;
1579
+ callback?:
1580
+ string;
1174
1581
  /** Selector specifying which fields to include in a partial response. */
1175
- fields?: string;
1582
+ fields?:
1583
+ string;
1176
1584
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1177
- key?: string;
1585
+ key?:
1586
+ string;
1178
1587
  /** Location of the resource information. Has to be "global" now. */
1179
- location: string;
1588
+ location:
1589
+ string;
1180
1590
  /**
1181
1591
  * The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but
1182
1592
  * used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.
1183
1593
  */
1184
- name: string;
1594
+ name:
1595
+ string;
1185
1596
  /** OAuth 2.0 token for the current user. */
1186
- oauth_token?: string;
1597
+ oauth_token?:
1598
+ string;
1187
1599
  /** Returns response with indentations and line breaks. */
1188
- prettyPrint?: boolean;
1600
+ prettyPrint?:
1601
+ boolean;
1189
1602
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1190
- quotaUser?: string;
1603
+ quotaUser?:
1604
+ string;
1191
1605
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1192
- upload_protocol?: string;
1606
+ upload_protocol?:
1607
+ string;
1193
1608
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1194
- uploadType?: string;
1609
+ uploadType?:
1610
+ string;
1195
1611
  },
1196
1612
  body: QueryInstantRequest): Request<HttpBody>;
1197
1613
  /** Lists exemplars relevant to a given PromQL query, */
1198
1614
  query_exemplars(request: {
1199
1615
  /** V1 error format. */
1200
- "$.xgafv"?: string;
1616
+ "$.xgafv"?:
1617
+ string;
1201
1618
  /** OAuth access token. */
1202
- access_token?: string;
1619
+ access_token?:
1620
+ string;
1203
1621
  /** Data format for response. */
1204
- alt?: string;
1622
+ alt?:
1623
+ string;
1205
1624
  /** JSONP */
1206
- callback?: string;
1625
+ callback?:
1626
+ string;
1207
1627
  /** Selector specifying which fields to include in a partial response. */
1208
- fields?: string;
1628
+ fields?:
1629
+ string;
1209
1630
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1210
- key?: string;
1631
+ key?:
1632
+ string;
1211
1633
  /** Location of the resource information. Has to be "global" now. */
1212
- location: string;
1634
+ location:
1635
+ string;
1213
1636
  /**
1214
1637
  * The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but
1215
1638
  * used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.
1216
1639
  */
1217
- name: string;
1640
+ name:
1641
+ string;
1218
1642
  /** OAuth 2.0 token for the current user. */
1219
- oauth_token?: string;
1643
+ oauth_token?:
1644
+ string;
1220
1645
  /** Returns response with indentations and line breaks. */
1221
- prettyPrint?: boolean;
1646
+ prettyPrint?:
1647
+ boolean;
1222
1648
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1223
- quotaUser?: string;
1649
+ quotaUser?:
1650
+ string;
1224
1651
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1225
- upload_protocol?: string;
1652
+ upload_protocol?:
1653
+ string;
1226
1654
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1227
- uploadType?: string;
1655
+ uploadType?:
1656
+ string;
1228
1657
  /** Request body */
1229
- resource: QueryExemplarsRequest;
1658
+ resource:
1659
+ QueryExemplarsRequest;
1230
1660
  }): Request<HttpBody>;
1231
1661
  query_exemplars(request: {
1232
1662
  /** V1 error format. */
1233
- "$.xgafv"?: string;
1663
+ "$.xgafv"?:
1664
+ string;
1234
1665
  /** OAuth access token. */
1235
- access_token?: string;
1666
+ access_token?:
1667
+ string;
1236
1668
  /** Data format for response. */
1237
- alt?: string;
1669
+ alt?:
1670
+ string;
1238
1671
  /** JSONP */
1239
- callback?: string;
1672
+ callback?:
1673
+ string;
1240
1674
  /** Selector specifying which fields to include in a partial response. */
1241
- fields?: string;
1675
+ fields?:
1676
+ string;
1242
1677
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1243
- key?: string;
1678
+ key?:
1679
+ string;
1244
1680
  /** Location of the resource information. Has to be "global" now. */
1245
- location: string;
1681
+ location:
1682
+ string;
1246
1683
  /**
1247
1684
  * The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but
1248
1685
  * used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.
1249
1686
  */
1250
- name: string;
1687
+ name:
1688
+ string;
1251
1689
  /** OAuth 2.0 token for the current user. */
1252
- oauth_token?: string;
1690
+ oauth_token?:
1691
+ string;
1253
1692
  /** Returns response with indentations and line breaks. */
1254
- prettyPrint?: boolean;
1693
+ prettyPrint?:
1694
+ boolean;
1255
1695
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1256
- quotaUser?: string;
1696
+ quotaUser?:
1697
+ string;
1257
1698
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1258
- upload_protocol?: string;
1699
+ upload_protocol?:
1700
+ string;
1259
1701
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1260
- uploadType?: string;
1702
+ uploadType?:
1703
+ string;
1261
1704
  },
1262
1705
  body: QueryExemplarsRequest): Request<HttpBody>;
1263
1706
  /** Evaluate a PromQL query with start, end time range. */
1264
1707
  query_range(request: {
1265
1708
  /** V1 error format. */
1266
- "$.xgafv"?: string;
1709
+ "$.xgafv"?:
1710
+ string;
1267
1711
  /** OAuth access token. */
1268
- access_token?: string;
1712
+ access_token?:
1713
+ string;
1269
1714
  /** Data format for response. */
1270
- alt?: string;
1715
+ alt?:
1716
+ string;
1271
1717
  /** JSONP */
1272
- callback?: string;
1718
+ callback?:
1719
+ string;
1273
1720
  /** Selector specifying which fields to include in a partial response. */
1274
- fields?: string;
1721
+ fields?:
1722
+ string;
1275
1723
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1276
- key?: string;
1724
+ key?:
1725
+ string;
1277
1726
  /** Location of the resource information. Has to be "global" now. */
1278
- location: string;
1727
+ location:
1728
+ string;
1279
1729
  /**
1280
1730
  * The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but
1281
1731
  * used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.
1282
1732
  */
1283
- name: string;
1733
+ name:
1734
+ string;
1284
1735
  /** OAuth 2.0 token for the current user. */
1285
- oauth_token?: string;
1736
+ oauth_token?:
1737
+ string;
1286
1738
  /** Returns response with indentations and line breaks. */
1287
- prettyPrint?: boolean;
1739
+ prettyPrint?:
1740
+ boolean;
1288
1741
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1289
- quotaUser?: string;
1742
+ quotaUser?:
1743
+ string;
1290
1744
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1291
- upload_protocol?: string;
1745
+ upload_protocol?:
1746
+ string;
1292
1747
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1293
- uploadType?: string;
1748
+ uploadType?:
1749
+ string;
1294
1750
  /** Request body */
1295
- resource: QueryRangeRequest;
1751
+ resource:
1752
+ QueryRangeRequest;
1296
1753
  }): Request<HttpBody>;
1297
1754
  query_range(request: {
1298
1755
  /** V1 error format. */
1299
- "$.xgafv"?: string;
1756
+ "$.xgafv"?:
1757
+ string;
1300
1758
  /** OAuth access token. */
1301
- access_token?: string;
1759
+ access_token?:
1760
+ string;
1302
1761
  /** Data format for response. */
1303
- alt?: string;
1762
+ alt?:
1763
+ string;
1304
1764
  /** JSONP */
1305
- callback?: string;
1765
+ callback?:
1766
+ string;
1306
1767
  /** Selector specifying which fields to include in a partial response. */
1307
- fields?: string;
1768
+ fields?:
1769
+ string;
1308
1770
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1309
- key?: string;
1771
+ key?:
1772
+ string;
1310
1773
  /** Location of the resource information. Has to be "global" now. */
1311
- location: string;
1774
+ location:
1775
+ string;
1312
1776
  /**
1313
1777
  * The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but
1314
1778
  * used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.
1315
1779
  */
1316
- name: string;
1780
+ name:
1781
+ string;
1317
1782
  /** OAuth 2.0 token for the current user. */
1318
- oauth_token?: string;
1783
+ oauth_token?:
1784
+ string;
1319
1785
  /** Returns response with indentations and line breaks. */
1320
- prettyPrint?: boolean;
1786
+ prettyPrint?:
1787
+ boolean;
1321
1788
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1322
- quotaUser?: string;
1789
+ quotaUser?:
1790
+ string;
1323
1791
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1324
- upload_protocol?: string;
1792
+ upload_protocol?:
1793
+ string;
1325
1794
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1326
- uploadType?: string;
1795
+ uploadType?:
1796
+ string;
1327
1797
  },
1328
1798
  body: QueryRangeRequest): Request<HttpBody>;
1329
1799
  /** Lists metadata for metrics. */
1330
1800
  series(request: {
1331
1801
  /** V1 error format. */
1332
- "$.xgafv"?: string;
1802
+ "$.xgafv"?:
1803
+ string;
1333
1804
  /** OAuth access token. */
1334
- access_token?: string;
1805
+ access_token?:
1806
+ string;
1335
1807
  /** Data format for response. */
1336
- alt?: string;
1808
+ alt?:
1809
+ string;
1337
1810
  /** JSONP */
1338
- callback?: string;
1811
+ callback?:
1812
+ string;
1339
1813
  /** Selector specifying which fields to include in a partial response. */
1340
- fields?: string;
1814
+ fields?:
1815
+ string;
1341
1816
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1342
- key?: string;
1817
+ key?:
1818
+ string;
1343
1819
  /** Location of the resource information. Has to be "global" for now. */
1344
- location: string;
1820
+ location:
1821
+ string;
1345
1822
  /**
1346
1823
  * Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus
1347
1824
  * instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
1348
1825
  */
1349
- name: string;
1826
+ name:
1827
+ string;
1350
1828
  /** OAuth 2.0 token for the current user. */
1351
- oauth_token?: string;
1829
+ oauth_token?:
1830
+ string;
1352
1831
  /** Returns response with indentations and line breaks. */
1353
- prettyPrint?: boolean;
1832
+ prettyPrint?:
1833
+ boolean;
1354
1834
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1355
- quotaUser?: string;
1835
+ quotaUser?:
1836
+ string;
1356
1837
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1357
- upload_protocol?: string;
1838
+ upload_protocol?:
1839
+ string;
1358
1840
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1359
- uploadType?: string;
1841
+ uploadType?:
1842
+ string;
1360
1843
  /** Request body */
1361
- resource: QuerySeriesRequest;
1844
+ resource:
1845
+ QuerySeriesRequest;
1362
1846
  }): Request<HttpBody>;
1363
1847
  series(request: {
1364
1848
  /** V1 error format. */
1365
- "$.xgafv"?: string;
1849
+ "$.xgafv"?:
1850
+ string;
1366
1851
  /** OAuth access token. */
1367
- access_token?: string;
1852
+ access_token?:
1853
+ string;
1368
1854
  /** Data format for response. */
1369
- alt?: string;
1855
+ alt?:
1856
+ string;
1370
1857
  /** JSONP */
1371
- callback?: string;
1858
+ callback?:
1859
+ string;
1372
1860
  /** Selector specifying which fields to include in a partial response. */
1373
- fields?: string;
1861
+ fields?:
1862
+ string;
1374
1863
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1375
- key?: string;
1864
+ key?:
1865
+ string;
1376
1866
  /** Location of the resource information. Has to be "global" for now. */
1377
- location: string;
1867
+ location:
1868
+ string;
1378
1869
  /**
1379
1870
  * Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus
1380
1871
  * instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
1381
1872
  */
1382
- name: string;
1873
+ name:
1874
+ string;
1383
1875
  /** OAuth 2.0 token for the current user. */
1384
- oauth_token?: string;
1876
+ oauth_token?:
1877
+ string;
1385
1878
  /** Returns response with indentations and line breaks. */
1386
- prettyPrint?: boolean;
1879
+ prettyPrint?:
1880
+ boolean;
1387
1881
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1388
- quotaUser?: string;
1882
+ quotaUser?:
1883
+ string;
1389
1884
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1390
- upload_protocol?: string;
1885
+ upload_protocol?:
1886
+ string;
1391
1887
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1392
- uploadType?: string;
1888
+ uploadType?:
1889
+ string;
1393
1890
  },
1394
1891
  body: QuerySeriesRequest): Request<HttpBody>;
1395
- label: LabelResource;
1396
- labels: LabelsResource;
1397
- metadata: MetadataResource;
1892
+ label:
1893
+ LabelResource;
1894
+ labels:
1895
+ LabelsResource;
1896
+ metadata:
1897
+ MetadataResource;
1398
1898
  }
1399
1899
  interface ApiResource {
1400
- v1: V1Resource;
1900
+ v1:
1901
+ V1Resource;
1401
1902
  }
1402
1903
  interface PrometheusResource {
1403
- api: ApiResource;
1904
+ api:
1905
+ ApiResource;
1404
1906
  }
1405
1907
  interface LocationResource {
1406
- prometheus: PrometheusResource;
1908
+ prometheus:
1909
+ PrometheusResource;
1407
1910
  }
1408
1911
  interface ProjectsResource {
1409
- dashboards: DashboardsResource;
1410
- location: LocationResource;
1912
+ dashboards:
1913
+ DashboardsResource;
1914
+ location:
1915
+ LocationResource;
1411
1916
  }
1412
1917
 
1413
1918
  const locations: LocationsResource;