3.16.0 (latest) 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    [Obsolete]
    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](https://learn.microsoft.com/dotnet/api/system.object) \> DataAttribute

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DataAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttribute.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttribute.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DataAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttribute.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataplex.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.md.txt)

## 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

    [Obsolete]
    public DataAttributeName DataAttributeName { get; set; }

[DataAttributeName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttributeName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttribute.md.txt#Google_Cloud_Dataplex_V1_DataAttribute_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

    [Obsolete]
    public DataAttributeName ParentIdAsDataAttributeName { get; set; }

[DataAttributeName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttributeName.md.txt)-typed view over the [ParentId](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttribute.md.txt#Google_Cloud_Dataplex_V1_DataAttribute_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` |   |