google-apis-monitoring_v3 0.15.0 → 0.19.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 +3 -3
- data/lib/google/apis/monitoring_v3/classes.rb +42 -26
- data/lib/google/apis/monitoring_v3/gem_version.rb +2 -2
- 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 +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9cc2a1932f41055c8acfb204226aee4e97b6122d4637c9a95d2c33b774ada44
|
4
|
+
data.tar.gz: cbb153e475eb28e4885a7dd878ae68835273314a77fd1b5c485631b91948badf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e46350608d6f6fc0c4adc945f7ad97cd5d5f59846ce498bc8ff0fb508be8366b519ed92cd8855dea39d0fb61f509c926bd24bea0e82e7c5d378759ed3b89fd79
|
7
|
+
data.tar.gz: ff999c1bbcfae642333f643f51a21c3c78b49c2d52e0235315d9a30f163e9b61849019ddd809be91c5617e8109921871342da2a67d9999896ef7d091cd5dabf6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v3
|
2
2
|
|
3
|
+
### v0.19.0 (2021-12-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211213
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.18.0 (2021-12-04)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211201
|
11
|
+
|
12
|
+
### v0.17.0 (2021-11-05)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211031
|
15
|
+
|
16
|
+
### v0.16.0 (2021-10-22)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211017
|
19
|
+
* Unspecified changes
|
20
|
+
|
3
21
|
### v0.15.0 (2021-10-02)
|
4
22
|
|
5
23
|
* Regenerated from discovery document revision 20210926
|
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.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Monitoring service in particular.)
|
67
67
|
|
@@ -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]
|
@@ -2276,7 +2276,7 @@ module Google
|
|
2276
2276
|
# Specifies the alignment of data points in individual time series as well as
|
2277
2277
|
# how to combine the retrieved time series together (such as when aggregating
|
2278
2278
|
# multiple streams on each resource to a single stream for each resource or when
|
2279
|
-
# aggregating streams across all members of a group of
|
2279
|
+
# aggregating streams across all members of a group of resources). Multiple
|
2280
2280
|
# aggregations are applied in the order specified.This field is similar to the
|
2281
2281
|
# one in the ListTimeSeries request (https://cloud.google.com/monitoring/api/
|
2282
2282
|
# ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the
|
@@ -2536,7 +2536,7 @@ module Google
|
|
2536
2536
|
# Specifies the alignment of data points in individual time series as well as
|
2537
2537
|
# how to combine the retrieved time series together (such as when aggregating
|
2538
2538
|
# multiple streams on each resource to a single stream for each resource or when
|
2539
|
-
# aggregating streams across all members of a group of
|
2539
|
+
# aggregating streams across all members of a group of resources). Multiple
|
2540
2540
|
# aggregations are applied in the order specified.This field is similar to the
|
2541
2541
|
# one in the ListTimeSeries request (https://cloud.google.com/monitoring/api/
|
2542
2542
|
# ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the
|
@@ -2985,6 +2985,12 @@ module Google
|
|
2985
2985
|
# @return [String]
|
2986
2986
|
attr_accessor :name
|
2987
2987
|
|
2988
|
+
# The tiers that support this notification channel; the project service tier
|
2989
|
+
# must be one of the supported_tiers.
|
2990
|
+
# Corresponds to the JSON property `supportedTiers`
|
2991
|
+
# @return [Array<String>]
|
2992
|
+
attr_accessor :supported_tiers
|
2993
|
+
|
2988
2994
|
# The type of notification channel, such as "email" and "sms". To view the full
|
2989
2995
|
# list of channels, see Channel descriptors (https://cloud.google.com/monitoring/
|
2990
2996
|
# alerts/using-channels-api#ncd). Notification channel types are globally unique.
|
@@ -3003,6 +3009,7 @@ module Google
|
|
3003
3009
|
@labels = args[:labels] if args.key?(:labels)
|
3004
3010
|
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
3005
3011
|
@name = args[:name] if args.key?(:name)
|
3012
|
+
@supported_tiers = args[:supported_tiers] if args.key?(:supported_tiers)
|
3006
3013
|
@type = args[:type] if args.key?(:type)
|
3007
3014
|
end
|
3008
3015
|
end
|
@@ -3132,12 +3139,15 @@ module Google
|
|
3132
3139
|
class Point
|
3133
3140
|
include Google::Apis::Core::Hashable
|
3134
3141
|
|
3135
|
-
#
|
3136
|
-
#
|
3137
|
-
#
|
3138
|
-
#
|
3139
|
-
#
|
3140
|
-
#
|
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
|
3141
3151
|
# minutes in the future. For GAUGE metrics, the startTime value is technically
|
3142
3152
|
# optional; if no value is specified, the start time defaults to the value of
|
3143
3153
|
# the end time, and the interval represents a single point in time. If both
|
@@ -3148,7 +3158,7 @@ module Google
|
|
3148
3158
|
# specify a non-zero interval, with subsequent points specifying contiguous and
|
3149
3159
|
# non-overlapping intervals. For DELTA metrics, the start time of the next
|
3150
3160
|
# interval must be at least a millisecond after the end time of the previous
|
3151
|
-
# interval. For CUMULATIVE metrics, the start time and end time must specify a
|
3161
|
+
# interval. For CUMULATIVE metrics, the start time and end time must specify a
|
3152
3162
|
# non-zero interval, with subsequent points specifying the same start time and
|
3153
3163
|
# increasing end times, until an event resets the cumulative value to zero and
|
3154
3164
|
# sets a new start time for the following points. The new start time must be at
|
@@ -3184,12 +3194,15 @@ module Google
|
|
3184
3194
|
class PointData
|
3185
3195
|
include Google::Apis::Core::Hashable
|
3186
3196
|
|
3187
|
-
#
|
3188
|
-
#
|
3189
|
-
#
|
3190
|
-
#
|
3191
|
-
#
|
3192
|
-
#
|
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
|
3193
3206
|
# minutes in the future. For GAUGE metrics, the startTime value is technically
|
3194
3207
|
# optional; if no value is specified, the start time defaults to the value of
|
3195
3208
|
# the end time, and the interval represents a single point in time. If both
|
@@ -3200,7 +3213,7 @@ module Google
|
|
3200
3213
|
# specify a non-zero interval, with subsequent points specifying contiguous and
|
3201
3214
|
# non-overlapping intervals. For DELTA metrics, the start time of the next
|
3202
3215
|
# interval must be at least a millisecond after the end time of the previous
|
3203
|
-
# interval. For CUMULATIVE metrics, the start time and end time must specify a
|
3216
|
+
# interval. For CUMULATIVE metrics, the start time and end time must specify a
|
3204
3217
|
# non-zero interval, with subsequent points specifying the same start time and
|
3205
3218
|
# increasing end times, until an event resets the cumulative value to zero and
|
3206
3219
|
# sets a new start time for the following points. The new start time must be at
|
@@ -3746,12 +3759,15 @@ module Google
|
|
3746
3759
|
end
|
3747
3760
|
end
|
3748
3761
|
|
3749
|
-
#
|
3750
|
-
#
|
3751
|
-
#
|
3752
|
-
#
|
3753
|
-
#
|
3754
|
-
#
|
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
|
3755
3771
|
# minutes in the future. For GAUGE metrics, the startTime value is technically
|
3756
3772
|
# optional; if no value is specified, the start time defaults to the value of
|
3757
3773
|
# the end time, and the interval represents a single point in time. If both
|
@@ -3762,7 +3778,7 @@ module Google
|
|
3762
3778
|
# specify a non-zero interval, with subsequent points specifying contiguous and
|
3763
3779
|
# non-overlapping intervals. For DELTA metrics, the start time of the next
|
3764
3780
|
# interval must be at least a millisecond after the end time of the previous
|
3765
|
-
# interval. For CUMULATIVE metrics, the start time and end time must specify a
|
3781
|
+
# interval. For CUMULATIVE metrics, the start time and end time must specify a
|
3766
3782
|
# non-zero interval, with subsequent points specifying the same start time and
|
3767
3783
|
# increasing end times, until an event resets the cumulative value to zero and
|
3768
3784
|
# sets a new start time for the following points. The new start time must be at
|
@@ -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.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211213"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -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.19.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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.19.0
|
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: []
|
65
65
|
require_paths:
|
@@ -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.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Monitoring API V3
|