Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::DocumentMetadata.
Metadata about a document.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dataset_type
def dataset_type() -> ::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType
Returns
- (::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType) — Type of the dataset split to which the document belongs.
#dataset_type=
def dataset_type=(value) -> ::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType) — Type of the dataset split to which the document belongs.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType) — Type of the dataset split to which the document belongs.
#display_name
def display_name() -> ::String
Returns
- (::String) — The display name of the document.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — The display name of the document.
Returns
- (::String) — The display name of the document.
#document_id
def document_id() -> ::Google::Cloud::DocumentAI::V1beta3::DocumentId
Returns
- (::Google::Cloud::DocumentAI::V1beta3::DocumentId) — Document identifier.
#document_id=
def document_id=(value) -> ::Google::Cloud::DocumentAI::V1beta3::DocumentId
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::DocumentId) — Document identifier.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::DocumentId) — Document identifier.
#labeling_state
def labeling_state() -> ::Google::Cloud::DocumentAI::V1beta3::DocumentLabelingState
Returns
- (::Google::Cloud::DocumentAI::V1beta3::DocumentLabelingState) — Labelling state of the document.
#labeling_state=
def labeling_state=(value) -> ::Google::Cloud::DocumentAI::V1beta3::DocumentLabelingState
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::DocumentLabelingState) — Labelling state of the document.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::DocumentLabelingState) — Labelling state of the document.
#page_count
def page_count() -> ::Integer
Returns
- (::Integer) — Number of pages in the document.
#page_count=
def page_count=(value) -> ::Integer
Parameter
- value (::Integer) — Number of pages in the document.
Returns
- (::Integer) — Number of pages in the document.