google-cloud-monitoring-v3 0.15.2 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/monitoring/v3/group_service/client.rb +11 -8
- data/lib/google/cloud/monitoring/v3/metric_service/client.rb +45 -30
- data/lib/google/cloud/monitoring/v3/query_service/client.rb +5 -4
- data/lib/google/cloud/monitoring/v3/query_service.rb +1 -1
- data/lib/google/cloud/monitoring/v3/service_monitoring_service/client.rb +34 -32
- data/lib/google/cloud/monitoring/v3/service_monitoring_service.rb +3 -3
- data/lib/google/cloud/monitoring/v3/uptime_check_service/paths.rb +19 -0
- data/lib/google/cloud/monitoring/v3/version.rb +1 -1
- data/lib/google/monitoring/v3/alert_pb.rb +1 -1
- data/lib/google/monitoring/v3/alert_service_pb.rb +1 -1
- data/lib/google/monitoring/v3/common_pb.rb +1 -1
- data/lib/google/monitoring/v3/group_service_pb.rb +1 -1
- data/lib/google/monitoring/v3/metric_service_pb.rb +1 -1
- data/lib/google/monitoring/v3/metric_service_services_pb.rb +11 -7
- data/lib/google/monitoring/v3/notification_service_pb.rb +1 -1
- data/lib/google/monitoring/v3/query_service_pb.rb +2 -2
- data/lib/google/monitoring/v3/query_service_services_pb.rb +2 -2
- data/lib/google/monitoring/v3/service_pb.rb +7 -1
- data/lib/google/monitoring/v3/service_service_pb.rb +1 -1
- data/lib/google/monitoring/v3/service_service_services_pb.rb +4 -4
- data/lib/google/monitoring/v3/snooze_pb.rb +1 -1
- data/lib/google/monitoring/v3/snooze_service_pb.rb +1 -1
- data/lib/google/monitoring/v3/uptime_pb.rb +5 -1
- data/lib/google/monitoring/v3/uptime_service_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/api/monitored_resource.rb +1 -1
- data/proto_docs/google/monitoring/v3/alert.rb +4 -3
- data/proto_docs/google/monitoring/v3/common.rb +43 -33
- data/proto_docs/google/monitoring/v3/group_service.rb +11 -8
- data/proto_docs/google/monitoring/v3/metric_service.rb +35 -24
- data/proto_docs/google/monitoring/v3/service.rb +150 -8
- data/proto_docs/google/monitoring/v3/service_service.rb +28 -26
- data/proto_docs/google/monitoring/v3/uptime.rb +59 -1
- metadata +4 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6d6e330835b7206add4715b0bc7ad4829417a73198efafdbdaae6ba44bee80b
|
4
|
+
data.tar.gz: 11c6f19292e051e64eb1f79c811f12e8f46e25383aab49225305f26b5c97838d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4c0a6fd761a14c6b7213e9e6a74a02c7c24d7f7318e664dba1cbabd078bedc1688be51f62036c419fefe5942dbab46a62ed3bd3baeabba37958c0049112c155
|
7
|
+
data.tar.gz: 3456c8c3c8ccf89bf679af777eb90f9a1523b79d3ad38cee482e15e6f71b2dceee8ddbd1433f2fbd2a373c687981281599c3fcb3cf7f415e0a887c8726366711
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -217,8 +217,9 @@ module Google
|
|
217
217
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
218
218
|
#
|
219
219
|
# @param name [::String]
|
220
|
-
# Required. The
|
221
|
-
#
|
220
|
+
# Required. The
|
221
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
|
222
|
+
# groups are to be listed. The format is:
|
222
223
|
#
|
223
224
|
# projects/[PROJECT_ID_OR_NUMBER]
|
224
225
|
# @param children_of_group [::String]
|
@@ -427,13 +428,14 @@ module Google
|
|
427
428
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
428
429
|
#
|
429
430
|
# @param name [::String]
|
430
|
-
# Required. The
|
431
|
-
#
|
431
|
+
# Required. The
|
432
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
|
433
|
+
# to create the group. The format is:
|
432
434
|
#
|
433
435
|
# projects/[PROJECT_ID_OR_NUMBER]
|
434
436
|
# @param group [::Google::Cloud::Monitoring::V3::Group, ::Hash]
|
435
|
-
# Required. A group definition. It is an error to define the `name` field
|
436
|
-
# the system assigns the name.
|
437
|
+
# Required. A group definition. It is an error to define the `name` field
|
438
|
+
# because the system assigns the name.
|
437
439
|
# @param validate_only [::Boolean]
|
438
440
|
# If true, validate this request but do not create the group.
|
439
441
|
#
|
@@ -521,8 +523,9 @@ module Google
|
|
521
523
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
522
524
|
#
|
523
525
|
# @param group [::Google::Cloud::Monitoring::V3::Group, ::Hash]
|
524
|
-
# Required. The new definition of the group. All fields of the existing
|
525
|
-
# excepting `name`, are replaced with the corresponding fields of this
|
526
|
+
# Required. The new definition of the group. All fields of the existing
|
527
|
+
# group, excepting `name`, are replaced with the corresponding fields of this
|
528
|
+
# group.
|
526
529
|
# @param validate_only [::Boolean]
|
527
530
|
# If true, validate this request but do not update the existing group.
|
528
531
|
#
|
@@ -196,7 +196,7 @@ module Google
|
|
196
196
|
# Service calls
|
197
197
|
|
198
198
|
##
|
199
|
-
# Lists monitored resource descriptors that match a filter.
|
199
|
+
# Lists monitored resource descriptors that match a filter.
|
200
200
|
#
|
201
201
|
# @overload list_monitored_resource_descriptors(request, options = nil)
|
202
202
|
# Pass arguments to `list_monitored_resource_descriptors` via a request object, either of type
|
@@ -214,8 +214,9 @@ module Google
|
|
214
214
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
215
215
|
#
|
216
216
|
# @param name [::String]
|
217
|
-
# Required. The
|
218
|
-
#
|
217
|
+
# Required. The
|
218
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
|
219
|
+
# to execute the request. The format is:
|
219
220
|
#
|
220
221
|
# projects/[PROJECT_ID_OR_NUMBER]
|
221
222
|
# @param filter [::String]
|
@@ -302,7 +303,7 @@ module Google
|
|
302
303
|
end
|
303
304
|
|
304
305
|
##
|
305
|
-
# Gets a single monitored resource descriptor.
|
306
|
+
# Gets a single monitored resource descriptor.
|
306
307
|
#
|
307
308
|
# @overload get_monitored_resource_descriptor(request, options = nil)
|
308
309
|
# Pass arguments to `get_monitored_resource_descriptor` via a request object, either of type
|
@@ -392,7 +393,7 @@ module Google
|
|
392
393
|
end
|
393
394
|
|
394
395
|
##
|
395
|
-
# Lists metric descriptors that match a filter.
|
396
|
+
# Lists metric descriptors that match a filter.
|
396
397
|
#
|
397
398
|
# @overload list_metric_descriptors(request, options = nil)
|
398
399
|
# Pass arguments to `list_metric_descriptors` via a request object, either of type
|
@@ -410,8 +411,9 @@ module Google
|
|
410
411
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
411
412
|
#
|
412
413
|
# @param name [::String]
|
413
|
-
# Required. The
|
414
|
-
#
|
414
|
+
# Required. The
|
415
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
|
416
|
+
# to execute the request. The format is:
|
415
417
|
#
|
416
418
|
# projects/[PROJECT_ID_OR_NUMBER]
|
417
419
|
# @param filter [::String]
|
@@ -424,7 +426,9 @@ module Google
|
|
424
426
|
#
|
425
427
|
# metric.type = starts_with("custom.googleapis.com/")
|
426
428
|
# @param page_size [::Integer]
|
427
|
-
# A positive number that is the maximum number of results to return.
|
429
|
+
# A positive number that is the maximum number of results to return. The
|
430
|
+
# default and maximum value is 10,000. If a page_size <= 0 or > 10,000 is
|
431
|
+
# submitted, will instead return a maximum of 10,000 results.
|
428
432
|
# @param page_token [::String]
|
429
433
|
# If this field is not empty then it must contain the `nextPageToken` value
|
430
434
|
# returned by a previous call to this method. Using this field causes the
|
@@ -500,7 +504,7 @@ module Google
|
|
500
504
|
end
|
501
505
|
|
502
506
|
##
|
503
|
-
# Gets a single metric descriptor.
|
507
|
+
# Gets a single metric descriptor.
|
504
508
|
#
|
505
509
|
# @overload get_metric_descriptor(request, options = nil)
|
506
510
|
# Pass arguments to `get_metric_descriptor` via a request object, either of type
|
@@ -518,7 +522,8 @@ module Google
|
|
518
522
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
519
523
|
#
|
520
524
|
# @param name [::String]
|
521
|
-
# Required. The metric descriptor on which to execute the request. The format
|
525
|
+
# Required. The metric descriptor on which to execute the request. The format
|
526
|
+
# is:
|
522
527
|
#
|
523
528
|
# projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
|
524
529
|
#
|
@@ -591,10 +596,11 @@ module Google
|
|
591
596
|
|
592
597
|
##
|
593
598
|
# Creates a new metric descriptor.
|
594
|
-
# The creation is executed asynchronously
|
595
|
-
# operation to track its progress.
|
599
|
+
# The creation is executed asynchronously.
|
596
600
|
# User-created metric descriptors define
|
597
601
|
# [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
|
602
|
+
# The metric descriptor is updated if it already exists,
|
603
|
+
# except that metric labels are never removed.
|
598
604
|
#
|
599
605
|
# @overload create_metric_descriptor(request, options = nil)
|
600
606
|
# Pass arguments to `create_metric_descriptor` via a request object, either of type
|
@@ -612,13 +618,14 @@ module Google
|
|
612
618
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
613
619
|
#
|
614
620
|
# @param name [::String]
|
615
|
-
# Required. The
|
616
|
-
#
|
621
|
+
# Required. The
|
622
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
|
623
|
+
# to execute the request. The format is:
|
617
624
|
# 4
|
618
625
|
# projects/[PROJECT_ID_OR_NUMBER]
|
619
626
|
# @param metric_descriptor [::Google::Api::MetricDescriptor, ::Hash]
|
620
|
-
# Required. The new [custom
|
621
|
-
# descriptor.
|
627
|
+
# Required. The new [custom
|
628
|
+
# metric](https://cloud.google.com/monitoring/custom-metrics) descriptor.
|
622
629
|
#
|
623
630
|
# @yield [response, operation] Access the result along with the RPC operation
|
624
631
|
# @yieldparam response [::Google::Api::MetricDescriptor]
|
@@ -705,7 +712,8 @@ module Google
|
|
705
712
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
706
713
|
#
|
707
714
|
# @param name [::String]
|
708
|
-
# Required. The metric descriptor on which to execute the request. The format
|
715
|
+
# Required. The metric descriptor on which to execute the request. The format
|
716
|
+
# is:
|
709
717
|
#
|
710
718
|
# projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
|
711
719
|
#
|
@@ -777,7 +785,7 @@ module Google
|
|
777
785
|
end
|
778
786
|
|
779
787
|
##
|
780
|
-
# Lists time series that match a filter.
|
788
|
+
# Lists time series that match a filter.
|
781
789
|
#
|
782
790
|
# @overload list_time_series(request, options = nil)
|
783
791
|
# Pass arguments to `list_time_series` via a request object, either of type
|
@@ -795,24 +803,26 @@ module Google
|
|
795
803
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
796
804
|
#
|
797
805
|
# @param name [::String]
|
798
|
-
# Required. The
|
806
|
+
# Required. The
|
807
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name),
|
799
808
|
# organization or folder on which to execute the request. The format is:
|
800
809
|
#
|
801
810
|
# projects/[PROJECT_ID_OR_NUMBER]
|
802
811
|
# organizations/[ORGANIZATION_ID]
|
803
812
|
# folders/[FOLDER_ID]
|
804
813
|
# @param filter [::String]
|
805
|
-
# Required. A [monitoring
|
806
|
-
# that specifies
|
807
|
-
#
|
808
|
-
# and
|
814
|
+
# Required. A [monitoring
|
815
|
+
# filter](https://cloud.google.com/monitoring/api/v3/filters) that specifies
|
816
|
+
# which time series should be returned. The filter must specify a single
|
817
|
+
# metric type, and can additionally specify metric labels and other
|
818
|
+
# information. For example:
|
809
819
|
#
|
810
820
|
# metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
|
811
821
|
# metric.labels.instance_name = "my-instance-name"
|
812
822
|
# @param interval [::Google::Cloud::Monitoring::V3::TimeInterval, ::Hash]
|
813
|
-
# Required. The time interval for which results should be returned. Only time
|
814
|
-
# that contain data points in the specified interval are included
|
815
|
-
#
|
823
|
+
# Required. The time interval for which results should be returned. Only time
|
824
|
+
# series that contain data points in the specified interval are included in
|
825
|
+
# the response.
|
816
826
|
# @param aggregation [::Google::Cloud::Monitoring::V3::Aggregation, ::Hash]
|
817
827
|
# Specifies the alignment of data points in individual time series as
|
818
828
|
# well as how to combine the retrieved time series across specified labels.
|
@@ -912,6 +922,9 @@ module Google
|
|
912
922
|
# The response is empty if all time series in the request were written.
|
913
923
|
# If any time series could not be written, a corresponding failure message is
|
914
924
|
# included in the error response.
|
925
|
+
# This method does not support
|
926
|
+
# [resource locations constraint of an organization
|
927
|
+
# policy](https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations#setting_the_organization_policy).
|
915
928
|
#
|
916
929
|
# @overload create_time_series(request, options = nil)
|
917
930
|
# Pass arguments to `create_time_series` via a request object, either of type
|
@@ -929,8 +942,9 @@ module Google
|
|
929
942
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
930
943
|
#
|
931
944
|
# @param name [::String]
|
932
|
-
# Required. The
|
933
|
-
#
|
945
|
+
# Required. The
|
946
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
|
947
|
+
# to execute the request. The format is:
|
934
948
|
#
|
935
949
|
# projects/[PROJECT_ID_OR_NUMBER]
|
936
950
|
# @param time_series [::Array<::Google::Cloud::Monitoring::V3::TimeSeries, ::Hash>]
|
@@ -1033,8 +1047,9 @@ module Google
|
|
1033
1047
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1034
1048
|
#
|
1035
1049
|
# @param name [::String]
|
1036
|
-
# Required. The
|
1037
|
-
#
|
1050
|
+
# Required. The
|
1051
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
|
1052
|
+
# to execute the request. The format is:
|
1038
1053
|
#
|
1039
1054
|
# projects/[PROJECT_ID_OR_NUMBER]
|
1040
1055
|
# @param time_series [::Array<::Google::Cloud::Monitoring::V3::TimeSeries, ::Hash>]
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
##
|
28
28
|
# Client for the QueryService service.
|
29
29
|
#
|
30
|
-
# The QueryService API is used to manage time series data in
|
30
|
+
# The QueryService API is used to manage time series data in Cloud
|
31
31
|
# Monitoring. Time series data is a collection of data points that describes
|
32
32
|
# the time-varying values of a metric.
|
33
33
|
#
|
@@ -161,7 +161,7 @@ module Google
|
|
161
161
|
# Service calls
|
162
162
|
|
163
163
|
##
|
164
|
-
# Queries time series using Monitoring Query Language.
|
164
|
+
# Queries time series using Monitoring Query Language.
|
165
165
|
#
|
166
166
|
# @overload query_time_series(request, options = nil)
|
167
167
|
# Pass arguments to `query_time_series` via a request object, either of type
|
@@ -179,8 +179,9 @@ module Google
|
|
179
179
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
180
180
|
#
|
181
181
|
# @param name [::String]
|
182
|
-
# Required. The
|
183
|
-
#
|
182
|
+
# Required. The
|
183
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
|
184
|
+
# to execute the request. The format is:
|
184
185
|
#
|
185
186
|
# projects/[PROJECT_ID_OR_NUMBER]
|
186
187
|
# @param query [::String]
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
module Monitoring
|
31
31
|
module V3
|
32
32
|
##
|
33
|
-
# The QueryService API is used to manage time series data in
|
33
|
+
# The QueryService API is used to manage time series data in Cloud
|
34
34
|
# Monitoring. Time series data is a collection of data points that describes
|
35
35
|
# the time-varying values of a metric.
|
36
36
|
#
|
@@ -28,9 +28,9 @@ module Google
|
|
28
28
|
# Client for the ServiceMonitoringService service.
|
29
29
|
#
|
30
30
|
# The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
|
31
|
-
# managing and querying aspects of a
|
32
|
-
# `Service`'s monitored resources, its Service-Level Objectives, and a
|
33
|
-
# of categorized Health Metrics.
|
31
|
+
# managing and querying aspects of a Metrics Scope's services. These include
|
32
|
+
# the `Service`'s monitored resources, its Service-Level Objectives, and a
|
33
|
+
# taxonomy of categorized Health Metrics.
|
34
34
|
#
|
35
35
|
class Client
|
36
36
|
# @private
|
@@ -220,8 +220,9 @@ module Google
|
|
220
220
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
221
221
|
#
|
222
222
|
# @param parent [::String]
|
223
|
-
# Required. Resource
|
224
|
-
#
|
223
|
+
# Required. Resource
|
224
|
+
# [name](https://cloud.google.com/monitoring/api/v3#project_name) of the
|
225
|
+
# parent Metrics Scope. The format is:
|
225
226
|
#
|
226
227
|
# projects/[PROJECT_ID_OR_NUMBER]
|
227
228
|
# @param service_id [::String]
|
@@ -382,7 +383,7 @@ module Google
|
|
382
383
|
end
|
383
384
|
|
384
385
|
##
|
385
|
-
# List `Service`s for this
|
386
|
+
# List `Service`s for this Metrics Scope.
|
386
387
|
#
|
387
388
|
# @overload list_services(request, options = nil)
|
388
389
|
# Pass arguments to `list_services` via a request object, either of type
|
@@ -400,32 +401,31 @@ module Google
|
|
400
401
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
401
402
|
#
|
402
403
|
# @param parent [::String]
|
403
|
-
# Required. Resource name of the parent containing the listed services,
|
404
|
-
# [project](https://cloud.google.com/monitoring/api/v3#project_name)
|
405
|
-
# Monitoring
|
404
|
+
# Required. Resource name of the parent containing the listed services,
|
405
|
+
# either a [project](https://cloud.google.com/monitoring/api/v3#project_name)
|
406
|
+
# or a Monitoring Metrics Scope. The formats are:
|
406
407
|
#
|
407
408
|
# projects/[PROJECT_ID_OR_NUMBER]
|
408
409
|
# workspaces/[HOST_PROJECT_ID_OR_NUMBER]
|
409
410
|
# @param filter [::String]
|
410
|
-
# A filter specifying what `Service`s to return. The filter
|
411
|
-
#
|
412
|
-
#
|
413
|
-
#
|
414
|
-
#
|
415
|
-
#
|
416
|
-
#
|
417
|
-
#
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
421
|
-
#
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
427
|
-
#
|
428
|
-
# and "CLOUD_ENDPOINTS" (reserved for future use).
|
411
|
+
# A filter specifying what `Service`s to return. The filter supports
|
412
|
+
# filtering on a particular service-identifier type or one of its attributes.
|
413
|
+
#
|
414
|
+
# To filter on a particular service-identifier type, the `identifier_case`
|
415
|
+
# refers to which option in the `identifier` field is populated. For example,
|
416
|
+
# the filter `identifier_case = "CUSTOM"` would match all services with a
|
417
|
+
# value for the `custom` field. Valid options include "CUSTOM", "APP_ENGINE",
|
418
|
+
# "MESH_ISTIO", and the other options listed at
|
419
|
+
# https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service
|
420
|
+
#
|
421
|
+
# To filter on an attribute of a service-identifier type, apply the filter
|
422
|
+
# name by using the snake case of the service-identifier type and the
|
423
|
+
# attribute of that service-identifier type, and join the two with a period.
|
424
|
+
# For example, to filter by the `meshUid` field of the `MeshIstio`
|
425
|
+
# service-identifier type, you must filter on `mesh_istio.mesh_uid =
|
426
|
+
# "123"` to match all services with mesh UID "123". Service-identifier types
|
427
|
+
# and their attributes are described at
|
428
|
+
# https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service
|
429
429
|
# @param page_size [::Integer]
|
430
430
|
# A non-negative number that is the maximum number of results to return.
|
431
431
|
# When 0, use default page size.
|
@@ -703,7 +703,7 @@ module Google
|
|
703
703
|
# @param service_level_objective_id [::String]
|
704
704
|
# Optional. The ServiceLevelObjective id to use for this
|
705
705
|
# ServiceLevelObjective. If omitted, an id will be generated instead. Must
|
706
|
-
# match the pattern
|
706
|
+
# match the pattern `^[a-zA-Z0-9-_:.]+$`
|
707
707
|
# @param service_level_objective [::Google::Cloud::Monitoring::V3::ServiceLevelObjective, ::Hash]
|
708
708
|
# Required. The `ServiceLevelObjective` to create.
|
709
709
|
# The provided `name` will be respected if no `ServiceLevelObjective` exists
|
@@ -792,7 +792,8 @@ module Google
|
|
792
792
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
793
793
|
#
|
794
794
|
# @param name [::String]
|
795
|
-
# Required. Resource name of the `ServiceLevelObjective` to get. The format
|
795
|
+
# Required. Resource name of the `ServiceLevelObjective` to get. The format
|
796
|
+
# is:
|
796
797
|
#
|
797
798
|
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
|
798
799
|
# @param view [::Google::Cloud::Monitoring::V3::ServiceLevelObjective::View]
|
@@ -885,7 +886,7 @@ module Google
|
|
885
886
|
#
|
886
887
|
# @param parent [::String]
|
887
888
|
# Required. Resource name of the parent containing the listed SLOs, either a
|
888
|
-
# project or a Monitoring
|
889
|
+
# project or a Monitoring Metrics Scope. The formats are:
|
889
890
|
#
|
890
891
|
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
|
891
892
|
# workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
|
@@ -1080,7 +1081,8 @@ module Google
|
|
1080
1081
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1081
1082
|
#
|
1082
1083
|
# @param name [::String]
|
1083
|
-
# Required. Resource name of the `ServiceLevelObjective` to delete. The
|
1084
|
+
# Required. Resource name of the `ServiceLevelObjective` to delete. The
|
1085
|
+
# format is:
|
1084
1086
|
#
|
1085
1087
|
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
|
1086
1088
|
#
|
@@ -32,9 +32,9 @@ module Google
|
|
32
32
|
module V3
|
33
33
|
##
|
34
34
|
# The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
|
35
|
-
# managing and querying aspects of a
|
36
|
-
# `Service`'s monitored resources, its Service-Level Objectives, and a
|
37
|
-
# of categorized Health Metrics.
|
35
|
+
# managing and querying aspects of a Metrics Scope's services. These include
|
36
|
+
# the `Service`'s monitored resources, its Service-Level Objectives, and a
|
37
|
+
# taxonomy of categorized Health Metrics.
|
38
38
|
#
|
39
39
|
# @example Load this service and instantiate a gRPC client
|
40
40
|
#
|
@@ -38,6 +38,25 @@ module Google
|
|
38
38
|
"folders/#{folder}"
|
39
39
|
end
|
40
40
|
|
41
|
+
##
|
42
|
+
# Create a fully-qualified Function resource string.
|
43
|
+
#
|
44
|
+
# The resource will be in the following format:
|
45
|
+
#
|
46
|
+
# `projects/{project}/locations/{location}/functions/{function}`
|
47
|
+
#
|
48
|
+
# @param project [String]
|
49
|
+
# @param location [String]
|
50
|
+
# @param function [String]
|
51
|
+
#
|
52
|
+
# @return [::String]
|
53
|
+
def function_path project:, location:, function:
|
54
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
55
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
56
|
+
|
57
|
+
"projects/#{project}/locations/#{location}/functions/#{function}"
|
58
|
+
end
|
59
|
+
|
41
60
|
##
|
42
61
|
# Create a fully-qualified Organization resource string.
|
43
62
|
#
|
@@ -13,7 +13,7 @@ require 'google/protobuf/wrappers_pb'
|
|
13
13
|
require 'google/rpc/status_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n google/monitoring/v3/alert.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\x1a*google/monitoring/v3/mutation_record.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\
|
16
|
+
descriptor_data = "\n google/monitoring/v3/alert.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\x1a*google/monitoring/v3/mutation_record.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\x96#\n\x0b\x41lertPolicy\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x46\n\rdocumentation\x18\r \x01(\x0b\x32/.google.monitoring.v3.AlertPolicy.Documentation\x12\x46\n\x0buser_labels\x18\x10 \x03(\x0b\x32\x31.google.monitoring.v3.AlertPolicy.UserLabelsEntry\x12?\n\nconditions\x18\x0c \x03(\x0b\x32+.google.monitoring.v3.AlertPolicy.Condition\x12I\n\x08\x63ombiner\x18\x06 \x01(\x0e\x32\x37.google.monitoring.v3.AlertPolicy.ConditionCombinerType\x12+\n\x07\x65nabled\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12$\n\x08validity\x18\x12 \x01(\x0b\x32\x12.google.rpc.Status\x12\x1d\n\x15notification_channels\x18\x0e \x03(\t\x12=\n\x0f\x63reation_record\x18\n \x01(\x0b\x32$.google.monitoring.v3.MutationRecord\x12=\n\x0fmutation_record\x18\x0b \x01(\x0b\x32$.google.monitoring.v3.MutationRecord\x12G\n\x0e\x61lert_strategy\x18\x15 \x01(\x0b\x32/.google.monitoring.v3.AlertPolicy.AlertStrategy\x12\x41\n\x08severity\x18\x16 \x01(\x0e\x32*.google.monitoring.v3.AlertPolicy.SeverityB\x03\xe0\x41\x01\x1aI\n\rDocumentation\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x11\n\tmime_type\x18\x02 \x01(\t\x12\x14\n\x07subject\x18\x03 \x01(\tB\x03\xe0\x41\x01\x1a\xf7\x15\n\tCondition\x12\x0c\n\x04name\x18\x0c \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t\x12Z\n\x13\x63ondition_threshold\x18\x01 \x01(\x0b\x32;.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdH\x00\x12U\n\x10\x63ondition_absent\x18\x02 \x01(\x0b\x32\x39.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceH\x00\x12U\n\x15\x63ondition_matched_log\x18\x14 \x01(\x0b\x32\x34.google.monitoring.v3.AlertPolicy.Condition.LogMatchH\x00\x12{\n#condition_monitoring_query_language\x18\x13 \x01(\x0b\x32L.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionH\x00\x12{\n#condition_prometheus_query_language\x18\x15 \x01(\x0b\x32L.google.monitoring.v3.AlertPolicy.Condition.PrometheusQueryLanguageConditionH\x00\x1a\x35\n\x07Trigger\x12\x0f\n\x05\x63ount\x18\x01 \x01(\x05H\x00\x12\x11\n\x07percent\x18\x02 \x01(\x01H\x00\x42\x06\n\x04type\x1a\x9e\x05\n\x0fMetricThreshold\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x0c\x61ggregations\x18\x08 \x03(\x0b\x32!.google.monitoring.v3.Aggregation\x12\x1a\n\x12\x64\x65nominator_filter\x18\t \x01(\t\x12\x43\n\x18\x64\x65nominator_aggregations\x18\n \x03(\x0b\x32!.google.monitoring.v3.Aggregation\x12\x65\n\x10\x66orecast_options\x18\x0c \x01(\x0b\x32K.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.ForecastOptions\x12\x38\n\ncomparison\x18\x04 \x01(\x0e\x32$.google.monitoring.v3.ComparisonType\x12\x17\n\x0fthreshold_value\x18\x05 \x01(\x01\x12+\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x07trigger\x18\x07 \x01(\x0b\x32\x33.google.monitoring.v3.AlertPolicy.Condition.Trigger\x12\x62\n\x17\x65valuation_missing_data\x18\x0b \x01(\x0e\x32\x41.google.monitoring.v3.AlertPolicy.Condition.EvaluationMissingData\x1aK\n\x0f\x46orecastOptions\x12\x38\n\x10\x66orecast_horizon\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x1a\xd0\x01\n\rMetricAbsence\x12\x13\n\x06\x66ilter\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x0c\x61ggregations\x18\x05 \x03(\x0b\x32!.google.monitoring.v3.Aggregation\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x07trigger\x18\x03 \x01(\x0b\x32\x33.google.monitoring.v3.AlertPolicy.Condition.Trigger\x1a\xbc\x01\n\x08LogMatch\x12\x13\n\x06\x66ilter\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x63\n\x10label_extractors\x18\x02 \x03(\x0b\x32I.google.monitoring.v3.AlertPolicy.Condition.LogMatch.LabelExtractorsEntry\x1a\x36\n\x14LabelExtractorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x88\x02\n MonitoringQueryLanguageCondition\x12\r\n\x05query\x18\x01 \x01(\t\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x07trigger\x18\x03 \x01(\x0b\x32\x33.google.monitoring.v3.AlertPolicy.Condition.Trigger\x12\x62\n\x17\x65valuation_missing_data\x18\x04 \x01(\x0e\x32\x41.google.monitoring.v3.AlertPolicy.Condition.EvaluationMissingData\x1a\xf5\x02\n PrometheusQueryLanguageCondition\x12\x12\n\x05query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x30\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12;\n\x13\x65valuation_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12m\n\x06labels\x18\x04 \x03(\x0b\x32X.google.monitoring.v3.AlertPolicy.Condition.PrometheusQueryLanguageCondition.LabelsEntryB\x03\xe0\x41\x01\x12\x17\n\nrule_group\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nalert_rule\x18\x06 \x01(\tB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xad\x01\n\x15\x45valuationMissingData\x12\'\n#EVALUATION_MISSING_DATA_UNSPECIFIED\x10\x00\x12$\n EVALUATION_MISSING_DATA_INACTIVE\x10\x01\x12\"\n\x1e\x45VALUATION_MISSING_DATA_ACTIVE\x10\x02\x12!\n\x1d\x45VALUATION_MISSING_DATA_NO_OP\x10\x03:\x97\x02\xea\x41\x93\x02\n.monitoring.googleapis.com/AlertPolicyCondition\x12\x46projects/{project}/alertPolicies/{alert_policy}/conditions/{condition}\x12Porganizations/{organization}/alertPolicies/{alert_policy}/conditions/{condition}\x12\x44\x66olders/{folder}/alertPolicies/{alert_policy}/conditions/{condition}\x12\x01*B\x0b\n\tcondition\x1a\xd7\x03\n\rAlertStrategy\x12\x66\n\x17notification_rate_limit\x18\x01 \x01(\x0b\x32\x45.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit\x12-\n\nauto_close\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12r\n\x1dnotification_channel_strategy\x18\x04 \x03(\x0b\x32K.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy\x1a\x42\n\x15NotificationRateLimit\x12)\n\x06period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1aw\n\x1bNotificationChannelStrategy\x12\"\n\x1anotification_channel_names\x18\x01 \x03(\t\x12\x34\n\x11renotify_interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"a\n\x15\x43onditionCombinerType\x12\x17\n\x13\x43OMBINE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41ND\x10\x01\x12\x06\n\x02OR\x10\x02\x12\x1e\n\x1a\x41ND_WITH_MATCHING_RESOURCE\x10\x03\"J\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43RITICAL\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\x0b\n\x07WARNING\x10\x03:\xc9\x01\xea\x41\xc5\x01\n%monitoring.googleapis.com/AlertPolicy\x12/projects/{project}/alertPolicies/{alert_policy}\x12\x39organizations/{organization}/alertPolicies/{alert_policy}\x12-folders/{folder}/alertPolicies/{alert_policy}\x12\x01*B\xc5\x01\n\x18\x63om.google.monitoring.v3B\nAlertProtoP\x01ZAcloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb\xaa\x02\x1aGoogle.Cloud.Monitoring.V3\xca\x02\x1aGoogle\\Cloud\\Monitoring\\V3\xea\x02\x1dGoogle::Cloud::Monitoring::V3b\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -13,7 +13,7 @@ require 'google/protobuf/empty_pb'
|
|
13
13
|
require 'google/protobuf/field_mask_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n(google/monitoring/v3/alert_service.proto\x12\x14google.monitoring.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/monitoring/v3/alert.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\
|
16
|
+
descriptor_data = "\n(google/monitoring/v3/alert_service.proto\x12\x14google.monitoring.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/monitoring/v3/alert.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x95\x01\n\x18\x43reateAlertPolicyRequest\x12;\n\x04name\x18\x03 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%monitoring.googleapis.com/AlertPolicy\x12<\n\x0c\x61lert_policy\x18\x02 \x01(\x0b\x32!.google.monitoring.v3.AlertPolicyB\x03\xe0\x41\x02\"T\n\x15GetAlertPolicyRequest\x12;\n\x04name\x18\x03 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%monitoring.googleapis.com/AlertPolicy\"\xa0\x01\n\x18ListAlertPoliciesRequest\x12;\n\x04name\x18\x04 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%monitoring.googleapis.com/AlertPolicy\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\x12\x10\n\x08order_by\x18\x06 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x83\x01\n\x19ListAlertPoliciesResponse\x12\x39\n\x0e\x61lert_policies\x18\x03 \x03(\x0b\x32!.google.monitoring.v3.AlertPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\"\x89\x01\n\x18UpdateAlertPolicyRequest\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12<\n\x0c\x61lert_policy\x18\x03 \x01(\x0b\x32!.google.monitoring.v3.AlertPolicyB\x03\xe0\x41\x02\"W\n\x18\x44\x65leteAlertPolicyRequest\x12;\n\x04name\x18\x03 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%monitoring.googleapis.com/AlertPolicy2\x9e\x08\n\x12\x41lertPolicyService\x12\xa8\x01\n\x11ListAlertPolicies\x12..google.monitoring.v3.ListAlertPoliciesRequest\x1a/.google.monitoring.v3.ListAlertPoliciesResponse\"2\xda\x41\x04name\x82\xd3\xe4\x93\x02%\x12#/v3/{name=projects/*}/alertPolicies\x12\x96\x01\n\x0eGetAlertPolicy\x12+.google.monitoring.v3.GetAlertPolicyRequest\x1a!.google.monitoring.v3.AlertPolicy\"4\xda\x41\x04name\x82\xd3\xe4\x93\x02\'\x12%/v3/{name=projects/*/alertPolicies/*}\x12\xb5\x01\n\x11\x43reateAlertPolicy\x12..google.monitoring.v3.CreateAlertPolicyRequest\x1a!.google.monitoring.v3.AlertPolicy\"M\xda\x41\x11name,alert_policy\x82\xd3\xe4\x93\x02\x33\"#/v3/{name=projects/*}/alertPolicies:\x0c\x61lert_policy\x12\x91\x01\n\x11\x44\x65leteAlertPolicy\x12..google.monitoring.v3.DeleteAlertPolicyRequest\x1a\x16.google.protobuf.Empty\"4\xda\x41\x04name\x82\xd3\xe4\x93\x02\'*%/v3/{name=projects/*/alertPolicies/*}\x12\xcb\x01\n\x11UpdateAlertPolicy\x12..google.monitoring.v3.UpdateAlertPolicyRequest\x1a!.google.monitoring.v3.AlertPolicy\"c\xda\x41\x18update_mask,alert_policy\x82\xd3\xe4\x93\x02\x42\x32\x32/v3/{alert_policy.name=projects/*/alertPolicies/*}:\x0c\x61lert_policy\x1a\xa9\x01\xca\x41\x19monitoring.googleapis.com\xd2\x41\x89\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/monitoring,https://www.googleapis.com/auth/monitoring.readB\xcc\x01\n\x18\x63om.google.monitoring.v3B\x11\x41lertServiceProtoP\x01ZAcloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb\xaa\x02\x1aGoogle.Cloud.Monitoring.V3\xca\x02\x1aGoogle\\Cloud\\Monitoring\\V3\xea\x02\x1dGoogle::Cloud::Monitoring::V3b\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -9,7 +9,7 @@ require 'google/protobuf/duration_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n!google/monitoring/v3/common.proto\x12\x14google.monitoring.v3\x1a\x1dgoogle/api/distribution.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaa\x01\n\nTypedValue\x12\x14\n\nbool_value\x18\x01 \x01(\x08H\x00\x12\x15\n\x0bint64_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x04 \x01(\tH\x00\x12\x36\n\x12\x64istribution_value\x18\x05 \x01(\x0b\x32\x18.google.api.DistributionH\x00\x42\x07\n\x05value\"l\n\x0cTimeInterval\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xad\x07\n\x0b\x41ggregation\x12\x33\n\x10\x61lignment_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x12per_series_aligner\x18\x02 \x01(\x0e\x32).google.monitoring.v3.Aggregation.Aligner\x12G\n\x14\x63ross_series_reducer\x18\x04 \x01(\x0e\x32).google.monitoring.v3.Aggregation.Reducer\x12\x17\n\x0fgroup_by_fields\x18\x05 \x03(\t\"\x8b\x03\n\x07\x41ligner\x12\x0e\n\nALIGN_NONE\x10\x00\x12\x0f\n\x0b\x41LIGN_DELTA\x10\x01\x12\x0e\n\nALIGN_RATE\x10\x02\x12\x15\n\x11\x41LIGN_INTERPOLATE\x10\x03\x12\x14\n\x10\x41LIGN_NEXT_OLDER\x10\x04\x12\r\n\tALIGN_MIN\x10\n\x12\r\n\tALIGN_MAX\x10\x0b\x12\x0e\n\nALIGN_MEAN\x10\x0c\x12\x0f\n\x0b\x41LIGN_COUNT\x10\r\x12\r\n\tALIGN_SUM\x10\x0e\x12\x10\n\x0c\x41LIGN_STDDEV\x10\x0f\x12\x14\n\x10\x41LIGN_COUNT_TRUE\x10\x10\x12\x15\n\x11\x41LIGN_COUNT_FALSE\x10\x18\x12\x17\n\x13\x41LIGN_FRACTION_TRUE\x10\x11\x12\x17\n\x13\x41LIGN_PERCENTILE_99\x10\x12\x12\x17\n\x13\x41LIGN_PERCENTILE_95\x10\x13\x12\x17\n\x13\x41LIGN_PERCENTILE_50\x10\x14\x12\x17\n\x13\x41LIGN_PERCENTILE_05\x10\x15\x12\x18\n\x14\x41LIGN_PERCENT_CHANGE\x10\x17\"\xb1\x02\n\x07Reducer\x12\x0f\n\x0bREDUCE_NONE\x10\x00\x12\x0f\n\x0bREDUCE_MEAN\x10\x01\x12\x0e\n\nREDUCE_MIN\x10\x02\x12\x0e\n\nREDUCE_MAX\x10\x03\x12\x0e\n\nREDUCE_SUM\x10\x04\x12\x11\n\rREDUCE_STDDEV\x10\x05\x12\x10\n\x0cREDUCE_COUNT\x10\x06\x12\x15\n\x11REDUCE_COUNT_TRUE\x10\x07\x12\x16\n\x12REDUCE_COUNT_FALSE\x10\x0f\x12\x18\n\x14REDUCE_FRACTION_TRUE\x10\x08\x12\x18\n\x14REDUCE_PERCENTILE_99\x10\t\x12\x18\n\x14REDUCE_PERCENTILE_95\x10\n\x12\x18\n\x14REDUCE_PERCENTILE_50\x10\x0b\x12\x18\n\x14REDUCE_PERCENTILE_05\x10\x0c*\x9e\x01\n\x0e\x43omparisonType\x12\x1a\n\x16\x43OMPARISON_UNSPECIFIED\x10\x00\x12\x11\n\rCOMPARISON_GT\x10\x01\x12\x11\n\rCOMPARISON_GE\x10\x02\x12\x11\n\rCOMPARISON_LT\x10\x03\x12\x11\n\rCOMPARISON_LE\x10\x04\x12\x11\n\rCOMPARISON_EQ\x10\x05\x12\x11\n\rCOMPARISON_NE\x10\x06*a\n\x0bServiceTier\x12\x1c\n\x18SERVICE_TIER_UNSPECIFIED\x10\x00\x12\x16\n\x12SERVICE_TIER_BASIC\x10\x01\x12\x18\n\x14SERVICE_TIER_PREMIUM\x10\x02\x1a\x02\x18\x01\x42\
|
12
|
+
descriptor_data = "\n!google/monitoring/v3/common.proto\x12\x14google.monitoring.v3\x1a\x1dgoogle/api/distribution.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaa\x01\n\nTypedValue\x12\x14\n\nbool_value\x18\x01 \x01(\x08H\x00\x12\x15\n\x0bint64_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x04 \x01(\tH\x00\x12\x36\n\x12\x64istribution_value\x18\x05 \x01(\x0b\x32\x18.google.api.DistributionH\x00\x42\x07\n\x05value\"l\n\x0cTimeInterval\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xad\x07\n\x0b\x41ggregation\x12\x33\n\x10\x61lignment_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x12per_series_aligner\x18\x02 \x01(\x0e\x32).google.monitoring.v3.Aggregation.Aligner\x12G\n\x14\x63ross_series_reducer\x18\x04 \x01(\x0e\x32).google.monitoring.v3.Aggregation.Reducer\x12\x17\n\x0fgroup_by_fields\x18\x05 \x03(\t\"\x8b\x03\n\x07\x41ligner\x12\x0e\n\nALIGN_NONE\x10\x00\x12\x0f\n\x0b\x41LIGN_DELTA\x10\x01\x12\x0e\n\nALIGN_RATE\x10\x02\x12\x15\n\x11\x41LIGN_INTERPOLATE\x10\x03\x12\x14\n\x10\x41LIGN_NEXT_OLDER\x10\x04\x12\r\n\tALIGN_MIN\x10\n\x12\r\n\tALIGN_MAX\x10\x0b\x12\x0e\n\nALIGN_MEAN\x10\x0c\x12\x0f\n\x0b\x41LIGN_COUNT\x10\r\x12\r\n\tALIGN_SUM\x10\x0e\x12\x10\n\x0c\x41LIGN_STDDEV\x10\x0f\x12\x14\n\x10\x41LIGN_COUNT_TRUE\x10\x10\x12\x15\n\x11\x41LIGN_COUNT_FALSE\x10\x18\x12\x17\n\x13\x41LIGN_FRACTION_TRUE\x10\x11\x12\x17\n\x13\x41LIGN_PERCENTILE_99\x10\x12\x12\x17\n\x13\x41LIGN_PERCENTILE_95\x10\x13\x12\x17\n\x13\x41LIGN_PERCENTILE_50\x10\x14\x12\x17\n\x13\x41LIGN_PERCENTILE_05\x10\x15\x12\x18\n\x14\x41LIGN_PERCENT_CHANGE\x10\x17\"\xb1\x02\n\x07Reducer\x12\x0f\n\x0bREDUCE_NONE\x10\x00\x12\x0f\n\x0bREDUCE_MEAN\x10\x01\x12\x0e\n\nREDUCE_MIN\x10\x02\x12\x0e\n\nREDUCE_MAX\x10\x03\x12\x0e\n\nREDUCE_SUM\x10\x04\x12\x11\n\rREDUCE_STDDEV\x10\x05\x12\x10\n\x0cREDUCE_COUNT\x10\x06\x12\x15\n\x11REDUCE_COUNT_TRUE\x10\x07\x12\x16\n\x12REDUCE_COUNT_FALSE\x10\x0f\x12\x18\n\x14REDUCE_FRACTION_TRUE\x10\x08\x12\x18\n\x14REDUCE_PERCENTILE_99\x10\t\x12\x18\n\x14REDUCE_PERCENTILE_95\x10\n\x12\x18\n\x14REDUCE_PERCENTILE_50\x10\x0b\x12\x18\n\x14REDUCE_PERCENTILE_05\x10\x0c*\x9e\x01\n\x0e\x43omparisonType\x12\x1a\n\x16\x43OMPARISON_UNSPECIFIED\x10\x00\x12\x11\n\rCOMPARISON_GT\x10\x01\x12\x11\n\rCOMPARISON_GE\x10\x02\x12\x11\n\rCOMPARISON_LT\x10\x03\x12\x11\n\rCOMPARISON_LE\x10\x04\x12\x11\n\rCOMPARISON_EQ\x10\x05\x12\x11\n\rCOMPARISON_NE\x10\x06*a\n\x0bServiceTier\x12\x1c\n\x18SERVICE_TIER_UNSPECIFIED\x10\x00\x12\x16\n\x12SERVICE_TIER_BASIC\x10\x01\x12\x18\n\x14SERVICE_TIER_PREMIUM\x10\x02\x1a\x02\x18\x01\x42\xcd\x01\n\x18\x63om.google.monitoring.v3B\x0b\x43ommonProtoP\x01ZAcloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb\xa2\x02\x04GMON\xaa\x02\x1aGoogle.Cloud.Monitoring.V3\xca\x02\x1aGoogle\\Cloud\\Monitoring\\V3\xea\x02\x1dGoogle::Cloud::Monitoring::V3b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -14,7 +14,7 @@ require 'google/monitoring/v3/group_pb'
|
|
14
14
|
require 'google/protobuf/empty_pb'
|
15
15
|
|
16
16
|
|
17
|
-
descriptor_data = "\n(google/monitoring/v3/group_service.proto\x12\x14google.monitoring.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a#google/api/monitored_resource.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\x1a google/monitoring/v3/group.proto\x1a\x1bgoogle/protobuf/empty.proto\"\
|
17
|
+
descriptor_data = "\n(google/monitoring/v3/group_service.proto\x12\x14google.monitoring.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a#google/api/monitored_resource.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\x1a google/monitoring/v3/group.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xc8\x02\n\x11ListGroupsRequest\x12\x35\n\x04name\x18\x07 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fmonitoring.googleapis.com/Group\x12\x41\n\x11\x63hildren_of_group\x18\x02 \x01(\tB$\xfa\x41!\n\x1fmonitoring.googleapis.com/GroupH\x00\x12\x42\n\x12\x61ncestors_of_group\x18\x03 \x01(\tB$\xfa\x41!\n\x1fmonitoring.googleapis.com/GroupH\x00\x12\x44\n\x14\x64\x65scendants_of_group\x18\x04 \x01(\tB$\xfa\x41!\n\x1fmonitoring.googleapis.com/GroupH\x00\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12\x12\n\npage_token\x18\x06 \x01(\tB\x08\n\x06\x66ilter\"Y\n\x12ListGroupsResponse\x12*\n\x05group\x18\x01 \x03(\x0b\x32\x1b.google.monitoring.v3.Group\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"H\n\x0fGetGroupRequest\x12\x35\n\x04name\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmonitoring.googleapis.com/Group\"\x93\x01\n\x12\x43reateGroupRequest\x12\x35\n\x04name\x18\x04 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fmonitoring.googleapis.com/Group\x12/\n\x05group\x18\x02 \x01(\x0b\x32\x1b.google.monitoring.v3.GroupB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"\\\n\x12UpdateGroupRequest\x12/\n\x05group\x18\x02 \x01(\x0b\x32\x1b.google.monitoring.v3.GroupB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"^\n\x12\x44\x65leteGroupRequest\x12\x35\n\x04name\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmonitoring.googleapis.com/Group\x12\x11\n\trecursive\x18\x04 \x01(\x08\"\xbd\x01\n\x17ListGroupMembersRequest\x12\x35\n\x04name\x18\x07 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmonitoring.googleapis.com/Group\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\x12\x34\n\x08interval\x18\x06 \x01(\x0b\x32\".google.monitoring.v3.TimeInterval\"w\n\x18ListGroupMembersResponse\x12.\n\x07members\x18\x01 \x03(\x0b\x32\x1d.google.api.MonitoredResource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\x32\x98\x08\n\x0cGroupService\x12\x8c\x01\n\nListGroups\x12\'.google.monitoring.v3.ListGroupsRequest\x1a(.google.monitoring.v3.ListGroupsResponse\"+\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v3/{name=projects/*}/groups\x12}\n\x08GetGroup\x12%.google.monitoring.v3.GetGroupRequest\x1a\x1b.google.monitoring.v3.Group\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/v3/{name=projects/*/groups/*}\x12\x8e\x01\n\x0b\x43reateGroup\x12(.google.monitoring.v3.CreateGroupRequest\x1a\x1b.google.monitoring.v3.Group\"8\xda\x41\nname,group\x82\xd3\xe4\x93\x02%\"\x1c/v3/{name=projects/*}/groups:\x05group\x12\x91\x01\n\x0bUpdateGroup\x12(.google.monitoring.v3.UpdateGroupRequest\x1a\x1b.google.monitoring.v3.Group\";\xda\x41\x05group\x82\xd3\xe4\x93\x02-\x1a$/v3/{group.name=projects/*/groups/*}:\x05group\x12~\n\x0b\x44\x65leteGroup\x12(.google.monitoring.v3.DeleteGroupRequest\x1a\x16.google.protobuf.Empty\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 *\x1e/v3/{name=projects/*/groups/*}\x12\xa8\x01\n\x10ListGroupMembers\x12-.google.monitoring.v3.ListGroupMembersRequest\x1a..google.monitoring.v3.ListGroupMembersResponse\"5\xda\x41\x04name\x82\xd3\xe4\x93\x02(\x12&/v3/{name=projects/*/groups/*}/members\x1a\xa9\x01\xca\x41\x19monitoring.googleapis.com\xd2\x41\x89\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/monitoring,https://www.googleapis.com/auth/monitoring.readB\xcc\x01\n\x18\x63om.google.monitoring.v3B\x11GroupServiceProtoP\x01ZAcloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb\xaa\x02\x1aGoogle.Cloud.Monitoring.V3\xca\x02\x1aGoogle\\Cloud\\Monitoring\\V3\xea\x02\x1dGoogle::Cloud::Monitoring::V3b\x06proto3"
|
18
18
|
|
19
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
20
|
|