@maxim_mazurok/gapi.client.monitoring-v1 0.1.20260528 → 0.1.20260611
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +52 -2
- package/package.json +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:
|
|
12
|
+
// Revision: 20260611
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -238,6 +238,10 @@ declare namespace gapi.client {
|
|
|
238
238
|
| 'SORT_ORDER_DESCENDING';
|
|
239
239
|
/** time_bin_size is used when the data type of the specified dimension is a time type and the bin size is determined by a time duration. If column_type is DATE, this must be a whole value multiple of 1 day. If column_type is TIME, this must be less than or equal to 24 hours. */
|
|
240
240
|
timeBinSize?: string;
|
|
241
|
+
/** The maximum value for the x-axis. */
|
|
242
|
+
xMax?: number;
|
|
243
|
+
/** The minimum value for the x-axis. */
|
|
244
|
+
xMin?: number;
|
|
241
245
|
}
|
|
242
246
|
interface DroppedLabels {
|
|
243
247
|
/** Map from label to its value, for all labels dropped in any aggregation. */
|
|
@@ -283,7 +287,9 @@ declare namespace gapi.client {
|
|
|
283
287
|
| 'SERVICE_HEALTH_INCIDENT'
|
|
284
288
|
| 'SAP_BACKINT'
|
|
285
289
|
| 'SAP_AVAILABILITY'
|
|
286
|
-
| 'SAP_OPERATIONS'
|
|
290
|
+
| 'SAP_OPERATIONS'
|
|
291
|
+
| 'INTERCONNECT_MAINTENANCE_STARTED'
|
|
292
|
+
| 'INTERCONNECT_MAINTENANCE_COMPLETED';
|
|
287
293
|
/** string filtering the events - event dependant. Example values: "resource.labels.pod_name = 'pod-1'" "protoPayload.authenticationInfo.principalEmail='user@example.com'" */
|
|
288
294
|
filter?: string;
|
|
289
295
|
/** Per annotation level override for the names of logging resources to search for events. Currently only projects are supported. If both this field and the per annotation field is empty, it will default to the host project. Limit: 50 projects. For example: “projects/another-project-id” */
|
|
@@ -589,10 +595,40 @@ declare namespace gapi.client {
|
|
|
589
595
|
/** The path-qualified name of the .proto file that contained the associated protobuf element. For example: "google/protobuf/source_context.proto". */
|
|
590
596
|
fileName?: string;
|
|
591
597
|
}
|
|
598
|
+
interface SpanAttributeFilter {
|
|
599
|
+
/** Key of the attribute */
|
|
600
|
+
key?: string;
|
|
601
|
+
/** List of attribute values for given key. Multiple values will be OR'd together. */
|
|
602
|
+
value?: string[];
|
|
603
|
+
}
|
|
592
604
|
interface SpanContext {
|
|
593
605
|
/** 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 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. */
|
|
594
606
|
spanName?: string;
|
|
595
607
|
}
|
|
608
|
+
interface SpanFilters {
|
|
609
|
+
/** Optional. Filtering for spans containing one of the Apphub service IDs in the list. Multiple values will be OR'd together. Example: "service-id1", "service-id2" */
|
|
610
|
+
apphubServices?: string[];
|
|
611
|
+
/** Optional. Filtering for spans containing one of the Apphub workload IDs in the list. Multiple values will be OR'd together. Example: "workload-id1", "workload-id2" */
|
|
612
|
+
apphubWorkloads?: string[];
|
|
613
|
+
/** Optional. Filtering for spans containing one of the Apphub Application IDs in the list. Multiple values will be OR'd together. */
|
|
614
|
+
applicationIds?: string[];
|
|
615
|
+
/** Optional. List of span attribute filters. Each SpanAttributeFilter key must be unique. Multiple attribute filters will be AND'd together. */
|
|
616
|
+
attributes?: SpanAttributeFilter[];
|
|
617
|
+
/** Optional. Filtering for spans containing one of the span display names in the list. Multiple values will be OR'd together. */
|
|
618
|
+
displayNames?: string[];
|
|
619
|
+
/** Optional. Filters for root spans only if set to true. A root span is a span without a defined parent span ID. */
|
|
620
|
+
isRootSpan?: boolean;
|
|
621
|
+
/** Optional. Filtering for spans containing one of the kinds in the list. Multiple values will be OR'd together. */
|
|
622
|
+
kinds?: string[];
|
|
623
|
+
/** Optional. Filtering for spans with a maximum duration. */
|
|
624
|
+
maxDuration?: string;
|
|
625
|
+
/** Optional. Filtering for spans with a minimum duration. */
|
|
626
|
+
minDuration?: string;
|
|
627
|
+
/** Optional. Filtering for spans containing one of the services in the list. Multiple values will be OR'd together. */
|
|
628
|
+
services?: string[];
|
|
629
|
+
/** Optional. Filtering for spans containing one of the statuses in the list. Multiple values will be OR'd together. */
|
|
630
|
+
status?: string[];
|
|
631
|
+
}
|
|
596
632
|
interface SparkChartView {
|
|
597
633
|
/** 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 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.For PromQL queries, this field is used to set the minimum interval for the query step, controlling data granularity. Larger values can improve performance on long time ranges. See Querying Basics and Range Queries for more details on the PromQL step. */
|
|
598
634
|
minAlignmentPeriod?: string;
|
|
@@ -760,6 +796,8 @@ declare namespace gapi.client {
|
|
|
760
796
|
timeSeriesFilterRatio?: TimeSeriesFilterRatio;
|
|
761
797
|
/** A query used to fetch time series with MQL. */
|
|
762
798
|
timeSeriesQueryLanguage?: string;
|
|
799
|
+
/** Optional. Preview: Query for traces. This is a preview feature and may be subject to change before final release. */
|
|
800
|
+
traceQuery?: TraceQuery;
|
|
763
801
|
/** 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 (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in MetricDescriptor. */
|
|
764
802
|
unitOverride?: string;
|
|
765
803
|
}
|
|
@@ -774,6 +812,18 @@ declare namespace gapi.client {
|
|
|
774
812
|
| 'NUMBER'
|
|
775
813
|
| 'BAR';
|
|
776
814
|
}
|
|
815
|
+
interface TraceQuery {
|
|
816
|
+
/** Optional. The resource name of the project or Trace scope to fetch data from. If empty, the widget will default to the project's default Trace scope. If scope cannot be determined, then we fallback to the current project. Optional. */
|
|
817
|
+
resourceContainer?: string;
|
|
818
|
+
/** The type of span data value to be displayed on the chart. Required. */
|
|
819
|
+
spanDataValue?:
|
|
820
|
+
| 'SPAN_DATA_VALUE_UNSPECIFIED'
|
|
821
|
+
| 'SPAN_COUNT'
|
|
822
|
+
| 'SPAN_DURATION'
|
|
823
|
+
| 'SPAN_DURATION_PERCENTILES';
|
|
824
|
+
/** First version of span filtering that we will support. Required. */
|
|
825
|
+
spanFilters?: SpanFilters;
|
|
826
|
+
}
|
|
777
827
|
interface Treemap {
|
|
778
828
|
/** Required. The collection of datasets used to construct and populate the treemap. For the rendered treemap rectangles: Color is determined by the aggregated value for each grouping. Size is proportional to the count of time series aggregated within that rectangle's segment. */
|
|
779
829
|
dataSets?: TreemapDataSet[];
|