google-apis-monitoring_v3 0.42.0 → 0.44.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: 670e53e5ab8001050f504516b56ba819851a3cb68be959cd62b8430dac9e5f94
|
4
|
+
data.tar.gz: b90eeebbc446521f6e4f5497861c198a0291dd2f7cb3f6b3de9234becd021c95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6a3b13c06502e21c6b72b9ef872524ba6bb1a488ca1ffd8a5491cccd7868c2e138e9f9290e928b7b3ae56e99229c0160a0b4561c3c3a2ccb496d6872009c286
|
7
|
+
data.tar.gz: 42ee4cf0024d5fbdcfdb109253acd363fafa58a9fda78b10be321d0b7f19b26306fc60e8559cc42cf0ec72b97e5c2587e799a72c01a101a51b67ac859946f0ea
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v3
|
2
2
|
|
3
|
+
### v0.44.0 (2023-04-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230417
|
6
|
+
|
7
|
+
### v0.43.0 (2023-03-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230320
|
10
|
+
|
3
11
|
### v0.42.0 (2023-02-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230212
|
@@ -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
|
@@ -2074,7 +2080,7 @@ module Google
|
|
2074
2080
|
# overflow and underflow). Each bucket represents a constant absolute
|
2075
2081
|
# uncertainty on the specific value in the bucket.There are num_finite_buckets +
|
2076
2082
|
# 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-
|
2077
|
-
# 1): offset + (width * i).
|
2083
|
+
# 1): offset + (width * i).Lower bound (1 <= i < N): offset + (width * (i - 1)).
|
2078
2084
|
class Linear
|
2079
2085
|
include Google::Apis::Core::Hashable
|
2080
2086
|
|
@@ -3376,6 +3382,36 @@ module Google
|
|
3376
3382
|
end
|
3377
3383
|
end
|
3378
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
|
+
|
3379
3415
|
# Control over the rate of notifications sent to this alert policy's
|
3380
3416
|
# notification channels.
|
3381
3417
|
class NotificationRateLimit
|
@@ -4561,6 +4597,11 @@ module Google
|
|
4561
4597
|
class Type
|
4562
4598
|
include Google::Apis::Core::Hashable
|
4563
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
|
+
|
4564
4605
|
# The list of fields.
|
4565
4606
|
# Corresponds to the JSON property `fields`
|
4566
4607
|
# @return [Array<Google::Apis::MonitoringV3::Field>]
|
@@ -4598,6 +4639,7 @@ module Google
|
|
4598
4639
|
|
4599
4640
|
# Update properties of this object
|
4600
4641
|
def update!(**args)
|
4642
|
+
@edition = args[:edition] if args.key?(:edition)
|
4601
4643
|
@fields = args[:fields] if args.key?(:fields)
|
4602
4644
|
@name = args[:name] if args.key?(:name)
|
4603
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.44.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230417"
|
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
|
@@ -1506,6 +1514,14 @@ module Google
|
|
1506
1514
|
end
|
1507
1515
|
end
|
1508
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
|
+
|
1509
1525
|
class NotificationRateLimit
|
1510
1526
|
# @private
|
1511
1527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1805,6 +1821,7 @@ module Google
|
|
1805
1821
|
class Type
|
1806
1822
|
# @private
|
1807
1823
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1824
|
+
property :edition, as: 'edition'
|
1808
1825
|
collection :fields, as: 'fields', class: Google::Apis::MonitoringV3::Field, decorator: Google::Apis::MonitoringV3::Field::Representation
|
1809
1826
|
|
1810
1827
|
property :name, as: 'name'
|
@@ -1363,7 +1363,9 @@ module Google
|
|
1363
1363
|
execute_or_queue_command(command, &block)
|
1364
1364
|
end
|
1365
1365
|
|
1366
|
-
# Lists the notification channels that have been created for the project.
|
1366
|
+
# Lists the notification channels that have been created for the project. To
|
1367
|
+
# list the types of notification channels that are supported, use the
|
1368
|
+
# ListNotificationChannelDescriptors method.
|
1367
1369
|
# @param [String] name
|
1368
1370
|
# Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
|
1369
1371
|
# on which to execute the request. The format is: 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.44.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-04-23 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.44.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: []
|