google-cloud-monitoring-v3 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/monitoring/v3.rb +3 -0
- data/lib/google/cloud/monitoring/v3/alert_policy_service/client.rb +1 -1
- data/lib/google/cloud/monitoring/v3/group_service/client.rb +1 -1
- data/lib/google/cloud/monitoring/v3/metric_service/client.rb +1 -1
- data/lib/google/cloud/monitoring/v3/notification_channel_service/client.rb +1 -1
- data/lib/google/cloud/monitoring/v3/service_monitoring_service/client.rb +1 -1
- data/lib/google/cloud/monitoring/v3/uptime_check_service/client.rb +1 -1
- data/lib/google/cloud/monitoring/v3/version.rb +1 -1
- data/lib/google/monitoring/v3/alert_service_services_pb.rb +5 -5
- data/lib/google/monitoring/v3/group_service_services_pb.rb +6 -6
- data/lib/google/monitoring/v3/metric_service_services_pb.rb +8 -8
- data/lib/google/monitoring/v3/notification_service_services_pb.rb +10 -10
- data/lib/google/monitoring/v3/service_service_services_pb.rb +10 -10
- data/lib/google/monitoring/v3/uptime_service_services_pb.rb +6 -6
- data/proto_docs/google/api/resource.rb +50 -14
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9832682fa9b7ee517e33fab90c3a1e56a864825097f8a03f6c0da8abc146954c
|
4
|
+
data.tar.gz: 3a82087ef6c0d389636c6b5b9085372a4abcf6f92c600d75aff876a88f679d5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53c172c2eee71a834c06645f6070b5101d142b8f140929c08a4c863e49d1fe30479744bce64445d5f117c5532ff26711bc759ea843f09201d7b7a25abd2e1297
|
7
|
+
data.tar.gz: 04a07dc01ce285791245b4cdfe1ac4d7de6997e4d70439b84f90d406ddf0f38c35c1328b2647d044d1f2b9dd9b4ae121513e7a47879486de803fbdf6af0db1b8
|
@@ -710,7 +710,7 @@ module Google
|
|
710
710
|
# Each configuration object is of type `Gapic::Config::Method` and includes
|
711
711
|
# the following configuration fields:
|
712
712
|
#
|
713
|
-
# * `timeout` (*type:* `Numeric`) - The call timeout in
|
713
|
+
# * `timeout` (*type:* `Numeric`) - The call timeout in seconds
|
714
714
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
|
715
715
|
# * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
|
716
716
|
# include the following keys:
|
@@ -793,7 +793,7 @@ module Google
|
|
793
793
|
# Each configuration object is of type `Gapic::Config::Method` and includes
|
794
794
|
# the following configuration fields:
|
795
795
|
#
|
796
|
-
# * `timeout` (*type:* `Numeric`) - The call timeout in
|
796
|
+
# * `timeout` (*type:* `Numeric`) - The call timeout in seconds
|
797
797
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
|
798
798
|
# * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
|
799
799
|
# include the following keys:
|
@@ -957,7 +957,7 @@ module Google
|
|
957
957
|
# Each configuration object is of type `Gapic::Config::Method` and includes
|
958
958
|
# the following configuration fields:
|
959
959
|
#
|
960
|
-
# * `timeout` (*type:* `Numeric`) - The call timeout in
|
960
|
+
# * `timeout` (*type:* `Numeric`) - The call timeout in seconds
|
961
961
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
|
962
962
|
# * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
|
963
963
|
# include the following keys:
|
@@ -1116,7 +1116,7 @@ module Google
|
|
1116
1116
|
# Each configuration object is of type `Gapic::Config::Method` and includes
|
1117
1117
|
# the following configuration fields:
|
1118
1118
|
#
|
1119
|
-
# * `timeout` (*type:* `Numeric`) - The call timeout in
|
1119
|
+
# * `timeout` (*type:* `Numeric`) - The call timeout in seconds
|
1120
1120
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
|
1121
1121
|
# * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
|
1122
1122
|
# include the following keys:
|
@@ -1071,7 +1071,7 @@ module Google
|
|
1071
1071
|
# Each configuration object is of type `Gapic::Config::Method` and includes
|
1072
1072
|
# the following configuration fields:
|
1073
1073
|
#
|
1074
|
-
# * `timeout` (*type:* `Numeric`) - The call timeout in
|
1074
|
+
# * `timeout` (*type:* `Numeric`) - The call timeout in seconds
|
1075
1075
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
|
1076
1076
|
# * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
|
1077
1077
|
# include the following keys:
|
@@ -753,7 +753,7 @@ module Google
|
|
753
753
|
# Each configuration object is of type `Gapic::Config::Method` and includes
|
754
754
|
# the following configuration fields:
|
755
755
|
#
|
756
|
-
# * `timeout` (*type:* `Numeric`) - The call timeout in
|
756
|
+
# * `timeout` (*type:* `Numeric`) - The call timeout in seconds
|
757
757
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
|
758
758
|
# * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
|
759
759
|
# include the following keys:
|
@@ -42,18 +42,18 @@ module Google
|
|
42
42
|
self.service_name = 'google.monitoring.v3.AlertPolicyService'
|
43
43
|
|
44
44
|
# Lists the existing alerting policies for the project.
|
45
|
-
rpc :ListAlertPolicies, Google::Cloud::Monitoring::V3::ListAlertPoliciesRequest, Google::Cloud::Monitoring::V3::ListAlertPoliciesResponse
|
45
|
+
rpc :ListAlertPolicies, ::Google::Cloud::Monitoring::V3::ListAlertPoliciesRequest, ::Google::Cloud::Monitoring::V3::ListAlertPoliciesResponse
|
46
46
|
# Gets a single alerting policy.
|
47
|
-
rpc :GetAlertPolicy, Google::Cloud::Monitoring::V3::GetAlertPolicyRequest, Google::Cloud::Monitoring::V3::AlertPolicy
|
47
|
+
rpc :GetAlertPolicy, ::Google::Cloud::Monitoring::V3::GetAlertPolicyRequest, ::Google::Cloud::Monitoring::V3::AlertPolicy
|
48
48
|
# Creates a new alerting policy.
|
49
|
-
rpc :CreateAlertPolicy, Google::Cloud::Monitoring::V3::CreateAlertPolicyRequest, Google::Cloud::Monitoring::V3::AlertPolicy
|
49
|
+
rpc :CreateAlertPolicy, ::Google::Cloud::Monitoring::V3::CreateAlertPolicyRequest, ::Google::Cloud::Monitoring::V3::AlertPolicy
|
50
50
|
# Deletes an alerting policy.
|
51
|
-
rpc :DeleteAlertPolicy, Google::Cloud::Monitoring::V3::DeleteAlertPolicyRequest, Google::Protobuf::Empty
|
51
|
+
rpc :DeleteAlertPolicy, ::Google::Cloud::Monitoring::V3::DeleteAlertPolicyRequest, ::Google::Protobuf::Empty
|
52
52
|
# Updates an alerting policy. You can either replace the entire policy with
|
53
53
|
# a new one or replace only certain fields in the current alerting policy by
|
54
54
|
# specifying the fields to be updated via `updateMask`. Returns the
|
55
55
|
# updated alerting policy.
|
56
|
-
rpc :UpdateAlertPolicy, Google::Cloud::Monitoring::V3::UpdateAlertPolicyRequest, Google::Cloud::Monitoring::V3::AlertPolicy
|
56
|
+
rpc :UpdateAlertPolicy, ::Google::Cloud::Monitoring::V3::UpdateAlertPolicyRequest, ::Google::Cloud::Monitoring::V3::AlertPolicy
|
57
57
|
end
|
58
58
|
|
59
59
|
Stub = Service.rpc_stub_class
|
@@ -45,18 +45,18 @@ module Google
|
|
45
45
|
self.service_name = 'google.monitoring.v3.GroupService'
|
46
46
|
|
47
47
|
# Lists the existing groups.
|
48
|
-
rpc :ListGroups, Google::Cloud::Monitoring::V3::ListGroupsRequest, Google::Cloud::Monitoring::V3::ListGroupsResponse
|
48
|
+
rpc :ListGroups, ::Google::Cloud::Monitoring::V3::ListGroupsRequest, ::Google::Cloud::Monitoring::V3::ListGroupsResponse
|
49
49
|
# Gets a single group.
|
50
|
-
rpc :GetGroup, Google::Cloud::Monitoring::V3::GetGroupRequest, Google::Cloud::Monitoring::V3::Group
|
50
|
+
rpc :GetGroup, ::Google::Cloud::Monitoring::V3::GetGroupRequest, ::Google::Cloud::Monitoring::V3::Group
|
51
51
|
# Creates a new group.
|
52
|
-
rpc :CreateGroup, Google::Cloud::Monitoring::V3::CreateGroupRequest, Google::Cloud::Monitoring::V3::Group
|
52
|
+
rpc :CreateGroup, ::Google::Cloud::Monitoring::V3::CreateGroupRequest, ::Google::Cloud::Monitoring::V3::Group
|
53
53
|
# Updates an existing group.
|
54
54
|
# You can change any group attributes except `name`.
|
55
|
-
rpc :UpdateGroup, Google::Cloud::Monitoring::V3::UpdateGroupRequest, Google::Cloud::Monitoring::V3::Group
|
55
|
+
rpc :UpdateGroup, ::Google::Cloud::Monitoring::V3::UpdateGroupRequest, ::Google::Cloud::Monitoring::V3::Group
|
56
56
|
# Deletes an existing group.
|
57
|
-
rpc :DeleteGroup, Google::Cloud::Monitoring::V3::DeleteGroupRequest, Google::Protobuf::Empty
|
57
|
+
rpc :DeleteGroup, ::Google::Cloud::Monitoring::V3::DeleteGroupRequest, ::Google::Protobuf::Empty
|
58
58
|
# Lists the monitored resources that are members of a group.
|
59
|
-
rpc :ListGroupMembers, Google::Cloud::Monitoring::V3::ListGroupMembersRequest, Google::Cloud::Monitoring::V3::ListGroupMembersResponse
|
59
|
+
rpc :ListGroupMembers, ::Google::Cloud::Monitoring::V3::ListGroupMembersRequest, ::Google::Cloud::Monitoring::V3::ListGroupMembersResponse
|
60
60
|
end
|
61
61
|
|
62
62
|
Stub = Service.rpc_stub_class
|
@@ -35,28 +35,28 @@ module Google
|
|
35
35
|
self.service_name = 'google.monitoring.v3.MetricService'
|
36
36
|
|
37
37
|
# Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
|
38
|
-
rpc :ListMonitoredResourceDescriptors, Google::Cloud::Monitoring::V3::ListMonitoredResourceDescriptorsRequest, Google::Cloud::Monitoring::V3::ListMonitoredResourceDescriptorsResponse
|
38
|
+
rpc :ListMonitoredResourceDescriptors, ::Google::Cloud::Monitoring::V3::ListMonitoredResourceDescriptorsRequest, ::Google::Cloud::Monitoring::V3::ListMonitoredResourceDescriptorsResponse
|
39
39
|
# Gets a single monitored resource descriptor. This method does not require a Workspace.
|
40
|
-
rpc :GetMonitoredResourceDescriptor, Google::Cloud::Monitoring::V3::GetMonitoredResourceDescriptorRequest, Google::Api::MonitoredResourceDescriptor
|
40
|
+
rpc :GetMonitoredResourceDescriptor, ::Google::Cloud::Monitoring::V3::GetMonitoredResourceDescriptorRequest, ::Google::Api::MonitoredResourceDescriptor
|
41
41
|
# Lists metric descriptors that match a filter. This method does not require a Workspace.
|
42
|
-
rpc :ListMetricDescriptors, Google::Cloud::Monitoring::V3::ListMetricDescriptorsRequest, Google::Cloud::Monitoring::V3::ListMetricDescriptorsResponse
|
42
|
+
rpc :ListMetricDescriptors, ::Google::Cloud::Monitoring::V3::ListMetricDescriptorsRequest, ::Google::Cloud::Monitoring::V3::ListMetricDescriptorsResponse
|
43
43
|
# Gets a single metric descriptor. This method does not require a Workspace.
|
44
|
-
rpc :GetMetricDescriptor, Google::Cloud::Monitoring::V3::GetMetricDescriptorRequest, Google::Api::MetricDescriptor
|
44
|
+
rpc :GetMetricDescriptor, ::Google::Cloud::Monitoring::V3::GetMetricDescriptorRequest, ::Google::Api::MetricDescriptor
|
45
45
|
# Creates a new metric descriptor.
|
46
46
|
# User-created metric descriptors define
|
47
47
|
# [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
|
48
|
-
rpc :CreateMetricDescriptor, Google::Cloud::Monitoring::V3::CreateMetricDescriptorRequest, Google::Api::MetricDescriptor
|
48
|
+
rpc :CreateMetricDescriptor, ::Google::Cloud::Monitoring::V3::CreateMetricDescriptorRequest, ::Google::Api::MetricDescriptor
|
49
49
|
# Deletes a metric descriptor. Only user-created
|
50
50
|
# [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
|
51
51
|
# deleted.
|
52
|
-
rpc :DeleteMetricDescriptor, Google::Cloud::Monitoring::V3::DeleteMetricDescriptorRequest, Google::Protobuf::Empty
|
52
|
+
rpc :DeleteMetricDescriptor, ::Google::Cloud::Monitoring::V3::DeleteMetricDescriptorRequest, ::Google::Protobuf::Empty
|
53
53
|
# Lists time series that match a filter. This method does not require a Workspace.
|
54
|
-
rpc :ListTimeSeries, Google::Cloud::Monitoring::V3::ListTimeSeriesRequest, Google::Cloud::Monitoring::V3::ListTimeSeriesResponse
|
54
|
+
rpc :ListTimeSeries, ::Google::Cloud::Monitoring::V3::ListTimeSeriesRequest, ::Google::Cloud::Monitoring::V3::ListTimeSeriesResponse
|
55
55
|
# Creates or adds data to one or more time series.
|
56
56
|
# The response is empty if all time series in the request were written.
|
57
57
|
# If any time series could not be written, a corresponding failure message is
|
58
58
|
# included in the error response.
|
59
|
-
rpc :CreateTimeSeries, Google::Cloud::Monitoring::V3::CreateTimeSeriesRequest, Google::Protobuf::Empty
|
59
|
+
rpc :CreateTimeSeries, ::Google::Cloud::Monitoring::V3::CreateTimeSeriesRequest, ::Google::Protobuf::Empty
|
60
60
|
end
|
61
61
|
|
62
62
|
Stub = Service.rpc_stub_class
|
@@ -36,29 +36,29 @@ module Google
|
|
36
36
|
|
37
37
|
# Lists the descriptors for supported channel types. The use of descriptors
|
38
38
|
# makes it possible for new channel types to be dynamically added.
|
39
|
-
rpc :ListNotificationChannelDescriptors, Google::Cloud::Monitoring::V3::ListNotificationChannelDescriptorsRequest, Google::Cloud::Monitoring::V3::ListNotificationChannelDescriptorsResponse
|
39
|
+
rpc :ListNotificationChannelDescriptors, ::Google::Cloud::Monitoring::V3::ListNotificationChannelDescriptorsRequest, ::Google::Cloud::Monitoring::V3::ListNotificationChannelDescriptorsResponse
|
40
40
|
# Gets a single channel descriptor. The descriptor indicates which fields
|
41
41
|
# are expected / permitted for a notification channel of the given type.
|
42
|
-
rpc :GetNotificationChannelDescriptor, Google::Cloud::Monitoring::V3::GetNotificationChannelDescriptorRequest, Google::Cloud::Monitoring::V3::NotificationChannelDescriptor
|
42
|
+
rpc :GetNotificationChannelDescriptor, ::Google::Cloud::Monitoring::V3::GetNotificationChannelDescriptorRequest, ::Google::Cloud::Monitoring::V3::NotificationChannelDescriptor
|
43
43
|
# Lists the notification channels that have been created for the project.
|
44
|
-
rpc :ListNotificationChannels, Google::Cloud::Monitoring::V3::ListNotificationChannelsRequest, Google::Cloud::Monitoring::V3::ListNotificationChannelsResponse
|
44
|
+
rpc :ListNotificationChannels, ::Google::Cloud::Monitoring::V3::ListNotificationChannelsRequest, ::Google::Cloud::Monitoring::V3::ListNotificationChannelsResponse
|
45
45
|
# Gets a single notification channel. The channel includes the relevant
|
46
46
|
# configuration details with which the channel was created. However, the
|
47
47
|
# response may truncate or omit passwords, API keys, or other private key
|
48
48
|
# matter and thus the response may not be 100% identical to the information
|
49
49
|
# that was supplied in the call to the create method.
|
50
|
-
rpc :GetNotificationChannel, Google::Cloud::Monitoring::V3::GetNotificationChannelRequest, Google::Cloud::Monitoring::V3::NotificationChannel
|
50
|
+
rpc :GetNotificationChannel, ::Google::Cloud::Monitoring::V3::GetNotificationChannelRequest, ::Google::Cloud::Monitoring::V3::NotificationChannel
|
51
51
|
# Creates a new notification channel, representing a single notification
|
52
52
|
# endpoint such as an email address, SMS number, or PagerDuty service.
|
53
|
-
rpc :CreateNotificationChannel, Google::Cloud::Monitoring::V3::CreateNotificationChannelRequest, Google::Cloud::Monitoring::V3::NotificationChannel
|
53
|
+
rpc :CreateNotificationChannel, ::Google::Cloud::Monitoring::V3::CreateNotificationChannelRequest, ::Google::Cloud::Monitoring::V3::NotificationChannel
|
54
54
|
# Updates a notification channel. Fields not specified in the field mask
|
55
55
|
# remain unchanged.
|
56
|
-
rpc :UpdateNotificationChannel, Google::Cloud::Monitoring::V3::UpdateNotificationChannelRequest, Google::Cloud::Monitoring::V3::NotificationChannel
|
56
|
+
rpc :UpdateNotificationChannel, ::Google::Cloud::Monitoring::V3::UpdateNotificationChannelRequest, ::Google::Cloud::Monitoring::V3::NotificationChannel
|
57
57
|
# Deletes a notification channel.
|
58
|
-
rpc :DeleteNotificationChannel, Google::Cloud::Monitoring::V3::DeleteNotificationChannelRequest, Google::Protobuf::Empty
|
58
|
+
rpc :DeleteNotificationChannel, ::Google::Cloud::Monitoring::V3::DeleteNotificationChannelRequest, ::Google::Protobuf::Empty
|
59
59
|
# Causes a verification code to be delivered to the channel. The code
|
60
60
|
# can then be supplied in `VerifyNotificationChannel` to verify the channel.
|
61
|
-
rpc :SendNotificationChannelVerificationCode, Google::Cloud::Monitoring::V3::SendNotificationChannelVerificationCodeRequest, Google::Protobuf::Empty
|
61
|
+
rpc :SendNotificationChannelVerificationCode, ::Google::Cloud::Monitoring::V3::SendNotificationChannelVerificationCodeRequest, ::Google::Protobuf::Empty
|
62
62
|
# Requests a verification code for an already verified channel that can then
|
63
63
|
# be used in a call to VerifyNotificationChannel() on a different channel
|
64
64
|
# with an equivalent identity in the same or in a different project. This
|
@@ -80,11 +80,11 @@ module Google
|
|
80
80
|
# have a shorter expiration (e.g. codes such as "G-123456") whereas
|
81
81
|
# GetVerificationCode() will typically return a much longer, websafe base
|
82
82
|
# 64 encoded string that has a longer expiration time.
|
83
|
-
rpc :GetNotificationChannelVerificationCode, Google::Cloud::Monitoring::V3::GetNotificationChannelVerificationCodeRequest, Google::Cloud::Monitoring::V3::GetNotificationChannelVerificationCodeResponse
|
83
|
+
rpc :GetNotificationChannelVerificationCode, ::Google::Cloud::Monitoring::V3::GetNotificationChannelVerificationCodeRequest, ::Google::Cloud::Monitoring::V3::GetNotificationChannelVerificationCodeResponse
|
84
84
|
# Verifies a `NotificationChannel` by proving receipt of the code
|
85
85
|
# delivered to the channel as a result of calling
|
86
86
|
# `SendNotificationChannelVerificationCode`.
|
87
|
-
rpc :VerifyNotificationChannel, Google::Cloud::Monitoring::V3::VerifyNotificationChannelRequest, Google::Cloud::Monitoring::V3::NotificationChannel
|
87
|
+
rpc :VerifyNotificationChannel, ::Google::Cloud::Monitoring::V3::VerifyNotificationChannelRequest, ::Google::Cloud::Monitoring::V3::NotificationChannel
|
88
88
|
end
|
89
89
|
|
90
90
|
Stub = Service.rpc_stub_class
|
@@ -37,25 +37,25 @@ module Google
|
|
37
37
|
self.service_name = 'google.monitoring.v3.ServiceMonitoringService'
|
38
38
|
|
39
39
|
# Create a `Service`.
|
40
|
-
rpc :CreateService, Google::Cloud::Monitoring::V3::CreateServiceRequest, Google::Cloud::Monitoring::V3::Service
|
40
|
+
rpc :CreateService, ::Google::Cloud::Monitoring::V3::CreateServiceRequest, ::Google::Cloud::Monitoring::V3::Service
|
41
41
|
# Get the named `Service`.
|
42
|
-
rpc :GetService, Google::Cloud::Monitoring::V3::GetServiceRequest, Google::Cloud::Monitoring::V3::Service
|
42
|
+
rpc :GetService, ::Google::Cloud::Monitoring::V3::GetServiceRequest, ::Google::Cloud::Monitoring::V3::Service
|
43
43
|
# List `Service`s for this workspace.
|
44
|
-
rpc :ListServices, Google::Cloud::Monitoring::V3::ListServicesRequest, Google::Cloud::Monitoring::V3::ListServicesResponse
|
44
|
+
rpc :ListServices, ::Google::Cloud::Monitoring::V3::ListServicesRequest, ::Google::Cloud::Monitoring::V3::ListServicesResponse
|
45
45
|
# Update this `Service`.
|
46
|
-
rpc :UpdateService, Google::Cloud::Monitoring::V3::UpdateServiceRequest, Google::Cloud::Monitoring::V3::Service
|
46
|
+
rpc :UpdateService, ::Google::Cloud::Monitoring::V3::UpdateServiceRequest, ::Google::Cloud::Monitoring::V3::Service
|
47
47
|
# Soft delete this `Service`.
|
48
|
-
rpc :DeleteService, Google::Cloud::Monitoring::V3::DeleteServiceRequest, Google::Protobuf::Empty
|
48
|
+
rpc :DeleteService, ::Google::Cloud::Monitoring::V3::DeleteServiceRequest, ::Google::Protobuf::Empty
|
49
49
|
# Create a `ServiceLevelObjective` for the given `Service`.
|
50
|
-
rpc :CreateServiceLevelObjective, Google::Cloud::Monitoring::V3::CreateServiceLevelObjectiveRequest, Google::Cloud::Monitoring::V3::ServiceLevelObjective
|
50
|
+
rpc :CreateServiceLevelObjective, ::Google::Cloud::Monitoring::V3::CreateServiceLevelObjectiveRequest, ::Google::Cloud::Monitoring::V3::ServiceLevelObjective
|
51
51
|
# Get a `ServiceLevelObjective` by name.
|
52
|
-
rpc :GetServiceLevelObjective, Google::Cloud::Monitoring::V3::GetServiceLevelObjectiveRequest, Google::Cloud::Monitoring::V3::ServiceLevelObjective
|
52
|
+
rpc :GetServiceLevelObjective, ::Google::Cloud::Monitoring::V3::GetServiceLevelObjectiveRequest, ::Google::Cloud::Monitoring::V3::ServiceLevelObjective
|
53
53
|
# List the `ServiceLevelObjective`s for the given `Service`.
|
54
|
-
rpc :ListServiceLevelObjectives, Google::Cloud::Monitoring::V3::ListServiceLevelObjectivesRequest, Google::Cloud::Monitoring::V3::ListServiceLevelObjectivesResponse
|
54
|
+
rpc :ListServiceLevelObjectives, ::Google::Cloud::Monitoring::V3::ListServiceLevelObjectivesRequest, ::Google::Cloud::Monitoring::V3::ListServiceLevelObjectivesResponse
|
55
55
|
# Update the given `ServiceLevelObjective`.
|
56
|
-
rpc :UpdateServiceLevelObjective, Google::Cloud::Monitoring::V3::UpdateServiceLevelObjectiveRequest, Google::Cloud::Monitoring::V3::ServiceLevelObjective
|
56
|
+
rpc :UpdateServiceLevelObjective, ::Google::Cloud::Monitoring::V3::UpdateServiceLevelObjectiveRequest, ::Google::Cloud::Monitoring::V3::ServiceLevelObjective
|
57
57
|
# Delete the given `ServiceLevelObjective`.
|
58
|
-
rpc :DeleteServiceLevelObjective, Google::Cloud::Monitoring::V3::DeleteServiceLevelObjectiveRequest, Google::Protobuf::Empty
|
58
|
+
rpc :DeleteServiceLevelObjective, ::Google::Cloud::Monitoring::V3::DeleteServiceLevelObjectiveRequest, ::Google::Protobuf::Empty
|
59
59
|
end
|
60
60
|
|
61
61
|
Stub = Service.rpc_stub_class
|
@@ -42,22 +42,22 @@ module Google
|
|
42
42
|
|
43
43
|
# Lists the existing valid Uptime check configurations for the project
|
44
44
|
# (leaving out any invalid configurations).
|
45
|
-
rpc :ListUptimeCheckConfigs, Google::Cloud::Monitoring::V3::ListUptimeCheckConfigsRequest, Google::Cloud::Monitoring::V3::ListUptimeCheckConfigsResponse
|
45
|
+
rpc :ListUptimeCheckConfigs, ::Google::Cloud::Monitoring::V3::ListUptimeCheckConfigsRequest, ::Google::Cloud::Monitoring::V3::ListUptimeCheckConfigsResponse
|
46
46
|
# Gets a single Uptime check configuration.
|
47
|
-
rpc :GetUptimeCheckConfig, Google::Cloud::Monitoring::V3::GetUptimeCheckConfigRequest, Google::Cloud::Monitoring::V3::UptimeCheckConfig
|
47
|
+
rpc :GetUptimeCheckConfig, ::Google::Cloud::Monitoring::V3::GetUptimeCheckConfigRequest, ::Google::Cloud::Monitoring::V3::UptimeCheckConfig
|
48
48
|
# Creates a new Uptime check configuration.
|
49
|
-
rpc :CreateUptimeCheckConfig, Google::Cloud::Monitoring::V3::CreateUptimeCheckConfigRequest, Google::Cloud::Monitoring::V3::UptimeCheckConfig
|
49
|
+
rpc :CreateUptimeCheckConfig, ::Google::Cloud::Monitoring::V3::CreateUptimeCheckConfigRequest, ::Google::Cloud::Monitoring::V3::UptimeCheckConfig
|
50
50
|
# Updates an Uptime check configuration. You can either replace the entire
|
51
51
|
# configuration with a new one or replace only certain fields in the current
|
52
52
|
# configuration by specifying the fields to be updated via `updateMask`.
|
53
53
|
# Returns the updated configuration.
|
54
|
-
rpc :UpdateUptimeCheckConfig, Google::Cloud::Monitoring::V3::UpdateUptimeCheckConfigRequest, Google::Cloud::Monitoring::V3::UptimeCheckConfig
|
54
|
+
rpc :UpdateUptimeCheckConfig, ::Google::Cloud::Monitoring::V3::UpdateUptimeCheckConfigRequest, ::Google::Cloud::Monitoring::V3::UptimeCheckConfig
|
55
55
|
# Deletes an Uptime check configuration. Note that this method will fail
|
56
56
|
# if the Uptime check configuration is referenced by an alert policy or
|
57
57
|
# other dependent configs that would be rendered invalid by the deletion.
|
58
|
-
rpc :DeleteUptimeCheckConfig, Google::Cloud::Monitoring::V3::DeleteUptimeCheckConfigRequest, Google::Protobuf::Empty
|
58
|
+
rpc :DeleteUptimeCheckConfig, ::Google::Cloud::Monitoring::V3::DeleteUptimeCheckConfigRequest, ::Google::Protobuf::Empty
|
59
59
|
# Returns the list of IP addresses that checkers run from
|
60
|
-
rpc :ListUptimeCheckIps, Google::Cloud::Monitoring::V3::ListUptimeCheckIpsRequest, Google::Cloud::Monitoring::V3::ListUptimeCheckIpsResponse
|
60
|
+
rpc :ListUptimeCheckIps, ::Google::Cloud::Monitoring::V3::ListUptimeCheckIpsRequest, ::Google::Cloud::Monitoring::V3::ListUptimeCheckIpsResponse
|
61
61
|
end
|
62
62
|
|
63
63
|
Stub = Service.rpc_stub_class
|
@@ -43,12 +43,12 @@ module Google
|
|
43
43
|
#
|
44
44
|
# The ResourceDescriptor Yaml config will look like:
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
46
|
+
# resources:
|
47
|
+
# - type: "pubsub.googleapis.com/Topic"
|
48
|
+
# name_descriptor:
|
49
|
+
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
+
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
+
# parent_name_extractor: "projects/{project}"
|
52
52
|
#
|
53
53
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
54
|
# live under multiple parents.
|
@@ -183,15 +183,24 @@ module Google
|
|
183
183
|
# }
|
184
184
|
# @!attribute [rw] plural
|
185
185
|
# @return [::String]
|
186
|
-
# The plural name used in the resource name, such as
|
187
|
-
# the name of 'projects/\\{project}'
|
188
|
-
#
|
186
|
+
# The plural name used in the resource name and permission names, such as
|
187
|
+
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
188
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
|
189
|
+
# concept of the `plural` field in k8s CRD spec
|
189
190
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
191
|
+
#
|
192
|
+
# Note: The plural form is required even for singleton resources. See
|
193
|
+
# https://aip.dev/156
|
190
194
|
# @!attribute [rw] singular
|
191
195
|
# @return [::String]
|
192
196
|
# The same concept of the `singular` field in k8s CRD spec
|
193
197
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
194
198
|
# Such as "project" for the `resourcemanager.googleapis.com/Project` type.
|
199
|
+
# @!attribute [rw] style
|
200
|
+
# @return [::Array<::Google::Api::ResourceDescriptor::Style>]
|
201
|
+
# Style flag(s) for this resource.
|
202
|
+
# These indicate that a resource is expected to conform to a given
|
203
|
+
# style. See the specific style flags for additional information.
|
195
204
|
class ResourceDescriptor
|
196
205
|
include ::Google::Protobuf::MessageExts
|
197
206
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -211,6 +220,22 @@ module Google
|
|
211
220
|
# that from being necessary once there are multiple patterns.)
|
212
221
|
FUTURE_MULTI_PATTERN = 2
|
213
222
|
end
|
223
|
+
|
224
|
+
# A flag representing a specific style that a resource claims to conform to.
|
225
|
+
module Style
|
226
|
+
# The unspecified value. Do not use.
|
227
|
+
STYLE_UNSPECIFIED = 0
|
228
|
+
|
229
|
+
# This resource is intended to be "declarative-friendly".
|
230
|
+
#
|
231
|
+
# Declarative-friendly resources must be more strictly consistent, and
|
232
|
+
# setting this to true communicates to tools that this resource should
|
233
|
+
# adhere to declarative-friendly expectations.
|
234
|
+
#
|
235
|
+
# Note: This is used by the API linter (linter.aip.dev) to enable
|
236
|
+
# additional checks.
|
237
|
+
DECLARATIVE_FRIENDLY = 1
|
238
|
+
end
|
214
239
|
end
|
215
240
|
|
216
241
|
# Defines a proto annotation that describes a string field that refers to
|
@@ -226,6 +251,17 @@ module Google
|
|
226
251
|
# type: "pubsub.googleapis.com/Topic"
|
227
252
|
# }];
|
228
253
|
# }
|
254
|
+
#
|
255
|
+
# Occasionally, a field may reference an arbitrary resource. In this case,
|
256
|
+
# APIs use the special value * in their resource reference.
|
257
|
+
#
|
258
|
+
# Example:
|
259
|
+
#
|
260
|
+
# message GetIamPolicyRequest {
|
261
|
+
# string resource = 2 [(google.api.resource_reference) = {
|
262
|
+
# type: "*"
|
263
|
+
# }];
|
264
|
+
# }
|
229
265
|
# @!attribute [rw] child_type
|
230
266
|
# @return [::String]
|
231
267
|
# The resource type of a child collection that the annotated field
|
@@ -234,11 +270,11 @@ module Google
|
|
234
270
|
#
|
235
271
|
# Example:
|
236
272
|
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
#
|
273
|
+
# message ListLogEntriesRequest {
|
274
|
+
# string parent = 1 [(google.api.resource_reference) = {
|
275
|
+
# child_type: "logging.googleapis.com/LogEntry"
|
276
|
+
# };
|
277
|
+
# }
|
242
278
|
class ResourceReference
|
243
279
|
include ::Google::Protobuf::MessageExts
|
244
280
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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.1.
|
4
|
+
version: 0.1.5
|
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: 2021-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -262,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
262
|
- !ruby/object:Gem::Version
|
263
263
|
version: '0'
|
264
264
|
requirements: []
|
265
|
-
rubygems_version: 3.
|
265
|
+
rubygems_version: 3.2.6
|
266
266
|
signing_key:
|
267
267
|
specification_version: 4
|
268
268
|
summary: API Client library for the Cloud Monitoring V3 API
|