google-apis-monitoring_v1 0.11.0 → 0.12.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/monitoring_v1/classes.rb +19 -0
- data/lib/google/apis/monitoring_v1/gem_version.rb +2 -2
- data/lib/google/apis/monitoring_v1/representations.rb +4 -0
- data/lib/google/apis/monitoring_v1/service.rb +2 -1
- data/lib/google/apis/monitoring_v1.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d77f39bc37e651ebdf187c18beb23071d307e81b975fcb5f2372d1a35cec8726
|
4
|
+
data.tar.gz: d829526718c427ec5788ac8f488e52512f147aa9288b8a652c48d0781c4691ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 463297005022f20a0a5666c742e58337c72e1aabb628545fe2e2d66aa4fe7d37dfb2065ea80ca63c5be4ab63152f03cb3ae1039224e7f54e92af2df29434f158
|
7
|
+
data.tar.gz: 6df27e09cbcae11219ea186663ca5fbd0869483bfbb9a21e572f638d8b3862dd30effa5c4dc72a9d789fbb001103c14ec0057f00bc51106f3027128b76eb3054
|
data/CHANGELOG.md
CHANGED
@@ -319,6 +319,11 @@ module Google
|
|
319
319
|
# @return [String]
|
320
320
|
attr_accessor :plot_type
|
321
321
|
|
322
|
+
# Optional. The target axis to use for plotting the metric.
|
323
|
+
# Corresponds to the JSON property `targetAxis`
|
324
|
+
# @return [String]
|
325
|
+
attr_accessor :target_axis
|
326
|
+
|
322
327
|
# TimeSeriesQuery collects the set of supported methods for querying time series
|
323
328
|
# data from the Stackdriver metrics API.
|
324
329
|
# Corresponds to the JSON property `timeSeriesQuery`
|
@@ -334,6 +339,7 @@ module Google
|
|
334
339
|
@legend_template = args[:legend_template] if args.key?(:legend_template)
|
335
340
|
@min_alignment_period = args[:min_alignment_period] if args.key?(:min_alignment_period)
|
336
341
|
@plot_type = args[:plot_type] if args.key?(:plot_type)
|
342
|
+
@target_axis = args[:target_axis] if args.key?(:target_axis)
|
337
343
|
@time_series_query = args[:time_series_query] if args.key?(:time_series_query)
|
338
344
|
end
|
339
345
|
end
|
@@ -1169,6 +1175,12 @@ module Google
|
|
1169
1175
|
# @return [String]
|
1170
1176
|
attr_accessor :label
|
1171
1177
|
|
1178
|
+
# The target axis to use for plotting the threshold. Target axis is not allowed
|
1179
|
+
# in a Scorecard.
|
1180
|
+
# Corresponds to the JSON property `targetAxis`
|
1181
|
+
# @return [String]
|
1182
|
+
attr_accessor :target_axis
|
1183
|
+
|
1172
1184
|
# The value of the threshold. The value should be defined in the native scale of
|
1173
1185
|
# the metric.
|
1174
1186
|
# Corresponds to the JSON property `value`
|
@@ -1184,6 +1196,7 @@ module Google
|
|
1184
1196
|
@color = args[:color] if args.key?(:color)
|
1185
1197
|
@direction = args[:direction] if args.key?(:direction)
|
1186
1198
|
@label = args[:label] if args.key?(:label)
|
1199
|
+
@target_axis = args[:target_axis] if args.key?(:target_axis)
|
1187
1200
|
@value = args[:value] if args.key?(:value)
|
1188
1201
|
end
|
1189
1202
|
end
|
@@ -1587,6 +1600,11 @@ module Google
|
|
1587
1600
|
# @return [Google::Apis::MonitoringV1::Axis]
|
1588
1601
|
attr_accessor :x_axis
|
1589
1602
|
|
1603
|
+
# A chart axis.
|
1604
|
+
# Corresponds to the JSON property `y2Axis`
|
1605
|
+
# @return [Google::Apis::MonitoringV1::Axis]
|
1606
|
+
attr_accessor :y2_axis
|
1607
|
+
|
1590
1608
|
# A chart axis.
|
1591
1609
|
# Corresponds to the JSON property `yAxis`
|
1592
1610
|
# @return [Google::Apis::MonitoringV1::Axis]
|
@@ -1603,6 +1621,7 @@ module Google
|
|
1603
1621
|
@thresholds = args[:thresholds] if args.key?(:thresholds)
|
1604
1622
|
@timeshift_duration = args[:timeshift_duration] if args.key?(:timeshift_duration)
|
1605
1623
|
@x_axis = args[:x_axis] if args.key?(:x_axis)
|
1624
|
+
@y2_axis = args[:y2_axis] if args.key?(:y2_axis)
|
1606
1625
|
@y_axis = args[:y_axis] if args.key?(:y_axis)
|
1607
1626
|
end
|
1608
1627
|
end
|
@@ -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.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210809"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -334,6 +334,7 @@ module Google
|
|
334
334
|
property :legend_template, as: 'legendTemplate'
|
335
335
|
property :min_alignment_period, as: 'minAlignmentPeriod'
|
336
336
|
property :plot_type, as: 'plotType'
|
337
|
+
property :target_axis, as: 'targetAxis'
|
337
338
|
property :time_series_query, as: 'timeSeriesQuery', class: Google::Apis::MonitoringV1::TimeSeriesQuery, decorator: Google::Apis::MonitoringV1::TimeSeriesQuery::Representation
|
338
339
|
|
339
340
|
end
|
@@ -562,6 +563,7 @@ module Google
|
|
562
563
|
property :color, as: 'color'
|
563
564
|
property :direction, as: 'direction'
|
564
565
|
property :label, as: 'label'
|
566
|
+
property :target_axis, as: 'targetAxis'
|
565
567
|
property :value, as: 'value'
|
566
568
|
end
|
567
569
|
end
|
@@ -665,6 +667,8 @@ module Google
|
|
665
667
|
property :timeshift_duration, as: 'timeshiftDuration'
|
666
668
|
property :x_axis, as: 'xAxis', class: Google::Apis::MonitoringV1::Axis, decorator: Google::Apis::MonitoringV1::Axis::Representation
|
667
669
|
|
670
|
+
property :y2_axis, as: 'y2Axis', class: Google::Apis::MonitoringV1::Axis, decorator: Google::Apis::MonitoringV1::Axis::Representation
|
671
|
+
|
668
672
|
property :y_axis, as: 'yAxis', class: Google::Apis::MonitoringV1::Axis, decorator: Google::Apis::MonitoringV1::Axis::Representation
|
669
673
|
|
670
674
|
end
|
@@ -54,7 +54,8 @@ module Google
|
|
54
54
|
@batch_path = 'batch'
|
55
55
|
end
|
56
56
|
|
57
|
-
# Returns a specific Metrics Scope
|
57
|
+
# Returns a specific Metrics Scope, including the list of projects monitored by
|
58
|
+
# the specified Metrics Scope.
|
58
59
|
# @param [String] name
|
59
60
|
# Required. The resource name of the Metrics Scope. Example: locations/global/
|
60
61
|
# metricsScopes/`SCOPING_PROJECT_ID_OR_NUMBER`
|
@@ -34,7 +34,7 @@ module Google
|
|
34
34
|
# This is NOT the gem version.
|
35
35
|
VERSION = 'V1'
|
36
36
|
|
37
|
-
# See, edit, configure, and delete your Google Cloud
|
37
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
38
38
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
39
39
|
|
40
40
|
# View and write monitoring data for all of your Google and third-party Cloud and API projects
|
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.12.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: 2021-
|
11
|
+
date: 2021-09-06 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/master/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.12.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-monitoring_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|