Class DataAttribute (1.7.0)

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

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



  • ResourceAccessSpec :
    • readers
  • DataAccessSpec :
    • readers


name str
Output only. The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
uid str
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.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the DataAttribute was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the DataAttribute was last updated.
description str
Optional. Description of the DataAttribute.
display_name str
Optional. User friendly display name.
labels MutableMapping[str, str]
Optional. User-defined labels for the DataAttribute.
parent_id str
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]
attribute_count int
Output only. The number of child attributes present for this attribute.
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.
Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).
Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).



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

The abstract base class for a message.

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.