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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudasset_v1/classes.rb,
generated/google/apis/cloudasset_v1/representations.rb,
generated/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.



332
333
334
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 332

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



330
331
332
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 330

def assets
  @assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



337
338
339
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 337

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