Class: Google::Apis::CloudassetV1::BatchGetAssetsHistoryResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb

Overview

Batch get assets history response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchGetAssetsHistoryResponse

Returns a new instance of BatchGetAssetsHistoryResponse.



639
640
641
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 639

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#assetsArray<Google::Apis::CloudassetV1::TemporalAsset>

A list of assets with valid time windows. Corresponds to the JSON property assets



637
638
639
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 637

def assets
  @assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



644
645
646
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 644

def update!(**args)
  @assets = args[:assets] if args.key?(:assets)
end