google-apis-monitoring_v3 0.28.0 → 0.31.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: 95bdc7c711c5d6ec3f637c7f376aa033ff56460993b584c191665412403cd050
4
- data.tar.gz: 431dffd5b5c6dd3df350bac8a1bc3b631c6148fcb32c39932e8587ab962e1587
3
+ metadata.gz: dbe95fb9e6b8e2c251e62035a9c558c899cc7a3ec7e61a031d49ad10eb9cd2cb
4
+ data.tar.gz: 20b41c09c4af5a4e961f52188f26bcc4e87d139748d75007fb2515b6beb4dda3
5
5
  SHA512:
6
- metadata.gz: 2adcabb27c0200b72d5e731b57bf692776c37a8e15a2cad0253da91daca5652c9d9c5d3cc2f0c9a052a75e358d83cf2b72f5ffa2e0285854195ad987a966c043
7
- data.tar.gz: ca0cb5c2ee3beb171746bc26668ccdc1e6623437484a6edf7ea6232f74f1e33b90f06e57ef7e82e148957c344a7e2b3cbe36a563c6be3d0672e5931c0ec11468
6
+ metadata.gz: 983a53d6c4844a85da49d01b65374aa3343af1db6e622c84bf3bf36eec276a9f2220daf9007f435fcd46ef60355cab4470c459417117ad9df89b10cdda773fb9
7
+ data.tar.gz: 5eb5cc2c96f76bb5f2150ea1848863de6ceef81bc7a932626a4c9519a5f4b27a04abb190c8df145c235d104bdcb5315c2549047e86cb9c68f99ca5041caf1421
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
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
+
8
+ ### v0.30.0 (2022-06-30)
9
+
10
+ * Regenerated from discovery document revision 20220626
11
+ * Regenerated using generator version 0.8.0
12
+
13
+ ### v0.29.0 (2022-06-18)
14
+
15
+ * Regenerated using generator version 0.7.0
16
+
3
17
  ### v0.28.0 (2022-06-06)
4
18
 
5
19
  * Regenerated using generator version 0.5.0
@@ -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.28.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.5.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220525"
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.28.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-06-13 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.28.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: []