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

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

Overview

Batch get assets history response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BatchGetAssetsHistoryResponse

Returns a new instance of BatchGetAssetsHistoryResponse



228
229
230
# File 'generated/google/apis/cloudasset_v1beta1/classes.rb', line 228

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



226
227
228
# File 'generated/google/apis/cloudasset_v1beta1/classes.rb', line 226

def assets
  @assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



233
234
235
# File 'generated/google/apis/cloudasset_v1beta1/classes.rb', line 233

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