google-apis-monitoring_v3 0.30.0 → 0.31.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: 832f27b277488b70dce1355f016c6f4efaf9e6ca85b24faa5afc64895dd7d5ba
4
- data.tar.gz: a960922101a054f1dc4d3ad39344cea01c46dc9ba864706991b334b8aae2cd05
3
+ metadata.gz: dbe95fb9e6b8e2c251e62035a9c558c899cc7a3ec7e61a031d49ad10eb9cd2cb
4
+ data.tar.gz: 20b41c09c4af5a4e961f52188f26bcc4e87d139748d75007fb2515b6beb4dda3
5
5
  SHA512:
6
- metadata.gz: cfaf0f47430b0f86471941d9a0cd84c55624eedefbae38df0b0bfd8a40c7c2abec6cb1b5f57eb61dc9bd4b6f98792a9bc27ec344535982ad399d75c745961189
7
- data.tar.gz: 2ffe2f83b5a457b172830d06cf832c6f3d2826fcc3a1da6baf033d3c0074c1236d8b20cd4483601b754475b3ea47181490746e072b93fb0f7bae010568d9b84d
6
+ metadata.gz: 983a53d6c4844a85da49d01b65374aa3343af1db6e622c84bf3bf36eec276a9f2220daf9007f435fcd46ef60355cab4470c459417117ad9df89b10cdda773fb9
7
+ data.tar.gz: 5eb5cc2c96f76bb5f2150ea1848863de6ceef81bc7a932626a4c9519a5f4b27a04abb190c8df145c235d104bdcb5315c2549047e86cb9c68f99ca5041caf1421
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-monitoring_v3
2
2
 
3
+ ### v0.31.0 (2022-07-21)
4
+
5
+ * Regenerated from discovery document revision 20220715
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.30.0 (2022-06-30)
4
9
 
5
10
  * Regenerated from discovery document revision 20220626
@@ -1648,6 +1648,13 @@ module Google
1648
1648
  class HttpCheck
1649
1649
  include Google::Apis::Core::Hashable
1650
1650
 
1651
+ # If present, the check will only pass if the HTTP response status code is in
1652
+ # this set of status codes. If empty, the HTTP status code will only pass if the
1653
+ # HTTP status code is 200-299.
1654
+ # Corresponds to the JSON property `acceptedResponseStatusCodes`
1655
+ # @return [Array<Google::Apis::MonitoringV3::ResponseStatusCode>]
1656
+ attr_accessor :accepted_response_status_codes
1657
+
1651
1658
  # The authentication parameters to provide to the specified resource or URL that
1652
1659
  # requires a username and password. Currently, only Basic HTTP authentication (
1653
1660
  # https://tools.ietf.org/html/rfc7617) is supported in Uptime checks.
@@ -1740,6 +1747,7 @@ module Google
1740
1747
 
1741
1748
  # Update properties of this object
1742
1749
  def update!(**args)
1750
+ @accepted_response_status_codes = args[:accepted_response_status_codes] if args.key?(:accepted_response_status_codes)
1743
1751
  @auth_info = args[:auth_info] if args.key?(:auth_info)
1744
1752
  @body = args[:body] if args.key?(:body)
1745
1753
  @content_type = args[:content_type] if args.key?(:content_type)
@@ -3627,6 +3635,32 @@ module Google
3627
3635
  end
3628
3636
  end
3629
3637
 
3638
+ # A status to accept. Either a status code class like "2xx", or an integer
3639
+ # status code like "200".
3640
+ class ResponseStatusCode
3641
+ include Google::Apis::Core::Hashable
3642
+
3643
+ # A class of status codes to accept.
3644
+ # Corresponds to the JSON property `statusClass`
3645
+ # @return [String]
3646
+ attr_accessor :status_class
3647
+
3648
+ # A status code to accept.
3649
+ # Corresponds to the JSON property `statusValue`
3650
+ # @return [Fixnum]
3651
+ attr_accessor :status_value
3652
+
3653
+ def initialize(**args)
3654
+ update!(**args)
3655
+ end
3656
+
3657
+ # Update properties of this object
3658
+ def update!(**args)
3659
+ @status_class = args[:status_class] if args.key?(:status_class)
3660
+ @status_value = args[:status_value] if args.key?(:status_value)
3661
+ end
3662
+ end
3663
+
3630
3664
  # The SendNotificationChannelVerificationCode request.
3631
3665
  class SendNotificationChannelVerificationCodeRequest
3632
3666
  include Google::Apis::Core::Hashable
@@ -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.30.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220626"
25
+ REVISION = "20220715"
26
26
  end
27
27
  end
28
28
  end
@@ -532,6 +532,12 @@ module Google
532
532
  include Google::Apis::Core::JsonObjectSupport
533
533
  end
534
534
 
535
+ class ResponseStatusCode
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
535
541
  class SendNotificationChannelVerificationCodeRequest
536
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
543
 
@@ -1062,6 +1068,8 @@ module Google
1062
1068
  class HttpCheck
1063
1069
  # @private
1064
1070
  class Representation < Google::Apis::Core::JsonRepresentation
1071
+ collection :accepted_response_status_codes, as: 'acceptedResponseStatusCodes', class: Google::Apis::MonitoringV3::ResponseStatusCode, decorator: Google::Apis::MonitoringV3::ResponseStatusCode::Representation
1072
+
1065
1073
  property :auth_info, as: 'authInfo', class: Google::Apis::MonitoringV3::BasicAuthentication, decorator: Google::Apis::MonitoringV3::BasicAuthentication::Representation
1066
1074
 
1067
1075
  property :body, :base64 => true, as: 'body'
@@ -1529,6 +1537,14 @@ module Google
1529
1537
  end
1530
1538
  end
1531
1539
 
1540
+ class ResponseStatusCode
1541
+ # @private
1542
+ class Representation < Google::Apis::Core::JsonRepresentation
1543
+ property :status_class, as: 'statusClass'
1544
+ property :status_value, as: 'statusValue'
1545
+ end
1546
+ end
1547
+
1532
1548
  class SendNotificationChannelVerificationCodeRequest
1533
1549
  # @private
1534
1550
  class Representation < Google::Apis::Core::JsonRepresentation
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.30.0
4
+ version: 0.31.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: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-25 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.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.31.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: []