class Google::Apis::ComposerV1::OperationMetadata

Metadata describing an operation.

Attributes

create_time[RW]

Output only. The time the operation was submitted to the server. Corresponds to the JSON property `createTime` @return [String]

end_time[RW]

Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing. Corresponds to the JSON property `endTime` @return [String]

operation_type[RW]

Output only. The type of operation being performed. Corresponds to the JSON property `operationType` @return [String]

resource[RW]

Output only. The resource being operated on, as a [relative resource name]( / apis/design/resource_names#relative_resource_name). Corresponds to the JSON property `resource` @return [String]

resource_uuid[RW]

Output only. The UUID of the resource being operated on. Corresponds to the JSON property `resourceUuid` @return [String]

state[RW]

Output only. The current operation state. Corresponds to the JSON property `state` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/composer_v1/classes.rb, line 763
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @end_time = args[:end_time] if args.key?(:end_time)
  @operation_type = args[:operation_type] if args.key?(:operation_type)
  @resource = args[:resource] if args.key?(:resource)
  @resource_uuid = args[:resource_uuid] if args.key?(:resource_uuid)
  @state = args[:state] if args.key?(:state)
end