Class DocumentDimensions (2.14.1)

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

Message that describes dimension of a document.

Attributes

Name Description
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.