# Class DataAttributeBinding (2.20.0)

2.20.0 (latest) 2.19.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.2 2.9.0 2.8.0 2.7.1 2.6.0 2.5.0 2.4.0 2.3.1 2.2.2 2.1.0 2.0.1 1.13.0 1.12.3 1.11.0 1.10.0 1.9.0 1.8.1 1.7.0 1.6.2 1.5.1 1.4.3 1.3.0 1.2.0 1.1.3 1.0.1 0.2.1 0.1.0

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

DataAttributeBinding represents binding of attributes to
resources. Eg: Bind 'CustomerInfo' entity with 'PII' attribute.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id} |
| `uid` | `str` Output only. System generated globally unique ID for the DataAttributeBinding. This ID will be different if the DataAttributeBinding is deleted and re-created with the same name. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the DataAttributeBinding was created. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the DataAttributeBinding was last updated. |
| `description` | `str` Optional. Description of the DataAttributeBinding. |
| `display_name` | `str` Optional. User friendly display name. |
| `labels` | `MutableMapping[str, str]` Optional. User-defined labels for the DataAttributeBinding. |
| `etag` | `str` This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Etags must be used when calling the DeleteDataAttributeBinding and the UpdateDataAttributeBinding method. |
| `resource` | `str` Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource. This field is a member of `oneof`_ `resource_reference`. |
| `attributes` | `MutableSequence[str]` Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id} |
| `paths` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataAttributeBinding.Path]` Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings. |

## Classes

### LabelsEntry

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

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### Path

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

Represents a subresource of the given resource, and
associated bindings with it. Currently supported subresources
are column and partition schema fields within a table.