google-apis-monitoring_v3 0.32.0 → 0.33.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: c9c8656c08e8948d48d02b3f1a24c6d332626bb3d2edc9ddc46990faa6d03ee4
4
- data.tar.gz: 879a1ca6e1b49733ea3d401598e411532c19a6e7dc9211da4dbb90df91acd073
3
+ metadata.gz: f2ca874e6ddf9c5e16d0e9108cdd8022a96970d0ea9a38d0235363bfcf20f0ca
4
+ data.tar.gz: acd2d1234d85ea7466bd827e21dc2ae0f3e1cd8353b85512d37da97ade36f104
5
5
  SHA512:
6
- metadata.gz: f8d8935bcb6bd348134a791ed6ba2be7e7e052e3c3e2117cf9093f40d47763e0a10fd76124d1a01e57b3b33b6756f3c3c79fa38a11f1d699ab3173dd8b8e2d33
7
- data.tar.gz: 622069cf67fb33db0585c4122c9df7e15c2e6092d9f4d6d1313a23da5e358e206391dcc65c4e36c231176e334d6496b40a51dadb0170eb3936ac5937ef64dbbc
6
+ metadata.gz: 8ced947500e88db41b7e91f61565682d544fc5be8f755861d25e8d94e3d40023ad920e214022abce890d1f13e88f750d82e1aae9c1d9e6216067bb60830867ea
7
+ data.tar.gz: 7fb14b698274123c2754510997a0028d31a5ef12dcd1199a448b27eee3480e22efff0f1e99d23b80c55f1112b6295824b79dd0e15504abad024c652bb5e532d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-monitoring_v3
2
2
 
3
+ ### v0.33.0 (2022-08-24)
4
+
5
+ * Regenerated from discovery document revision 20220819
6
+
3
7
  ### v0.32.0 (2022-07-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20220725
@@ -1713,6 +1713,12 @@ module Google
1713
1713
  # @return [String]
1714
1714
  attr_accessor :path
1715
1715
 
1716
+ # Information involved in sending ICMP pings alongside public HTTP/TCP checks.
1717
+ # For HTTP, the pings are performed for each part of the redirect chain.
1718
+ # Corresponds to the JSON property `pingConfig`
1719
+ # @return [Google::Apis::MonitoringV3::PingConfig]
1720
+ attr_accessor :ping_config
1721
+
1716
1722
  # Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true).
1717
1723
  # The TCP port on the HTTP server against which to run the check. Will be
1718
1724
  # combined with host (specified within the monitored_resource) and path to
@@ -1754,6 +1760,7 @@ module Google
1754
1760
  @headers = args[:headers] if args.key?(:headers)
1755
1761
  @mask_headers = args[:mask_headers] if args.key?(:mask_headers)
1756
1762
  @path = args[:path] if args.key?(:path)
1763
+ @ping_config = args[:ping_config] if args.key?(:ping_config)
1757
1764
  @port = args[:port] if args.key?(:port)
1758
1765
  @request_method = args[:request_method] if args.key?(:request_method)
1759
1766
  @use_ssl = args[:use_ssl] if args.key?(:use_ssl)
@@ -3366,6 +3373,26 @@ module Google
3366
3373
  end
3367
3374
  end
3368
3375
 
3376
+ # Information involved in sending ICMP pings alongside public HTTP/TCP checks.
3377
+ # For HTTP, the pings are performed for each part of the redirect chain.
3378
+ class PingConfig
3379
+ include Google::Apis::Core::Hashable
3380
+
3381
+ # Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
3382
+ # Corresponds to the JSON property `pingsCount`
3383
+ # @return [Fixnum]
3384
+ attr_accessor :pings_count
3385
+
3386
+ def initialize(**args)
3387
+ update!(**args)
3388
+ end
3389
+
3390
+ # Update properties of this object
3391
+ def update!(**args)
3392
+ @pings_count = args[:pings_count] if args.key?(:pings_count)
3393
+ end
3394
+ end
3395
+
3369
3396
  # A single data point in a time series.
3370
3397
  class Point
3371
3398
  include Google::Apis::Core::Hashable
@@ -4010,6 +4037,12 @@ module Google
4010
4037
  class TcpCheck
4011
4038
  include Google::Apis::Core::Hashable
4012
4039
 
4040
+ # Information involved in sending ICMP pings alongside public HTTP/TCP checks.
4041
+ # For HTTP, the pings are performed for each part of the redirect chain.
4042
+ # Corresponds to the JSON property `pingConfig`
4043
+ # @return [Google::Apis::MonitoringV3::PingConfig]
4044
+ attr_accessor :ping_config
4045
+
4013
4046
  # The TCP port on the server against which to run the check. Will be combined
4014
4047
  # with host (specified within the monitored_resource) to construct the full URL.
4015
4048
  # Required.
@@ -4023,6 +4056,7 @@ module Google
4023
4056
 
4024
4057
  # Update properties of this object
4025
4058
  def update!(**args)
4059
+ @ping_config = args[:ping_config] if args.key?(:ping_config)
4026
4060
  @port = args[:port] if args.key?(:port)
4027
4061
  end
4028
4062
  end
@@ -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.32.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220725"
25
+ REVISION = "20220819"
26
26
  end
27
27
  end
28
28
  end
@@ -490,6 +490,12 @@ module Google
490
490
  include Google::Apis::Core::JsonObjectSupport
491
491
  end
492
492
 
493
+ class PingConfig
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
493
499
  class Point
494
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
501
 
@@ -1077,6 +1083,8 @@ module Google
1077
1083
  hash :headers, as: 'headers'
1078
1084
  property :mask_headers, as: 'maskHeaders'
1079
1085
  property :path, as: 'path'
1086
+ property :ping_config, as: 'pingConfig', class: Google::Apis::MonitoringV3::PingConfig, decorator: Google::Apis::MonitoringV3::PingConfig::Representation
1087
+
1080
1088
  property :port, as: 'port'
1081
1089
  property :request_method, as: 'requestMethod'
1082
1090
  property :use_ssl, as: 'useSsl'
@@ -1469,6 +1477,13 @@ module Google
1469
1477
  end
1470
1478
  end
1471
1479
 
1480
+ class PingConfig
1481
+ # @private
1482
+ class Representation < Google::Apis::Core::JsonRepresentation
1483
+ property :pings_count, as: 'pingsCount'
1484
+ end
1485
+ end
1486
+
1472
1487
  class Point
1473
1488
  # @private
1474
1489
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1634,6 +1649,8 @@ module Google
1634
1649
  class TcpCheck
1635
1650
  # @private
1636
1651
  class Representation < Google::Apis::Core::JsonRepresentation
1652
+ property :ping_config, as: 'pingConfig', class: Google::Apis::MonitoringV3::PingConfig, decorator: Google::Apis::MonitoringV3::PingConfig::Representation
1653
+
1637
1654
  property :port, as: 'port'
1638
1655
  end
1639
1656
  end
@@ -1894,6 +1894,11 @@ module Google
1894
1894
  # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
1895
1895
  # whose Uptime check configurations are listed. The format is: projects/[
1896
1896
  # PROJECT_ID_OR_NUMBER]
1897
+ # @param [String] filter
1898
+ # If provided, this field specifies the criteria that must be met by uptime
1899
+ # checks to be included in the response.For more details, see Filtering syntax (
1900
+ # https://cloud.google.com/monitoring/api/v3/sorting-and-filtering#filter_syntax)
1901
+ # .
1897
1902
  # @param [Fixnum] page_size
1898
1903
  # The maximum number of results to return in a single response. The server may
1899
1904
  # further constrain the maximum number of results returned in a single page. If
@@ -1920,11 +1925,12 @@ module Google
1920
1925
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1921
1926
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1922
1927
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1923
- def list_project_uptime_check_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1928
+ def list_project_uptime_check_configs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1924
1929
  command = make_simple_command(:get, 'v3/{+parent}/uptimeCheckConfigs', options)
1925
1930
  command.response_representation = Google::Apis::MonitoringV3::ListUptimeCheckConfigsResponse::Representation
1926
1931
  command.response_class = Google::Apis::MonitoringV3::ListUptimeCheckConfigsResponse
1927
1932
  command.params['parent'] = parent unless parent.nil?
1933
+ command.query['filter'] = filter unless filter.nil?
1928
1934
  command.query['pageSize'] = page_size unless page_size.nil?
1929
1935
  command.query['pageToken'] = page_token unless page_token.nil?
1930
1936
  command.query['fields'] = fields unless fields.nil?
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.32.0
4
+ version: 0.33.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-08-01 00:00:00.000000000 Z
11
+ date: 2022-08-29 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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.33.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: []