@maxim_mazurok/gapi.client.monitoring-v1 0.1.20260604 → 0.1.20260618

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 (2) hide show
  1. package/index.d.ts +44 -3
  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: 20260604
12
+ // Revision: 20260618
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -595,10 +595,40 @@ declare namespace gapi.client {
595
595
  /** The path-qualified name of the .proto file that contained the associated protobuf element. For example: "google/protobuf/source_context.proto". */
596
596
  fileName?: string;
597
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
+ }
598
604
  interface SpanContext {
599
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. */
600
606
  spanName?: string;
601
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
+ }
602
632
  interface SparkChartView {
603
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. */
604
634
  minAlignmentPeriod?: string;
@@ -767,7 +797,7 @@ declare namespace gapi.client {
767
797
  /** A query used to fetch time series with MQL. */
768
798
  timeSeriesQueryLanguage?: string;
769
799
  /** Optional. Preview: Query for traces. This is a preview feature and may be subject to change before final release. */
770
- traceQuery?: any;
800
+ traceQuery?: TraceQuery;
771
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. */
772
802
  unitOverride?: string;
773
803
  }
@@ -782,7 +812,18 @@ declare namespace gapi.client {
782
812
  | 'NUMBER'
783
813
  | 'BAR';
784
814
  }
785
- interface TraceQuery {}
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
+ }
786
827
  interface Treemap {
787
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. */
788
829
  dataSets?: TreemapDataSet[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.monitoring-v1",
3
- "version": "0.1.20260604",
3
+ "version": "0.1.20260618",
4
4
  "description": "TypeScript typings for Cloud Monitoring API v1",
5
5
  "repository": {
6
6
  "type": "git",