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<Google\Cloud\MigrationCenter\V1\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<Google\Cloud\MigrationCenter\V1\UpdateAssetRequest>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. Parent value for batch asset update. Please see Google\Cloud\MigrationCenter\V1\MigrationCenterClient::locationName() for help formatting this field. |
requests |
array<Google\Cloud\MigrationCenter\V1\UpdateAssetRequest>
Required. The request message specifying the resources to update. A maximum of 1000 assets can be modified in a batch. |
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\MigrationCenter\V1\BatchUpdateAssetsRequest |
|