Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/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.



5744
5745
5746
# File 'lib/google/apis/documentai_v1/classes.rb', line 5744

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

Instance Attribute Details

#common_metadataGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1CommonOperationMetadata

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



5737
5738
5739
# File 'lib/google/apis/documentai_v1/classes.rb', line 5737

def 
  @common_metadata
end

#question_idString

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

Returns:

  • (String)


5742
5743
5744
# File 'lib/google/apis/documentai_v1/classes.rb', line 5742

def question_id
  @question_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5749
5750
5751
5752
# File 'lib/google/apis/documentai_v1/classes.rb', line 5749

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