Reference documentation and code samples for the Cloud AutoML V1 Client class DocumentDimensions.
Message that describes dimension of a document.
Generated from protobuf message google.cloud.automl.v1.DocumentDimensions
Namespace
Google \ Cloud \ AutoMl \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ unit
int
Unit of the dimension.
↳ width
float
Width value of the document, works together with the unit.
↳ height
float
Height value of the document, works together with the unit.
getUnit
Unit of the dimension.
int
setUnit
Unit of the dimension.
var
int
$this
getWidth
Width value of the document, works together with the unit.
float
setWidth
Width value of the document, works together with the unit.
var
float
$this
getHeight
Height value of the document, works together with the unit.
float
setHeight
Height value of the document, works together with the unit.
var
float
$this