Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument

Returns a new instance of GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument.



1182
1183
1184
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1182

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

Instance Attribute Details

#document_idString

An internal identifier for document. Corresponds to the JSON property documentId

Returns:

  • (String)


1180
1181
1182
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1180

def document_id
  @document_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1187
1188
1189
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1187

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