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
- (::Google::Cloud::Dataplex::V1::Asset) — Required. Asset resource.
#asset=
def asset=(value) -> ::Google::Cloud::Dataplex::V1::Asset
- value (::Google::Cloud::Dataplex::V1::Asset) — Required. Asset resource.
- (::Google::Cloud::Dataplex::V1::Asset) — Required. Asset resource.
#asset_id
def asset_id() -> ::String
-
(::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
-
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.
-
(::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
-
(::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
-
value (::String) — Required. The resource name of the parent zone:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}
.
-
(::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
- (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.
#validate_only=
def validate_only=(value) -> ::Boolean
- value (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.
- (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.