google-apis-monitoring_v3 0.70.0 → 0.72.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: aed7ac3103177cce183236459670b47fe00eea503f92cd1375eb6066f1dcc030
4
- data.tar.gz: 36ec95f53ee0723f3d918185a8c673faacd880e05ca5b7f9ed3eac67092d0cda
3
+ metadata.gz: 77af6e99f6992059bd1a3762b4d1492bc93adba6ff9e98bcfb5141d7ceea3a2c
4
+ data.tar.gz: 184203a218ca66f306efdff11a7ad9c6f7974f1639e7355a689e72b31457bff2
5
5
  SHA512:
6
- metadata.gz: 3479de49e71437d3c40d6b86fa0221498b2a946fd69f83c113bb234a9e600727cfeb8ec56820b2ff457fa0fd665a0a94c804d0f5f833b0a11e29696cbe5adb99
7
- data.tar.gz: e195dd193485d296dd3970f1c2cd9a52297463323f3ecfd3338fe8fa7c80b105266ffd9e0267b9c77e0e53e43f7ca5dff1d203a0dcdcea89bbc944b082113d83
6
+ metadata.gz: d1081c5132b35b6b17c16f966507058ec4fa29fb2d26e38953736bf70fc6e75946495cfe1502a9bbd9990ceddb2801c59b1d655730bc7efd11da18e8f5d44c82
7
+ data.tar.gz: c341ae0bc6d5169ee28604da4dd5f008339bdf66d9b7ed1c3427e2c4a3b8304c9117f741f168c5696eabed2adbf3b5b357f9e0e6ead63ef31ff5c14d33a1c478
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-monitoring_v3
2
2
 
3
+ ### v0.72.0 (2024-11-24)
4
+
5
+ * Regenerated from discovery document revision 20241114
6
+
7
+ ### v0.71.0 (2024-10-27)
8
+
9
+ * Regenerated from discovery document revision 20241017
10
+
3
11
  ### v0.70.0 (2024-10-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20241003
@@ -3962,6 +3962,16 @@ module Google
3962
3962
  # @return [String]
3963
3963
  attr_accessor :alert_rule
3964
3964
 
3965
+ # Optional. Whether to disable metric existence validation for this condition.
3966
+ # This allows alerting policies to be defined on metrics that do not yet exist,
3967
+ # improving advanced customer workflows such as configuring alerting policies
3968
+ # using Terraform.Users with the monitoring.alertPolicyViewer role are able to
3969
+ # see the name of the non-existent metric in the alerting policy condition.
3970
+ # Corresponds to the JSON property `disableMetricValidation`
3971
+ # @return [Boolean]
3972
+ attr_accessor :disable_metric_validation
3973
+ alias_method :disable_metric_validation?, :disable_metric_validation
3974
+
3965
3975
  # Optional. Alerts are considered firing once their PromQL expression was
3966
3976
  # evaluated to be "true" for this long. Alerts whose PromQL expression was not
3967
3977
  # evaluated to be "true" for long enough are considered pending. Must be a non-
@@ -4016,6 +4026,7 @@ module Google
4016
4026
  # Update properties of this object
4017
4027
  def update!(**args)
4018
4028
  @alert_rule = args[:alert_rule] if args.key?(:alert_rule)
4029
+ @disable_metric_validation = args[:disable_metric_validation] if args.key?(:disable_metric_validation)
4019
4030
  @duration = args[:duration] if args.key?(:duration)
4020
4031
  @evaluation_interval = args[:evaluation_interval] if args.key?(:evaluation_interval)
4021
4032
  @labels = args[:labels] if args.key?(:labels)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MonitoringV3
18
18
  # Version of the google-apis-monitoring_v3 gem
19
- GEM_VERSION = "0.70.0"
19
+ GEM_VERSION = "0.72.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241003"
25
+ REVISION = "20241114"
26
26
  end
27
27
  end
28
28
  end
@@ -1720,6 +1720,7 @@ module Google
1720
1720
  # @private
1721
1721
  class Representation < Google::Apis::Core::JsonRepresentation
1722
1722
  property :alert_rule, as: 'alertRule'
1723
+ property :disable_metric_validation, as: 'disableMetricValidation'
1723
1724
  property :duration, as: 'duration'
1724
1725
  property :evaluation_interval, as: 'evaluationInterval'
1725
1726
  hash :labels, as: 'labels'
@@ -999,20 +999,20 @@ module Google
999
999
  # on which to execute the request. The format is: projects/[
1000
1000
  # PROJECT_ID_OR_NUMBER]
1001
1001
  # @param [String] filter
1002
- # If this field is empty, all custom and system-defined metric descriptors are
1003
- # returned. Otherwise, the filter (https://cloud.google.com/monitoring/api/v3/
1004
- # filters) specifies which metric descriptors are to be returned. For example,
1005
- # the following filter matches all custom metrics (https://cloud.google.com/
1006
- # monitoring/custom-metrics): metric.type = starts_with("custom.googleapis.com/")
1007
- #
1002
+ # Optional. If this field is empty, all custom and system-defined metric
1003
+ # descriptors are returned. Otherwise, the filter (https://cloud.google.com/
1004
+ # monitoring/api/v3/filters) specifies which metric descriptors are to be
1005
+ # returned. For example, the following filter matches all custom metrics (https:/
1006
+ # /cloud.google.com/monitoring/custom-metrics): metric.type = starts_with("
1007
+ # custom.googleapis.com/")
1008
1008
  # @param [Fixnum] page_size
1009
- # A positive number that is the maximum number of results to return. The default
1010
- # and maximum value is 10,000. If a page_size <= 0 or > 10,000 is submitted,
1011
- # will instead return a maximum of 10,000 results.
1009
+ # Optional. A positive number that is the maximum number of results to return.
1010
+ # The default and maximum value is 10,000. If a page_size <= 0 or > 10,000 is
1011
+ # submitted, will instead return a maximum of 10,000 results.
1012
1012
  # @param [String] page_token
1013
- # If this field is not empty then it must contain the nextPageToken value
1014
- # returned by a previous call to this method. Using this field causes the method
1015
- # to return additional results from the previous method call.
1013
+ # Optional. If this field is not empty then it must contain the nextPageToken
1014
+ # value returned by a previous call to this method. Using this field causes the
1015
+ # method to return additional results from the previous method call.
1016
1016
  # @param [String] fields
1017
1017
  # Selector specifying which fields to include in a partial response.
1018
1018
  # @param [String] quota_user
@@ -1251,8 +1251,8 @@ module Google
1251
1251
  # @param [Boolean] force
1252
1252
  # If true, the notification channel will be deleted regardless of its use in
1253
1253
  # alert policies (the policies will be updated to remove the channel). If false,
1254
- # channels that are still referenced by an existing alerting policy will fail to
1255
- # be deleted in a delete operation.
1254
+ # this operation will fail if the notification channel is referenced by existing
1255
+ # alerting policies.
1256
1256
  # @param [String] fields
1257
1257
  # Selector specifying which fields to include in a partial response.
1258
1258
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-monitoring_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.70.0
4
+ version: 0.72.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: 2024-10-13 00:00:00.000000000 Z
11
+ date: 2024-12-04 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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.70.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.72.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v3
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.5.21
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Monitoring API V3