Dataplex V1 API - Class Google::Cloud::Dataplex::V1::CreateAssetRequest (v0.6.0)

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

Create asset request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#asset

def asset() -> ::Google::Cloud::Dataplex::V1::Asset
Returns

#asset=

def asset=(value) -> ::Google::Cloud::Dataplex::V1::Asset
Parameter
Returns

#asset_id

def asset_id() -> ::String
Returns
  • (::String) —

    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.

#asset_id=

def asset_id=(value) -> ::String
Parameter
  • value (::String) —

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

    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.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The resource name of the parent zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the parent zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}.
Returns
  • (::String) — Required. The resource name of the parent zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}.

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.
Returns
  • (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.