Reference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::LogSplit.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#index
def index() -> ::Integer
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.
#index=
def index=(value) -> ::Integer
Parameter
- value (::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.
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.
#total_splits
def total_splits() -> ::Integer
Returns
- (::Integer) — The total number of log entries that the original LogEntry was split into.
#total_splits=
def total_splits=(value) -> ::Integer
Parameter
- value (::Integer) — 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.
#uid
def uid() -> ::String
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.
#uid=
def uid=(value) -> ::String
Parameter
- value (::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.
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.