Class: Google::Apis::MigrationcenterV1::BatchUpdateAssetsRequest
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::BatchUpdateAssetsRequest
- 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
A request to update a list of assets.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUpdateAssetsRequest
constructor
A new instance of BatchUpdateAssetsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchUpdateAssetsRequest
Returns a new instance of BatchUpdateAssetsRequest.
657 658 659 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 657 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::MigrationcenterV1::UpdateAssetRequest>
Required. The request message specifying the resources to update. A maximum of
1000 assets can be modified in a batch.
Corresponds to the JSON property requests
655 656 657 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 655 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
662 663 664 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 662 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |