public interface CreateAssetRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAsset()
public abstract Asset getAsset()
Required. Asset resource.
.google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Asset | The asset. |
getAssetId()
public abstract String getAssetId()
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.
string asset_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The assetId. |
getAssetIdBytes()
public abstract ByteString getAssetIdBytes()
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.
string asset_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for assetId. |
getAssetOrBuilder()
public abstract AssetOrBuilder getAssetOrBuilder()
Required. Asset resource.
.google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AssetOrBuilder |
getParent()
public abstract String getParent()
Required. The resource name of the parent zone:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public abstract ByteString getParentBytes()
Required. The resource name of the parent zone:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getValidateOnly()
public abstract boolean getValidateOnly()
Optional. Only validate the request, but do not perform mutations. The default is false.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | The validateOnly. |
hasAsset()
public abstract boolean hasAsset()
Required. Asset resource.
.google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the asset field is set. |