Class: Google::Apis::MigrationcenterV1alpha1::BatchUpdateAssetsResponse

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



902
903
904
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 902

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

Instance Attribute Details

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

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



900
901
902
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 900

def assets
  @assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



907
908
909
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 907

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