Google Cloud Dataplex V1 Client - Class Asset (1.3.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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
Google\Protobuf\Timestamp

Output only. The time when the asset was created.

↳ update_time
Google\Protobuf\Timestamp

Output only. The time when the asset was last updated.

↳ labels
array| Google\Protobuf\Internal\MapField

Optional. User defined labels for the asset.

↳ description
string

Optional. Description of the asset.

↳ state
int

Output only. Current state of the asset.

↳ resource_spec
Asset\ResourceSpec

Required. Specification of the resource that is referenced by this asset.

↳ resource_status
Asset\ResourceStatus

Output only. Status of the resource referenced by this asset.

↳ security_status
Asset\SecurityStatus

Output only. Status of the security policy applied to resource referenced by this asset.

↳ discovery_spec
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
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} .

Returns
Type
Description
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} .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDisplayName

Optional. User friendly display name.

Returns
Type
Description
string

setDisplayName

Optional. User friendly display name.

Parameter
Name
Description
var
string
Returns
Type
Description
$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.

Returns
Type
Description
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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. The time when the asset was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the asset was created.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. The time when the asset was last updated.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time when the asset was last updated.

Parameter
Name
Description
Returns
Type
Description
$this

getLabels

Optional. User defined labels for the asset.

Returns
Type
Description

setLabels

Optional. User defined labels for the asset.

Parameter
Name
Description
Returns
Type
Description
$this

getDescription

Optional. Description of the asset.

Returns
Type
Description
string

setDescription

Optional. Description of the asset.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getState

Output only. Current state of the asset.

Returns
Type
Description
int

setState

Output only. Current state of the asset.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getResourceSpec

Required. Specification of the resource that is referenced by this asset.

Returns
Type
Description

hasResourceSpec

clearResourceSpec

setResourceSpec

Required. Specification of the resource that is referenced by this asset.

Parameter
Name
Description
Returns
Type
Description
$this

getResourceStatus

Output only. Status of the resource referenced by this asset.

Returns
Type
Description

hasResourceStatus

clearResourceStatus

setResourceStatus

Output only. Status of the resource referenced by this asset.

Parameter
Name
Description
Returns
Type
Description
$this

getSecurityStatus

Output only. Status of the security policy applied to resource referenced by this asset.

Returns
Type
Description

hasSecurityStatus

clearSecurityStatus

setSecurityStatus

Output only. Status of the security policy applied to resource referenced by this asset.

Parameter
Name
Description
Returns
Type
Description
$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.

Returns
Type
Description

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.

Parameter
Name
Description
Returns
Type
Description
$this

getDiscoveryStatus

Output only. Status of the discovery feature applied to data referenced by this asset.

Returns
Type
Description

hasDiscoveryStatus

clearDiscoveryStatus

setDiscoveryStatus

Output only. Status of the discovery feature applied to data referenced by this asset.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: