Class AttributeDefinition (0.1.6)

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

Defines an attribute of an operator.

Attributes

Name Description
attribute str
The name of the attribute. Tentatively a-z <[_a-z0-9]*[a-z0-9]>__?, e.g., max_frames_per_video, resize_height.
type_ str
The type of this attribute. See attribute_value.proto for possibilities.
default_value google.cloud.visionai_v1.types.AttributeValue
The default value for the attribute.