Sha256: 2caec8a2ec730bc8a2687c2d798a2c3261b86b838d46194bb0a520f4c8b8b4ea

Contents?: true

Size: 1.64 KB

Versions: 9

Compression:

Stored size: 1.64 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/logging/v2/log_entry.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/monitored_resource_pb'
require 'google/logging/type/http_request_pb'
require 'google/logging/type/log_severity_pb'
require 'google/protobuf/any_pb'
require 'google/protobuf/struct_pb'
require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.logging.v2.LogEntry" do
    optional :log_name, :string, 12
    optional :resource, :message, 8, "google.api.MonitoredResource"
    optional :timestamp, :message, 9, "google.protobuf.Timestamp"
    optional :severity, :enum, 10, "google.logging.type.LogSeverity"
    optional :insert_id, :string, 4
    optional :http_request, :message, 7, "google.logging.type.HttpRequest"
    map :labels, :string, :string, 11
    optional :operation, :message, 15, "google.logging.v2.LogEntryOperation"
    oneof :payload do
      optional :proto_payload, :message, 2, "google.protobuf.Any"
      optional :text_payload, :string, 3
      optional :json_payload, :message, 6, "google.protobuf.Struct"
    end
  end
  add_message "google.logging.v2.LogEntryOperation" do
    optional :id, :string, 1
    optional :producer, :string, 2
    optional :first, :bool, 3
    optional :last, :bool, 4
  end
end

module Google
  module Logging
    module V2
      LogEntry = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogEntry").msgclass
      LogEntryOperation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogEntryOperation").msgclass
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
google-cloud-logging-0.24.0 lib/google/logging/v2/log_entry_pb.rb
google-cloud-logging-0.23.2 lib/google/logging/v2/log_entry_pb.rb
google-cloud-logging-0.23.1 lib/google/logging/v2/log_entry_pb.rb
google-cloud-logging-0.23.0 lib/google/logging/v2/log_entry_pb.rb
google-cloud-logging-0.21.2 lib/google/logging/v2/log_entry_pb.rb
google-cloud-logging-0.21.1 lib/google/logging/v2/log_entry_pb.rb
google-cloud-logging-0.21.0 lib/google/logging/v2/log_entry_pb.rb
google-cloud-logging-0.20.1 lib/google/logging/v2/log_entry_pb.rb
google-cloud-logging-0.20.0 lib/google/logging/v2/log_entry_pb.rb