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

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

Create asset request.

## Inheritance

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

## Implements

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

### CreateAssetRequest()

    public CreateAssetRequest()

### CreateAssetRequest(CreateAssetRequest)

    public CreateAssetRequest(CreateAssetRequest other)

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

## Properties

### Asset

    public Asset Asset { get; set; }

Required. Asset resource.

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

### AssetId

    public string AssetId { get; set; }

Required. Asset identifier.
This ID will be used to generate names such as table names when publishing
metadata to Hive Metastore and BigQuery.

- Must contain only lowercase letters, numbers and hyphens.
- Must start with a letter.
- Must end with a number or a letter.
- Must be between 1-63 characters.
- Must be unique within the zone.

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

### Parent

    public string Parent { get; set; }

Required. The resource name of the parent zone:
`projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.

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

### ParentAsZoneName

    public ZoneName ParentAsZoneName { get; set; }

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

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

### ValidateOnly

    public bool ValidateOnly { get; set; }

Optional. Only validate the request, but do not perform mutations.
The default is false.

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