Interface Asset.ResourceSpecOrBuilder (1.38.0)

public static interface Asset.ResourceSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: projects/{project_number}/buckets/{bucket_id} projects/{project_number}/datasets/{dataset_id}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: projects/{project_number}/buckets/{bucket_id} projects/{project_number}/datasets/{dataset_id}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for name.

getReadAccessMode()

public abstract Asset.ResourceSpec.AccessMode getReadAccessMode()

Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets.

.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Asset.ResourceSpec.AccessMode

The readAccessMode.

getReadAccessModeValue()

public abstract int getReadAccessModeValue()

Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets.

.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for readAccessMode.

getType()

public abstract Asset.ResourceSpec.Type getType()

Required. Immutable. Type of resource.

.google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Asset.ResourceSpec.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Required. Immutable. Type of resource.

.google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

The enum numeric value on the wire for type.