Class: Google::Apis::MigrationcenterV1::BatchUpdateAssetsResponse
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::BatchUpdateAssetsResponse
- 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
-
#assets ⇒ Array<Google::Apis::MigrationcenterV1::Asset>
Update asset content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUpdateAssetsResponse
constructor
A new instance of BatchUpdateAssetsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#assets ⇒ Array<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 |