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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1894e4abb31067c7ff848fb85c2d25ffa2cecbf30828e30ae67fd47728414a71
4
- data.tar.gz: e4e8ad9ddcfe789afd4fac1f319b509c20848cd197796f60f24b925eb41258dc
3
+ metadata.gz: d875afd30422637d9e01fc4c8d056cc93ffcc79e2dbfc2a63374e729af63689b
4
+ data.tar.gz: 6a3829cb310d46cdbd81db25402db17b9ac3ec850d271496b5e22eb1638690a4
5
5
  SHA512:
6
- metadata.gz: 266b4f4cfcbb067a5274757a7a69f0fe5b5e812bb4ff25f4ef17f08646c0e8992751d3299832bad1189b0cfd764ea0d5579a0af3ccd9c37a9aa11e9b4ccad2a2
7
- data.tar.gz: d319371c4383c8f3a448ba9111897934fc26da5c2e1267ee37461910ea151dbdd3b447d47cad1e93c5e1806dbec9cc66b84b09f13677ef7e033e606481eb7241
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.authentication = # ... use the googleauth gem to create credentials
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 "instance_id" and "
797
- # zone": ` "type": "gce_instance", "labels": ` "instance_id": "12345678901234", "
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. Note: As with all bytes fields, JSON
1483
- # representations are base64 encoded. e.g.: "foo=bar" in URL-encoded form is "
1484
- # foo%3Dbar" and in base64 encoding is "Zm9vJTI1M0RiYXI=".
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 "instance_id" and "
2640
- # zone": ` "type": "gce_instance", "labels": ` "instance_id": "12345678901234", "
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
- # A closed time interval. It extends from the start time to the end time, and
3143
- # includes both: [startTime, endTime]. Valid time intervals depend on the
3144
- # MetricKind (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.
3145
- # metricDescriptors#MetricKind) of the metric value. The end time must not be
3146
- # earlier than the start time. When writing data points, the start time must not
3147
- # be more than 25 hours in the past and the end time must not be more than five
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
- # A closed time interval. It extends from the start time to the end time, and
3195
- # includes both: [startTime, endTime]. Valid time intervals depend on the
3196
- # MetricKind (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.
3197
- # metricDescriptors#MetricKind) of the metric value. The end time must not be
3198
- # earlier than the start time. When writing data points, the start time must not
3199
- # be more than 25 hours in the past and the end time must not be more than five
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
- # A closed time interval. It extends from the start time to the end time, and
3757
- # includes both: [startTime, endTime]. Valid time intervals depend on the
3758
- # MetricKind (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.
3759
- # metricDescriptors#MetricKind) of the metric value. The end time must not be
3760
- # earlier than the start time. When writing data points, the start time must not
3761
- # be more than 25 hours in the past and the end time must not be more than five
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 "instance_id" and "
3858
- # zone": ` "type": "gce_instance", "labels": ` "instance_id": "12345678901234", "
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 "instance_id" and "
4178
- # zone": ` "type": "gce_instance", "labels": ` "instance_id": "12345678901234", "
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.16.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.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211017"
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. Most projects must be
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. Most projects must be
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.16.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: 2021-10-27 00:00:00.000000000 Z
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.16.0
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.2.17
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