class Google::Apis::AppengineV1beta5::OperationMetadata

Metadata for the given google.longrunning.Operation.

Attributes

end_time[RW]

Timestamp that this operation completed.@OutputOnly Corresponds to the JSON property `endTime` @return [String]

insert_time[RW]

Timestamp that this operation was created.@OutputOnly Corresponds to the JSON property `insertTime` @return [String]

method_prop[RW]

API method that initiated this operation. Example: google.appengine.v1beta4. Version.CreateVersion.@OutputOnly Corresponds to the JSON property `method` @return [String]

operation_type[RW]

Type of this operation. Deprecated, use method field instead. Example: “ create_version”.@OutputOnly Corresponds to the JSON property `operationType` @return [String]

target[RW]

Name of the resource that this operation is acting on. Example: apps/myapp/ OutputOnly at modules/default. Corresponds to the JSON property `target` @return [String]

user[RW]

User who requested this operation.@OutputOnly Corresponds to the JSON property `user` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/appengine_v1beta5/classes.rb, line 1307
def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @insert_time = args[:insert_time] if args.key?(:insert_time)
  @method_prop = args[:method_prop] if args.key?(:method_prop)
  @operation_type = args[:operation_type] if args.key?(:operation_type)
  @target = args[:target] if args.key?(:target)
  @user = args[:user] if args.key?(:user)
end