Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::TemporalAsset.
An asset in Google Cloud and its temporal metadata, including the time window when it was observed and its status during that window.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#asset
def asset() -> ::Google::Cloud::Asset::V1::Asset
Returns
- (::Google::Cloud::Asset::V1::Asset) — An asset in Google Cloud.
#asset=
def asset=(value) -> ::Google::Cloud::Asset::V1::Asset
Parameter
- value (::Google::Cloud::Asset::V1::Asset) — An asset in Google Cloud.
Returns
- (::Google::Cloud::Asset::V1::Asset) — An asset in Google Cloud.
#deleted
def deleted() -> ::Boolean
Returns
- (::Boolean) — Whether the asset has been deleted or not.
#deleted=
def deleted=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether the asset has been deleted or not.
Returns
- (::Boolean) — Whether the asset has been deleted or not.
#prior_asset
def prior_asset() -> ::Google::Cloud::Asset::V1::Asset
Returns
- (::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.
#prior_asset=
def prior_asset=(value) -> ::Google::Cloud::Asset::V1::Asset
Parameter
- value (::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.
Returns
- (::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.
#prior_asset_state
def prior_asset_state() -> ::Google::Cloud::Asset::V1::TemporalAsset::PriorAssetState
Returns
- (::Google::Cloud::Asset::V1::TemporalAsset::PriorAssetState) — State of prior_asset.
#prior_asset_state=
def prior_asset_state=(value) -> ::Google::Cloud::Asset::V1::TemporalAsset::PriorAssetState
Parameter
- value (::Google::Cloud::Asset::V1::TemporalAsset::PriorAssetState) — State of prior_asset.
Returns
- (::Google::Cloud::Asset::V1::TemporalAsset::PriorAssetState) — State of prior_asset.
#window
def window() -> ::Google::Cloud::Asset::V1::TimeWindow
Returns
- (::Google::Cloud::Asset::V1::TimeWindow) — The time window when the asset data and state was observed.
#window=
def window=(value) -> ::Google::Cloud::Asset::V1::TimeWindow
Parameter
- value (::Google::Cloud::Asset::V1::TimeWindow) — The time window when the asset data and state was observed.
Returns
- (::Google::Cloud::Asset::V1::TimeWindow) — The time window when the asset data and state was observed.