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

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

Reference documentation and code samples for the Cloud Dataplex v1 API class DataAsset.

Represents a data asset resource that can be packaged and shared via a data
product.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DataAsset

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DataAsset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAsset.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataAsset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAsset.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DataAsset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAsset.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

### DataAsset()

    public DataAsset()

### DataAsset(DataAsset)

    public DataAsset(DataAsset other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `DataAsset` |

## Properties

### AccessGroupConfigs

    public MapField<string, DataAsset.Types.AccessGroupConfig> AccessGroupConfigs { get; }

Optional. Access groups configurations for this data asset.

The key is `DataProduct.AccessGroup.id` and the value is
`AccessGroupConfig`.

Example:

     {
       "analyst": {
         "iamRoles": ["roles/bigquery.dataViewer"]
       }
     }

Currently, at most one IAM role is allowed per access group. For providing
multiple predefined IAM roles, wrap them in a custom IAM role as per
<https://cloud.google.com/iam/docs/creating-custom-roles>.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringDataAssetTypesAccessGroupConfig` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time at which the data asset was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### DataAssetName

    public DataAssetName DataAssetName { get; set; }

[DataAssetName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAssetName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataAsset.md.txt#Google_Cloud_Dataplex_V1_DataAsset_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DataAssetName` |   |

### Etag

    public string Etag { get; set; }

Optional. 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 data asset.

Example:

    {
      "environment": "production",
      "billing": "marketing-department"
    }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |

### Name

    public string Name { get; set; }

Identifier. Resource name of the data asset.
Format:
projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Resource

    public string Resource { get; set; }

Required. Immutable. Full resource name of the cloud resource represented
by the data asset. This must follow
<https://cloud.google.com/iam/docs/full-resource-names>. Example:
`//bigquery.googleapis.com/projects/my_project_123/datasets/dataset_456/tables/table_789`
Only BigQuery tables and datasets are currently supported.
Data asset creator must have getIamPolicy and setIamPolicy permissions on
the resource. Data asset creator must also have resource specific get
permission, for instance, bigquery.tables.get for BigQuery tables.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Uid

    public string Uid { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The time at which the data asset was last updated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |