Asset(mapping=None, *, ignore_unknown_fields=False, **kwargs)
An asset represents a cloud resource that is being managed within a lake as a member of a zone.
Attributes | |
---|---|
Name | Description |
name |
str
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} .
|
display_name |
str
Optional. User friendly display name. |
uid |
str
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. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the asset was created. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the asset was last updated. |
labels |
Sequence[google.cloud.dataplex_v1.types.Asset.LabelsEntry]
Optional. User defined labels for the asset. |
description |
str
Optional. Description of the asset. |
state |
google.cloud.dataplex_v1.types.State
Output only. Current state of the asset. |
resource_spec |
google.cloud.dataplex_v1.types.Asset.ResourceSpec
Required. Specification of the resource that is referenced by this asset. |
resource_status |
google.cloud.dataplex_v1.types.Asset.ResourceStatus
Output only. Status of the resource referenced by this asset. |
security_status |
google.cloud.dataplex_v1.types.Asset.SecurityStatus
Output only. Status of the security policy applied to resource referenced by this asset. |
discovery_spec |
google.cloud.dataplex_v1.types.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 |
google.cloud.dataplex_v1.types.Asset.DiscoveryStatus
Output only. Status of the discovery feature applied to data referenced by this asset. |
Classes
DiscoverySpec
DiscoverySpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Settings to manage the metadata discovery and publishing for an asset.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
DiscoveryStatus
DiscoveryStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Status of discovery for an asset.
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
ResourceSpec
ResourceSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Identifies the cloud resource that is referenced by this asset.
ResourceStatus
ResourceStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Status of the resource referenced by an asset.
SecurityStatus
SecurityStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Security policy status of the asset. Data security policy, i.e., readers, writers & owners, should be specified in the lake/zone/asset IAM policy.