class Google::Apis::LoggingV2::LogEntryOperation

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

Attributes

first[RW]

Optional. Set this to True if this is the first log entry in the operation. Corresponds to the JSON property `first` @return [Boolean]

first?[RW]

Optional. Set this to True if this is the first log entry in the operation. Corresponds to the JSON property `first` @return [Boolean]

id[RW]

Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation. Corresponds to the JSON property `id` @return [String]

last[RW]

Optional. Set this to True if this is the last log entry in the operation. Corresponds to the JSON property `last` @return [Boolean]

last?[RW]

Optional. Set this to True if this is the last log entry in the operation. Corresponds to the JSON property `last` @return [Boolean]

producer[RW]

Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: “MyDivision.MyBigCompany.com”, “github.com/MyProject/MyApplication”. Corresponds to the JSON property `producer` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/logging_v2/classes.rb, line 1248
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/logging_v2/classes.rb, line 1253
def update!(**args)
  @first = args[:first] if args.key?(:first)
  @id = args[:id] if args.key?(:id)
  @last = args[:last] if args.key?(:last)
  @producer = args[:producer] if args.key?(:producer)
end