google-apis-monitoring_v1 0.37.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7aba947400177993852fcd534e040d84d38e17f6dcfaace0e30ac4a6f4e4a50c
|
4
|
+
data.tar.gz: 4739a76f52d698097c348538b660fa5a638a53363c86aed111a5b88cccbcdccf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92337e0530d8081b2c71e1707401c00a436b5f03b231ee2ecd460b63c270ad506c97234ebb4d3f5b4bebeead31e1424b52534942866e5a9bc7aee466d00c5347
|
7
|
+
data.tar.gz: d2a275ee26cad39055294a63d146dd9d758d7ed33951601895c1b6a58d76ac2754a08cdf7af8615153187d3a50d8d578d7e9fb5ffc7d99066134b7b9f4f5c9f4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v1
|
2
2
|
|
3
|
+
### v0.39.0 (2023-08-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230821
|
6
|
+
|
7
|
+
### v0.38.0 (2023-08-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230806
|
10
|
+
|
3
11
|
### v0.37.0 (2023-08-06)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230731
|
@@ -950,12 +950,12 @@ module Google
|
|
950
950
|
# @return [String]
|
951
951
|
attr_accessor :name
|
952
952
|
|
953
|
-
# The normal response of the operation
|
954
|
-
#
|
955
|
-
#
|
956
|
-
#
|
957
|
-
#
|
958
|
-
#
|
953
|
+
# The normal, successful response of the operation. If the original method
|
954
|
+
# returns no data on success, such as Delete, the response is google.protobuf.
|
955
|
+
# Empty. If the original method is standard Get/Create/Update, the response
|
956
|
+
# should be the resource. For other methods, the response should have the type
|
957
|
+
# XxxResponse, where Xxx is the original method name. For example, if the
|
958
|
+
# original method name is TakeSnapshot(), the inferred response type is
|
959
959
|
# TakeSnapshotResponse.
|
960
960
|
# Corresponds to the JSON property `response`
|
961
961
|
# @return [Hash<String,Object>]
|
@@ -1076,6 +1076,92 @@ module Google
|
|
1076
1076
|
end
|
1077
1077
|
end
|
1078
1078
|
|
1079
|
+
# A widget that displays timeseries data as a pie or a donut.
|
1080
|
+
class PieChart
|
1081
|
+
include Google::Apis::Core::Hashable
|
1082
|
+
|
1083
|
+
# Required. Indicates the visualization type for the PieChart.
|
1084
|
+
# Corresponds to the JSON property `chartType`
|
1085
|
+
# @return [String]
|
1086
|
+
attr_accessor :chart_type
|
1087
|
+
|
1088
|
+
# Required. The queries for the chart's data.
|
1089
|
+
# Corresponds to the JSON property `dataSets`
|
1090
|
+
# @return [Array<Google::Apis::MonitoringV1::PieChartDataSet>]
|
1091
|
+
attr_accessor :data_sets
|
1092
|
+
|
1093
|
+
# Optional. Indicates whether or not the pie chart should show slices' labels
|
1094
|
+
# Corresponds to the JSON property `showLabels`
|
1095
|
+
# @return [Boolean]
|
1096
|
+
attr_accessor :show_labels
|
1097
|
+
alias_method :show_labels?, :show_labels
|
1098
|
+
|
1099
|
+
# Optional. Indicates whether or not donut chart should show the total in the
|
1100
|
+
# middle
|
1101
|
+
# Corresponds to the JSON property `showTotal`
|
1102
|
+
# @return [Boolean]
|
1103
|
+
attr_accessor :show_total
|
1104
|
+
alias_method :show_total?, :show_total
|
1105
|
+
|
1106
|
+
# Optional. If slices's values are smaller than this value, they will be
|
1107
|
+
# combined into other category
|
1108
|
+
# Corresponds to the JSON property `sliceAggregatedThreshold`
|
1109
|
+
# @return [Float]
|
1110
|
+
attr_accessor :slice_aggregated_threshold
|
1111
|
+
|
1112
|
+
def initialize(**args)
|
1113
|
+
update!(**args)
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
# Update properties of this object
|
1117
|
+
def update!(**args)
|
1118
|
+
@chart_type = args[:chart_type] if args.key?(:chart_type)
|
1119
|
+
@data_sets = args[:data_sets] if args.key?(:data_sets)
|
1120
|
+
@show_labels = args[:show_labels] if args.key?(:show_labels)
|
1121
|
+
@show_total = args[:show_total] if args.key?(:show_total)
|
1122
|
+
@slice_aggregated_threshold = args[:slice_aggregated_threshold] if args.key?(:slice_aggregated_threshold)
|
1123
|
+
end
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
# Groups a time series query definition.
|
1127
|
+
class PieChartDataSet
|
1128
|
+
include Google::Apis::Core::Hashable
|
1129
|
+
|
1130
|
+
# Optional. The lower bound on data point frequency for this data set,
|
1131
|
+
# implemented by specifying the minimum alignment period to use in a time series
|
1132
|
+
# query. For example, if the data is published once every 10 minutes, the
|
1133
|
+
# min_alignment_period should be at least 10 minutes. It would not make sense to
|
1134
|
+
# fetch and align data at one minute intervals.
|
1135
|
+
# Corresponds to the JSON property `minAlignmentPeriod`
|
1136
|
+
# @return [String]
|
1137
|
+
attr_accessor :min_alignment_period
|
1138
|
+
|
1139
|
+
# Optional. A template for the name of the slice. This name will be displayed in
|
1140
|
+
# the legend and the tooltip of the pie chart. It replaces the auto-generated
|
1141
|
+
# names for the slices. For example, if the template is set to $`resource.labels.
|
1142
|
+
# zone`, the zone's value will be used for the name instead of the default name.
|
1143
|
+
# Corresponds to the JSON property `sliceNameTemplate`
|
1144
|
+
# @return [String]
|
1145
|
+
attr_accessor :slice_name_template
|
1146
|
+
|
1147
|
+
# TimeSeriesQuery collects the set of supported methods for querying time series
|
1148
|
+
# data from the Stackdriver metrics API.
|
1149
|
+
# Corresponds to the JSON property `timeSeriesQuery`
|
1150
|
+
# @return [Google::Apis::MonitoringV1::TimeSeriesQuery]
|
1151
|
+
attr_accessor :time_series_query
|
1152
|
+
|
1153
|
+
def initialize(**args)
|
1154
|
+
update!(**args)
|
1155
|
+
end
|
1156
|
+
|
1157
|
+
# Update properties of this object
|
1158
|
+
def update!(**args)
|
1159
|
+
@min_alignment_period = args[:min_alignment_period] if args.key?(:min_alignment_period)
|
1160
|
+
@slice_name_template = args[:slice_name_template] if args.key?(:slice_name_template)
|
1161
|
+
@time_series_query = args[:time_series_query] if args.key?(:time_series_query)
|
1162
|
+
end
|
1163
|
+
end
|
1164
|
+
|
1079
1165
|
# QueryExemplarsRequest holds all parameters of the Prometheus upstream API for
|
1080
1166
|
# querying exemplars.
|
1081
1167
|
class QueryExemplarsRequest
|
@@ -1367,6 +1453,14 @@ module Google
|
|
1367
1453
|
class Scorecard
|
1368
1454
|
include Google::Apis::Core::Hashable
|
1369
1455
|
|
1456
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1457
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
1458
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1459
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1460
|
+
# Corresponds to the JSON property `blankView`
|
1461
|
+
# @return [Google::Apis::MonitoringV1::Empty]
|
1462
|
+
attr_accessor :blank_view
|
1463
|
+
|
1370
1464
|
# A gauge chart shows where the current value sits within a pre-defined range.
|
1371
1465
|
# The upper and lower bounds should define the possible range of values for the
|
1372
1466
|
# scorecard's query (inclusive).
|
@@ -1412,6 +1506,7 @@ module Google
|
|
1412
1506
|
|
1413
1507
|
# Update properties of this object
|
1414
1508
|
def update!(**args)
|
1509
|
+
@blank_view = args[:blank_view] if args.key?(:blank_view)
|
1415
1510
|
@gauge_view = args[:gauge_view] if args.key?(:gauge_view)
|
1416
1511
|
@spark_chart_view = args[:spark_chart_view] if args.key?(:spark_chart_view)
|
1417
1512
|
@thresholds = args[:thresholds] if args.key?(:thresholds)
|
@@ -1977,6 +2072,15 @@ module Google
|
|
1977
2072
|
class TimeSeriesQuery
|
1978
2073
|
include Google::Apis::Core::Hashable
|
1979
2074
|
|
2075
|
+
# Optional. If set, Cloud Monitoring will treat the full query duration as the
|
2076
|
+
# alignment period so that there will be only 1 output value.*Note: This could
|
2077
|
+
# override the configured alignment period except for the cases where a series
|
2078
|
+
# of data points are expected, like - XyChart - Scorecard's spark chart
|
2079
|
+
# Corresponds to the JSON property `outputFullDuration`
|
2080
|
+
# @return [Boolean]
|
2081
|
+
attr_accessor :output_full_duration
|
2082
|
+
alias_method :output_full_duration?, :output_full_duration
|
2083
|
+
|
1980
2084
|
# A query used to fetch time series with PromQL.
|
1981
2085
|
# Corresponds to the JSON property `prometheusQuery`
|
1982
2086
|
# @return [String]
|
@@ -2015,6 +2119,7 @@ module Google
|
|
2015
2119
|
|
2016
2120
|
# Update properties of this object
|
2017
2121
|
def update!(**args)
|
2122
|
+
@output_full_duration = args[:output_full_duration] if args.key?(:output_full_duration)
|
2018
2123
|
@prometheus_query = args[:prometheus_query] if args.key?(:prometheus_query)
|
2019
2124
|
@time_series_filter = args[:time_series_filter] if args.key?(:time_series_filter)
|
2020
2125
|
@time_series_filter_ratio = args[:time_series_filter_ratio] if args.key?(:time_series_filter_ratio)
|
@@ -2144,6 +2249,11 @@ module Google
|
|
2144
2249
|
# @return [Google::Apis::MonitoringV1::LogsPanel]
|
2145
2250
|
attr_accessor :logs_panel
|
2146
2251
|
|
2252
|
+
# A widget that displays timeseries data as a pie or a donut.
|
2253
|
+
# Corresponds to the JSON property `pieChart`
|
2254
|
+
# @return [Google::Apis::MonitoringV1::PieChart]
|
2255
|
+
attr_accessor :pie_chart
|
2256
|
+
|
2147
2257
|
# A widget showing the latest value of a metric, and how this value relates to
|
2148
2258
|
# one or more thresholds.
|
2149
2259
|
# Corresponds to the JSON property `scorecard`
|
@@ -2181,6 +2291,7 @@ module Google
|
|
2181
2291
|
@collapsible_group = args[:collapsible_group] if args.key?(:collapsible_group)
|
2182
2292
|
@incident_list = args[:incident_list] if args.key?(:incident_list)
|
2183
2293
|
@logs_panel = args[:logs_panel] if args.key?(:logs_panel)
|
2294
|
+
@pie_chart = args[:pie_chart] if args.key?(:pie_chart)
|
2184
2295
|
@scorecard = args[:scorecard] if args.key?(:scorecard)
|
2185
2296
|
@text = args[:text] if args.key?(:text)
|
2186
2297
|
@time_series_table = args[:time_series_table] if args.key?(:time_series_table)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MonitoringV1
|
18
18
|
# Version of the google-apis-monitoring_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.39.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230821"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -196,6 +196,18 @@ module Google
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
197
197
|
end
|
198
198
|
|
199
|
+
class PieChart
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class PieChartDataSet
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
199
211
|
class QueryExemplarsRequest
|
200
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
213
|
|
@@ -628,6 +640,28 @@ module Google
|
|
628
640
|
end
|
629
641
|
end
|
630
642
|
|
643
|
+
class PieChart
|
644
|
+
# @private
|
645
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
646
|
+
property :chart_type, as: 'chartType'
|
647
|
+
collection :data_sets, as: 'dataSets', class: Google::Apis::MonitoringV1::PieChartDataSet, decorator: Google::Apis::MonitoringV1::PieChartDataSet::Representation
|
648
|
+
|
649
|
+
property :show_labels, as: 'showLabels'
|
650
|
+
property :show_total, as: 'showTotal'
|
651
|
+
property :slice_aggregated_threshold, as: 'sliceAggregatedThreshold'
|
652
|
+
end
|
653
|
+
end
|
654
|
+
|
655
|
+
class PieChartDataSet
|
656
|
+
# @private
|
657
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
658
|
+
property :min_alignment_period, as: 'minAlignmentPeriod'
|
659
|
+
property :slice_name_template, as: 'sliceNameTemplate'
|
660
|
+
property :time_series_query, as: 'timeSeriesQuery', class: Google::Apis::MonitoringV1::TimeSeriesQuery, decorator: Google::Apis::MonitoringV1::TimeSeriesQuery::Representation
|
661
|
+
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
631
665
|
class QueryExemplarsRequest
|
632
666
|
# @private
|
633
667
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -703,6 +737,8 @@ module Google
|
|
703
737
|
class Scorecard
|
704
738
|
# @private
|
705
739
|
class Representation < Google::Apis::Core::JsonRepresentation
|
740
|
+
property :blank_view, as: 'blankView', class: Google::Apis::MonitoringV1::Empty, decorator: Google::Apis::MonitoringV1::Empty::Representation
|
741
|
+
|
706
742
|
property :gauge_view, as: 'gaugeView', class: Google::Apis::MonitoringV1::GaugeView, decorator: Google::Apis::MonitoringV1::GaugeView::Representation
|
707
743
|
|
708
744
|
property :spark_chart_view, as: 'sparkChartView', class: Google::Apis::MonitoringV1::SparkChartView, decorator: Google::Apis::MonitoringV1::SparkChartView::Representation
|
@@ -851,6 +887,7 @@ module Google
|
|
851
887
|
class TimeSeriesQuery
|
852
888
|
# @private
|
853
889
|
class Representation < Google::Apis::Core::JsonRepresentation
|
890
|
+
property :output_full_duration, as: 'outputFullDuration'
|
854
891
|
property :prometheus_query, as: 'prometheusQuery'
|
855
892
|
property :time_series_filter, as: 'timeSeriesFilter', class: Google::Apis::MonitoringV1::TimeSeriesFilter, decorator: Google::Apis::MonitoringV1::TimeSeriesFilter::Representation
|
856
893
|
|
@@ -901,6 +938,8 @@ module Google
|
|
901
938
|
|
902
939
|
property :logs_panel, as: 'logsPanel', class: Google::Apis::MonitoringV1::LogsPanel, decorator: Google::Apis::MonitoringV1::LogsPanel::Representation
|
903
940
|
|
941
|
+
property :pie_chart, as: 'pieChart', class: Google::Apis::MonitoringV1::PieChart, decorator: Google::Apis::MonitoringV1::PieChart::Representation
|
942
|
+
|
904
943
|
property :scorecard, as: 'scorecard', class: Google::Apis::MonitoringV1::Scorecard, decorator: Google::Apis::MonitoringV1::Scorecard::Representation
|
905
944
|
|
906
945
|
property :text, as: 'text', class: Google::Apis::MonitoringV1::Text, decorator: Google::Apis::MonitoringV1::Text::Representation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-monitoring_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.39.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Monitoring API V1
|