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

asset[RW]

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]

deleted[RW]

Whether the asset has been deleted or not. Corresponds to the JSON property `deleted` @return [Boolean]

deleted?[RW]

Whether the asset has been deleted or not. Corresponds to the JSON property `deleted` @return [Boolean]

window[RW]

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

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1beta1/classes.rb, line 2190
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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