Google Cloud Asset V1beta1 Client - Class TemporalAsset (1.9.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

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.

Generated from protobuf field .google.cloud.asset.v1beta1.TimeWindow window = 1;

Returns
TypeDescription
Google\Cloud\Asset\V1beta1\TimeWindow

setWindow

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

Generated from protobuf field .google.cloud.asset.v1beta1.TimeWindow window = 1;

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

getDeleted

If the asset is deleted or not.

Generated from protobuf field bool deleted = 2;

Returns
TypeDescription
bool

setDeleted

If the asset is deleted or not.

Generated from protobuf field bool deleted = 2;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getAsset

Asset.

Generated from protobuf field .google.cloud.asset.v1beta1.Asset asset = 3;

Returns
TypeDescription
Google\Cloud\Asset\V1beta1\Asset

setAsset

Asset.

Generated from protobuf field .google.cloud.asset.v1beta1.Asset asset = 3;

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