Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::DocumentDimensions (v1.0.0)

Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::DocumentDimensions.

Message that describes dimension of a document.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#height

def height() -> ::Float
Returns
  • (::Float) — Height value of the document, works together with the unit.

#height=

def height=(value) -> ::Float
Parameter
  • value (::Float) — Height value of the document, works together with the unit.
Returns
  • (::Float) — Height value of the document, works together with the unit.

#unit

def unit() -> ::Google::Cloud::AutoML::V1::DocumentDimensions::DocumentDimensionUnit

#unit=

def unit=(value) -> ::Google::Cloud::AutoML::V1::DocumentDimensions::DocumentDimensionUnit
Parameter

#width

def width() -> ::Float
Returns
  • (::Float) — Width value of the document, works together with the unit.

#width=

def width=(value) -> ::Float
Parameter
  • value (::Float) — Width value of the document, works together with the unit.
Returns
  • (::Float) — Width value of the document, works together with the unit.