# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/monitoring/metricsscope/v1/metrics_scopes.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/longrunning/operations_pb' require 'google/monitoring/metricsscope/v1/metrics_scope_pb' require 'google/protobuf/timestamp_pb' descriptor_data = "\n6google/monitoring/metricsscope/v1/metrics_scopes.proto\x12!google.monitoring.metricsscope.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x35google/monitoring/metricsscope/v1/metrics_scope.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"V\n\x16GetMetricsScopeRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&monitoring.googleapis.com/MetricsScope\"W\n*ListMetricsScopesByMonitoredProjectRequest\x12)\n\x1cmonitored_resource_container\x18\x01 \x01(\tB\x03\xe0\x41\x02\"v\n+ListMetricsScopesByMonitoredProjectResponse\x12G\n\x0emetrics_scopes\x18\x01 \x03(\x0b\x32/.google.monitoring.metricsscope.v1.MetricsScope\"\xb4\x01\n\x1d\x43reateMonitoredProjectRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&monitoring.googleapis.com/MetricsScope\x12S\n\x11monitored_project\x18\x02 \x01(\x0b\x32\x33.google.monitoring.metricsscope.v1.MonitoredProjectB\x03\xe0\x41\x02\"a\n\x1d\x44\x65leteMonitoredProjectRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*monitoring.googleapis.com/MonitoredProject\"\x93\x02\n\x11OperationMetadata\x12I\n\x05state\x18\x01 \x01(\x0e\x32:.google.monitoring.metricsscope.v1.OperationMetadata.State\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"Q\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\x12\r\n\tCANCELLED\x10\x04\x32\xc2\t\n\rMetricsScopes\x12\xb9\x01\n\x0fGetMetricsScope\x12\x39.google.monitoring.metricsscope.v1.GetMetricsScopeRequest\x1a/.google.monitoring.metricsscope.v1.MetricsScope\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=locations/global/metricsScopes/*}\x12\x94\x02\n#ListMetricsScopesByMonitoredProject\x12M.google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectRequest\x1aN.google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectResponse\"N\x82\xd3\xe4\x93\x02H\x12\x46/v1/locations/global/metricsScopes:listMetricsScopesByMonitoredProject\x12\x90\x02\n\x16\x43reateMonitoredProject\x12@.google.monitoring.metricsscope.v1.CreateMonitoredProjectRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\xca\x41%\n\x10MonitoredProject\x12\x11OperationMetadata\xda\x41\x18parent,monitored_project\x82\xd3\xe4\x93\x02K\"6/v1/{parent=locations/global/metricsScopes/*}/projects:\x11monitored_project\x12\xed\x01\n\x16\x44\x65leteMonitoredProject\x12@.google.monitoring.metricsscope.v1.DeleteMonitoredProjectRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v1/{name=locations/global/metricsScopes/*/projects/*}\x1a\xda\x01\xca\x41\x19monitoring.googleapis.com\xd2\x41\xba\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/monitoring,https://www.googleapis.com/auth/monitoring.read,https://www.googleapis.com/auth/monitoring.writeB\x90\x02\n%com.google.monitoring.metricsscope.v1B\x12MetricsScopesProtoP\x01ZOcloud.google.com/go/monitoring/metricsscope/apiv1/metricsscopepb;metricsscopepb\xaa\x02\'Google.Cloud.Monitoring.MetricsScope.V1\xca\x02\'Google\\Cloud\\Monitoring\\MetricsScope\\V1\xea\x02+Google::Cloud::Monitoring::MetricsScope::V1b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.monitoring.metricsscope.v1.MetricsScope", "google/monitoring/metricsscope/v1/metrics_scope.proto"], ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module Monitoring module MetricsScope module V1 GetMetricsScopeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.GetMetricsScopeRequest").msgclass ListMetricsScopesByMonitoredProjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectRequest").msgclass ListMetricsScopesByMonitoredProjectResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectResponse").msgclass CreateMonitoredProjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.CreateMonitoredProjectRequest").msgclass DeleteMonitoredProjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.DeleteMonitoredProjectRequest").msgclass OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.OperationMetadata").msgclass OperationMetadata::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.OperationMetadata.State").enummodule end end end end end