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.
47 48 49 |
# File 'lib/google/cloud/logging/entry/operation.rb', line 47 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.
36 37 38 |
# File 'lib/google/cloud/logging/entry/operation.rb', line 36 def id @id end |
#last ⇒ Object
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 |
#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"
.
43 44 45 |
# File 'lib/google/cloud/logging/entry/operation.rb', line 43 def producer @producer end |