Cloud Asset V1 API - Class Google::Cloud::Asset::V1::TemporalAsset (v0.30.0)

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

#asset=

def asset=(value) -> ::Google::Cloud::Asset::V1::Asset
Parameter
Returns

#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

#prior_asset_state=

def prior_asset_state=(value) -> ::Google::Cloud::Asset::V1::TemporalAsset::PriorAssetState
Parameter

#window

def window() -> ::Google::Cloud::Asset::V1::TimeWindow
Returns

#window=

def window=(value) -> ::Google::Cloud::Asset::V1::TimeWindow
Parameter
Returns