Sha256: aa0d69700282eb4765398ea522d47c2374f9402f6bb585a8ff2cb130369ae6e7

Contents?: true

Size: 1.62 KB

Versions: 11

Compression:

Stored size: 1.62 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'
require 'google/api/monitored_resource'
require 'google/logging/type/http_request'
require 'google/logging/type/log_severity'
require 'google/protobuf/any'
require 'google/protobuf/struct'
require 'google/protobuf/timestamp'
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

11 entries across 11 versions & 1 rubygems

Version Path
gcloud-0.12.2 lib/google/logging/v2/log_entry.rb
gcloud-0.12.1 lib/google/logging/v2/log_entry.rb
gcloud-0.12.0 lib/google/logging/v2/log_entry.rb
gcloud-0.11.0 lib/google/logging/v2/log_entry.rb
gcloud-0.10.0 lib/google/logging/v2/log_entry.rb
gcloud-0.9.0 lib/google/logging/v2/log_entry.rb
gcloud-0.8.2 lib/google/logging/v2/log_entry.rb
gcloud-0.8.0 lib/google/logging/v2/log_entry.rb
gcloud-0.7.2 lib/google/logging/v2/log_entry.rb
gcloud-0.7.1 lib/google/logging/v2/log_entry.rb
gcloud-0.7.0 lib/google/logging/v2/log_entry.rb