Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1beta2/classes.rb,
lib/google/apis/documentai_v1beta2/representations.rb,
lib/google/apis/documentai_v1beta2/representations.rb

Overview

The long running operation metadata for review document method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata

Returns a new instance of GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata.



4726
4727
4728
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4726

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#common_metadataGoogle::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata

The common metadata for long running operations. Corresponds to the JSON property commonMetadata



4703
4704
4705
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4703

def 
  @common_metadata
end

#create_timeString

The creation time of the operation. Corresponds to the JSON property createTime

Returns:

  • (String)


4708
4709
4710
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4708

def create_time
  @create_time
end

#stateString

Used only when Operation.done is false. Corresponds to the JSON property state

Returns:

  • (String)


4713
4714
4715
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4713

def state
  @state
end

#state_messageString

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

Returns:

  • (String)


4719
4720
4721
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4719

def state_message
  @state_message
end

#update_timeString

The last update time of the operation. Corresponds to the JSON property updateTime

Returns:

  • (String)


4724
4725
4726
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4724

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4731
4732
4733
4734
4735
4736
4737
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4731

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