Dataplex V1 API - Class Google::Cloud::Dataplex::V1::CreateDataAssetRequest (v2.10.0)

Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::CreateDataAssetRequest.

Request message for creating a data asset.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data_asset

def data_asset() -> ::Google::Cloud::Dataplex::V1::DataAsset
Returns

#data_asset=

def data_asset=(value) -> ::Google::Cloud::Dataplex::V1::DataAsset
Parameter
Returns

#data_asset_id

def data_asset_id() -> ::String
Returns
  • (::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_id=

def data_asset_id=(value) -> ::String
Parameter
  • value (::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.

Returns
  • (::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.

#parent

def parent() -> ::String
Returns
  • (::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}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::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}
Returns
  • (::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}

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — Optional. Validates the request without actually creating the data asset. Defaults to false.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Validates the request without actually creating the data asset. Defaults to false.
Returns
  • (::Boolean) — Optional. Validates the request without actually creating the data asset. Defaults to false.