google-cloud-monitoring-v3 0.5.0 → 0.7.1
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 +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/lib/google/cloud/monitoring/v3/alert_policy_service/client.rb +106 -15
- data/lib/google/cloud/monitoring/v3/group_service/client.rb +132 -18
- data/lib/google/cloud/monitoring/v3/metric_service/client.rb +291 -24
- data/lib/google/cloud/monitoring/v3/notification_channel_service/client.rb +212 -30
- data/lib/google/cloud/monitoring/v3/query_service/client.rb +26 -3
- data/lib/google/cloud/monitoring/v3/service_monitoring_service/client.rb +212 -30
- data/lib/google/cloud/monitoring/v3/uptime_check_service/client.rb +127 -15
- data/lib/google/cloud/monitoring/v3/version.rb +1 -1
- data/lib/google/monitoring/v3/alert_pb.rb +3 -2
- data/lib/google/monitoring/v3/alert_service_pb.rb +2 -2
- data/lib/google/monitoring/v3/alert_service_services_pb.rb +1 -1
- data/lib/google/monitoring/v3/common_pb.rb +8 -2
- data/lib/google/monitoring/v3/group_pb.rb +1 -1
- data/lib/google/monitoring/v3/group_service_pb.rb +2 -2
- data/lib/google/monitoring/v3/group_service_services_pb.rb +1 -1
- data/lib/google/monitoring/v3/metric_pb.rb +2 -2
- data/lib/google/monitoring/v3/metric_service_pb.rb +2 -2
- data/lib/google/monitoring/v3/metric_service_services_pb.rb +13 -1
- data/lib/google/monitoring/v3/mutation_record_pb.rb +1 -1
- data/lib/google/monitoring/v3/notification_pb.rb +4 -2
- data/lib/google/monitoring/v3/notification_service_pb.rb +2 -2
- data/lib/google/monitoring/v3/notification_service_services_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 +1 -1
- data/lib/google/monitoring/v3/service_pb.rb +3 -2
- data/lib/google/monitoring/v3/service_service_pb.rb +2 -2
- data/lib/google/monitoring/v3/service_service_services_pb.rb +1 -1
- data/lib/google/monitoring/v3/uptime_pb.rb +2 -2
- data/lib/google/monitoring/v3/uptime_service_pb.rb +2 -2
- data/lib/google/monitoring/v3/uptime_service_services_pb.rb +1 -1
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/monitoring/v3/alert.rb +9 -5
- data/proto_docs/google/monitoring/v3/common.rb +25 -1
- data/proto_docs/google/monitoring/v3/notification.rb +4 -0
- metadata +3 -3
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/monitoring/v3/common.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/distribution_pb'
|
7
5
|
require 'google/protobuf/duration_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/monitoring/v3/common.proto", :syntax => :proto3) do
|
11
11
|
add_message "google.monitoring.v3.TypedValue" do
|
@@ -73,6 +73,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
73
73
|
value :COMPARISON_EQ, 5
|
74
74
|
value :COMPARISON_NE, 6
|
75
75
|
end
|
76
|
+
add_enum "google.monitoring.v3.ServiceTier" do
|
77
|
+
value :SERVICE_TIER_UNSPECIFIED, 0
|
78
|
+
value :SERVICE_TIER_BASIC, 1
|
79
|
+
value :SERVICE_TIER_PREMIUM, 2
|
80
|
+
end
|
76
81
|
end
|
77
82
|
end
|
78
83
|
|
@@ -86,6 +91,7 @@ module Google
|
|
86
91
|
Aggregation::Aligner = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Aggregation.Aligner").enummodule
|
87
92
|
Aggregation::Reducer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Aggregation.Reducer").enummodule
|
88
93
|
ComparisonType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ComparisonType").enummodule
|
94
|
+
ServiceTier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ServiceTier").enummodule
|
89
95
|
end
|
90
96
|
end
|
91
97
|
end
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/monitoring/v3/group.proto
|
3
3
|
|
4
|
+
require 'google/api/resource_pb'
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
require 'google/api/resource_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
8
|
add_file("google/monitoring/v3/group.proto", :syntax => :proto3) do
|
9
9
|
add_message "google.monitoring.v3.Group" do
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/monitoring/v3/group_service.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -11,6 +9,8 @@ require 'google/api/resource_pb'
|
|
11
9
|
require 'google/monitoring/v3/common_pb'
|
12
10
|
require 'google/monitoring/v3/group_pb'
|
13
11
|
require 'google/protobuf/empty_pb'
|
12
|
+
require 'google/protobuf'
|
13
|
+
|
14
14
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
15
|
add_file("google/monitoring/v3/group_service.proto", :syntax => :proto3) do
|
16
16
|
add_message "google.monitoring.v3.ListGroupsRequest" do
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/monitoring/v3/metric.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/distribution_pb'
|
7
5
|
require 'google/api/label_pb'
|
8
6
|
require 'google/api/metric_pb'
|
9
7
|
require 'google/api/monitored_resource_pb'
|
10
8
|
require 'google/monitoring/v3/common_pb'
|
11
9
|
require 'google/protobuf/duration_pb'
|
10
|
+
require 'google/protobuf'
|
11
|
+
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
13
|
add_file("google/monitoring/v3/metric.proto", :syntax => :proto3) do
|
14
14
|
add_message "google.monitoring.v3.Point" do
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/monitoring/v3/metric_service.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -15,6 +13,8 @@ require 'google/monitoring/v3/metric_pb'
|
|
15
13
|
require 'google/protobuf/duration_pb'
|
16
14
|
require 'google/protobuf/empty_pb'
|
17
15
|
require 'google/rpc/status_pb'
|
16
|
+
require 'google/protobuf'
|
17
|
+
|
18
18
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
19
19
|
add_file("google/monitoring/v3/metric_service.proto", :syntax => :proto3) do
|
20
20
|
add_message "google.monitoring.v3.ListMonitoredResourceDescriptorsRequest" do
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
# time series data.
|
29
29
|
class Service
|
30
30
|
|
31
|
-
include GRPC::GenericService
|
31
|
+
include ::GRPC::GenericService
|
32
32
|
|
33
33
|
self.marshal_class_method = :encode
|
34
34
|
self.unmarshal_class_method = :decode
|
@@ -43,6 +43,8 @@ module Google
|
|
43
43
|
# Gets a single metric descriptor. This method does not require a Workspace.
|
44
44
|
rpc :GetMetricDescriptor, ::Google::Cloud::Monitoring::V3::GetMetricDescriptorRequest, ::Google::Api::MetricDescriptor
|
45
45
|
# Creates a new metric descriptor.
|
46
|
+
# The creation is executed asynchronously and callers may check the returned
|
47
|
+
# operation to track its progress.
|
46
48
|
# User-created metric descriptors define
|
47
49
|
# [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
|
48
50
|
rpc :CreateMetricDescriptor, ::Google::Cloud::Monitoring::V3::CreateMetricDescriptorRequest, ::Google::Api::MetricDescriptor
|
@@ -57,6 +59,16 @@ module Google
|
|
57
59
|
# If any time series could not be written, a corresponding failure message is
|
58
60
|
# included in the error response.
|
59
61
|
rpc :CreateTimeSeries, ::Google::Cloud::Monitoring::V3::CreateTimeSeriesRequest, ::Google::Protobuf::Empty
|
62
|
+
# Creates or adds data to one or more service time series. A service time
|
63
|
+
# series is a time series for a metric from a Google Cloud service. The
|
64
|
+
# response is empty if all time series in the request were written. If any
|
65
|
+
# time series could not be written, a corresponding failure message is
|
66
|
+
# included in the error response. This endpoint rejects writes to
|
67
|
+
# user-defined metrics.
|
68
|
+
# This method is only for use by Google Cloud services. Use
|
69
|
+
# [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
|
70
|
+
# instead.
|
71
|
+
rpc :CreateServiceTimeSeries, ::Google::Cloud::Monitoring::V3::CreateTimeSeriesRequest, ::Google::Protobuf::Empty
|
60
72
|
end
|
61
73
|
|
62
74
|
Stub = Service.rpc_stub_class
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/monitoring/v3/mutation_record.proto
|
3
3
|
|
4
|
+
require 'google/protobuf/timestamp_pb'
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
require 'google/protobuf/timestamp_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
8
|
add_file("google/monitoring/v3/mutation_record.proto", :syntax => :proto3) do
|
9
9
|
add_message "google.monitoring.v3.MutationRecord" do
|
@@ -1,13 +1,14 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/monitoring/v3/notification.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/label_pb'
|
7
5
|
require 'google/api/launch_stage_pb'
|
8
6
|
require 'google/api/resource_pb'
|
7
|
+
require 'google/monitoring/v3/common_pb'
|
9
8
|
require 'google/monitoring/v3/mutation_record_pb'
|
10
9
|
require 'google/protobuf/wrappers_pb'
|
10
|
+
require 'google/protobuf'
|
11
|
+
|
11
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
13
|
add_file("google/monitoring/v3/notification.proto", :syntax => :proto3) do
|
13
14
|
add_message "google.monitoring.v3.NotificationChannelDescriptor" do
|
@@ -16,6 +17,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
16
17
|
optional :display_name, :string, 2
|
17
18
|
optional :description, :string, 3
|
18
19
|
repeated :labels, :message, 4, "google.api.LabelDescriptor"
|
20
|
+
repeated :supported_tiers, :enum, 5, "google.monitoring.v3.ServiceTier"
|
19
21
|
optional :launch_stage, :enum, 7, "google.api.LaunchStage"
|
20
22
|
end
|
21
23
|
add_message "google.monitoring.v3.NotificationChannel" do
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/monitoring/v3/notification_service.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -12,6 +10,8 @@ require 'google/protobuf/empty_pb'
|
|
12
10
|
require 'google/protobuf/field_mask_pb'
|
13
11
|
require 'google/protobuf/struct_pb'
|
14
12
|
require 'google/protobuf/timestamp_pb'
|
13
|
+
require 'google/protobuf'
|
14
|
+
|
15
15
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
16
16
|
add_file("google/monitoring/v3/notification_service.proto", :syntax => :proto3) do
|
17
17
|
add_message "google.monitoring.v3.ListNotificationChannelDescriptorsRequest" do
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/monitoring/v3/query_service.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/label_pb'
|
8
6
|
require 'google/monitoring/v3/metric_pb'
|
9
7
|
require 'google/monitoring/v3/metric_service_pb'
|
10
8
|
require 'google/api/client_pb'
|
9
|
+
require 'google/protobuf'
|
10
|
+
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
12
|
add_file("google/monitoring/v3/query_service.proto", :syntax => :proto3) do
|
13
13
|
end
|
@@ -1,12 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/monitoring/v3/service.proto
|
3
3
|
|
4
|
-
require 'google/
|
5
|
-
|
4
|
+
require 'google/api/field_behavior_pb'
|
6
5
|
require 'google/api/resource_pb'
|
7
6
|
require 'google/protobuf/duration_pb'
|
8
7
|
require 'google/protobuf/timestamp_pb'
|
9
8
|
require 'google/type/calendar_period_pb'
|
9
|
+
require 'google/protobuf'
|
10
|
+
|
10
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
12
|
add_file("google/monitoring/v3/service.proto", :syntax => :proto3) do
|
12
13
|
add_message "google.monitoring.v3.Service" do
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/monitoring/v3/service_service.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -10,6 +8,8 @@ require 'google/api/resource_pb'
|
|
10
8
|
require 'google/monitoring/v3/service_pb'
|
11
9
|
require 'google/protobuf/empty_pb'
|
12
10
|
require 'google/protobuf/field_mask_pb'
|
11
|
+
require 'google/protobuf'
|
12
|
+
|
13
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
14
|
add_file("google/monitoring/v3/service_service.proto", :syntax => :proto3) do
|
15
15
|
add_message "google.monitoring.v3.CreateServiceRequest" do
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/monitoring/v3/uptime.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/monitored_resource_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/protobuf/duration_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/monitoring/v3/uptime.proto", :syntax => :proto3) do
|
11
11
|
add_message "google.monitoring.v3.InternalChecker" do
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/monitoring/v3/uptime_service.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -12,6 +10,8 @@ require 'google/monitoring/v3/uptime_pb'
|
|
12
10
|
require 'google/protobuf/duration_pb'
|
13
11
|
require 'google/protobuf/empty_pb'
|
14
12
|
require 'google/protobuf/field_mask_pb'
|
13
|
+
require 'google/protobuf'
|
14
|
+
|
15
15
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
16
16
|
add_file("google/monitoring/v3/uptime_service.proto", :syntax => :proto3) do
|
17
17
|
add_message "google.monitoring.v3.ListUptimeCheckConfigsRequest" do
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
@@ -218,7 +218,7 @@ module Google
|
|
218
218
|
# well as how to combine the retrieved time series together (such as
|
219
219
|
# when aggregating multiple streams on each resource to a single
|
220
220
|
# stream for each resource or when aggregating streams across all
|
221
|
-
# members of a group of
|
221
|
+
# members of a group of resources). Multiple aggregations
|
222
222
|
# are applied in the order specified.
|
223
223
|
#
|
224
224
|
# This field is similar to the one in the [`ListTimeSeries`
|
@@ -307,7 +307,7 @@ module Google
|
|
307
307
|
# well as how to combine the retrieved time series together (such as
|
308
308
|
# when aggregating multiple streams on each resource to a single
|
309
309
|
# stream for each resource or when aggregating streams across all
|
310
|
-
# members of a group of
|
310
|
+
# members of a group of resources). Multiple aggregations
|
311
311
|
# are applied in the order specified.
|
312
312
|
#
|
313
313
|
# This field is similar to the one in the [`ListTimeSeries`
|
@@ -341,8 +341,8 @@ module Google
|
|
341
341
|
# @!attribute [rw] filter
|
342
342
|
# @return [::String]
|
343
343
|
# Required. A logs-based filter. See [Advanced Logs
|
344
|
-
# Queries](/logging/docs/view/advanced-queries)
|
345
|
-
# should be constructed.
|
344
|
+
# Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
|
345
|
+
# for how this filter should be constructed.
|
346
346
|
# @!attribute [rw] label_extractors
|
347
347
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
348
348
|
# Optional. A map from a label key to an extractor expression, which is
|
@@ -354,7 +354,7 @@ module Google
|
|
354
354
|
# condition.
|
355
355
|
#
|
356
356
|
# Please see [the documentation on logs-based metric
|
357
|
-
# `valueExtractor`s](/logging/docs/reference/v2/rest/v2/projects.metrics#LogMetric.FIELDS.value_extractor)
|
357
|
+
# `valueExtractor`s](https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.metrics#LogMetric.FIELDS.value_extractor)
|
358
358
|
# for syntax and examples.
|
359
359
|
class LogMatch
|
360
360
|
include ::Google::Protobuf::MessageExts
|
@@ -409,6 +409,10 @@ module Google
|
|
409
409
|
# Required for alert policies with a `LogMatch` condition.
|
410
410
|
#
|
411
411
|
# This limit is not implemented for alert policies that are not log-based.
|
412
|
+
# @!attribute [rw] auto_close
|
413
|
+
# @return [::Google::Protobuf::Duration]
|
414
|
+
# If an alert policy that was active has no data for this long, any open
|
415
|
+
# incidents will close
|
412
416
|
class AlertStrategy
|
413
417
|
include ::Google::Protobuf::MessageExts
|
414
418
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -61,7 +61,7 @@ module Google
|
|
61
61
|
# of the previous interval.
|
62
62
|
#
|
63
63
|
# * For `CUMULATIVE` metrics, the start time and end time must specify a
|
64
|
-
#
|
64
|
+
# non-zero interval, with subsequent points specifying the same
|
65
65
|
# start time and increasing end times, until an event resets the
|
66
66
|
# cumulative value to zero and sets a new start time for the following
|
67
67
|
# points. The new start time must be at least a millisecond after the
|
@@ -459,6 +459,30 @@ module Google
|
|
459
459
|
# True if the left argument is not equal to the right argument.
|
460
460
|
COMPARISON_NE = 6
|
461
461
|
end
|
462
|
+
|
463
|
+
# The tier of service for a Workspace. Please see the
|
464
|
+
# [service tiers
|
465
|
+
# documentation](https://cloud.google.com/monitoring/workspaces/tiers) for more
|
466
|
+
# details.
|
467
|
+
module ServiceTier
|
468
|
+
# An invalid sentinel value, used to indicate that a tier has not
|
469
|
+
# been provided explicitly.
|
470
|
+
SERVICE_TIER_UNSPECIFIED = 0
|
471
|
+
|
472
|
+
# The Stackdriver Basic tier, a free tier of service that provides basic
|
473
|
+
# features, a moderate allotment of logs, and access to built-in metrics.
|
474
|
+
# A number of features are not available in this tier. For more details,
|
475
|
+
# see [the service tiers
|
476
|
+
# documentation](https://cloud.google.com/monitoring/workspaces/tiers).
|
477
|
+
SERVICE_TIER_BASIC = 1
|
478
|
+
|
479
|
+
# The Stackdriver Premium tier, a higher, more expensive tier of service
|
480
|
+
# that provides access to all Stackdriver features, lets you use Stackdriver
|
481
|
+
# with AWS accounts, and has a larger allotments for logs and metrics. For
|
482
|
+
# more details, see [the service tiers
|
483
|
+
# documentation](https://cloud.google.com/monitoring/workspaces/tiers).
|
484
|
+
SERVICE_TIER_PREMIUM = 2
|
485
|
+
end
|
462
486
|
end
|
463
487
|
end
|
464
488
|
end
|
@@ -52,6 +52,10 @@ module Google
|
|
52
52
|
# The set of labels that must be defined to identify a particular
|
53
53
|
# channel of the corresponding type. Each label includes a
|
54
54
|
# description for how that field should be populated.
|
55
|
+
# @!attribute [rw] supported_tiers
|
56
|
+
# @return [::Array<::Google::Cloud::Monitoring::V3::ServiceTier>]
|
57
|
+
# The tiers that support this notification channel; the project service tier
|
58
|
+
# must be one of the supported_tiers.
|
55
59
|
# @!attribute [rw] launch_stage
|
56
60
|
# @return [::Google::Api::LaunchStage]
|
57
61
|
# The product launch stage for channels of this type.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-monitoring-v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -277,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: '0'
|
279
279
|
requirements: []
|
280
|
-
rubygems_version: 3.
|
280
|
+
rubygems_version: 3.3.4
|
281
281
|
signing_key:
|
282
282
|
specification_version: 4
|
283
283
|
summary: API Client library for the Cloud Monitoring V3 API
|