Reference documentation and code samples for the Google Cloud Migration Center V1 Client class BatchUpdateAssetsRequest.
A request to update a list of assets.
Generated from protobuf message google.cloud.migrationcenter.v1.BatchUpdateAssetsRequest
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Parent value for batch asset update. |
↳ requests |
array<UpdateAssetRequest>
Required. The request message specifying the resources to update. A maximum of 1000 assets can be modified in a batch. |
getParent
Required. Parent value for batch asset update.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. Parent value for batch asset update.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRequests
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRequests
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
Parameter | |
---|---|
Name | Description |
var |
array<UpdateAssetRequest>
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. Parent value for batch asset update. Please see MigrationCenterClient::locationName() for help formatting this field. |
requests |
array<UpdateAssetRequest>
Required. The request message specifying the resources to update. A maximum of 1000 assets can be modified in a batch. |
Returns | |
---|---|
Type | Description |
BatchUpdateAssetsRequest |