class Google::Apis::RedisV1::GoogleCloudRedisV1OperationMetadata

Represents the v1 metadata of the long-running operation.

Attributes

api_version[RW]

API version. Corresponds to the JSON property `apiVersion` @return [String]

cancel_requested[RW]

Specifies if cancellation was requested for the operation. Corresponds to the JSON property `cancelRequested` @return [Boolean]

cancel_requested?[RW]

Specifies if cancellation was requested for the operation. Corresponds to the JSON property `cancelRequested` @return [Boolean]

create_time[RW]

Creation timestamp. Corresponds to the JSON property `createTime` @return [String]

end_time[RW]

End timestamp. Corresponds to the JSON property `endTime` @return [String]

status_detail[RW]

Operation status details. Corresponds to the JSON property `statusDetail` @return [String]

target[RW]

Operation target. Corresponds to the JSON property `target` @return [String]

verb[RW]

Operation verb. Corresponds to the JSON property `verb` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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