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 | |
---|---|
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.
Generated from protobuf field .google.cloud.asset.v1beta1.TimeWindow window = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\Asset\V1beta1\TimeWindow
|
Returns | |
---|---|
Type | Description |
$this |
getDeleted
If the asset is deleted or not.
Generated from protobuf field bool deleted = 2;
Returns | |
---|---|
Type | Description |
bool |
setDeleted
If the asset is deleted or not.
Generated from protobuf field bool deleted = 2;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getAsset
Asset.
Generated from protobuf field .google.cloud.asset.v1beta1.Asset asset = 3;
Returns | |
---|---|
Type | Description |
Google\Cloud\Asset\V1beta1\Asset |
setAsset
Asset.
Generated from protobuf field .google.cloud.asset.v1beta1.Asset asset = 3;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Asset\V1beta1\Asset
|
Returns | |
---|---|
Type | Description |
$this |