Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata

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 the ReviewDocument method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata

Returns a new instance of GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata.



1774
1775
1776
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1774

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

Instance Attribute Details

#common_metadataGoogle::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata

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



1767
1768
1769
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1767

def 
  @common_metadata
end

#question_idString

The Crowd Compute question ID. Corresponds to the JSON property questionId

Returns:

  • (String)


1772
1773
1774
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1772

def question_id
  @question_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1779
1780
1781
1782
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1779

def update!(**args)
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
  @question_id = args[:question_id] if args.key?(:question_id)
end