An asset represents a cloud resource that is being managed within a lake as a member of a zone.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the asset was created.
#description
def description() -> ::String
Returns
- (::String) — Optional. Description of the asset.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. Description of the asset.
Returns
- (::String) — Optional. Description of the asset.
#discovery_spec
def discovery_spec() -> ::Google::Cloud::Dataplex::V1::Asset::DiscoverySpec
Returns
- (::Google::Cloud::Dataplex::V1::Asset::DiscoverySpec) — Optional. Specification of the discovery feature applied to data referenced by this asset. When this spec is left unset, the asset will use the spec set on the parent zone.
#discovery_spec=
def discovery_spec=(value) -> ::Google::Cloud::Dataplex::V1::Asset::DiscoverySpec
Parameter
- value (::Google::Cloud::Dataplex::V1::Asset::DiscoverySpec) — Optional. Specification of the discovery feature applied to data referenced by this asset. When this spec is left unset, the asset will use the spec set on the parent zone.
Returns
- (::Google::Cloud::Dataplex::V1::Asset::DiscoverySpec) — Optional. Specification of the discovery feature applied to data referenced by this asset. When this spec is left unset, the asset will use the spec set on the parent zone.
#discovery_status
def discovery_status() -> ::Google::Cloud::Dataplex::V1::Asset::DiscoveryStatus
Returns
- (::Google::Cloud::Dataplex::V1::Asset::DiscoveryStatus) — Output only. Status of the discovery feature applied to data referenced by this asset.
#display_name
def display_name() -> ::String
Returns
- (::String) — Optional. User friendly display name.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Optional. User friendly display name.
Returns
- (::String) — Optional. User friendly display name.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User defined labels for the asset.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. User defined labels for the asset.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User defined labels for the asset.
#name
def name() -> ::String
Returns
-
(::String) — Output only. The relative resource name of the asset, of the form:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}
.
#resource_spec
def resource_spec() -> ::Google::Cloud::Dataplex::V1::Asset::ResourceSpec
Returns
- (::Google::Cloud::Dataplex::V1::Asset::ResourceSpec) — Required. Specification of the resource that is referenced by this asset.
#resource_spec=
def resource_spec=(value) -> ::Google::Cloud::Dataplex::V1::Asset::ResourceSpec
Parameter
- value (::Google::Cloud::Dataplex::V1::Asset::ResourceSpec) — Required. Specification of the resource that is referenced by this asset.
Returns
- (::Google::Cloud::Dataplex::V1::Asset::ResourceSpec) — Required. Specification of the resource that is referenced by this asset.
#resource_status
def resource_status() -> ::Google::Cloud::Dataplex::V1::Asset::ResourceStatus
Returns
- (::Google::Cloud::Dataplex::V1::Asset::ResourceStatus) — Output only. Status of the resource referenced by this asset.
#security_status
def security_status() -> ::Google::Cloud::Dataplex::V1::Asset::SecurityStatus
Returns
- (::Google::Cloud::Dataplex::V1::Asset::SecurityStatus) — Output only. Status of the security policy applied to resource referenced by this asset.
#state
def state() -> ::Google::Cloud::Dataplex::V1::State
Returns
- (::Google::Cloud::Dataplex::V1::State) — Output only. Current state of the asset.
#uid
def uid() -> ::String
Returns
- (::String) — Output only. System generated globally unique ID for the asset. This ID will be different if the asset is deleted and re-created with the same name.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the asset was last updated.