Google Cloud Migration Center V1 Client - Class BatchUpdateAssetsRequest (0.3.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setParent

Required. Parent value for batch asset update.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRequests

Required. The request message specifying the resources to update.

A maximum of 1000 assets can be modified in a batch.

Returns
TypeDescription
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
NameDescription
var array<Google\Cloud\MigrationCenter\V1\UpdateAssetRequest>
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\MigrationCenter\V1\BatchUpdateAssetsRequest