google-apis-monitoring_v3 0.73.0 → 0.75.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f08cdd9f10b2cd708d21f32b61c9549e345c4143812dc36a05e019e4a96f6fe
|
4
|
+
data.tar.gz: ac887a13070a3b71e52e40902419add4ebea2aedc744d01cbe17bbced9e7b195
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9000b41eb422922832df8e88becec696d697bc73e95b19ce2ee800a35d0ea7c23ef1b145816044c1a559a35e2089bb50b1000d581a56ceda60635b3b464f68a0
|
7
|
+
data.tar.gz: ae84fedcab66c23d936b6c624be974138efd025268b8c26a6b753acb6156b41d0c249a1c583d6091e0d33f28f6b7eab8c9533ec0dcb2c5accf5fe7fb26648580
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v3
|
2
2
|
|
3
|
+
### v0.75.0 (2025-03-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250227
|
6
|
+
|
7
|
+
### v0.74.0 (2025-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250130
|
10
|
+
|
3
11
|
### v0.73.0 (2025-01-12)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250102
|
@@ -1095,10 +1095,25 @@ module Google
|
|
1095
1095
|
class Criteria
|
1096
1096
|
include Google::Apis::Core::Hashable
|
1097
1097
|
|
1098
|
+
# Optional. The filter string to match on Alert fields when silencing the alerts.
|
1099
|
+
# It follows the standard https://google.aip.dev/160 syntax. A filter string
|
1100
|
+
# used to apply the snooze to specific incidents that have matching filter
|
1101
|
+
# values. Filters can be defined for snoozes that apply to one alerting policy.
|
1102
|
+
# Filters must be a string formatted as one or more resource labels with
|
1103
|
+
# specific label values. If multiple resource labels are used, then they must be
|
1104
|
+
# connected with an AND operator. For example, the following filter applies the
|
1105
|
+
# snooze to incidents that have an instance ID of 1234567890 and a zone of us-
|
1106
|
+
# central1-a: resource.labels.instance_id="1234567890" AND resource.labels.zone="
|
1107
|
+
# us-central1-a"
|
1108
|
+
# Corresponds to the JSON property `filter`
|
1109
|
+
# @return [String]
|
1110
|
+
attr_accessor :filter
|
1111
|
+
|
1098
1112
|
# The specific AlertPolicy names for the alert that should be snoozed. The
|
1099
1113
|
# format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID] There is
|
1100
1114
|
# a limit of 16 policies per snooze. This limit is checked during snooze
|
1101
|
-
# creation.
|
1115
|
+
# creation. Exactly 1 alert policy is required if filter is specified at the
|
1116
|
+
# same time.
|
1102
1117
|
# Corresponds to the JSON property `policies`
|
1103
1118
|
# @return [Array<String>]
|
1104
1119
|
attr_accessor :policies
|
@@ -1109,6 +1124,7 @@ module Google
|
|
1109
1124
|
|
1110
1125
|
# Update properties of this object
|
1111
1126
|
def update!(**args)
|
1127
|
+
@filter = args[:filter] if args.key?(:filter)
|
1112
1128
|
@policies = args[:policies] if args.key?(:policies)
|
1113
1129
|
end
|
1114
1130
|
end
|
@@ -5311,6 +5327,12 @@ module Google
|
|
5311
5327
|
attr_accessor :is_internal
|
5312
5328
|
alias_method :is_internal?, :is_internal
|
5313
5329
|
|
5330
|
+
# To specify whether to log the results of failed probes to Cloud Logging.
|
5331
|
+
# Corresponds to the JSON property `logCheckFailures`
|
5332
|
+
# @return [Boolean]
|
5333
|
+
attr_accessor :log_check_failures
|
5334
|
+
alias_method :log_check_failures?, :log_check_failures
|
5335
|
+
|
5314
5336
|
# An object representing a resource that can be used for monitoring, logging,
|
5315
5337
|
# billing, or other purposes. Examples include virtual machine instances,
|
5316
5338
|
# databases, and storage devices such as disks. The type field identifies a
|
@@ -5393,6 +5415,7 @@ module Google
|
|
5393
5415
|
@http_check = args[:http_check] if args.key?(:http_check)
|
5394
5416
|
@internal_checkers = args[:internal_checkers] if args.key?(:internal_checkers)
|
5395
5417
|
@is_internal = args[:is_internal] if args.key?(:is_internal)
|
5418
|
+
@log_check_failures = args[:log_check_failures] if args.key?(:log_check_failures)
|
5396
5419
|
@monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource)
|
5397
5420
|
@name = args[:name] if args.key?(:name)
|
5398
5421
|
@period = args[:period] if args.key?(:period)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.75.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250227"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1044,6 +1044,7 @@ module Google
|
|
1044
1044
|
class Criteria
|
1045
1045
|
# @private
|
1046
1046
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1047
|
+
property :filter, as: 'filter'
|
1047
1048
|
collection :policies, as: 'policies'
|
1048
1049
|
end
|
1049
1050
|
end
|
@@ -2054,6 +2055,7 @@ module Google
|
|
2054
2055
|
collection :internal_checkers, as: 'internalCheckers', class: Google::Apis::MonitoringV3::InternalChecker, decorator: Google::Apis::MonitoringV3::InternalChecker::Representation
|
2055
2056
|
|
2056
2057
|
property :is_internal, as: 'isInternal'
|
2058
|
+
property :log_check_failures, as: 'logCheckFailures'
|
2057
2059
|
property :monitored_resource, as: 'monitoredResource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
|
2058
2060
|
|
2059
2061
|
property :name, as: 'name'
|
@@ -998,6 +998,16 @@ module Google
|
|
998
998
|
# Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
|
999
999
|
# on which to execute the request. The format is: projects/[
|
1000
1000
|
# PROJECT_ID_OR_NUMBER]
|
1001
|
+
# @param [Boolean] active_only
|
1002
|
+
# Optional. If true, only metrics and monitored resource types that have recent
|
1003
|
+
# data (within roughly 25 hours) will be included in the response. - If a metric
|
1004
|
+
# descriptor enumerates monitored resource types, only the monitored resource
|
1005
|
+
# types for which the metric type has recent data will be included in the
|
1006
|
+
# returned metric descriptor, and if none of them have recent data, the metric
|
1007
|
+
# descriptor will not be returned. - If a metric descriptor does not enumerate
|
1008
|
+
# the compatible monitored resource types, it will be returned only if the
|
1009
|
+
# metric type has recent data for some monitored resource type. The returned
|
1010
|
+
# descriptor will not enumerate any monitored resource types.
|
1001
1011
|
# @param [String] filter
|
1002
1012
|
# Optional. If this field is empty, all custom and system-defined metric
|
1003
1013
|
# descriptors are returned. Otherwise, the filter (https://cloud.google.com/
|
@@ -1030,11 +1040,12 @@ module Google
|
|
1030
1040
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1031
1041
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1032
1042
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1033
|
-
def list_project_metric_descriptors(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1043
|
+
def list_project_metric_descriptors(name, active_only: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1034
1044
|
command = make_simple_command(:get, 'v3/{+name}/metricDescriptors', options)
|
1035
1045
|
command.response_representation = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse::Representation
|
1036
1046
|
command.response_class = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse
|
1037
1047
|
command.params['name'] = name unless name.nil?
|
1048
|
+
command.query['activeOnly'] = active_only unless active_only.nil?
|
1038
1049
|
command.query['filter'] = filter unless filter.nil?
|
1039
1050
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1040
1051
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1612,8 +1623,8 @@ module Google
|
|
1612
1623
|
# @param [String] filter
|
1613
1624
|
# Optional. Optional filter to restrict results to the given criteria. The
|
1614
1625
|
# following fields are supported. interval.start_time interval.end_timeFor
|
1615
|
-
# example:
|
1616
|
-
# end_time < "2022-03-12T00:00:00-08:00"
|
1626
|
+
# example: interval.start_time > "2022-03-11T00:00:00-08:00" AND interval.
|
1627
|
+
# end_time < "2022-03-12T00:00:00-08:00"
|
1617
1628
|
# @param [Fixnum] page_size
|
1618
1629
|
# Optional. The maximum number of results to return for a single query. The
|
1619
1630
|
# server may further constrain the maximum number of results returned in a
|
metadata
CHANGED
@@ -1,13 +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.
|
4
|
+
version: 0.75.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-03-09 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v3/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.75.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v3
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.5
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Cloud Monitoring API V3
|
79
79
|
test_files: []
|