Reference documentation and code samples for the Google Cloud Dataplex V1 Client class Asset.
An asset represents a cloud resource that is being managed within a lake as a member of a zone.
Generated from protobuf message google.cloud.dataplex.v1.Asset
Namespace
Google \ Cloud \ Dataplex \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
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}
.
↳ display_name
string
Optional. User friendly display name.
↳ uid
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.
↳ create_time
↳ update_time
↳ labels
↳ description
string
Optional. Description of the asset.
↳ state
int
Output only. Current state of the asset.
↳ resource_spec
Google\Cloud\Dataplex\V1\Asset\ResourceSpec
Required. Specification of the resource that is referenced by this asset.
↳ resource_status
Google\Cloud\Dataplex\V1\Asset\ResourceStatus
Output only. Status of the resource referenced by this asset.
↳ security_status
Google\Cloud\Dataplex\V1\Asset\SecurityStatus
Output only. Status of the security policy applied to resource referenced by this asset.
↳ discovery_spec
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
Google\Cloud\Dataplex\V1\Asset\DiscoveryStatus
Output only. Status of the discovery feature applied to data referenced by this asset.
getName
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}
.
string
setName
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}
.
var
string
$this
getDisplayName
Optional. User friendly display name.
string
setDisplayName
Optional. User friendly display name.
var
string
$this
getUid
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.
string
setUid
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.
var
string
$this
getCreateTime
Output only. The time when the asset was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the asset was created.
$this
getUpdateTime
Output only. The time when the asset was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the asset was last updated.
$this
getLabels
Optional. User defined labels for the asset.
setLabels
Optional. User defined labels for the asset.
$this
getDescription
Optional. Description of the asset.
string
setDescription
Optional. Description of the asset.
var
string
$this
getState
Output only. Current state of the asset.
int
setState
Output only. Current state of the asset.
var
int
$this
getResourceSpec
Required. Specification of the resource that is referenced by this asset.
hasResourceSpec
clearResourceSpec
setResourceSpec
Required. Specification of the resource that is referenced by this asset.
$this
getResourceStatus
Output only. Status of the resource referenced by this asset.
hasResourceStatus
clearResourceStatus
setResourceStatus
Output only. Status of the resource referenced by this asset.
$this
getSecurityStatus
Output only. Status of the security policy applied to resource referenced by this asset.
hasSecurityStatus
clearSecurityStatus
setSecurityStatus
Output only. Status of the security policy applied to resource referenced by this asset.
$this
getDiscoverySpec
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.
hasDiscoverySpec
clearDiscoverySpec
setDiscoverySpec
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.
$this
getDiscoveryStatus
Output only. Status of the discovery feature applied to data referenced by this asset.
hasDiscoveryStatus
clearDiscoveryStatus
setDiscoveryStatus
Output only. Status of the discovery feature applied to data referenced by this asset.
$this