google-apis-monitoring_v3 0.33.0 → 0.35.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: a9d3d1f46dc8a39bf5daeeff54019e4c169eba4cfaabaae0bd836e1035402407
|
4
|
+
data.tar.gz: c1bbde6e47feabdf557f92ce3453c91904ccfbc26a9f1e26b3f9aa216beec25a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df12a90b4f90dd709e55ebccc817fef77fefb5c606d19229f8d5ca719773cf98a0b1f1393f544cd6ef7fb4c63c2b51934412d4b18fcd8caad878905cb2268cad
|
7
|
+
data.tar.gz: d05a38b46ce3e530ecbbafe6e9ddfc9b0de8f97cdc0d5884f924f51c4b548a05475513f5eec7fb590fbdee95dc7b727c5053590b321898a8b3eb23d5ccf8cc3f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v3
|
2
2
|
|
3
|
+
### v0.35.0 (2022-09-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220926
|
6
|
+
|
7
|
+
### v0.34.0 (2022-09-20)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.10.0
|
10
|
+
|
3
11
|
### v0.33.0 (2022-08-24)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20220819
|
@@ -325,6 +325,39 @@ module Google
|
|
325
325
|
end
|
326
326
|
end
|
327
327
|
|
328
|
+
# A well-known service type, defined by its service type and service labels.
|
329
|
+
# Documentation and examples here (https://cloud.google.com/stackdriver/docs/
|
330
|
+
# solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
|
331
|
+
class BasicService
|
332
|
+
include Google::Apis::Core::Hashable
|
333
|
+
|
334
|
+
# Labels that specify the resource that emits the monitoring data which is used
|
335
|
+
# for SLO reporting of this Service. Documentation and valid values for given
|
336
|
+
# service types here (https://cloud.google.com/stackdriver/docs/solutions/slo-
|
337
|
+
# monitoring/api/api-structures#basic-svc-w-basic-sli).
|
338
|
+
# Corresponds to the JSON property `serviceLabels`
|
339
|
+
# @return [Hash<String,String>]
|
340
|
+
attr_accessor :service_labels
|
341
|
+
|
342
|
+
# The type of service that this basic service defines, e.g. APP_ENGINE service
|
343
|
+
# type. Documentation and valid values here (https://cloud.google.com/
|
344
|
+
# stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-
|
345
|
+
# sli).
|
346
|
+
# Corresponds to the JSON property `serviceType`
|
347
|
+
# @return [String]
|
348
|
+
attr_accessor :service_type
|
349
|
+
|
350
|
+
def initialize(**args)
|
351
|
+
update!(**args)
|
352
|
+
end
|
353
|
+
|
354
|
+
# Update properties of this object
|
355
|
+
def update!(**args)
|
356
|
+
@service_labels = args[:service_labels] if args.key?(:service_labels)
|
357
|
+
@service_type = args[:service_type] if args.key?(:service_type)
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
328
361
|
# An SLI measuring performance on a well-known service type. Performance will be
|
329
362
|
# computed on the basis of pre-defined metrics. The type of the service_resource
|
330
363
|
# determines the metrics to use and the service_resource.labels and
|
@@ -3713,6 +3746,13 @@ module Google
|
|
3713
3746
|
# @return [Google::Apis::MonitoringV3::AppEngine]
|
3714
3747
|
attr_accessor :app_engine
|
3715
3748
|
|
3749
|
+
# A well-known service type, defined by its service type and service labels.
|
3750
|
+
# Documentation and examples here (https://cloud.google.com/stackdriver/docs/
|
3751
|
+
# solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
|
3752
|
+
# Corresponds to the JSON property `basicService`
|
3753
|
+
# @return [Google::Apis::MonitoringV3::BasicService]
|
3754
|
+
attr_accessor :basic_service
|
3755
|
+
|
3716
3756
|
# Cloud Endpoints service. Learn more at https://cloud.google.com/endpoints.
|
3717
3757
|
# Corresponds to the JSON property `cloudEndpoints`
|
3718
3758
|
# @return [Google::Apis::MonitoringV3::CloudEndpoints]
|
@@ -3803,6 +3843,7 @@ module Google
|
|
3803
3843
|
# Update properties of this object
|
3804
3844
|
def update!(**args)
|
3805
3845
|
@app_engine = args[:app_engine] if args.key?(:app_engine)
|
3846
|
+
@basic_service = args[:basic_service] if args.key?(:basic_service)
|
3806
3847
|
@cloud_endpoints = args[:cloud_endpoints] if args.key?(:cloud_endpoints)
|
3807
3848
|
@cloud_run = args[:cloud_run] if args.key?(:cloud_run)
|
3808
3849
|
@cluster_istio = args[:cluster_istio] if args.key?(:cluster_istio)
|
@@ -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.35.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220926"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -58,6 +58,12 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class BasicService
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
61
67
|
class BasicSli
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
69
|
|
@@ -740,6 +746,14 @@ module Google
|
|
740
746
|
end
|
741
747
|
end
|
742
748
|
|
749
|
+
class BasicService
|
750
|
+
# @private
|
751
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
752
|
+
hash :service_labels, as: 'serviceLabels'
|
753
|
+
property :service_type, as: 'serviceType'
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
743
757
|
class BasicSli
|
744
758
|
# @private
|
745
759
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1571,6 +1585,8 @@ module Google
|
|
1571
1585
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1572
1586
|
property :app_engine, as: 'appEngine', class: Google::Apis::MonitoringV3::AppEngine, decorator: Google::Apis::MonitoringV3::AppEngine::Representation
|
1573
1587
|
|
1588
|
+
property :basic_service, as: 'basicService', class: Google::Apis::MonitoringV3::BasicService, decorator: Google::Apis::MonitoringV3::BasicService::Representation
|
1589
|
+
|
1574
1590
|
property :cloud_endpoints, as: 'cloudEndpoints', class: Google::Apis::MonitoringV3::CloudEndpoints, decorator: Google::Apis::MonitoringV3::CloudEndpoints::Representation
|
1575
1591
|
|
1576
1592
|
property :cloud_run, as: 'cloudRun', class: Google::Apis::MonitoringV3::CloudRun, decorator: Google::Apis::MonitoringV3::CloudRun::Representation
|
@@ -377,7 +377,9 @@ module Google
|
|
377
377
|
execute_or_queue_command(command, &block)
|
378
378
|
end
|
379
379
|
|
380
|
-
# Creates a new alerting policy.
|
380
|
+
# Creates a new alerting policy.Design your application to single-thread API
|
381
|
+
# calls that modify the state of alerting policies in a single project. This
|
382
|
+
# includes calls to CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.
|
381
383
|
# @param [String] name
|
382
384
|
# Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
|
383
385
|
# in which to create the alerting policy. The format is: projects/[
|
@@ -418,7 +420,9 @@ module Google
|
|
418
420
|
execute_or_queue_command(command, &block)
|
419
421
|
end
|
420
422
|
|
421
|
-
# Deletes an alerting policy.
|
423
|
+
# Deletes an alerting policy.Design your application to single-thread API calls
|
424
|
+
# that modify the state of alerting policies in a single project. This includes
|
425
|
+
# calls to CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.
|
422
426
|
# @param [String] name
|
423
427
|
# Required. The alerting policy to delete. The format is: projects/[
|
424
428
|
# PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] For more information,
|
@@ -538,7 +542,9 @@ module Google
|
|
538
542
|
# Updates an alerting policy. You can either replace the entire policy with a
|
539
543
|
# new one or replace only certain fields in the current alerting policy by
|
540
544
|
# specifying the fields to be updated via updateMask. Returns the updated
|
541
|
-
# alerting policy.
|
545
|
+
# alerting policy.Design your application to single-thread API calls that modify
|
546
|
+
# the state of alerting policies in a single project. This includes calls to
|
547
|
+
# CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.
|
542
548
|
# @param [String] name
|
543
549
|
# Required if the policy exists. The resource name for this policy. The format
|
544
550
|
# is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [
|
@@ -1188,7 +1194,11 @@ module Google
|
|
1188
1194
|
end
|
1189
1195
|
|
1190
1196
|
# Creates a new notification channel, representing a single notification
|
1191
|
-
# endpoint such as an email address, SMS number, or PagerDuty service.
|
1197
|
+
# endpoint such as an email address, SMS number, or PagerDuty service.Design
|
1198
|
+
# your application to single-thread API calls that modify the state of
|
1199
|
+
# notification channels in a single project. This includes calls to
|
1200
|
+
# CreateNotificationChannel, DeleteNotificationChannel and
|
1201
|
+
# UpdateNotificationChannel.
|
1192
1202
|
# @param [String] name
|
1193
1203
|
# Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
|
1194
1204
|
# on which to execute the request. The format is: projects/[
|
@@ -1226,7 +1236,10 @@ module Google
|
|
1226
1236
|
execute_or_queue_command(command, &block)
|
1227
1237
|
end
|
1228
1238
|
|
1229
|
-
# Deletes a notification channel.
|
1239
|
+
# Deletes a notification channel.Design your application to single-thread API
|
1240
|
+
# calls that modify the state of notification channels in a single project. This
|
1241
|
+
# includes calls to CreateNotificationChannel, DeleteNotificationChannel and
|
1242
|
+
# UpdateNotificationChannel.
|
1230
1243
|
# @param [String] name
|
1231
1244
|
# Required. The channel for which to execute the request. The format is:
|
1232
1245
|
# projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
|
@@ -1407,7 +1420,10 @@ module Google
|
|
1407
1420
|
end
|
1408
1421
|
|
1409
1422
|
# Updates a notification channel. Fields not specified in the field mask remain
|
1410
|
-
# unchanged.
|
1423
|
+
# unchanged.Design your application to single-thread API calls that modify the
|
1424
|
+
# state of notification channels in a single project. This includes calls to
|
1425
|
+
# CreateNotificationChannel, DeleteNotificationChannel and
|
1426
|
+
# UpdateNotificationChannel.
|
1411
1427
|
# @param [String] name
|
1412
1428
|
# The full REST resource name for this channel. The format is: projects/[
|
1413
1429
|
# PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is
|
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.35.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-10-03 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:
|
19
|
+
version: 0.9.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:
|
29
|
+
version: 0.9.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.35.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: []
|