Class: Google::Cloud::Logging::V2::LogSplit

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/logging/v2/log_entry.rb

Overview

Additional information used to correlate multiple log entries. Used when a single LogEntry would exceed the Google Cloud Logging size limit and is split across multiple log entries.

Instance Attribute Summary collapse

Instance Attribute Details

#index::Integer

Returns The index of this LogEntry in the sequence of split log entries. Log entries are given |index| values 0, 1, ..., n-1 for a sequence of n log entries.

Returns:

  • (::Integer)

    The index of this LogEntry in the sequence of split log entries. Log entries are given |index| values 0, 1, ..., n-1 for a sequence of n log entries.



267
268
269
270
# File 'proto_docs/google/logging/v2/log_entry.rb', line 267

class LogSplit
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#total_splits::Integer

Returns The total number of log entries that the original LogEntry was split into.

Returns:

  • (::Integer)

    The total number of log entries that the original LogEntry was split into.



267
268
269
270
# File 'proto_docs/google/logging/v2/log_entry.rb', line 267

class LogSplit
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#uid::String

Returns A globally unique identifier for all log entries in a sequence of split log entries. All log entries with the same |LogSplit.uid| are assumed to be part of the same sequence of split log entries.

Returns:

  • (::String)

    A globally unique identifier for all log entries in a sequence of split log entries. All log entries with the same |LogSplit.uid| are assumed to be part of the same sequence of split log entries.



267
268
269
270
# File 'proto_docs/google/logging/v2/log_entry.rb', line 267

class LogSplit
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end