class Google::Apis::LoggingV2::CopyLogEntriesMetadata

Metadata for CopyLogEntries long running operations.

Attributes

cancellation_requested[RW]

Identifies whether the user has requested cancellation of the operation. Corresponds to the JSON property `cancellationRequested` @return [Boolean]

cancellation_requested?[RW]

Identifies whether the user has requested cancellation of the operation. Corresponds to the JSON property `cancellationRequested` @return [Boolean]

end_time[RW]

The end time of an operation. Corresponds to the JSON property `endTime` @return [String]

progress[RW]

Estimated progress of the operation (0 - 100%). Corresponds to the JSON property `progress` @return [Fixnum]

request[RW]

The parameters to CopyLogEntries. Corresponds to the JSON property `request` @return [Google::Apis::LoggingV2::CopyLogEntriesRequest]

start_time[RW]

The create time of an operation. Corresponds to the JSON property `startTime` @return [String]

state[RW]

State of an operation. Corresponds to the JSON property `state` @return [String]

writer_identity[RW]

The IAM identity of a service account that must be granted access to the destination.If the service account is not granted permission to the destination within an hour, the operation will be cancelled.For example: “ serviceAccount:foo@bar.com” Corresponds to the JSON property `writerIdentity` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/logging_v2/classes.rb, line 230
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 235
def update!(**args)
  @cancellation_requested = args[:cancellation_requested] if args.key?(:cancellation_requested)
  @end_time = args[:end_time] if args.key?(:end_time)
  @progress = args[:progress] if args.key?(:progress)
  @request = args[:request] if args.key?(:request)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
  @writer_identity = args[:writer_identity] if args.key?(:writer_identity)
end