Class: Gcloud::Logging::Entry::Operation

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

Overview

Operation

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

Instance Attribute Summary collapse

Instance Attribute Details

#firstObject

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


45
46
47
# File 'lib/gcloud/logging/entry/operation.rb', line 45

def first
  @first
end

#idObject

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


34
35
36
# File 'lib/gcloud/logging/entry/operation.rb', line 34

def id
  @id
end

#lastObject

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


49
50
51
# File 'lib/gcloud/logging/entry/operation.rb', line 49

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


41
42
43
# File 'lib/gcloud/logging/entry/operation.rb', line 41

def producer
  @producer
end