class Google::Apis::RedisV1::GoogleCloudRedisV1OperationMetadata
Represents the v1 metadata of the long-running operation.
Attributes
API version. Corresponds to the JSON property `apiVersion` @return [String]
Specifies if cancellation was requested for the operation. Corresponds to the JSON property `cancelRequested` @return [Boolean]
Specifies if cancellation was requested for the operation. Corresponds to the JSON property `cancelRequested` @return [Boolean]
Creation timestamp. Corresponds to the JSON property `createTime` @return [String]
End timestamp. Corresponds to the JSON property `endTime` @return [String]
Operation
status details. Corresponds to the JSON property `statusDetail` @return [String]
Operation
target. Corresponds to the JSON property `target` @return [String]
Operation
verb. Corresponds to the JSON property `verb` @return [String]
Public Class Methods
# File lib/google/apis/redis_v1/classes.rb, line 184 def initialize(**args) update!(**args) end
Public Instance Methods
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