Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::GetDocumentRequest.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dataset
def dataset() -> ::String
Returns
- (::String) — Required. The resource name of the dataset that the document belongs to . Format: projects/{project}/locations/{location}/processors/{processor}/dataset
#dataset=
def dataset=(value) -> ::String
Parameter
- value (::String) — Required. The resource name of the dataset that the document belongs to . Format: projects/{project}/locations/{location}/processors/{processor}/dataset
Returns
- (::String) — Required. The resource name of the dataset that the document belongs to . Format: projects/{project}/locations/{location}/processors/{processor}/dataset
#document_id
def document_id() -> ::Google::Cloud::DocumentAI::V1beta3::DocumentId
Returns
- (::Google::Cloud::DocumentAI::V1beta3::DocumentId) — Required. Document identifier.
#document_id=
def document_id=(value) -> ::Google::Cloud::DocumentAI::V1beta3::DocumentId
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::DocumentId) — Required. Document identifier.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::DocumentId) — Required. Document identifier.
#page_range
def page_range() -> ::Google::Cloud::DocumentAI::V1beta3::DocumentPageRange
Returns
-
(::Google::Cloud::DocumentAI::V1beta3::DocumentPageRange) — List of pages for which the fields specified in the
read_mask
must be served.
#page_range=
def page_range=(value) -> ::Google::Cloud::DocumentAI::V1beta3::DocumentPageRange
Parameter
-
value (::Google::Cloud::DocumentAI::V1beta3::DocumentPageRange) — List of pages for which the fields specified in the
read_mask
must be served.
Returns
-
(::Google::Cloud::DocumentAI::V1beta3::DocumentPageRange) — List of pages for which the fields specified in the
read_mask
must be served.
#read_mask
def read_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — If set, only fields listed here will be returned. Otherwise, all fields will be returned by default.
#read_mask=
def read_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — If set, only fields listed here will be returned. Otherwise, all fields will be returned by default.
Returns
- (::Google::Protobuf::FieldMask) — If set, only fields listed here will be returned. Otherwise, all fields will be returned by default.