Google Cloud Asset V1beta1 Client - Class TemporalAsset (1.12.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
NameDescription
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
TypeDescription
Google\Cloud\Asset\V1beta1\TimeWindow

setWindow

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

Parameter
NameDescription
var Google\Cloud\Asset\V1beta1\TimeWindow
Returns
TypeDescription
$this

getDeleted

If the asset is deleted or not.

Returns
TypeDescription
bool

setDeleted

If the asset is deleted or not.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getAsset

Asset.

Returns
TypeDescription
Google\Cloud\Asset\V1beta1\Asset

setAsset

Asset.

Parameter
NameDescription
var Google\Cloud\Asset\V1beta1\Asset
Returns
TypeDescription
$this