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.
Implements
IMessageCreateAssetRequest, IEquatableCreateAssetRequest, IDeepCloneableCreateAssetRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dataplex.V1Assembly
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; }
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 |