Class: Google::Cloud::Logging::Entry::Operation
- Inherits:
-
Object
- Object
- Google::Cloud::Logging::Entry::Operation
- 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
-
#first ⇒ Object
Set this to
true
if this is the first log entry in the operation. -
#id ⇒ Object
An arbitrary operation identifier.
-
#last ⇒ Object
Set this to
true
if this is the last log entry in the operation. -
#producer ⇒ Object
An arbitrary producer identifier.
Instance Attribute Details
#first ⇒ Object
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 |
#id ⇒ Object
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 |
#last ⇒ Object
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 |
#producer ⇒ Object
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 |