Class DocumentDimensions (2.3.0)

DocumentDimensions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message that describes dimension of a document.

Attributes

NameDescription
unit google.cloud.automl_v1.types.DocumentDimensions.DocumentDimensionUnit
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.

Classes

DocumentDimensionUnit

DocumentDimensionUnit(value)

Unit of the document dimension.