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.



253
254
255
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 253

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



251
252
253
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 251

def assets
  @assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



258
259
260
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 258

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