google-apis-monitoring_v3 0.16.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/monitoring_v3/classes.rb +48 -33
- data/lib/google/apis/monitoring_v3/gem_version.rb +3 -3
- data/lib/google/apis/monitoring_v3/representations.rb +1 -0
- data/lib/google/apis/monitoring_v3/service.rb +1 -6
- data/lib/google/apis/monitoring_v3.rb +1 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d875afd30422637d9e01fc4c8d056cc93ffcc79e2dbfc2a63374e729af63689b
|
4
|
+
data.tar.gz: 6a3829cb310d46cdbd81db25402db17b9ac3ec850d271496b5e22eb1638690a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99ae7a752eead12db970394ceaf6ef428169297980cf9c0572ae8d7679695c98ddbfbd02c026959c155420ad1b3d1f6e2144d830d1b57cdca6ee455c94f5e376
|
7
|
+
data.tar.gz: ba0985c529f3e7479e84c1c3847a8358603139a50e5f9a234efcafedb075ed45f04d0b957fb099920c39bb4e53b21f933fd954f339e81b80433e210934dd8c53
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v3
|
2
2
|
|
3
|
+
### v0.20.0 (2022-01-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220117
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.19.0 (2021-12-16)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211213
|
11
|
+
* Unspecified changes
|
12
|
+
|
13
|
+
### v0.18.0 (2021-12-04)
|
14
|
+
|
15
|
+
* Regenerated from discovery document revision 20211201
|
16
|
+
|
17
|
+
### v0.17.0 (2021-11-05)
|
18
|
+
|
19
|
+
* Regenerated from discovery document revision 20211031
|
20
|
+
|
3
21
|
### v0.16.0 (2021-10-22)
|
4
22
|
|
5
23
|
* Regenerated from discovery document revision 20211017
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/monitoring_v3"
|
|
51
51
|
client = Google::Apis::MonitoringV3::MonitoringService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -793,9 +793,9 @@ module Google
|
|
793
793
|
# Information in the labels field identifies the actual resource and its
|
794
794
|
# attributes according to the schema. For example, a particular Compute Engine
|
795
795
|
# VM instance could be represented by the following object, because the
|
796
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "
|
797
|
-
# zone": ` "type": "gce_instance", "labels": ` "
|
798
|
-
# zone": "us-central1-a" ``
|
796
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "project_id", "
|
797
|
+
# instance_id" and "zone": ` "type": "gce_instance", "labels": ` "project_id": "
|
798
|
+
# my-project", "instance_id": "12345678901234", "zone": "us-central1-a" ``
|
799
799
|
# Corresponds to the JSON property `resource`
|
800
800
|
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
801
801
|
attr_accessor :resource
|
@@ -1479,9 +1479,9 @@ module Google
|
|
1479
1479
|
# URL_ENCODED, the body passed in must be URL-encoded. Users can provide a
|
1480
1480
|
# Content-Length header via the headers field or the API will do so. If the
|
1481
1481
|
# request_method is GET and body is not empty, the API will return an error. The
|
1482
|
-
# maximum byte size is 1 megabyte.
|
1483
|
-
#
|
1484
|
-
#
|
1482
|
+
# maximum byte size is 1 megabyte.Note: If client libraries aren't used (which
|
1483
|
+
# performs the conversion automatically) base64 encode your body data since the
|
1484
|
+
# field is of bytes type.
|
1485
1485
|
# Corresponds to the JSON property `body`
|
1486
1486
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1487
1487
|
# @return [String]
|
@@ -2636,9 +2636,9 @@ module Google
|
|
2636
2636
|
# Information in the labels field identifies the actual resource and its
|
2637
2637
|
# attributes according to the schema. For example, a particular Compute Engine
|
2638
2638
|
# VM instance could be represented by the following object, because the
|
2639
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "
|
2640
|
-
# zone": ` "type": "gce_instance", "labels": ` "
|
2641
|
-
# zone": "us-central1-a" ``
|
2639
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "project_id", "
|
2640
|
+
# instance_id" and "zone": ` "type": "gce_instance", "labels": ` "project_id": "
|
2641
|
+
# my-project", "instance_id": "12345678901234", "zone": "us-central1-a" ``
|
2642
2642
|
class MonitoredResource
|
2643
2643
|
include Google::Apis::Core::Hashable
|
2644
2644
|
|
@@ -3139,12 +3139,15 @@ module Google
|
|
3139
3139
|
class Point
|
3140
3140
|
include Google::Apis::Core::Hashable
|
3141
3141
|
|
3142
|
-
#
|
3143
|
-
#
|
3144
|
-
#
|
3145
|
-
#
|
3146
|
-
#
|
3147
|
-
#
|
3142
|
+
# Describes a time interval: Reads: A half-open time interval. It includes the
|
3143
|
+
# end time but excludes the start time: (startTime, endTime]. The start time
|
3144
|
+
# must be specified, must be earlier than the end time, and should be no older
|
3145
|
+
# than the data retention period for the metric. Writes: A closed time interval.
|
3146
|
+
# It extends from the start time to the end time, and includes both: [startTime,
|
3147
|
+
# endTime]. Valid time intervals depend on the MetricKind (https://cloud.google.
|
3148
|
+
# com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of
|
3149
|
+
# the metric value. The end time must not be earlier than the start time, and
|
3150
|
+
# the end time must not be more than 25 hours in the past or more than five
|
3148
3151
|
# minutes in the future. For GAUGE metrics, the startTime value is technically
|
3149
3152
|
# optional; if no value is specified, the start time defaults to the value of
|
3150
3153
|
# the end time, and the interval represents a single point in time. If both
|
@@ -3191,12 +3194,15 @@ module Google
|
|
3191
3194
|
class PointData
|
3192
3195
|
include Google::Apis::Core::Hashable
|
3193
3196
|
|
3194
|
-
#
|
3195
|
-
#
|
3196
|
-
#
|
3197
|
-
#
|
3198
|
-
#
|
3199
|
-
#
|
3197
|
+
# Describes a time interval: Reads: A half-open time interval. It includes the
|
3198
|
+
# end time but excludes the start time: (startTime, endTime]. The start time
|
3199
|
+
# must be specified, must be earlier than the end time, and should be no older
|
3200
|
+
# than the data retention period for the metric. Writes: A closed time interval.
|
3201
|
+
# It extends from the start time to the end time, and includes both: [startTime,
|
3202
|
+
# endTime]. Valid time intervals depend on the MetricKind (https://cloud.google.
|
3203
|
+
# com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of
|
3204
|
+
# the metric value. The end time must not be earlier than the start time, and
|
3205
|
+
# the end time must not be more than 25 hours in the past or more than five
|
3200
3206
|
# minutes in the future. For GAUGE metrics, the startTime value is technically
|
3201
3207
|
# optional; if no value is specified, the start time defaults to the value of
|
3202
3208
|
# the end time, and the interval represents a single point in time. If both
|
@@ -3753,12 +3759,15 @@ module Google
|
|
3753
3759
|
end
|
3754
3760
|
end
|
3755
3761
|
|
3756
|
-
#
|
3757
|
-
#
|
3758
|
-
#
|
3759
|
-
#
|
3760
|
-
#
|
3761
|
-
#
|
3762
|
+
# Describes a time interval: Reads: A half-open time interval. It includes the
|
3763
|
+
# end time but excludes the start time: (startTime, endTime]. The start time
|
3764
|
+
# must be specified, must be earlier than the end time, and should be no older
|
3765
|
+
# than the data retention period for the metric. Writes: A closed time interval.
|
3766
|
+
# It extends from the start time to the end time, and includes both: [startTime,
|
3767
|
+
# endTime]. Valid time intervals depend on the MetricKind (https://cloud.google.
|
3768
|
+
# com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of
|
3769
|
+
# the metric value. The end time must not be earlier than the start time, and
|
3770
|
+
# the end time must not be more than 25 hours in the past or more than five
|
3762
3771
|
# minutes in the future. For GAUGE metrics, the startTime value is technically
|
3763
3772
|
# optional; if no value is specified, the start time defaults to the value of
|
3764
3773
|
# the end time, and the interval represents a single point in time. If both
|
@@ -3854,9 +3863,9 @@ module Google
|
|
3854
3863
|
# Information in the labels field identifies the actual resource and its
|
3855
3864
|
# attributes according to the schema. For example, a particular Compute Engine
|
3856
3865
|
# VM instance could be represented by the following object, because the
|
3857
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "
|
3858
|
-
# zone": ` "type": "gce_instance", "labels": ` "
|
3859
|
-
# zone": "us-central1-a" ``
|
3866
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "project_id", "
|
3867
|
+
# instance_id" and "zone": ` "type": "gce_instance", "labels": ` "project_id": "
|
3868
|
+
# my-project", "instance_id": "12345678901234", "zone": "us-central1-a" ``
|
3860
3869
|
# Corresponds to the JSON property `resource`
|
3861
3870
|
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
3862
3871
|
attr_accessor :resource
|
@@ -4130,6 +4139,11 @@ module Google
|
|
4130
4139
|
class UptimeCheckConfig
|
4131
4140
|
include Google::Apis::Core::Hashable
|
4132
4141
|
|
4142
|
+
# The type of checkers to use to execute the Uptime check.
|
4143
|
+
# Corresponds to the JSON property `checkerType`
|
4144
|
+
# @return [String]
|
4145
|
+
attr_accessor :checker_type
|
4146
|
+
|
4133
4147
|
# The content that is expected to appear in the data returned by the target
|
4134
4148
|
# server against which the check is run. Currently, only the first entry in the
|
4135
4149
|
# content_matchers list is supported, and additional entries will be ignored.
|
@@ -4174,9 +4188,9 @@ module Google
|
|
4174
4188
|
# Information in the labels field identifies the actual resource and its
|
4175
4189
|
# attributes according to the schema. For example, a particular Compute Engine
|
4176
4190
|
# VM instance could be represented by the following object, because the
|
4177
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "
|
4178
|
-
# zone": ` "type": "gce_instance", "labels": ` "
|
4179
|
-
# zone": "us-central1-a" ``
|
4191
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "project_id", "
|
4192
|
+
# instance_id" and "zone": ` "type": "gce_instance", "labels": ` "project_id": "
|
4193
|
+
# my-project", "instance_id": "12345678901234", "zone": "us-central1-a" ``
|
4180
4194
|
# Corresponds to the JSON property `monitoredResource`
|
4181
4195
|
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
4182
4196
|
attr_accessor :monitored_resource
|
@@ -4229,6 +4243,7 @@ module Google
|
|
4229
4243
|
|
4230
4244
|
# Update properties of this object
|
4231
4245
|
def update!(**args)
|
4246
|
+
@checker_type = args[:checker_type] if args.key?(:checker_type)
|
4232
4247
|
@content_matchers = args[:content_matchers] if args.key?(:content_matchers)
|
4233
4248
|
@display_name = args[:display_name] if args.key?(:display_name)
|
4234
4249
|
@http_check = args[:http_check] if args.key?(:http_check)
|
@@ -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.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220117"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1630,6 +1630,7 @@ module Google
|
|
1630
1630
|
class UptimeCheckConfig
|
1631
1631
|
# @private
|
1632
1632
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1633
|
+
property :checker_type, as: 'checkerType'
|
1633
1634
|
collection :content_matchers, as: 'contentMatchers', class: Google::Apis::MonitoringV3::ContentMatcher, decorator: Google::Apis::MonitoringV3::ContentMatcher::Representation
|
1634
1635
|
|
1635
1636
|
property :display_name, as: 'displayName'
|
@@ -22,12 +22,7 @@ module Google
|
|
22
22
|
module MonitoringV3
|
23
23
|
# Cloud Monitoring API
|
24
24
|
#
|
25
|
-
# Manages your Cloud Monitoring data and configurations.
|
26
|
-
# associated with a Workspace, with a few exceptions as noted on the individual
|
27
|
-
# method pages. The table entries below are presented in alphabetical order, not
|
28
|
-
# in order of common use. For explanations of the concepts found in the table
|
29
|
-
# entries, read the Cloud Monitoring documentation (https://cloud.google.com/
|
30
|
-
# monitoring/docs).
|
25
|
+
# Manages your Cloud Monitoring data and configurations.
|
31
26
|
#
|
32
27
|
# @example
|
33
28
|
# require 'google/apis/monitoring_v3'
|
@@ -21,12 +21,7 @@ module Google
|
|
21
21
|
module Apis
|
22
22
|
# Cloud Monitoring API
|
23
23
|
#
|
24
|
-
# Manages your Cloud Monitoring data and configurations.
|
25
|
-
# associated with a Workspace, with a few exceptions as noted on the individual
|
26
|
-
# method pages. The table entries below are presented in alphabetical order, not
|
27
|
-
# in order of common use. For explanations of the concepts found in the table
|
28
|
-
# entries, read the Cloud Monitoring documentation (https://cloud.google.com/
|
29
|
-
# monitoring/docs).
|
24
|
+
# Manages your Cloud Monitoring data and configurations.
|
30
25
|
#
|
31
26
|
# @see https://cloud.google.com/monitoring/api/
|
32
27
|
module MonitoringV3
|
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.
|
4
|
+
version: 0.20.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:
|
11
|
+
date: 2022-01-24 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.20.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.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Monitoring API V3
|