Class: Google::Apis::MigrationcenterV1::BatchUpdateAssetsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb

Overview

Response for updating a list of assets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchUpdateAssetsResponse

Returns a new instance of BatchUpdateAssetsResponse.



665
666
667
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 665

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

Instance Attribute Details

#assetsArray<Google::Apis::MigrationcenterV1::Asset>

Update asset content. The content only includes values after field mask being applied. Corresponds to the JSON property assets



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

def assets
  @assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



670
671
672
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 670

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