google-apis-monitoring_v1 0.38.0 → 0.39.0
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.
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
@@ -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
|
@@ -2163,6 +2249,11 @@ module Google
|
|
2163
2249
|
# @return [Google::Apis::MonitoringV1::LogsPanel]
|
2164
2250
|
attr_accessor :logs_panel
|
2165
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
|
+
|
2166
2257
|
# A widget showing the latest value of a metric, and how this value relates to
|
2167
2258
|
# one or more thresholds.
|
2168
2259
|
# Corresponds to the JSON property `scorecard`
|
@@ -2200,6 +2291,7 @@ module Google
|
|
2200
2291
|
@collapsible_group = args[:collapsible_group] if args.key?(:collapsible_group)
|
2201
2292
|
@incident_list = args[:incident_list] if args.key?(:incident_list)
|
2202
2293
|
@logs_panel = args[:logs_panel] if args.key?(:logs_panel)
|
2294
|
+
@pie_chart = args[:pie_chart] if args.key?(:pie_chart)
|
2203
2295
|
@scorecard = args[:scorecard] if args.key?(:scorecard)
|
2204
2296
|
@text = args[:text] if args.key?(:text)
|
2205
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
|
@@ -904,6 +938,8 @@ module Google
|
|
904
938
|
|
905
939
|
property :logs_panel, as: 'logsPanel', class: Google::Apis::MonitoringV1::LogsPanel, decorator: Google::Apis::MonitoringV1::LogsPanel::Representation
|
906
940
|
|
941
|
+
property :pie_chart, as: 'pieChart', class: Google::Apis::MonitoringV1::PieChart, decorator: Google::Apis::MonitoringV1::PieChart::Representation
|
942
|
+
|
907
943
|
property :scorecard, as: 'scorecard', class: Google::Apis::MonitoringV1::Scorecard, decorator: Google::Apis::MonitoringV1::Scorecard::Representation
|
908
944
|
|
909
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
|