Interface CreateDataAssetRequestOrBuilder (1.86.0)

public interface CreateDataAssetRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataAsset()

public abstract DataAsset getDataAsset()

Required. The data asset to create.

.google.cloud.dataplex.v1.DataAsset data_asset = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataAsset

The dataAsset.

getDataAssetId()

public abstract String getDataAssetId()

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?$ If not provided, a system generated ID will be used.

string data_asset_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The dataAssetId.

getDataAssetIdBytes()

public abstract ByteString getDataAssetIdBytes()

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?$ If not provided, a system generated ID will be used.

string data_asset_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for dataAssetId.

getDataAssetOrBuilder()

public abstract DataAssetOrBuilder getDataAssetOrBuilder()

Required. The data asset to create.

.google.cloud.dataplex.v1.DataAsset data_asset = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataAssetOrBuilder

getParent()

public abstract String getParent()

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public abstract boolean getValidateOnly()

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

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasDataAsset()

public abstract boolean hasDataAsset()

Required. The data asset to create.

.google.cloud.dataplex.v1.DataAsset data_asset = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataAsset field is set.