class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata

The long running operation metadata for review document method.

Attributes

common_metadata[RW]

The common metadata for long running operations. Corresponds to the JSON property `commonMetadata` @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]

create_time[RW]

The creation time of the operation. Corresponds to the JSON property `createTime` @return [String]

state[RW]

Used only when Operation.done is false. Corresponds to the JSON property `state` @return [String]

state_message[RW]

A message providing more details about the current state of processing. For example, the error message if the operation is failed. 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 6681
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 6686
def update!(**args)
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
  @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