class Google::Apis::PubsubliteV1::OperationMetadata

Metadata for long running operations.

Attributes

create_time[RW]

The time the operation was created. Corresponds to the JSON property `createTime` @return [String]

end_time[RW]

The time the operation finished running. Not set if the operation has not completed. Corresponds to the JSON property `endTime` @return [String]

target[RW]

Resource path for the target of the operation. For example, targets of seeks are subscription resources, structured like: projects/`project_number`/ locations/`location`/subscriptions/`subscription_id` Corresponds to the JSON property `target` @return [String]

verb[RW]

Name of the verb executed by the operation. Corresponds to the JSON property `verb` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/pubsublite_v1/classes.rb, line 541
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @end_time = args[:end_time] if args.key?(:end_time)
  @target = args[:target] if args.key?(:target)
  @verb = args[:verb] if args.key?(:verb)
end