google-apis-monitoring_v3 0.30.0 → 0.32.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9c8656c08e8948d48d02b3f1a24c6d332626bb3d2edc9ddc46990faa6d03ee4
|
4
|
+
data.tar.gz: 879a1ca6e1b49733ea3d401598e411532c19a6e7dc9211da4dbb90df91acd073
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8d8935bcb6bd348134a791ed6ba2be7e7e052e3c3e2117cf9093f40d47763e0a10fd76124d1a01e57b3b33b6756f3c3c79fa38a11f1d699ab3173dd8b8e2d33
|
7
|
+
data.tar.gz: 622069cf67fb33db0585c4122c9df7e15c2e6092d9f4d6d1313a23da5e358e206391dcc65c4e36c231176e334d6496b40a51dadb0170eb3936ac5937ef64dbbc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v3
|
2
2
|
|
3
|
+
### v0.32.0 (2022-07-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220725
|
6
|
+
|
7
|
+
### v0.31.0 (2022-07-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220715
|
10
|
+
* Regenerated using generator version 0.9.0
|
11
|
+
|
3
12
|
### v0.30.0 (2022-06-30)
|
4
13
|
|
5
14
|
* 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
|
@@ -4491,6 +4525,15 @@ module Google
|
|
4491
4525
|
# @return [String]
|
4492
4526
|
attr_accessor :timeout
|
4493
4527
|
|
4528
|
+
# User-supplied key/value data to be used for organizing and identifying the
|
4529
|
+
# UptimeCheckConfig objects.The field can contain up to 64 entries. Each key and
|
4530
|
+
# value is limited to 63 Unicode characters or 128 bytes, whichever is smaller.
|
4531
|
+
# Labels and values can contain only lowercase letters, numerals, underscores,
|
4532
|
+
# and dashes. Keys must begin with a letter.
|
4533
|
+
# Corresponds to the JSON property `userLabels`
|
4534
|
+
# @return [Hash<String,String>]
|
4535
|
+
attr_accessor :user_labels
|
4536
|
+
|
4494
4537
|
def initialize(**args)
|
4495
4538
|
update!(**args)
|
4496
4539
|
end
|
@@ -4510,6 +4553,7 @@ module Google
|
|
4510
4553
|
@selected_regions = args[:selected_regions] if args.key?(:selected_regions)
|
4511
4554
|
@tcp_check = args[:tcp_check] if args.key?(:tcp_check)
|
4512
4555
|
@timeout = args[:timeout] if args.key?(:timeout)
|
4556
|
+
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
4513
4557
|
end
|
4514
4558
|
end
|
4515
4559
|
|
@@ -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.32.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220725"
|
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
|
@@ -1740,6 +1756,7 @@ module Google
|
|
1740
1756
|
property :tcp_check, as: 'tcpCheck', class: Google::Apis::MonitoringV3::TcpCheck, decorator: Google::Apis::MonitoringV3::TcpCheck::Representation
|
1741
1757
|
|
1742
1758
|
property :timeout, as: 'timeout'
|
1759
|
+
hash :user_labels, as: 'userLabels'
|
1743
1760
|
end
|
1744
1761
|
end
|
1745
1762
|
|
@@ -880,10 +880,10 @@ module Google
|
|
880
880
|
execute_or_queue_command(command, &block)
|
881
881
|
end
|
882
882
|
|
883
|
-
# Creates a new metric descriptor. The creation is executed asynchronously
|
884
|
-
#
|
885
|
-
# metric
|
886
|
-
#
|
883
|
+
# Creates a new metric descriptor. The creation is executed asynchronously. User-
|
884
|
+
# created metric descriptors define custom metrics (https://cloud.google.com/
|
885
|
+
# monitoring/custom-metrics). The metric descriptor is updated if it already
|
886
|
+
# exists, except that metric labels are never removed.
|
887
887
|
# @param [String] name
|
888
888
|
# Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
|
889
889
|
# on which to execute the request. The format is: 4 projects/
|
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.32.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-
|
11
|
+
date: 2022-08-01 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.32.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: []
|