class Google::Apis::CloudassetV1beta1::TemporalAsset
An asset in Google
Cloud and its temporal metadata, including the time window when it was observed and its status during that window.
Attributes
An asset in Google
Cloud. An asset can be any resource in the Google
Cloud [ resource hierarchy](cloud.google.com/resource-manager/docs/cloud- platform-resource-hierarchy), a resource outside the Google
Cloud resource hierarchy (such as Google
Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). See [Supported asset types](cloud.google.com/ asset-inventory/docs/supported-asset-types) for more information. Corresponds to the JSON property `asset` @return [Google::Apis::CloudassetV1beta1::Asset]
Whether the asset has been deleted or not. Corresponds to the JSON property `deleted` @return [Boolean]
Whether the asset has been deleted or not. Corresponds to the JSON property `deleted` @return [Boolean]
A time window specified by its `start_time` and `end_time`. Corresponds to the JSON property `window` @return [Google::Apis::CloudassetV1beta1::TimeWindow]
Public Class Methods
# File lib/google/apis/cloudasset_v1beta1/classes.rb, line 2190 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudasset_v1beta1/classes.rb, line 2195 def update!(**args) @asset = args[:asset] if args.key?(:asset) @deleted = args[:deleted] if args.key?(:deleted) @window = args[:window] if args.key?(:window) end