Cloud Dataplex v1 API - Class DataAttribute (3.2.0)

public sealed class DataAttribute : IMessage<DataAttribute>, IEquatable<DataAttribute>, IDeepCloneable<DataAttribute>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Dataplex v1 API class 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

Inheritance

object > DataAttribute

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

DataAttribute()

public DataAttribute()

DataAttribute(DataAttribute)

public DataAttribute(DataAttribute other)
Parameter
Name Description
other DataAttribute

Properties

AttributeCount

public int AttributeCount { get; set; }

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

Property Value
Type Description
int

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time when the DataAttribute was created.

Property Value
Type Description
Timestamp

DataAccessSpec

public DataAccessSpec DataAccessSpec { get; set; }

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

Property Value
Type Description
DataAccessSpec

DataAttributeName

public DataAttributeName DataAttributeName { get; set; }

DataAttributeName-typed view over the Name resource name property.

Property Value
Type Description
DataAttributeName

Description

public string Description { get; set; }

Optional. Description of the DataAttribute.

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

Optional. User friendly display name.

Property Value
Type Description
string

Etag

public string Etag { get; set; }

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.

Property Value
Type Description
string

Labels

public MapField<string, string> Labels { get; }

Optional. User-defined labels for the DataAttribute.

Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

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

Property Value
Type Description
string

ParentId

public string ParentId { get; set; }

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]

Property Value
Type Description
string

ParentIdAsDataAttributeName

public DataAttributeName ParentIdAsDataAttributeName { get; set; }

DataAttributeName-typed view over the ParentId resource name property.

Property Value
Type Description
DataAttributeName

ResourceAccessSpec

public ResourceAccessSpec ResourceAccessSpec { get; set; }

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

Property Value
Type Description
ResourceAccessSpec

Uid

public string Uid { get; set; }

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.

Property Value
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

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

Property Value
Type Description
Timestamp