Class: Google::Cloud::Asset::V1::TemporalAsset
- Inherits:
-
Object
- Object
- Google::Cloud::Asset::V1::TemporalAsset
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/asset/v1/assets.rb
Overview
An asset in Google Cloud and its temporal metadata, including the time window when it was observed and its status during that window.
Defined Under Namespace
Modules: PriorAssetState
Instance Attribute Summary collapse
-
#asset ⇒ ::Google::Cloud::Asset::V1::Asset
An asset in Google Cloud.
-
#deleted ⇒ ::Boolean
Whether the asset has been deleted or not.
-
#prior_asset ⇒ ::Google::Cloud::Asset::V1::Asset
Prior copy of the asset.
-
#prior_asset_state ⇒ ::Google::Cloud::Asset::V1::TemporalAsset::PriorAssetState
State of prior_asset.
-
#window ⇒ ::Google::Cloud::Asset::V1::TimeWindow
The time window when the asset data and state was observed.
Instance Attribute Details
#asset ⇒ ::Google::Cloud::Asset::V1::Asset
Returns An asset in Google Cloud.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 42 class TemporalAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of prior asset. module PriorAssetState # prior_asset is not applicable for the current asset. PRIOR_ASSET_STATE_UNSPECIFIED = 0 # prior_asset is populated correctly. PRESENT = 1 # Failed to set prior_asset. INVALID = 2 # Current asset is the first known state. DOES_NOT_EXIST = 3 # prior_asset is a deletion. DELETED = 4 end end |
#deleted ⇒ ::Boolean
Returns Whether the asset has been deleted or not.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 42 class TemporalAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of prior asset. module PriorAssetState # prior_asset is not applicable for the current asset. PRIOR_ASSET_STATE_UNSPECIFIED = 0 # prior_asset is populated correctly. PRESENT = 1 # Failed to set prior_asset. INVALID = 2 # Current asset is the first known state. DOES_NOT_EXIST = 3 # prior_asset is a deletion. DELETED = 4 end end |
#prior_asset ⇒ ::Google::Cloud::Asset::V1::Asset
Returns Prior copy of the asset. Populated if prior_asset_state is PRESENT. Currently this is only set for responses in Real-Time Feed.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 42 class TemporalAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of prior asset. module PriorAssetState # prior_asset is not applicable for the current asset. PRIOR_ASSET_STATE_UNSPECIFIED = 0 # prior_asset is populated correctly. PRESENT = 1 # Failed to set prior_asset. INVALID = 2 # Current asset is the first known state. DOES_NOT_EXIST = 3 # prior_asset is a deletion. DELETED = 4 end end |
#prior_asset_state ⇒ ::Google::Cloud::Asset::V1::TemporalAsset::PriorAssetState
Returns State of prior_asset.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 42 class TemporalAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of prior asset. module PriorAssetState # prior_asset is not applicable for the current asset. PRIOR_ASSET_STATE_UNSPECIFIED = 0 # prior_asset is populated correctly. PRESENT = 1 # Failed to set prior_asset. INVALID = 2 # Current asset is the first known state. DOES_NOT_EXIST = 3 # prior_asset is a deletion. DELETED = 4 end end |
#window ⇒ ::Google::Cloud::Asset::V1::TimeWindow
Returns The time window when the asset data and state was observed.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 42 class TemporalAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of prior asset. module PriorAssetState # prior_asset is not applicable for the current asset. PRIOR_ASSET_STATE_UNSPECIFIED = 0 # prior_asset is populated correctly. PRESENT = 1 # Failed to set prior_asset. INVALID = 2 # Current asset is the first known state. DOES_NOT_EXIST = 3 # prior_asset is a deletion. DELETED = 4 end end |