Package com.google.cloud.dataplex.v1
Interface CreateDataAssetRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateDataAssetRequest,CreateDataAssetRequest.Builder
@Generated
public interface CreateDataAssetRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Optional.com.google.protobuf.ByteStringOptional.Required.Required.com.google.protobuf.ByteStringRequired.booleanOptional.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
getDataAssetId
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]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used.string data_asset_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The dataAssetId.
-
getDataAssetIdBytes
com.google.protobuf.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]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used.string data_asset_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for dataAssetId.
-
hasDataAsset
boolean hasDataAsset()Required. The data asset to create.
.google.cloud.dataplex.v1.DataAsset data_asset = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the dataAsset field is set.
-
getDataAsset
DataAsset getDataAsset()Required. The data asset to create.
.google.cloud.dataplex.v1.DataAsset data_asset = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The dataAsset.
-
getDataAssetOrBuilder
DataAssetOrBuilder getDataAssetOrBuilder()Required. The data asset to create.
.google.cloud.dataplex.v1.DataAsset data_asset = 3 [(.google.api.field_behavior) = REQUIRED]; -
getValidateOnly
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:
- The validateOnly.
-