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 CreateDataAssetRequest : IMessage<CreateDataAssetRequest>, IEquatable<CreateDataAssetRequest>, IDeepCloneable<CreateDataAssetRequest>, IBufferMessage, IMessage

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

Request message for creating a data asset.

## Inheritance

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

## Implements

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

### CreateDataAssetRequest()

    public CreateDataAssetRequest()

### CreateDataAssetRequest(CreateDataAssetRequest)

    public CreateDataAssetRequest(CreateDataAssetRequest other)

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

## Properties

### DataAsset

    public DataAsset DataAsset { get; set; }

Required. The data asset to create.

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

### DataAssetId

    public string DataAssetId { get; set; }

Optional. The ID of the data asset to create.

The ID must conform to RFC-1034 and contain only lower-case letters (a-z),
numbers (0-9), or hyphens, with the first character a letter, the last a
letter or a number, and a 63 character maximum. Characters outside of
ASCII are not permitted.
Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`
If not provided, a system generated ID will be used.

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

### Parent

    public string Parent { get; set; }

Required. The parent resource where this data asset will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}

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

### ParentAsDataProductName

    public DataProductName ParentAsDataProductName { get; set; }

[DataProductName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProductName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.CreateDataAssetRequest.md.txt#Google_Cloud_Dataplex_V1_CreateDataAssetRequest_Parent) resource name property.

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

### ValidateOnly

    public bool ValidateOnly { get; set; }

Optional. Validates the request without actually creating the data asset.
Defaults to false.

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