# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/logging/v2/logging.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/monitored_resource_pb' require 'google/api/resource_pb' require 'google/logging/v2/log_entry_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/empty_pb' require 'google/rpc/status_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/logging/v2/logging.proto", :syntax => :proto3) do add_message "google.logging.v2.DeleteLogRequest" do optional :log_name, :string, 1 end add_message "google.logging.v2.WriteLogEntriesRequest" do optional :log_name, :string, 1 optional :resource, :message, 2, "google.api.MonitoredResource" map :labels, :string, :string, 3 repeated :entries, :message, 4, "google.logging.v2.LogEntry" optional :partial_success, :bool, 5 optional :dry_run, :bool, 6 end add_message "google.logging.v2.WriteLogEntriesResponse" do end add_message "google.logging.v2.WriteLogEntriesPartialErrors" do map :log_entry_errors, :int32, :message, 1, "google.rpc.Status" end add_message "google.logging.v2.ListLogEntriesRequest" do repeated :resource_names, :string, 8 optional :filter, :string, 2 optional :order_by, :string, 3 optional :page_size, :int32, 4 optional :page_token, :string, 5 end add_message "google.logging.v2.ListLogEntriesResponse" do repeated :entries, :message, 1, "google.logging.v2.LogEntry" optional :next_page_token, :string, 2 end add_message "google.logging.v2.ListMonitoredResourceDescriptorsRequest" do optional :page_size, :int32, 1 optional :page_token, :string, 2 end add_message "google.logging.v2.ListMonitoredResourceDescriptorsResponse" do repeated :resource_descriptors, :message, 1, "google.api.MonitoredResourceDescriptor" optional :next_page_token, :string, 2 end add_message "google.logging.v2.ListLogsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 repeated :resource_names, :string, 8 end add_message "google.logging.v2.ListLogsResponse" do repeated :log_names, :string, 3 optional :next_page_token, :string, 2 end add_message "google.logging.v2.TailLogEntriesRequest" do repeated :resource_names, :string, 1 optional :filter, :string, 2 optional :buffer_window, :message, 3, "google.protobuf.Duration" end add_message "google.logging.v2.TailLogEntriesResponse" do repeated :entries, :message, 1, "google.logging.v2.LogEntry" repeated :suppression_info, :message, 2, "google.logging.v2.TailLogEntriesResponse.SuppressionInfo" end add_message "google.logging.v2.TailLogEntriesResponse.SuppressionInfo" do optional :reason, :enum, 1, "google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason" optional :suppressed_count, :int32, 2 end add_enum "google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason" do value :REASON_UNSPECIFIED, 0 value :RATE_LIMIT, 1 value :NOT_CONSUMED, 2 end end end module Google module Cloud module Logging module V2 DeleteLogRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteLogRequest").msgclass WriteLogEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesRequest").msgclass WriteLogEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesResponse").msgclass WriteLogEntriesPartialErrors = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesPartialErrors").msgclass ListLogEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogEntriesRequest").msgclass ListLogEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogEntriesResponse").msgclass ListMonitoredResourceDescriptorsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListMonitoredResourceDescriptorsRequest").msgclass ListMonitoredResourceDescriptorsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListMonitoredResourceDescriptorsResponse").msgclass ListLogsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogsRequest").msgclass ListLogsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogsResponse").msgclass TailLogEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.TailLogEntriesRequest").msgclass TailLogEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.TailLogEntriesResponse").msgclass TailLogEntriesResponse::SuppressionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.TailLogEntriesResponse.SuppressionInfo").msgclass TailLogEntriesResponse::SuppressionInfo::Reason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason").enummodule end end end end