Reference documentation and code samples for the Google Cloud Asset V1 Client class TemporalAsset.
An asset in Google Cloud and its temporal metadata, including the time window when it was observed and its status during that window.
Generated from protobuf message google.cloud.asset.v1.TemporalAsset
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ window |
Google\Cloud\Asset\V1\TimeWindow
The time window when the asset data and state was observed. |
↳ deleted |
bool
Whether the asset has been deleted or not. |
↳ asset |
Google\Cloud\Asset\V1\Asset
An asset in Google Cloud. |
↳ prior_asset_state |
int
State of prior_asset. |
↳ prior_asset |
Google\Cloud\Asset\V1\Asset
Prior copy of the asset. Populated if prior_asset_state is PRESENT. Currently this is only set for responses in Real-Time Feed. |
getWindow
The time window when the asset data and state was observed.
Generated from protobuf field .google.cloud.asset.v1.TimeWindow window = 1;
Returns | |
---|---|
Type | Description |
Google\Cloud\Asset\V1\TimeWindow|null |
hasWindow
clearWindow
setWindow
The time window when the asset data and state was observed.
Generated from protobuf field .google.cloud.asset.v1.TimeWindow window = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Asset\V1\TimeWindow
|
Returns | |
---|---|
Type | Description |
$this |
getDeleted
Whether the asset has been deleted or not.
Generated from protobuf field bool deleted = 2;
Returns | |
---|---|
Type | Description |
bool |
setDeleted
Whether the asset has been deleted or not.
Generated from protobuf field bool deleted = 2;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getAsset
An asset in Google Cloud.
Generated from protobuf field .google.cloud.asset.v1.Asset asset = 3;
Returns | |
---|---|
Type | Description |
Google\Cloud\Asset\V1\Asset|null |
hasAsset
clearAsset
setAsset
An asset in Google Cloud.
Generated from protobuf field .google.cloud.asset.v1.Asset asset = 3;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Asset\V1\Asset
|
Returns | |
---|---|
Type | Description |
$this |
getPriorAssetState
State of prior_asset.
Generated from protobuf field .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
Returns | |
---|---|
Type | Description |
int |
setPriorAssetState
State of prior_asset.
Generated from protobuf field .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPriorAsset
Prior copy of the asset. Populated if prior_asset_state is PRESENT.
Currently this is only set for responses in Real-Time Feed.
Generated from protobuf field .google.cloud.asset.v1.Asset prior_asset = 5;
Returns | |
---|---|
Type | Description |
Google\Cloud\Asset\V1\Asset|null |
hasPriorAsset
clearPriorAsset
setPriorAsset
Prior copy of the asset. Populated if prior_asset_state is PRESENT.
Currently this is only set for responses in Real-Time Feed.
Generated from protobuf field .google.cloud.asset.v1.Asset prior_asset = 5;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Asset\V1\Asset
|
Returns | |
---|---|
Type | Description |
$this |