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.



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

def first
  @first
end

#idObject

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



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

def id
  @id
end

#lastObject

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



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

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".



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

def producer
  @producer
end