google-apis-monitoring_v1 0.44.0 → 0.46.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: 4ca341f5e780c83249796704383a079df754c10b4d3293acc466ccea3581222b
4
- data.tar.gz: 24fd4e268ac270e0c62a164f2333b6d07864cd791b0ff7deca998c1c523d42db
3
+ metadata.gz: 8600ac486ea766a562a3d7dd8bcf88099c693944d4d07d7031652a2aa05f74f7
4
+ data.tar.gz: d5a5cf024f839391fcb1031b0d4c647ac7cc6585b1576acae97460242c579a3f
5
5
  SHA512:
6
- metadata.gz: ca9351966cde3c0c782a733c57be6f123f6bbee53d21ab04850abed584043c0d1e2951aeb676663e7817a59c35b3e0b0037e7b2cc5153bb659c6ca6db007caa4
7
- data.tar.gz: dd9e2a349ec671e7cb860d140b4d047872d8fa1fdd4452e5b3739f4d69436310a0bf9384c76c9d63a67d831f7c1d326d88118f55004381ac5c9be7adbbbaa13c
6
+ metadata.gz: 46e420ac16557724fc7fe63da6fff3a144c0be4330ecadc7943c8ab7c50d159ab62419772248c8afa0f2c480d1aee7ec78381d63f5e11ba9f1a3bffea666c147
7
+ data.tar.gz: c66349eaa56a36e4077b721d0b9a8e99689a9e168e7b2afe81c41d964328e7eb72315083f4a1d7a290da2997a1d0aa854fc71bd35be80248922498b370b27b90
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-monitoring_v1
2
2
 
3
+ ### v0.46.0 (2024-01-28)
4
+
5
+ * Regenerated from discovery document revision 20240121
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.45.0 (2024-01-23)
9
+
10
+ * Regenerated from discovery document revision 20240115
11
+ * Regenerated using generator version 0.13.0
12
+
3
13
  ### v0.44.0 (2023-12-17)
4
14
 
5
15
  * Regenerated from discovery document revision 20231212
@@ -548,8 +548,8 @@ module Google
548
548
  end
549
549
  end
550
550
 
551
- # Preview: A chart dimension for an SQL query. This is applied over the x-axis.
552
- # This is a preview feature and may be subject to change before final release.
551
+ # A chart dimension. Dimensions are a structured label, class, or category for a
552
+ # set of measurements in your data.
553
553
  class Dimension
554
554
  include Google::Apis::Core::Hashable
555
555
 
@@ -1025,8 +1025,8 @@ module Google
1025
1025
  end
1026
1026
  end
1027
1027
 
1028
- # Preview: A chart measure for an SQL query. This is applied over the y-axis.
1029
- # This is a preview feature and may be subject to change before final release.
1028
+ # A chart measure. Measures represent a measured property in your chart data
1029
+ # such as rainfall in inches, number of units sold, revenue gained, etc.
1030
1030
  class Measure
1031
1031
  include Google::Apis::Core::Hashable
1032
1032
 
@@ -1448,6 +1448,18 @@ module Google
1448
1448
  class PieChartDataSet
1449
1449
  include Google::Apis::Core::Hashable
1450
1450
 
1451
+ # A dimension is a structured label, class, or category for a set of
1452
+ # measurements in your data.
1453
+ # Corresponds to the JSON property `dimensions`
1454
+ # @return [Array<Google::Apis::MonitoringV1::Dimension>]
1455
+ attr_accessor :dimensions
1456
+
1457
+ # A measure is a measured value of a property in your data. For example,
1458
+ # rainfall in inches, number of units sold, revenue gained, etc.
1459
+ # Corresponds to the JSON property `measures`
1460
+ # @return [Array<Google::Apis::MonitoringV1::Measure>]
1461
+ attr_accessor :measures
1462
+
1451
1463
  # Optional. The lower bound on data point frequency for this data set,
1452
1464
  # implemented by specifying the minimum alignment period to use in a time series
1453
1465
  # query. For example, if the data is published once every 10 minutes, the
@@ -1477,6 +1489,8 @@ module Google
1477
1489
 
1478
1490
  # Update properties of this object
1479
1491
  def update!(**args)
1492
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
1493
+ @measures = args[:measures] if args.key?(:measures)
1480
1494
  @min_alignment_period = args[:min_alignment_period] if args.key?(:min_alignment_period)
1481
1495
  @slice_name_template = args[:slice_name_template] if args.key?(:slice_name_template)
1482
1496
  @time_series_query = args[:time_series_query] if args.key?(:time_series_query)
@@ -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.44.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231212"
25
+ REVISION = "20240121"
26
26
  end
27
27
  end
28
28
  end
@@ -797,6 +797,10 @@ module Google
797
797
  class PieChartDataSet
798
798
  # @private
799
799
  class Representation < Google::Apis::Core::JsonRepresentation
800
+ collection :dimensions, as: 'dimensions', class: Google::Apis::MonitoringV1::Dimension, decorator: Google::Apis::MonitoringV1::Dimension::Representation
801
+
802
+ collection :measures, as: 'measures', class: Google::Apis::MonitoringV1::Measure, decorator: Google::Apis::MonitoringV1::Measure::Representation
803
+
800
804
  property :min_alignment_period, as: 'minAlignmentPeriod'
801
805
  property :slice_name_template, as: 'sliceNameTemplate'
802
806
  property :time_series_query, as: 'timeSeriesQuery', class: Google::Apis::MonitoringV1::TimeSeriesQuery, decorator: Google::Apis::MonitoringV1::TimeSeriesQuery::Representation
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/monitoring/api/
34
34
  class MonitoringService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://monitoring.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://monitoring.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-monitoring_v1',
48
50
  client_version: Google::Apis::MonitoringV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
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.44.0
4
+ version: 0.46.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-12-17 00:00:00.000000000 Z
11
+ date: 2024-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.46.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.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Monitoring API V1