[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
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.
Output only. The relative resource name of the dataAttribute, of the form:
projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
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]
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eGoogle.Cloud.Dataplex.V1.DataAttribute\u003c/code\u003e API class is 3.6.0, with several previous versions available for reference.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDataAttribute\u003c/code\u003e resources represent data attributes within a data taxonomy, enabling hierarchical organization, as exemplified by the PII attribute.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataAttribute\u003c/code\u003e class allows the specification of both resource access (e.g., Cloud Storage) and data access (e.g., BigQuery) permissions via \u003ccode\u003eResourceAccessSpec\u003c/code\u003e and \u003ccode\u003eDataAccessSpec\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eDataAttribute\u003c/code\u003e includes metadata such as \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eUpdateTime\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, and \u003ccode\u003eLabels\u003c/code\u003e, providing comprehensive details about the attribute.\u003c/p\u003e\n"],["\u003cp\u003eDataAttribute can be setup with a parent dataattribute, and each data attribute will have a unique ID, and a count for all child attributes.\u003c/p\u003e\n"]]],[],null,["# Cloud Dataplex v1 API - Class DataAttribute (3.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttribute)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.8.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.7.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.6.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.5.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.4.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.3.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.2.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.1.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.0.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.15.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.14.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.13.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.12.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.11.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.10.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.9.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.8.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.7.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.6.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.5.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.4.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.3.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.2.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.1.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.0.0/Google.Cloud.Dataplex.V1.DataAttribute)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/1.0.0/Google.Cloud.Dataplex.V1.DataAttribute) \n\n [Obsolete]\n public sealed class DataAttribute : IMessage\u003cDataAttribute\u003e, IEquatable\u003cDataAttribute\u003e, IDeepCloneable\u003cDataAttribute\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Dataplex v1 API class DataAttribute.\n\nDenotes one dataAttribute in a dataTaxonomy, for example, PII.\nDataAttribute resources can be defined in a hierarchy.\nA single dataAttribute resource can contain specs of multiple types \n\n PII\n - ResourceAccessSpec :\n - readers :foo@bar.com\n - DataAccessSpec :\n - readers :bar@foo.com\n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DataAttribute \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DataAttribute](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttribute), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataAttribute](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttribute), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DataAttribute](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttribute), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dataplex.V1](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataplex.V1.dll\n\nConstructors\n------------\n\n### DataAttribute()\n\n public DataAttribute()\n\n### DataAttribute(DataAttribute)\n\n public DataAttribute(DataAttribute other)\n\nProperties\n----------\n\n### AttributeCount\n\n public int AttributeCount { get; set; }\n\nOutput only. The number of child attributes present for this attribute.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The time when the DataAttribute was created.\n\n### DataAccessSpec\n\n public DataAccessSpec DataAccessSpec { get; set; }\n\nOptional. Specified when applied to data stored on the resource (eg: rows,\ncolumns in BigQuery Tables).\n\n### DataAttributeName\n\n [Obsolete]\n public DataAttributeName DataAttributeName { get; set; }\n\n[DataAttributeName](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttributeName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttribute#Google_Cloud_Dataplex_V1_DataAttribute_Name) resource name property.\n\n### Description\n\n public string Description { get; set; }\n\nOptional. Description of the DataAttribute.\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nOptional. User friendly display name.\n\n### Etag\n\n public string Etag { get; set; }\n\nThis checksum is computed by the server based on the value of other\nfields, and may be sent on update and delete requests to ensure the\nclient has an up-to-date value before proceeding.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nOptional. User-defined labels for the DataAttribute.\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. The relative resource name of the dataAttribute, of the form:\nprojects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.\n\n### ParentId\n\n public string ParentId { get; set; }\n\nOptional. The ID of the parent DataAttribute resource, should belong to the\nsame data taxonomy. Circular dependency in parent chain is not valid.\nMaximum depth of the hierarchy allowed is 4.\n\\[a -\\\u003e b -\\\u003e c -\\\u003e d -\\\u003e e, depth = 4\\]\n\n### ParentIdAsDataAttributeName\n\n [Obsolete]\n public DataAttributeName ParentIdAsDataAttributeName { get; set; }\n\n[DataAttributeName](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttributeName)-typed view over the [ParentId](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAttribute#Google_Cloud_Dataplex_V1_DataAttribute_ParentId) resource name property.\n\n### ResourceAccessSpec\n\n public ResourceAccessSpec ResourceAccessSpec { get; set; }\n\nOptional. Specified when applied to a resource (eg: Cloud Storage bucket,\nBigQuery dataset, BigQuery table).\n\n### Uid\n\n public string Uid { get; set; }\n\nOutput only. System generated globally unique ID for the DataAttribute.\nThis ID will be different if the DataAttribute is deleted and re-created\nwith the same name.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The time when the DataAttribute was last updated."]]