# Class AttributeDefinition (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

    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` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.AttributeValue` The default value for the attribute. |