REST Resource: projects.locations.dataAttributeBindings

Resource: DataAttributeBinding

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 (Path)
    }
  ],

  // Union field resource_reference can be only one of the following:
  "resource": string
  // End of list of possible types for union field resource_reference.
}
Fields
name

string

Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/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 (Timestamp format)

Output only. The time when the DataAttributeBinding was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. The time when the DataAttributeBinding was last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

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 (Path)

Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.

Union field resource_reference. The reference to the resource that is associated to attributes, or the query to match resources and associate attributes. resource_reference can be only one of the following:
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.

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

create

Create a DataAttributeBinding resource.

delete

Deletes a DataAttributeBinding resource.

get

Retrieves a DataAttributeBinding resource.

getIamPolicy

Gets the access control policy for a resource.

list

Lists DataAttributeBinding resources in a project and location.

patch

Updates a DataAttributeBinding resource.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.