google-apis-monitoring_v3 0.41.0 → 0.43.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: 2a6da1b1e43356dee56d14c27434960b2eee0bec2c1e1537abf985c9a1e5862f
|
4
|
+
data.tar.gz: 293aa1af383aed3a32a54f4aaa7351a824307a0a32938b3ed7dddca99a27fb8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ed70138f5b5956c64e853d428812e53889b908a2097724862c29aef4fbee9e5122e2225a4b5d92990b8b9a5baae1d792b5be96236f282337b761746b31450d8
|
7
|
+
data.tar.gz: 906d4eb31beafcbd66bf68236ca78cc8572cee5cc52728d682fcc521740dcee5104228a0295fb293fc33709199a98c4b911f998d32afdc3f621659f6ae781a13
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v3
|
2
2
|
|
3
|
+
### v0.43.0 (2023-03-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230320
|
6
|
+
|
7
|
+
### v0.42.0 (2023-02-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230212
|
10
|
+
* Regenerated using generator version 0.12.0
|
11
|
+
|
3
12
|
### v0.41.0 (2023-02-05)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20230130
|
@@ -247,6 +247,11 @@ module Google
|
|
247
247
|
# @return [String]
|
248
248
|
attr_accessor :auto_close
|
249
249
|
|
250
|
+
# Control how notifications will be sent out, on a per-channel basis.
|
251
|
+
# Corresponds to the JSON property `notificationChannelStrategy`
|
252
|
+
# @return [Array<Google::Apis::MonitoringV3::NotificationChannelStrategy>]
|
253
|
+
attr_accessor :notification_channel_strategy
|
254
|
+
|
250
255
|
# Control over the rate of notifications sent to this alert policy's
|
251
256
|
# notification channels.
|
252
257
|
# Corresponds to the JSON property `notificationRateLimit`
|
@@ -260,6 +265,7 @@ module Google
|
|
260
265
|
# Update properties of this object
|
261
266
|
def update!(**args)
|
262
267
|
@auto_close = args[:auto_close] if args.key?(:auto_close)
|
268
|
+
@notification_channel_strategy = args[:notification_channel_strategy] if args.key?(:notification_channel_strategy)
|
263
269
|
@notification_rate_limit = args[:notification_rate_limit] if args.key?(:notification_rate_limit)
|
264
270
|
end
|
265
271
|
end
|
@@ -445,7 +451,7 @@ module Google
|
|
445
451
|
# proportional to the value of the lower bound. Each bucket represents a
|
446
452
|
# constant relative uncertainty on a specific value in the bucket.There are
|
447
453
|
# num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:
|
448
|
-
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).
|
454
|
+
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).Lower bound (1 <= i <
|
449
455
|
# N): scale * (growth_factor ^ (i - 1)).
|
450
456
|
# Corresponds to the JSON property `exponentialBuckets`
|
451
457
|
# @return [Google::Apis::MonitoringV3::Exponential]
|
@@ -455,7 +461,7 @@ module Google
|
|
455
461
|
# overflow and underflow). Each bucket represents a constant absolute
|
456
462
|
# uncertainty on the specific value in the bucket.There are num_finite_buckets +
|
457
463
|
# 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-
|
458
|
-
# 1): offset + (width * i).
|
464
|
+
# 1): offset + (width * i).Lower bound (1 <= i < N): offset + (width * (i - 1)).
|
459
465
|
# Corresponds to the JSON property `linearBuckets`
|
460
466
|
# @return [Google::Apis::MonitoringV3::Linear]
|
461
467
|
attr_accessor :linear_buckets
|
@@ -1301,7 +1307,7 @@ module Google
|
|
1301
1307
|
# proportional to the value of the lower bound. Each bucket represents a
|
1302
1308
|
# constant relative uncertainty on a specific value in the bucket.There are
|
1303
1309
|
# num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:
|
1304
|
-
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).
|
1310
|
+
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).Lower bound (1 <= i <
|
1305
1311
|
# N): scale * (growth_factor ^ (i - 1)).
|
1306
1312
|
class Exponential
|
1307
1313
|
include Google::Apis::Core::Hashable
|
@@ -1765,6 +1771,15 @@ module Google
|
|
1765
1771
|
# @return [String]
|
1766
1772
|
attr_accessor :content_type
|
1767
1773
|
|
1774
|
+
# A user provided content type header to use for the check. The invalid
|
1775
|
+
# configurations outlined in the content_type field apply to custom_content_type,
|
1776
|
+
# as well as the following: 1. content_type is URL_ENCODED and
|
1777
|
+
# custom_content_type is set. 2. content_type is USER_PROVIDED and
|
1778
|
+
# custom_content_type is not set.
|
1779
|
+
# Corresponds to the JSON property `customContentType`
|
1780
|
+
# @return [String]
|
1781
|
+
attr_accessor :custom_content_type
|
1782
|
+
|
1768
1783
|
# The list of headers to send as part of the Uptime check request. If two
|
1769
1784
|
# headers have the same key and different values, they should be entered as a
|
1770
1785
|
# single header, with the value being a comma-separated list of all the desired
|
@@ -1838,6 +1853,7 @@ module Google
|
|
1838
1853
|
@auth_info = args[:auth_info] if args.key?(:auth_info)
|
1839
1854
|
@body = args[:body] if args.key?(:body)
|
1840
1855
|
@content_type = args[:content_type] if args.key?(:content_type)
|
1856
|
+
@custom_content_type = args[:custom_content_type] if args.key?(:custom_content_type)
|
1841
1857
|
@headers = args[:headers] if args.key?(:headers)
|
1842
1858
|
@mask_headers = args[:mask_headers] if args.key?(:mask_headers)
|
1843
1859
|
@path = args[:path] if args.key?(:path)
|
@@ -2064,7 +2080,7 @@ module Google
|
|
2064
2080
|
# overflow and underflow). Each bucket represents a constant absolute
|
2065
2081
|
# uncertainty on the specific value in the bucket.There are num_finite_buckets +
|
2066
2082
|
# 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-
|
2067
|
-
# 1): offset + (width * i).
|
2083
|
+
# 1): offset + (width * i).Lower bound (1 <= i < N): offset + (width * (i - 1)).
|
2068
2084
|
class Linear
|
2069
2085
|
include Google::Apis::Core::Hashable
|
2070
2086
|
|
@@ -3366,6 +3382,36 @@ module Google
|
|
3366
3382
|
end
|
3367
3383
|
end
|
3368
3384
|
|
3385
|
+
# Control over how the notification channels in notification_channels are
|
3386
|
+
# notified when this alert fires, on a per-channel basis.
|
3387
|
+
class NotificationChannelStrategy
|
3388
|
+
include Google::Apis::Core::Hashable
|
3389
|
+
|
3390
|
+
# The full REST resource name for the notification channels that these settings
|
3391
|
+
# apply to. Each of these correspond to the name field in one of the
|
3392
|
+
# NotificationChannel objects referenced in the notification_channels field of
|
3393
|
+
# this AlertPolicy. The format is: projects/[PROJECT_ID_OR_NUMBER]/
|
3394
|
+
# notificationChannels/[CHANNEL_ID]
|
3395
|
+
# Corresponds to the JSON property `notificationChannelNames`
|
3396
|
+
# @return [Array<String>]
|
3397
|
+
attr_accessor :notification_channel_names
|
3398
|
+
|
3399
|
+
# The frequency at which to send reminder notifications for open incidents.
|
3400
|
+
# Corresponds to the JSON property `renotifyInterval`
|
3401
|
+
# @return [String]
|
3402
|
+
attr_accessor :renotify_interval
|
3403
|
+
|
3404
|
+
def initialize(**args)
|
3405
|
+
update!(**args)
|
3406
|
+
end
|
3407
|
+
|
3408
|
+
# Update properties of this object
|
3409
|
+
def update!(**args)
|
3410
|
+
@notification_channel_names = args[:notification_channel_names] if args.key?(:notification_channel_names)
|
3411
|
+
@renotify_interval = args[:renotify_interval] if args.key?(:renotify_interval)
|
3412
|
+
end
|
3413
|
+
end
|
3414
|
+
|
3369
3415
|
# Control over the rate of notifications sent to this alert policy's
|
3370
3416
|
# notification channels.
|
3371
3417
|
class NotificationRateLimit
|
@@ -4551,6 +4597,11 @@ module Google
|
|
4551
4597
|
class Type
|
4552
4598
|
include Google::Apis::Core::Hashable
|
4553
4599
|
|
4600
|
+
# The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
4601
|
+
# Corresponds to the JSON property `edition`
|
4602
|
+
# @return [String]
|
4603
|
+
attr_accessor :edition
|
4604
|
+
|
4554
4605
|
# The list of fields.
|
4555
4606
|
# Corresponds to the JSON property `fields`
|
4556
4607
|
# @return [Array<Google::Apis::MonitoringV3::Field>]
|
@@ -4588,6 +4639,7 @@ module Google
|
|
4588
4639
|
|
4589
4640
|
# Update properties of this object
|
4590
4641
|
def update!(**args)
|
4642
|
+
@edition = args[:edition] if args.key?(:edition)
|
4591
4643
|
@fields = args[:fields] if args.key?(:fields)
|
4592
4644
|
@name = args[:name] if args.key?(:name)
|
4593
4645
|
@oneofs = args[:oneofs] if args.key?(:oneofs)
|
@@ -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.43.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230320"
|
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 NotificationChannelStrategy
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
493
499
|
class NotificationRateLimit
|
494
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
501
|
|
@@ -744,6 +750,8 @@ module Google
|
|
744
750
|
# @private
|
745
751
|
class Representation < Google::Apis::Core::JsonRepresentation
|
746
752
|
property :auto_close, as: 'autoClose'
|
753
|
+
collection :notification_channel_strategy, as: 'notificationChannelStrategy', class: Google::Apis::MonitoringV3::NotificationChannelStrategy, decorator: Google::Apis::MonitoringV3::NotificationChannelStrategy::Representation
|
754
|
+
|
747
755
|
property :notification_rate_limit, as: 'notificationRateLimit', class: Google::Apis::MonitoringV3::NotificationRateLimit, decorator: Google::Apis::MonitoringV3::NotificationRateLimit::Representation
|
748
756
|
|
749
757
|
end
|
@@ -1132,6 +1140,7 @@ module Google
|
|
1132
1140
|
|
1133
1141
|
property :body, :base64 => true, as: 'body'
|
1134
1142
|
property :content_type, as: 'contentType'
|
1143
|
+
property :custom_content_type, as: 'customContentType'
|
1135
1144
|
hash :headers, as: 'headers'
|
1136
1145
|
property :mask_headers, as: 'maskHeaders'
|
1137
1146
|
property :path, as: 'path'
|
@@ -1505,6 +1514,14 @@ module Google
|
|
1505
1514
|
end
|
1506
1515
|
end
|
1507
1516
|
|
1517
|
+
class NotificationChannelStrategy
|
1518
|
+
# @private
|
1519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1520
|
+
collection :notification_channel_names, as: 'notificationChannelNames'
|
1521
|
+
property :renotify_interval, as: 'renotifyInterval'
|
1522
|
+
end
|
1523
|
+
end
|
1524
|
+
|
1508
1525
|
class NotificationRateLimit
|
1509
1526
|
# @private
|
1510
1527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1804,6 +1821,7 @@ module Google
|
|
1804
1821
|
class Type
|
1805
1822
|
# @private
|
1806
1823
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1824
|
+
property :edition, as: 'edition'
|
1807
1825
|
collection :fields, as: 'fields', class: Google::Apis::MonitoringV3::Field, decorator: Google::Apis::MonitoringV3::Field::Representation
|
1808
1826
|
|
1809
1827
|
property :name, as: 'name'
|
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.43.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: 2023-
|
11
|
+
date: 2023-03-26 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.
|
19
|
+
version: 0.11.0
|
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.
|
29
|
+
version: 0.11.0
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.43.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: []
|