google-apis-monitoring_v3 0.71.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: 8f9660415a05c62cac53c0e22b52582eff1e473426bf74d5ea179caadda279f1
4
- data.tar.gz: 3d44c5ada56d9e8162f8daab91fdbdf78df58416f040874df9ba1e65199abfdc
3
+ metadata.gz: 77af6e99f6992059bd1a3762b4d1492bc93adba6ff9e98bcfb5141d7ceea3a2c
4
+ data.tar.gz: 184203a218ca66f306efdff11a7ad9c6f7974f1639e7355a689e72b31457bff2
5
5
  SHA512:
6
- metadata.gz: f2896200c814097f498314ff34267ec37c7e9d300348945e5b8948aa514369cd046ec046be6af7644c129b2ba25857cea17374ac19216d0d603d4a755afeffba
7
- data.tar.gz: 5f86d9dfbab3a4833a362775557b6d599b928ffdb9ff62ed6c330fdd91d907a76d30081d8ca4dfb954f109f17a6cbb3788be300797cec1f9604aeed5329b7e96
6
+ metadata.gz: d1081c5132b35b6b17c16f966507058ec4fa29fb2d26e38953736bf70fc6e75946495cfe1502a9bbd9990ceddb2801c59b1d655730bc7efd11da18e8f5d44c82
7
+ data.tar.gz: c341ae0bc6d5169ee28604da4dd5f008339bdf66d9b7ed1c3427e2c4a3b8304c9117f741f168c5696eabed2adbf3b5b357f9e0e6ead63ef31ff5c14d33a1c478
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.71.0 (2024-10-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20241017
@@ -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.71.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 = "20241017"
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
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.71.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-27 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.71.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