Reference documentation and code samples for the Google Cloud Migration Center V1 Client class BatchDeleteAssetsRequest.
A request to delete a list of asset.
Generated from protobuf message google.cloud.migrationcenter.v1.BatchDeleteAssetsRequest
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Parent value for batch asset delete.
↳ names
array
Required. The IDs of the assets to delete. A maximum of 1000 assets can be deleted in a batch. Format: projects/{project}/locations/{location}/assets/{name}.
↳ allow_missing
bool
Optional. When this value is set to true
the request is a no-op for non-existing assets. See https://google.aip.dev/135#delete-if-existing
for additional details. Default value is false
.
getParent
Required. Parent value for batch asset delete.
string
setParent
Required. Parent value for batch asset delete.
var
string
$this
getNames
Required. The IDs of the assets to delete.
A maximum of 1000 assets can be deleted in a batch. Format: projects/{project}/locations/{location}/assets/{name}.
setNames
Required. The IDs of the assets to delete.
A maximum of 1000 assets can be deleted in a batch. Format: projects/{project}/locations/{location}/assets/{name}.
var
string[]
$this
getAllowMissing
Optional. When this value is set to true
the request is a no-op for
non-existing assets. See https://google.aip.dev/135#delete-if-existing
for
additional details. Default value is false
.
bool
setAllowMissing
Optional. When this value is set to true
the request is a no-op for
non-existing assets. See https://google.aip.dev/135#delete-if-existing
for
additional details. Default value is false
.
var
bool
$this
static::build
parent
string
Required. Parent value for batch asset delete. Please see Google\Cloud\MigrationCenter\V1\MigrationCenterClient::locationName() for help formatting this field.
names
string[]
Required. The IDs of the assets to delete. A maximum of 1000 assets can be deleted in a batch. Format: projects/{project}/locations/{location}/assets/{name}. Please see Google\Cloud\MigrationCenter\V1\MigrationCenterClient::assetName() for help formatting this field.