- [Resource: DataAttributeBinding](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings#DataAttributeBinding)
  - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings#DataAttributeBinding.SCHEMA_REPRESENTATION)
- [Path](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings#Path)
  - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings#Path.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings#METHODS_SUMMARY)

## Resource: DataAttributeBinding

> [!WARNING]
> This item is deprecated!

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

| JSON representation |
|---|
| ``` { "name": string, "uid": string, "createTime": string, "updateTime": string, "description": string, "displayName": string, "labels": { string: string, ... }, "etag": string, "attributes": [ string ], "paths": [ { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings#Path`) } ], // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "resource": string // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{projectNumber}/locations/{location}/dataAttributeBindings/{dataAttributeBindingId} |
| `uid` | `string` 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. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time when the DataAttributeBinding was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time when the DataAttributeBinding was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `description` | `string` Optional. Description of the DataAttributeBinding. |
| `displayName` | `string` Optional. User friendly display name. |
| `labels` | `map (key: string, value: string)` Optional. User-defined labels for the DataAttributeBinding. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `etag` | `string` 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 dataAttributeBindings.delete and the dataAttributeBindings.patch method. |
| `attributes[]` | `string` Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{dataAttributeId} |
| `paths[]` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings#Path`)`` Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings. |
| The reference to the resource that is associated to attributes, or the query to match resources and associate attributes. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `resource` | `string` 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/{entityId} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource. |
| End of mutually exclusive fields. ||

## Path

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

| JSON representation |
|---|
| ``` { "name": string, "attributes": [ string ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Required. The name identifier of the path. Nested columns should be of the form: 'address.city'. |
| `attributes[]` | `string` Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{dataAttributeId} |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings/create (deprecated)` | Create a DataAttributeBinding resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings/delete (deprecated)` | Deletes a DataAttributeBinding resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings/get (deprecated)` | Retrieves a DataAttributeBinding resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings/getIamPolicy` | Gets the access control policy for a resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings/list (deprecated)` | Lists DataAttributeBinding resources in a project and location. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings/patch (deprecated)` | Updates a DataAttributeBinding resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings/setIamPolicy` | Sets the access control policy on the specified resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataAttributeBindings/testIamPermissions` | Returns permissions that a caller has on the specified resource. |