Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::Document (v0.6.1)

Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::Document.

A structured text document e.g. a PDF.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#document_dimensions

def document_dimensions() -> ::Google::Cloud::AutoML::V1beta1::DocumentDimensions
Returns

#document_dimensions=

def document_dimensions=(value) -> ::Google::Cloud::AutoML::V1beta1::DocumentDimensions
Parameter
Returns

#document_text

def document_text() -> ::Google::Cloud::AutoML::V1beta1::TextSnippet
Returns

#document_text=

def document_text=(value) -> ::Google::Cloud::AutoML::V1beta1::TextSnippet
Parameter
Returns

#input_config

def input_config() -> ::Google::Cloud::AutoML::V1beta1::DocumentInputConfig
Returns

#input_config=

def input_config=(value) -> ::Google::Cloud::AutoML::V1beta1::DocumentInputConfig
Parameter
Returns

#layout

def layout() -> ::Array<::Google::Cloud::AutoML::V1beta1::Document::Layout>
Returns

#layout=

def layout=(value) -> ::Array<::Google::Cloud::AutoML::V1beta1::Document::Layout>
Parameter
Returns

#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.