Reference documentation and code samples for the Google Cloud Dataplex V1 Client class CreateDataAssetRequest.
Request message for creating a data asset.
Generated from protobuf message google.cloud.dataplex.v1.CreateDataAssetRequest
Namespace
Google \ Cloud \ Dataplex \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}
↳ data_asset_id
string
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.
↳ data_asset
↳ validate_only
bool
Optional. Validates the request without actually creating the data asset. Defaults to false.
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
setParent
Required. The parent resource where this data asset will be created.
Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}
var
string
$this
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
setDataAssetId
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.
var
string
$this
getDataAsset
Required. The data asset to create.
hasDataAsset
clearDataAsset
setDataAsset
Required. The data asset to create.
$this
getValidateOnly
Optional. Validates the request without actually creating the data asset.
Defaults to false.
bool
setValidateOnly
Optional. Validates the request without actually creating the data asset.
Defaults to false.
var
bool
$this
static::build
parent
string
Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} Please see DataProductServiceClient::dataProductName() for help formatting this field.
dataAsset
dataAssetId
string
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.

