# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/logging/v2/logging_metrics.proto require 'google/protobuf' require 'google/api/client_pb' require 'google/api/distribution_pb' require 'google/api/field_behavior_pb' require 'google/api/metric_pb' require 'google/api/resource_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/field_mask_pb' require 'google/protobuf/timestamp_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/logging/v2/logging_metrics.proto", :syntax => :proto3) do add_message "google.logging.v2.LogMetric" do optional :name, :string, 1 optional :description, :string, 2 optional :filter, :string, 3 optional :metric_descriptor, :message, 5, "google.api.MetricDescriptor" optional :value_extractor, :string, 6 map :label_extractors, :string, :string, 7 optional :bucket_options, :message, 8, "google.api.Distribution.BucketOptions" optional :create_time, :message, 9, "google.protobuf.Timestamp" optional :update_time, :message, 10, "google.protobuf.Timestamp" optional :version, :enum, 4, "google.logging.v2.LogMetric.ApiVersion" end add_enum "google.logging.v2.LogMetric.ApiVersion" do value :V2, 0 value :V1, 1 end add_message "google.logging.v2.ListLogMetricsRequest" do optional :parent, :string, 1 optional :page_token, :string, 2 optional :page_size, :int32, 3 end add_message "google.logging.v2.ListLogMetricsResponse" do repeated :metrics, :message, 1, "google.logging.v2.LogMetric" optional :next_page_token, :string, 2 end add_message "google.logging.v2.GetLogMetricRequest" do optional :metric_name, :string, 1 end add_message "google.logging.v2.CreateLogMetricRequest" do optional :parent, :string, 1 optional :metric, :message, 2, "google.logging.v2.LogMetric" end add_message "google.logging.v2.UpdateLogMetricRequest" do optional :metric_name, :string, 1 optional :metric, :message, 2, "google.logging.v2.LogMetric" end add_message "google.logging.v2.DeleteLogMetricRequest" do optional :metric_name, :string, 1 end end end module Google module Cloud module Logging module V2 LogMetric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogMetric").msgclass LogMetric::ApiVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogMetric.ApiVersion").enummodule ListLogMetricsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogMetricsRequest").msgclass ListLogMetricsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogMetricsResponse").msgclass GetLogMetricRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.GetLogMetricRequest").msgclass CreateLogMetricRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.CreateLogMetricRequest").msgclass UpdateLogMetricRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.UpdateLogMetricRequest").msgclass DeleteLogMetricRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteLogMetricRequest").msgclass end end end end