Google Cloud Asset V1beta1 Client - Class TemporalAsset (1.16.2)

Reference documentation and code samples for the Google Cloud Asset V1beta1 Client class TemporalAsset.

Temporal asset. In addition to the asset, the temporal asset includes the status of the asset and valid from and to time of it.

Generated from protobuf message google.cloud.asset.v1beta1.TemporalAsset

Namespace

Google \ Cloud \ Asset \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ window Google\Cloud\Asset\V1beta1\TimeWindow

The time window when the asset data and state was observed.

↳ deleted bool

If the asset is deleted or not.

↳ asset Google\Cloud\Asset\V1beta1\Asset

Asset.

getWindow

The time window when the asset data and state was observed.

Returns
Type Description
Google\Cloud\Asset\V1beta1\TimeWindow

setWindow

The time window when the asset data and state was observed.

Parameter
Name Description
var Google\Cloud\Asset\V1beta1\TimeWindow
Returns
Type Description
$this

getDeleted

If the asset is deleted or not.

Returns
Type Description
bool

setDeleted

If the asset is deleted or not.

Parameter
Name Description
var bool
Returns
Type Description
$this

getAsset

Asset.

Returns
Type Description
Google\Cloud\Asset\V1beta1\Asset

setAsset

Asset.

Parameter
Name Description
var Google\Cloud\Asset\V1beta1\Asset
Returns
Type Description
$this