google-apis-monitoring_v3 0.71.0 → 0.73.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: 8f9660415a05c62cac53c0e22b52582eff1e473426bf74d5ea179caadda279f1
4
- data.tar.gz: 3d44c5ada56d9e8162f8daab91fdbdf78df58416f040874df9ba1e65199abfdc
3
+ metadata.gz: cdf3bfd38e176f1938f45b61cd8b89c5743ddda3b487dd989995c4471a129891
4
+ data.tar.gz: 102bcab389d9345fc6c10bad4fc0d1db13cea0cb142c1f380d834e64c011b17b
5
5
  SHA512:
6
- metadata.gz: f2896200c814097f498314ff34267ec37c7e9d300348945e5b8948aa514369cd046ec046be6af7644c129b2ba25857cea17374ac19216d0d603d4a755afeffba
7
- data.tar.gz: 5f86d9dfbab3a4833a362775557b6d599b928ffdb9ff62ed6c330fdd91d907a76d30081d8ca4dfb954f109f17a6cbb3788be300797cec1f9604aeed5329b7e96
6
+ metadata.gz: 53ec2fdba70c357351fde3bd6d680717777ffc064117ff0cd4f75a13eb76496c7170ac6af51aface682a3ce4b45c2c0d9be52933e51eafa85dd42f33a76dfb46
7
+ data.tar.gz: f1ba284c266ca4588ae0887b1e375525cfd8a54b623059a04542f7ed6cca9008b693a46a936dab4c808ae53fcca8fc5b875a546ef2cff29a3c03182f5a0d979f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-monitoring_v3
2
2
 
3
+ ### v0.73.0 (2025-01-12)
4
+
5
+ * Regenerated from discovery document revision 20250102
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.72.0 (2024-11-24)
9
+
10
+ * Regenerated from discovery document revision 20241114
11
+
3
12
  ### v0.71.0 (2024-10-27)
4
13
 
5
14
  * 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)
@@ -4685,7 +4696,7 @@ module Google
4685
4696
  # the input by time. A filter will automatically be applied to filter the input
4686
4697
  # so that the query receives all rows received since the last time the query was
4687
4698
  # run.For example, the following query extracts all log entries containing an
4688
- # HTTP request:SELECT timestamp, log_name, severity, http_request, resource,
4699
+ # HTTP request: SELECT timestamp, log_name, severity, http_request, resource,
4689
4700
  # labels FROM my-project.global._Default._AllLogs WHERE http_request IS NOT NULL
4690
4701
  # Corresponds to the JSON property `query`
4691
4702
  # @return [String]
@@ -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.73.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241017"
25
+ REVISION = "20250102"
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,13 @@
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.73.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-10-27 00:00:00.000000000 Z
10
+ date: 2025-01-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.73.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v3
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.21
79
- signing_key:
76
+ rubygems_version: 3.6.2
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Monitoring API V3
82
79
  test_files: []