google-apis-monitoring_v1 0.37.0 → 0.38.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: 71c5948219eeb676f8893ddc5c42a833a5cb6b432062b4b7d6d8970dce7e789a
4
- data.tar.gz: f5696fb018eba6c5cfe39ee0c1c1f9749a5f1105e86bd91e82f39f18dcd86df7
3
+ metadata.gz: 9609c979076f26b466a917cfff01e45476bb80aca4bd976405aab7cebd2422c2
4
+ data.tar.gz: b334968de4da4e3d7f42d50e3cba37dcac4ea2e6923a70533834a0064695298b
5
5
  SHA512:
6
- metadata.gz: cc5aca201d706b515515185a67b6124a0fa03a32e474bba08bc0d3de4f99ef5401a0a17d691fdf89fca51cd4ae370a6862499f7af35ffa2f7f632f045036f9ee
7
- data.tar.gz: a94544e3b81de1afae42ee1e96dad6f4f3259d9def1e8a0b8c342425eb1c89830a5e08fb22d4ab7ed714bea7f6a734a936504385321ae13ef0b833ea290552fe
6
+ metadata.gz: 24a7c2c8860786922b47c10738e9b6e6c98c8ebd7a6364c8134e205b732906a9ceeb3a717a703c520035267dd38131e63768f999cfea3dfd87047132fff9167b
7
+ data.tar.gz: abd87cfa041059fb266671000879f504c660a2a55c5e90d6e372436a8c2bd034e1a955e6ca1e519ff894c37fc95a28c482b7a86c9c0daad8eb6652afbdec9de6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-monitoring_v1
2
2
 
3
+ ### v0.38.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230806
6
+
3
7
  ### v0.37.0 (2023-08-06)
4
8
 
5
9
  * 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 in case of success. If the original
954
- # method returns no data on success, such as Delete, the response is google.
955
- # protobuf.Empty. If the original method is standard Get/Create/Update, the
956
- # response should be the resource. For other methods, the response should have
957
- # the type XxxResponse, where Xxx is the original method name. For example, if
958
- # the original method name is TakeSnapshot(), the inferred response type is
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>]
@@ -1367,6 +1367,14 @@ module Google
1367
1367
  class Scorecard
1368
1368
  include Google::Apis::Core::Hashable
1369
1369
 
1370
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1371
+ # messages in your APIs. A typical example is to use it as the request or the
1372
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1373
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1374
+ # Corresponds to the JSON property `blankView`
1375
+ # @return [Google::Apis::MonitoringV1::Empty]
1376
+ attr_accessor :blank_view
1377
+
1370
1378
  # A gauge chart shows where the current value sits within a pre-defined range.
1371
1379
  # The upper and lower bounds should define the possible range of values for the
1372
1380
  # scorecard's query (inclusive).
@@ -1412,6 +1420,7 @@ module Google
1412
1420
 
1413
1421
  # Update properties of this object
1414
1422
  def update!(**args)
1423
+ @blank_view = args[:blank_view] if args.key?(:blank_view)
1415
1424
  @gauge_view = args[:gauge_view] if args.key?(:gauge_view)
1416
1425
  @spark_chart_view = args[:spark_chart_view] if args.key?(:spark_chart_view)
1417
1426
  @thresholds = args[:thresholds] if args.key?(:thresholds)
@@ -1977,6 +1986,15 @@ module Google
1977
1986
  class TimeSeriesQuery
1978
1987
  include Google::Apis::Core::Hashable
1979
1988
 
1989
+ # Optional. If set, Cloud Monitoring will treat the full query duration as the
1990
+ # alignment period so that there will be only 1 output value.*Note: This could
1991
+ # override the configured alignment period except for the cases where a series
1992
+ # of data points are expected, like - XyChart - Scorecard's spark chart
1993
+ # Corresponds to the JSON property `outputFullDuration`
1994
+ # @return [Boolean]
1995
+ attr_accessor :output_full_duration
1996
+ alias_method :output_full_duration?, :output_full_duration
1997
+
1980
1998
  # A query used to fetch time series with PromQL.
1981
1999
  # Corresponds to the JSON property `prometheusQuery`
1982
2000
  # @return [String]
@@ -2015,6 +2033,7 @@ module Google
2015
2033
 
2016
2034
  # Update properties of this object
2017
2035
  def update!(**args)
2036
+ @output_full_duration = args[:output_full_duration] if args.key?(:output_full_duration)
2018
2037
  @prometheus_query = args[:prometheus_query] if args.key?(:prometheus_query)
2019
2038
  @time_series_filter = args[:time_series_filter] if args.key?(:time_series_filter)
2020
2039
  @time_series_filter_ratio = args[:time_series_filter_ratio] if args.key?(:time_series_filter_ratio)
@@ -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.37.0"
19
+ GEM_VERSION = "0.38.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 = "20230731"
25
+ REVISION = "20230806"
26
26
  end
27
27
  end
28
28
  end
@@ -703,6 +703,8 @@ module Google
703
703
  class Scorecard
704
704
  # @private
705
705
  class Representation < Google::Apis::Core::JsonRepresentation
706
+ property :blank_view, as: 'blankView', class: Google::Apis::MonitoringV1::Empty, decorator: Google::Apis::MonitoringV1::Empty::Representation
707
+
706
708
  property :gauge_view, as: 'gaugeView', class: Google::Apis::MonitoringV1::GaugeView, decorator: Google::Apis::MonitoringV1::GaugeView::Representation
707
709
 
708
710
  property :spark_chart_view, as: 'sparkChartView', class: Google::Apis::MonitoringV1::SparkChartView, decorator: Google::Apis::MonitoringV1::SparkChartView::Representation
@@ -851,6 +853,7 @@ module Google
851
853
  class TimeSeriesQuery
852
854
  # @private
853
855
  class Representation < Google::Apis::Core::JsonRepresentation
856
+ property :output_full_duration, as: 'outputFullDuration'
854
857
  property :prometheus_query, as: 'prometheusQuery'
855
858
  property :time_series_filter, as: 'timeSeriesFilter', class: Google::Apis::MonitoringV1::TimeSeriesFilter, decorator: Google::Apis::MonitoringV1::TimeSeriesFilter::Representation
856
859
 
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.37.0
4
+ version: 0.38.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-06 00:00:00.000000000 Z
11
+ date: 2023-08-20 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.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.38.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: []