Class: Google::Apis::CloudassetV1beta1::BatchGetAssetsHistoryResponse

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



232
233
234
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 232

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

Instance Attribute Details

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

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



230
231
232
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 230

def assets
  @assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



237
238
239
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 237

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