REST Resource: projects.locations.dataTaxonomies.attributes

Resource: DataAttribute

Denotes one dataAttribute in a dataTaxonomy, for example, PII. DataAttribute resources can be defined in a hierarchy. A single dataAttribute resource can contain specs of multiple types

PII
  - ResourceAccessSpec :
                - readers :foo@bar.com
  - DataAccessSpec :
                - readers :bar@foo.com
JSON representation
{
  "name": string,
  "uid": string,
  "createTime": string,
  "updateTime": string,
  "description": string,
  "displayName": string,
  "labels": {
    string: string,
    ...
  },
  "parentId": string,
  "attributeCount": integer,
  "etag": string,
  "resourceAccessSpec": {
    object (ResourceAccessSpec)
  },
  "dataAccessSpec": {
    object (DataAccessSpec)
  }
}
Fields
name

string

Output only. The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{locationId}/dataTaxonomies/{dataTaxonomy}/attributes/{dataAttributeId}.

uid

string

Output only. System generated globally unique ID for the DataAttribute. This ID will be different if the DataAttribute is deleted and re-created with the same name.

createTime

string (Timestamp format)

Output only. The time when the DataAttribute 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 DataAttribute 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 DataAttribute.

displayName

string

Optional. User friendly display name.

labels

map (key: string, value: string)

Optional. User-defined labels for the DataAttribute.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

parentId

string

Optional. The ID of the parent DataAttribute resource, should belong to the same data taxonomy. Circular dependency in parent chain is not valid. Maximum depth of the hierarchy allowed is 4. [a -> b -> c -> d -> e, depth = 4]

attributeCount

integer

Output only. The number of child attributes present for this attribute.

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.

resourceAccessSpec

object (ResourceAccessSpec)

Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).

dataAccessSpec

object (DataAccessSpec)

Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).

ResourceAccessSpec

ResourceAccessSpec holds the access control configuration to be enforced on the resources, for example, Cloud Storage bucket, BigQuery dataset, BigQuery table.

JSON representation
{
  "readers": [
    string
  ],
  "writers": [
    string
  ],
  "owners": [
    string
  ]
}
Fields
readers[]

string

Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on the resource.

writers[]

string

Optional. The set of principals to be granted writer role on the resource.

owners[]

string

Optional. The set of principals to be granted owner role on the resource.

DataAccessSpec

DataAccessSpec holds the access control configuration to be enforced on data stored within resources (eg: rows, columns in BigQuery Tables). When associated with data, the data is only accessible to principals explicitly granted access through the DataAccessSpec. Principals with access to the containing resource are not implicitly granted access.

JSON representation
{
  "readers": [
    string
  ]
}
Fields
readers[]

string

Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources.

Methods

create

Create a DataAttribute resource.

delete

Deletes a Data Attribute resource.

get

Retrieves a Data Attribute resource.

getIamPolicy

Gets the access control policy for a resource.

list

Lists Data Attribute resources in a DataTaxonomy.

patch

Updates a DataAttribute resource.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.