Cloud Dataplex v1 API - Class CreateAssetRequest (2.10.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 > CreateAssetRequest

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

CreateAssetRequest()

public CreateAssetRequest()

CreateAssetRequest(CreateAssetRequest)

public CreateAssetRequest(CreateAssetRequest other)
Parameter
NameDescription
otherCreateAssetRequest

Properties

Asset

public Asset Asset { get; set; }

Required. Asset resource.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string

ParentAsZoneName

public ZoneName ParentAsZoneName { get; set; }

ZoneName-typed view over the Parent resource name property.

Property Value
TypeDescription
ZoneName

ValidateOnly

public bool ValidateOnly { get; set; }

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

Property Value
TypeDescription
bool