class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
The common metadata for long running operations.
Attributes
create_time[RW]
The creation time of the operation. Corresponds to the JSON property `createTime` @return [String]
state[RW]
The state of the operation. Corresponds to the JSON property `state` @return [String]
state_message[RW]
A message providing more details about the current state of processing. Corresponds to the JSON property `stateMessage` @return [String]
update_time[RW]
The last update time of the operation. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/documentai_v1/classes.rb, line 113 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/documentai_v1/classes.rb, line 118 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @state = args[:state] if args.key?(:state) @state_message = args[:state_message] if args.key?(:state_message) @update_time = args[:update_time] if args.key?(:update_time) end