google-cloud-monitoring-v3 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- 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/common_pb.rb +1 -1
- data/lib/google/monitoring/v3/metric_service_services_pb.rb +11 -7
- 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_services_pb.rb +4 -4
- data/lib/google/monitoring/v3/uptime_pb.rb +5 -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 +2 -2
@@ -4,12 +4,13 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
7
8
|
require 'google/api/resource_pb'
|
8
9
|
require 'google/protobuf/duration_pb'
|
9
10
|
require 'google/type/calendar_period_pb'
|
10
11
|
|
11
12
|
|
12
|
-
descriptor_data = "\n\"google/monitoring/v3/service.proto\x12\x14google.monitoring.v3\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a!google/type/calendar_period.proto\"\
|
13
|
+
descriptor_data = "\n\"google/monitoring/v3/service.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a!google/type/calendar_period.proto\"\x94\x11\n\x07Service\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x36\n\x06\x63ustom\x18\x06 \x01(\x0b\x32$.google.monitoring.v3.Service.CustomH\x00\x12=\n\napp_engine\x18\x07 \x01(\x0b\x32\'.google.monitoring.v3.Service.AppEngineH\x00\x12G\n\x0f\x63loud_endpoints\x18\x08 \x01(\x0b\x32,.google.monitoring.v3.Service.CloudEndpointsH\x00\x12\x43\n\rcluster_istio\x18\t \x01(\x0b\x32*.google.monitoring.v3.Service.ClusterIstioH\x00\x12=\n\nmesh_istio\x18\n \x01(\x0b\x32\'.google.monitoring.v3.Service.MeshIstioH\x00\x12V\n\x17istio_canonical_service\x18\x0b \x01(\x0b\x32\x33.google.monitoring.v3.Service.IstioCanonicalServiceH\x00\x12;\n\tcloud_run\x18\x0c \x01(\x0b\x32&.google.monitoring.v3.Service.CloudRunH\x00\x12\x43\n\rgke_namespace\x18\x0f \x01(\x0b\x32*.google.monitoring.v3.Service.GkeNamespaceH\x00\x12\x41\n\x0cgke_workload\x18\x10 \x01(\x0b\x32).google.monitoring.v3.Service.GkeWorkloadH\x00\x12?\n\x0bgke_service\x18\x11 \x01(\x0b\x32(.google.monitoring.v3.Service.GkeServiceH\x00\x12\x41\n\rbasic_service\x18\x13 \x01(\x0b\x32*.google.monitoring.v3.Service.BasicService\x12:\n\ttelemetry\x18\r \x01(\x0b\x32\'.google.monitoring.v3.Service.Telemetry\x12\x42\n\x0buser_labels\x18\x0e \x03(\x0b\x32-.google.monitoring.v3.Service.UserLabelsEntry\x1a\x08\n\x06\x43ustom\x1a\x1e\n\tAppEngine\x12\x11\n\tmodule_id\x18\x01 \x01(\t\x1a!\n\x0e\x43loudEndpoints\x12\x0f\n\x07service\x18\x01 \x01(\t\x1ag\n\x0c\x43lusterIstio\x12\x10\n\x08location\x18\x01 \x01(\t\x12\x14\n\x0c\x63luster_name\x18\x02 \x01(\t\x12\x19\n\x11service_namespace\x18\x03 \x01(\t\x12\x14\n\x0cservice_name\x18\x04 \x01(\t\x1aN\n\tMeshIstio\x12\x10\n\x08mesh_uid\x18\x01 \x01(\t\x12\x19\n\x11service_namespace\x18\x03 \x01(\t\x12\x14\n\x0cservice_name\x18\x04 \x01(\t\x1ai\n\x15IstioCanonicalService\x12\x10\n\x08mesh_uid\x18\x01 \x01(\t\x12#\n\x1b\x63\x61nonical_service_namespace\x18\x03 \x01(\t\x12\x19\n\x11\x63\x61nonical_service\x18\x04 \x01(\t\x1a\x32\n\x08\x43loudRun\x12\x14\n\x0cservice_name\x18\x01 \x01(\t\x12\x10\n\x08location\x18\x02 \x01(\t\x1ag\n\x0cGkeNamespace\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x08location\x18\x02 \x01(\t\x12\x14\n\x0c\x63luster_name\x18\x03 \x01(\t\x12\x16\n\x0enamespace_name\x18\x04 \x01(\t\x1a\xac\x01\n\x0bGkeWorkload\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x08location\x18\x02 \x01(\t\x12\x14\n\x0c\x63luster_name\x18\x03 \x01(\t\x12\x16\n\x0enamespace_name\x18\x04 \x01(\t\x12!\n\x19top_level_controller_type\x18\x05 \x01(\t\x12!\n\x19top_level_controller_name\x18\x06 \x01(\t\x1a{\n\nGkeService\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x08location\x18\x02 \x01(\t\x12\x14\n\x0c\x63luster_name\x18\x03 \x01(\t\x12\x16\n\x0enamespace_name\x18\x04 \x01(\t\x12\x14\n\x0cservice_name\x18\x05 \x01(\t\x1a\xb1\x01\n\x0c\x42\x61sicService\x12\x14\n\x0cservice_type\x18\x01 \x01(\t\x12U\n\x0eservice_labels\x18\x02 \x03(\x0b\x32=.google.monitoring.v3.Service.BasicService.ServiceLabelsEntry\x1a\x34\n\x12ServiceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\"\n\tTelemetry\x12\x15\n\rresource_name\x18\x01 \x01(\t\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xa7\x01\xea\x41\xa3\x01\n!monitoring.googleapis.com/Service\x12%projects/{project}/services/{service}\x12/organizations/{organization}/services/{service}\x12#folders/{folder}/services/{service}\x12\x01*B\x0c\n\nidentifier\"\x9b\x06\n\x15ServiceLevelObjective\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x0c\x64isplay_name\x18\x0b \x01(\t\x12L\n\x17service_level_indicator\x18\x03 \x01(\x0b\x32+.google.monitoring.v3.ServiceLevelIndicator\x12\x0c\n\x04goal\x18\x04 \x01(\x01\x12\x33\n\x0erolling_period\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x36\n\x0f\x63\x61lendar_period\x18\x06 \x01(\x0e\x32\x1b.google.type.CalendarPeriodH\x00\x12P\n\x0buser_labels\x18\x0c \x03(\x0b\x32;.google.monitoring.v3.ServiceLevelObjective.UserLabelsEntry\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"4\n\x04View\x12\x14\n\x10VIEW_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x02\x12\x0c\n\x08\x45XPLICIT\x10\x01:\xca\x02\xea\x41\xc6\x02\n/monitoring.googleapis.com/ServiceLevelObjective\x12Vprojects/{project}/services/{service}/serviceLevelObjectives/{service_level_objective}\x12`organizations/{organization}/services/{service}/serviceLevelObjectives/{service_level_objective}\x12Tfolders/{folder}/services/{service}/serviceLevelObjectives/{service_level_objective}\x12\x01* \x01\x42\x08\n\x06period\"\xd4\x01\n\x15ServiceLevelIndicator\x12\x33\n\tbasic_sli\x18\x04 \x01(\x0b\x32\x1e.google.monitoring.v3.BasicSliH\x00\x12>\n\rrequest_based\x18\x01 \x01(\x0b\x32%.google.monitoring.v3.RequestBasedSliH\x00\x12>\n\rwindows_based\x18\x02 \x01(\x0b\x32%.google.monitoring.v3.WindowsBasedSliH\x00\x42\x06\n\x04type\"\xb6\x02\n\x08\x42\x61sicSli\x12\x0e\n\x06method\x18\x07 \x03(\t\x12\x10\n\x08location\x18\x08 \x03(\t\x12\x0f\n\x07version\x18\t \x03(\t\x12K\n\x0c\x61vailability\x18\x02 \x01(\x0b\x32\x33.google.monitoring.v3.BasicSli.AvailabilityCriteriaH\x00\x12\x41\n\x07latency\x18\x03 \x01(\x0b\x32..google.monitoring.v3.BasicSli.LatencyCriteriaH\x00\x1a\x16\n\x14\x41vailabilityCriteria\x1a?\n\x0fLatencyCriteria\x12,\n\tthreshold\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x0e\n\x0csli_criteria\"!\n\x05Range\x12\x0b\n\x03min\x18\x01 \x01(\x01\x12\x0b\n\x03max\x18\x02 \x01(\x01\"\xa1\x01\n\x0fRequestBasedSli\x12\x41\n\x10good_total_ratio\x18\x01 \x01(\x0b\x32%.google.monitoring.v3.TimeSeriesRatioH\x00\x12\x41\n\x10\x64istribution_cut\x18\x03 \x01(\x0b\x32%.google.monitoring.v3.DistributionCutH\x00\x42\x08\n\x06method\"h\n\x0fTimeSeriesRatio\x12\x1b\n\x13good_service_filter\x18\x04 \x01(\t\x12\x1a\n\x12\x62\x61\x64_service_filter\x18\x05 \x01(\t\x12\x1c\n\x14total_service_filter\x18\x06 \x01(\t\"Z\n\x0f\x44istributionCut\x12\x1b\n\x13\x64istribution_filter\x18\x04 \x01(\t\x12*\n\x05range\x18\x05 \x01(\x0b\x32\x1b.google.monitoring.v3.Range\"\x83\x05\n\x0fWindowsBasedSli\x12 \n\x16good_bad_metric_filter\x18\x05 \x01(\tH\x00\x12`\n\x1agood_total_ratio_threshold\x18\x02 \x01(\x0b\x32:.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdH\x00\x12Q\n\x14metric_mean_in_range\x18\x06 \x01(\x0b\x32\x31.google.monitoring.v3.WindowsBasedSli.MetricRangeH\x00\x12P\n\x13metric_sum_in_range\x18\x07 \x01(\x0b\x32\x31.google.monitoring.v3.WindowsBasedSli.MetricRangeH\x00\x12\x30\n\rwindow_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\xb0\x01\n\x14PerformanceThreshold\x12<\n\x0bperformance\x18\x01 \x01(\x0b\x32%.google.monitoring.v3.RequestBasedSliH\x00\x12?\n\x15\x62\x61sic_sli_performance\x18\x03 \x01(\x0b\x32\x1e.google.monitoring.v3.BasicSliH\x00\x12\x11\n\tthreshold\x18\x02 \x01(\x01\x42\x06\n\x04type\x1aN\n\x0bMetricRange\x12\x13\n\x0btime_series\x18\x01 \x01(\t\x12*\n\x05range\x18\x04 \x01(\x0b\x32\x1b.google.monitoring.v3.RangeB\x12\n\x10window_criterionB\xd1\x01\n\x18\x63om.google.monitoring.v3B\x16ServiceMonitoringProtoP\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"
|
13
14
|
|
14
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
16
|
|
@@ -47,6 +48,11 @@ module Google
|
|
47
48
|
Service::ClusterIstio = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.ClusterIstio").msgclass
|
48
49
|
Service::MeshIstio = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.MeshIstio").msgclass
|
49
50
|
Service::IstioCanonicalService = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.IstioCanonicalService").msgclass
|
51
|
+
Service::CloudRun = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.CloudRun").msgclass
|
52
|
+
Service::GkeNamespace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.GkeNamespace").msgclass
|
53
|
+
Service::GkeWorkload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.GkeWorkload").msgclass
|
54
|
+
Service::GkeService = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.GkeService").msgclass
|
55
|
+
Service::BasicService = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.BasicService").msgclass
|
50
56
|
Service::Telemetry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.Telemetry").msgclass
|
51
57
|
ServiceLevelObjective = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ServiceLevelObjective").msgclass
|
52
58
|
ServiceLevelObjective::View = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ServiceLevelObjective.View").enummodule
|
@@ -25,9 +25,9 @@ module Google
|
|
25
25
|
module V3
|
26
26
|
module ServiceMonitoringService
|
27
27
|
# The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
|
28
|
-
# managing and querying aspects of a
|
29
|
-
# `Service`'s monitored resources, its Service-Level Objectives, and a
|
30
|
-
# of categorized Health Metrics.
|
28
|
+
# managing and querying aspects of a Metrics Scope's services. These include
|
29
|
+
# the `Service`'s monitored resources, its Service-Level Objectives, and a
|
30
|
+
# taxonomy of categorized Health Metrics.
|
31
31
|
class Service
|
32
32
|
|
33
33
|
include ::GRPC::GenericService
|
@@ -40,7 +40,7 @@ module Google
|
|
40
40
|
rpc :CreateService, ::Google::Cloud::Monitoring::V3::CreateServiceRequest, ::Google::Cloud::Monitoring::V3::Service
|
41
41
|
# Get the named `Service`.
|
42
42
|
rpc :GetService, ::Google::Cloud::Monitoring::V3::GetServiceRequest, ::Google::Cloud::Monitoring::V3::Service
|
43
|
-
# List `Service`s for this
|
43
|
+
# List `Service`s for this Metrics Scope.
|
44
44
|
rpc :ListServices, ::Google::Cloud::Monitoring::V3::ListServicesRequest, ::Google::Cloud::Monitoring::V3::ListServicesResponse
|
45
45
|
# Update this `Service`.
|
46
46
|
rpc :UpdateService, ::Google::Cloud::Monitoring::V3::UpdateServiceRequest, ::Google::Cloud::Monitoring::V3::Service
|
@@ -10,7 +10,7 @@ require 'google/api/resource_pb'
|
|
10
10
|
require 'google/protobuf/duration_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n!google/monitoring/v3/uptime.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a#google/api/monitored_resource.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\"\xe6\x01\n\x0fInternalChecker\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x0f\n\x07network\x18\x03 \x01(\t\x12\x10\n\x08gcp_zone\x18\x04 \x01(\t\x12\x17\n\x0fpeer_project_id\x18\x06 \x01(\t\x12:\n\x05state\x18\x07 \x01(\x0e\x32+.google.monitoring.v3.InternalChecker.State\"3\n\x05State\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02:\x02\x18\x01\"\
|
13
|
+
descriptor_data = "\n!google/monitoring/v3/uptime.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a#google/api/monitored_resource.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\"\xe6\x01\n\x0fInternalChecker\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x0f\n\x07network\x18\x03 \x01(\t\x12\x10\n\x08gcp_zone\x18\x04 \x01(\t\x12\x17\n\x0fpeer_project_id\x18\x06 \x01(\t\x12:\n\x05state\x18\x07 \x01(\x0e\x32+.google.monitoring.v3.InternalChecker.State\"3\n\x05State\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02:\x02\x18\x01\"\x9b\x02\n\x16SyntheticMonitorTarget\x12_\n\x11\x63loud_function_v2\x18\x01 \x01(\x0b\x32\x42.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2TargetH\x00\x1a\x95\x01\n\x15\x43loudFunctionV2Target\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&cloudfunctions.googleapis.com/Function\x12>\n\x12\x63loud_run_revision\x18\x02 \x01(\x0b\x32\x1d.google.api.MonitoredResourceB\x03\xe0\x41\x03\x42\x08\n\x06target\"\xd6\x1e\n\x11UptimeCheckConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12;\n\x12monitored_resource\x18\x03 \x01(\x0b\x32\x1d.google.api.MonitoredResourceH\x00\x12O\n\x0eresource_group\x18\x04 \x01(\x0b\x32\x35.google.monitoring.v3.UptimeCheckConfig.ResourceGroupH\x00\x12I\n\x11synthetic_monitor\x18\x15 \x01(\x0b\x32,.google.monitoring.v3.SyntheticMonitorTargetH\x00\x12G\n\nhttp_check\x18\x05 \x01(\x0b\x32\x31.google.monitoring.v3.UptimeCheckConfig.HttpCheckH\x01\x12\x45\n\ttcp_check\x18\x06 \x01(\x0b\x32\x30.google.monitoring.v3.UptimeCheckConfig.TcpCheckH\x01\x12)\n\x06period\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x07timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12P\n\x10\x63ontent_matchers\x18\t \x03(\x0b\x32\x36.google.monitoring.v3.UptimeCheckConfig.ContentMatcher\x12I\n\x0c\x63hecker_type\x18\x11 \x01(\x0e\x32\x33.google.monitoring.v3.UptimeCheckConfig.CheckerType\x12\x41\n\x10selected_regions\x18\n \x03(\x0e\x32\'.google.monitoring.v3.UptimeCheckRegion\x12\x17\n\x0bis_internal\x18\x0f \x01(\x08\x42\x02\x18\x01\x12\x44\n\x11internal_checkers\x18\x0e \x03(\x0b\x32%.google.monitoring.v3.InternalCheckerB\x02\x18\x01\x12L\n\x0buser_labels\x18\x14 \x03(\x0b\x32\x37.google.monitoring.v3.UptimeCheckConfig.UserLabelsEntry\x1a\x61\n\rResourceGroup\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12>\n\rresource_type\x18\x02 \x01(\x0e\x32\'.google.monitoring.v3.GroupResourceType\x1a!\n\nPingConfig\x12\x13\n\x0bpings_count\x18\x01 \x01(\x05\x1a\xf2\x0c\n\tHttpCheck\x12W\n\x0erequest_method\x18\x08 \x01(\x0e\x32?.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod\x12\x0f\n\x07use_ssl\x18\x01 \x01(\x08\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\x05\x12X\n\tauth_info\x18\x04 \x01(\x0b\x32\x45.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication\x12\x14\n\x0cmask_headers\x18\x05 \x01(\x08\x12O\n\x07headers\x18\x06 \x03(\x0b\x32>.google.monitoring.v3.UptimeCheckConfig.HttpCheck.HeadersEntry\x12S\n\x0c\x63ontent_type\x18\t \x01(\x0e\x32=.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType\x12\x1b\n\x13\x63ustom_content_type\x18\r \x01(\t\x12\x14\n\x0cvalidate_ssl\x18\x07 \x01(\x08\x12\x0c\n\x04\x62ody\x18\n \x01(\x0c\x12l\n\x1e\x61\x63\x63\x65pted_response_status_codes\x18\x0b \x03(\x0b\x32\x44.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode\x12G\n\x0bping_config\x18\x0c \x01(\x0b\x32\x32.google.monitoring.v3.UptimeCheckConfig.PingConfig\x12t\n\x1cservice_agent_authentication\x18\x0e \x01(\x0b\x32L.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthenticationH\x00\x1a\x39\n\x13\x42\x61sicAuthentication\x12\x10\n\x08username\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x1a\xdc\x02\n\x12ResponseStatusCode\x12\x16\n\x0cstatus_value\x18\x01 \x01(\x05H\x00\x12h\n\x0cstatus_class\x18\x02 \x01(\x0e\x32P.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClassH\x00\"\xb4\x01\n\x0bStatusClass\x12\x1c\n\x18STATUS_CLASS_UNSPECIFIED\x10\x00\x12\x14\n\x10STATUS_CLASS_1XX\x10\x64\x12\x15\n\x10STATUS_CLASS_2XX\x10\xc8\x01\x12\x15\n\x10STATUS_CLASS_3XX\x10\xac\x02\x12\x15\n\x10STATUS_CLASS_4XX\x10\x90\x03\x12\x15\n\x10STATUS_CLASS_5XX\x10\xf4\x03\x12\x15\n\x10STATUS_CLASS_ANY\x10\xe8\x07\x42\r\n\x0bstatus_code\x1a\xfc\x01\n\x1aServiceAgentAuthentication\x12y\n\x04type\x18\x01 \x01(\x0e\x32k.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType\"c\n\x1eServiceAgentAuthenticationType\x12\x31\n-SERVICE_AGENT_AUTHENTICATION_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nOIDC_TOKEN\x10\x01\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\":\n\rRequestMethod\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\x07\n\x03GET\x10\x01\x12\x08\n\x04POST\x10\x02\"G\n\x0b\x43ontentType\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bURL_ENCODED\x10\x01\x12\x11\n\rUSER_PROVIDED\x10\x02\x42\r\n\x0b\x61uth_method\x1a\x61\n\x08TcpCheck\x12\x0c\n\x04port\x18\x01 \x01(\x05\x12G\n\x0bping_config\x18\x02 \x01(\x0b\x32\x32.google.monitoring.v3.UptimeCheckConfig.PingConfig\x1a\xca\x05\n\x0e\x43ontentMatcher\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\\\n\x07matcher\x18\x02 \x01(\x0e\x32K.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption\x12\x63\n\x11json_path_matcher\x18\x03 \x01(\x0b\x32\x46.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcherH\x00\x1a\xfd\x01\n\x0fJsonPathMatcher\x12\x11\n\tjson_path\x18\x01 \x01(\t\x12r\n\x0cjson_matcher\x18\x02 \x01(\x0e\x32\\.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption\"c\n\x15JsonPathMatcherOption\x12(\n$JSON_PATH_MATCHER_OPTION_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45XACT_MATCH\x10\x01\x12\x0f\n\x0bREGEX_MATCH\x10\x02\"\xc8\x01\n\x14\x43ontentMatcherOption\x12&\n\"CONTENT_MATCHER_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43ONTAINS_STRING\x10\x01\x12\x17\n\x13NOT_CONTAINS_STRING\x10\x02\x12\x11\n\rMATCHES_REGEX\x10\x03\x12\x15\n\x11NOT_MATCHES_REGEX\x10\x04\x12\x15\n\x11MATCHES_JSON_PATH\x10\x05\x12\x19\n\x15NOT_MATCHES_JSON_PATH\x10\x06\x42\x19\n\x17\x61\x64\x64itional_matcher_info\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"U\n\x0b\x43heckerType\x12\x1c\n\x18\x43HECKER_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12STATIC_IP_CHECKERS\x10\x01\x12\x10\n\x0cVPC_CHECKERS\x10\x03:\xf3\x01\xea\x41\xef\x01\n+monitoring.googleapis.com/UptimeCheckConfig\x12;projects/{project}/uptimeCheckConfigs/{uptime_check_config}\x12\x45organizations/{organization}/uptimeCheckConfigs/{uptime_check_config}\x12\x39\x66olders/{folder}/uptimeCheckConfigs/{uptime_check_config}\x12\x01*B\n\n\x08resourceB\x14\n\x12\x63heck_request_type\"n\n\rUptimeCheckIp\x12\x37\n\x06region\x18\x01 \x01(\x0e\x32\'.google.monitoring.v3.UptimeCheckRegion\x12\x10\n\x08location\x18\x02 \x01(\t\x12\x12\n\nip_address\x18\x03 \x01(\t*\x95\x01\n\x11UptimeCheckRegion\x12\x16\n\x12REGION_UNSPECIFIED\x10\x00\x12\x07\n\x03USA\x10\x01\x12\n\n\x06\x45UROPE\x10\x02\x12\x11\n\rSOUTH_AMERICA\x10\x03\x12\x10\n\x0c\x41SIA_PACIFIC\x10\x04\x12\x0e\n\nUSA_OREGON\x10\x05\x12\x0c\n\x08USA_IOWA\x10\x06\x12\x10\n\x0cUSA_VIRGINIA\x10\x07*[\n\x11GroupResourceType\x12\x1d\n\x19RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08INSTANCE\x10\x01\x12\x19\n\x15\x41WS_ELB_LOAD_BALANCER\x10\x02\x42\xaf\x02\n\x18\x63om.google.monitoring.v3B\x0bUptimeProtoP\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::V3\xea\x41\x66\n&cloudfunctions.googleapis.com/Function\x12<projects/{project}/locations/{location}/functions/{function}b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -44,6 +44,8 @@ module Google
|
|
44
44
|
module V3
|
45
45
|
InternalChecker = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.InternalChecker").msgclass
|
46
46
|
InternalChecker::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.InternalChecker.State").enummodule
|
47
|
+
SyntheticMonitorTarget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.SyntheticMonitorTarget").msgclass
|
48
|
+
SyntheticMonitorTarget::CloudFunctionV2Target = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target").msgclass
|
47
49
|
UptimeCheckConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig").msgclass
|
48
50
|
UptimeCheckConfig::ResourceGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.ResourceGroup").msgclass
|
49
51
|
UptimeCheckConfig::PingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.PingConfig").msgclass
|
@@ -51,6 +53,8 @@ module Google
|
|
51
53
|
UptimeCheckConfig::HttpCheck::BasicAuthentication = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication").msgclass
|
52
54
|
UptimeCheckConfig::HttpCheck::ResponseStatusCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode").msgclass
|
53
55
|
UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass").enummodule
|
56
|
+
UptimeCheckConfig::HttpCheck::ServiceAgentAuthentication = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication").msgclass
|
57
|
+
UptimeCheckConfig::HttpCheck::ServiceAgentAuthentication::ServiceAgentAuthenticationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType").enummodule
|
54
58
|
UptimeCheckConfig::HttpCheck::RequestMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod").enummodule
|
55
59
|
UptimeCheckConfig::HttpCheck::ContentType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType").enummodule
|
56
60
|
UptimeCheckConfig::TcpCheck = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.TcpCheck").msgclass
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -41,7 +41,7 @@ module Google
|
|
41
41
|
# @return [::String]
|
42
42
|
# Required. The monitored resource type. For example, the type
|
43
43
|
# `"cloudsql_database"` represents databases in Google Cloud SQL.
|
44
|
-
# For a list of types, see [
|
44
|
+
# For a list of types, see [Monitored resource
|
45
45
|
# types](https://cloud.google.com/monitoring/api/resources)
|
46
46
|
# and [Logging resource
|
47
47
|
# types](https://cloud.google.com/logging/docs/api/v2/resource-list).
|
@@ -132,8 +132,8 @@ module Google
|
|
132
132
|
include ::Google::Protobuf::MessageExts
|
133
133
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
134
134
|
|
135
|
-
#
|
136
|
-
#
|
135
|
+
# Documentation that is included in the notifications and incidents
|
136
|
+
# pertaining to this policy.
|
137
137
|
# @!attribute [rw] content
|
138
138
|
# @return [::String]
|
139
139
|
# The body of the documentation, interpreted according to `mime_type`.
|
@@ -330,7 +330,8 @@ module Google
|
|
330
330
|
# @!attribute [rw] evaluation_missing_data
|
331
331
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::EvaluationMissingData]
|
332
332
|
# A condition control that determines how metric-threshold conditions
|
333
|
-
# are evaluated when data stops arriving.
|
333
|
+
# are evaluated when data stops arriving. To use this control, the value
|
334
|
+
# of the `duration` field must be greater than or equal to 60 seconds.
|
334
335
|
class MetricThreshold
|
335
336
|
include ::Google::Protobuf::MessageExts
|
336
337
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -44,34 +44,44 @@ module Google
|
|
44
44
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
45
45
|
end
|
46
46
|
|
47
|
-
#
|
47
|
+
# Describes a time interval:
|
48
48
|
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
# interval
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
#
|
49
|
+
# * Reads: A half-open time interval. It includes the end time but
|
50
|
+
# excludes the start time: `(startTime, endTime]`. The start time
|
51
|
+
# must be specified, must be earlier than the end time, and should be
|
52
|
+
# no older than the data retention period for the metric.
|
53
|
+
# * Writes: A closed time interval. It extends from the start time to the end
|
54
|
+
# time,
|
55
|
+
# and includes both: `[startTime, endTime]`. Valid time intervals
|
56
|
+
# depend on the
|
57
|
+
# [`MetricKind`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind)
|
58
|
+
# of the metric value. The end time must not be earlier than the start
|
59
|
+
# time, and the end time must not be more than 25 hours in the past or more
|
60
|
+
# than five minutes in the future.
|
61
|
+
# * For `GAUGE` metrics, the `startTime` value is technically optional; if
|
62
|
+
# no value is specified, the start time defaults to the value of the
|
63
|
+
# end time, and the interval represents a single point in time. If both
|
64
|
+
# start and end times are specified, they must be identical. Such an
|
65
|
+
# interval is valid only for `GAUGE` metrics, which are point-in-time
|
66
|
+
# measurements. The end time of a new interval must be at least a
|
67
|
+
# millisecond after the end time of the previous interval.
|
68
|
+
# * For `DELTA` metrics, the start time and end time must specify a
|
69
|
+
# non-zero interval, with subsequent points specifying contiguous and
|
70
|
+
# non-overlapping intervals. For `DELTA` metrics, the start time of
|
71
|
+
# the next interval must be at least a millisecond after the end time
|
72
|
+
# of the previous interval.
|
73
|
+
# * For `CUMULATIVE` metrics, the start time and end time must specify a
|
74
|
+
# non-zero interval, with subsequent points specifying the same
|
75
|
+
# start time and increasing end times, until an event resets the
|
76
|
+
# cumulative value to zero and sets a new start time for the following
|
77
|
+
# points. The new start time must be at least a millisecond after the
|
78
|
+
# end time of the previous interval.
|
79
|
+
# * The start time of a new interval must be at least a millisecond after
|
80
|
+
# the
|
81
|
+
# end time of the previous interval because intervals are closed. If the
|
82
|
+
# start time of a new interval is the same as the end time of the
|
83
|
+
# previous interval, then data written at the new start time could
|
84
|
+
# overwrite data written at the previous end time.
|
75
85
|
# @!attribute [rw] end_time
|
76
86
|
# @return [::Google::Protobuf::Timestamp]
|
77
87
|
# Required. The end of the time interval.
|
@@ -460,7 +470,7 @@ module Google
|
|
460
470
|
COMPARISON_NE = 6
|
461
471
|
end
|
462
472
|
|
463
|
-
# The tier of service for a
|
473
|
+
# The tier of service for a Metrics Scope. Please see the
|
464
474
|
# [service tiers
|
465
475
|
# documentation](https://cloud.google.com/monitoring/workspaces/tiers) for more
|
466
476
|
# details.
|
@@ -470,17 +480,17 @@ module Google
|
|
470
480
|
# been provided explicitly.
|
471
481
|
SERVICE_TIER_UNSPECIFIED = 0
|
472
482
|
|
473
|
-
# The
|
483
|
+
# The Cloud Monitoring Basic tier, a free tier of service that provides basic
|
474
484
|
# features, a moderate allotment of logs, and access to built-in metrics.
|
475
485
|
# A number of features are not available in this tier. For more details,
|
476
486
|
# see [the service tiers
|
477
487
|
# documentation](https://cloud.google.com/monitoring/workspaces/tiers).
|
478
488
|
SERVICE_TIER_BASIC = 1
|
479
489
|
|
480
|
-
# The
|
481
|
-
# that provides access to all
|
482
|
-
# with AWS accounts, and has a larger allotments for logs and
|
483
|
-
# more details, see [the service tiers
|
490
|
+
# The Cloud Monitoring Premium tier, a higher, more expensive tier of service
|
491
|
+
# that provides access to all Cloud Monitoring features, lets you use Cloud
|
492
|
+
# Monitoring with AWS accounts, and has a larger allotments for logs and
|
493
|
+
# metrics. For more details, see [the service tiers
|
484
494
|
# documentation](https://cloud.google.com/monitoring/workspaces/tiers).
|
485
495
|
SERVICE_TIER_PREMIUM = 2
|
486
496
|
end
|
@@ -24,8 +24,9 @@ module Google
|
|
24
24
|
# The `ListGroup` request.
|
25
25
|
# @!attribute [rw] name
|
26
26
|
# @return [::String]
|
27
|
-
# Required. The
|
28
|
-
#
|
27
|
+
# Required. The
|
28
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
|
29
|
+
# groups are to be listed. The format is:
|
29
30
|
#
|
30
31
|
# projects/[PROJECT_ID_OR_NUMBER]
|
31
32
|
# @!attribute [rw] children_of_group
|
@@ -96,14 +97,15 @@ module Google
|
|
96
97
|
# The `CreateGroup` request.
|
97
98
|
# @!attribute [rw] name
|
98
99
|
# @return [::String]
|
99
|
-
# Required. The
|
100
|
-
#
|
100
|
+
# Required. The
|
101
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
|
102
|
+
# to create the group. The format is:
|
101
103
|
#
|
102
104
|
# projects/[PROJECT_ID_OR_NUMBER]
|
103
105
|
# @!attribute [rw] group
|
104
106
|
# @return [::Google::Cloud::Monitoring::V3::Group]
|
105
|
-
# Required. A group definition. It is an error to define the `name` field
|
106
|
-
# the system assigns the name.
|
107
|
+
# Required. A group definition. It is an error to define the `name` field
|
108
|
+
# because the system assigns the name.
|
107
109
|
# @!attribute [rw] validate_only
|
108
110
|
# @return [::Boolean]
|
109
111
|
# If true, validate this request but do not create the group.
|
@@ -115,8 +117,9 @@ module Google
|
|
115
117
|
# The `UpdateGroup` request.
|
116
118
|
# @!attribute [rw] group
|
117
119
|
# @return [::Google::Cloud::Monitoring::V3::Group]
|
118
|
-
# Required. The new definition of the group. All fields of the existing
|
119
|
-
# excepting `name`, are replaced with the corresponding fields of this
|
120
|
+
# Required. The new definition of the group. All fields of the existing
|
121
|
+
# group, excepting `name`, are replaced with the corresponding fields of this
|
122
|
+
# group.
|
120
123
|
# @!attribute [rw] validate_only
|
121
124
|
# @return [::Boolean]
|
122
125
|
# If true, validate this request but do not update the existing group.
|
@@ -24,8 +24,9 @@ module Google
|
|
24
24
|
# The `ListMonitoredResourceDescriptors` request.
|
25
25
|
# @!attribute [rw] name
|
26
26
|
# @return [::String]
|
27
|
-
# Required. The
|
28
|
-
#
|
27
|
+
# Required. The
|
28
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
|
29
|
+
# to execute the request. The format is:
|
29
30
|
#
|
30
31
|
# projects/[PROJECT_ID_OR_NUMBER]
|
31
32
|
# @!attribute [rw] filter
|
@@ -81,8 +82,9 @@ module Google
|
|
81
82
|
# The `ListMetricDescriptors` request.
|
82
83
|
# @!attribute [rw] name
|
83
84
|
# @return [::String]
|
84
|
-
# Required. The
|
85
|
-
#
|
85
|
+
# Required. The
|
86
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
|
87
|
+
# to execute the request. The format is:
|
86
88
|
#
|
87
89
|
# projects/[PROJECT_ID_OR_NUMBER]
|
88
90
|
# @!attribute [rw] filter
|
@@ -97,7 +99,9 @@ module Google
|
|
97
99
|
# metric.type = starts_with("custom.googleapis.com/")
|
98
100
|
# @!attribute [rw] page_size
|
99
101
|
# @return [::Integer]
|
100
|
-
# A positive number that is the maximum number of results to return.
|
102
|
+
# A positive number that is the maximum number of results to return. The
|
103
|
+
# default and maximum value is 10,000. If a page_size <= 0 or > 10,000 is
|
104
|
+
# submitted, will instead return a maximum of 10,000 results.
|
101
105
|
# @!attribute [rw] page_token
|
102
106
|
# @return [::String]
|
103
107
|
# If this field is not empty then it must contain the `nextPageToken` value
|
@@ -126,7 +130,8 @@ module Google
|
|
126
130
|
# The `GetMetricDescriptor` request.
|
127
131
|
# @!attribute [rw] name
|
128
132
|
# @return [::String]
|
129
|
-
# Required. The metric descriptor on which to execute the request. The format
|
133
|
+
# Required. The metric descriptor on which to execute the request. The format
|
134
|
+
# is:
|
130
135
|
#
|
131
136
|
# projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
|
132
137
|
#
|
@@ -140,14 +145,15 @@ module Google
|
|
140
145
|
# The `CreateMetricDescriptor` request.
|
141
146
|
# @!attribute [rw] name
|
142
147
|
# @return [::String]
|
143
|
-
# Required. The
|
144
|
-
#
|
148
|
+
# Required. The
|
149
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
|
150
|
+
# to execute the request. The format is:
|
145
151
|
# 4
|
146
152
|
# projects/[PROJECT_ID_OR_NUMBER]
|
147
153
|
# @!attribute [rw] metric_descriptor
|
148
154
|
# @return [::Google::Api::MetricDescriptor]
|
149
|
-
# Required. The new [custom
|
150
|
-
# descriptor.
|
155
|
+
# Required. The new [custom
|
156
|
+
# metric](https://cloud.google.com/monitoring/custom-metrics) descriptor.
|
151
157
|
class CreateMetricDescriptorRequest
|
152
158
|
include ::Google::Protobuf::MessageExts
|
153
159
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -156,7 +162,8 @@ module Google
|
|
156
162
|
# The `DeleteMetricDescriptor` request.
|
157
163
|
# @!attribute [rw] name
|
158
164
|
# @return [::String]
|
159
|
-
# Required. The metric descriptor on which to execute the request. The format
|
165
|
+
# Required. The metric descriptor on which to execute the request. The format
|
166
|
+
# is:
|
160
167
|
#
|
161
168
|
# projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
|
162
169
|
#
|
@@ -170,7 +177,8 @@ module Google
|
|
170
177
|
# The `ListTimeSeries` request.
|
171
178
|
# @!attribute [rw] name
|
172
179
|
# @return [::String]
|
173
|
-
# Required. The
|
180
|
+
# Required. The
|
181
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name),
|
174
182
|
# organization or folder on which to execute the request. The format is:
|
175
183
|
#
|
176
184
|
# projects/[PROJECT_ID_OR_NUMBER]
|
@@ -178,18 +186,19 @@ module Google
|
|
178
186
|
# folders/[FOLDER_ID]
|
179
187
|
# @!attribute [rw] filter
|
180
188
|
# @return [::String]
|
181
|
-
# Required. A [monitoring
|
182
|
-
# that specifies
|
183
|
-
#
|
184
|
-
# and
|
189
|
+
# Required. A [monitoring
|
190
|
+
# filter](https://cloud.google.com/monitoring/api/v3/filters) that specifies
|
191
|
+
# which time series should be returned. The filter must specify a single
|
192
|
+
# metric type, and can additionally specify metric labels and other
|
193
|
+
# information. For example:
|
185
194
|
#
|
186
195
|
# metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
|
187
196
|
# metric.labels.instance_name = "my-instance-name"
|
188
197
|
# @!attribute [rw] interval
|
189
198
|
# @return [::Google::Cloud::Monitoring::V3::TimeInterval]
|
190
|
-
# Required. The time interval for which results should be returned. Only time
|
191
|
-
# that contain data points in the specified interval are included
|
192
|
-
#
|
199
|
+
# Required. The time interval for which results should be returned. Only time
|
200
|
+
# series that contain data points in the specified interval are included in
|
201
|
+
# the response.
|
193
202
|
# @!attribute [rw] aggregation
|
194
203
|
# @return [::Google::Cloud::Monitoring::V3::Aggregation]
|
195
204
|
# Specifies the alignment of data points in individual time series as
|
@@ -224,7 +233,7 @@ module Google
|
|
224
233
|
include ::Google::Protobuf::MessageExts
|
225
234
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
226
235
|
|
227
|
-
# Controls which fields are returned by `ListTimeSeries
|
236
|
+
# Controls which fields are returned by `ListTimeSeries*`.
|
228
237
|
module TimeSeriesView
|
229
238
|
# Returns the identity of the metric(s), the time series,
|
230
239
|
# and the time series data.
|
@@ -265,8 +274,9 @@ module Google
|
|
265
274
|
# The `CreateTimeSeries` request.
|
266
275
|
# @!attribute [rw] name
|
267
276
|
# @return [::String]
|
268
|
-
# Required. The
|
269
|
-
#
|
277
|
+
# Required. The
|
278
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
|
279
|
+
# to execute the request. The format is:
|
270
280
|
#
|
271
281
|
# projects/[PROJECT_ID_OR_NUMBER]
|
272
282
|
# @!attribute [rw] time_series
|
@@ -327,8 +337,9 @@ module Google
|
|
327
337
|
# The `QueryTimeSeries` request.
|
328
338
|
# @!attribute [rw] name
|
329
339
|
# @return [::String]
|
330
|
-
# Required. The
|
331
|
-
#
|
340
|
+
# Required. The
|
341
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
|
342
|
+
# to execute the request. The format is:
|
332
343
|
#
|
333
344
|
# projects/[PROJECT_ID_OR_NUMBER]
|
334
345
|
# @!attribute [rw] query
|