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.



658
659
660
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 658

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



656
657
658
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 656

def assets
  @assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



663
664
665
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 663

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