Class: Google::Cloud::Logging::Entry::Operation

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/logging/entry/operation.rb

Overview

Operation

Additional information about a potentially long-running operation with which a log entry is associated.

See also #operation.

Instance Attribute Summary collapse

Instance Attribute Details

#firstObject

Set this to true if this is the first log entry in the operation.



47
48
49
# File 'lib/google/cloud/logging/entry/operation.rb', line 47

def first
  @first
end

#idObject

An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.



36
37
38
# File 'lib/google/cloud/logging/entry/operation.rb', line 36

def id
  @id
end

#lastObject

Set this to true if this is the last log entry in the operation.



51
52
53
# File 'lib/google/cloud/logging/entry/operation.rb', line 51

def last
  @last
end

#producerObject

An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", "github.com/MyProject/MyApplication".



43
44
45
# File 'lib/google/cloud/logging/entry/operation.rb', line 43

def producer
  @producer
end