- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- CascadingRule
- CascadeLogicalDBsRule
Deletes list of Assets.
HTTP request
POST https://migrationcenter.googleapis.com/v1alpha1/{parent=projects/*/locations/*}/assets:batchDelete
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Parent value for batch asset delete. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"names": [
string
],
"allowMissing": boolean,
"cascadingRules": [
{
object ( |
Fields | |
---|---|
names[] |
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 |
Optional. When this value is set to |
cascading |
Optional. Optional cascading rules for deleting related assets. |
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
CascadingRule
Specifies cascading rules for traversing relations.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field
|
|
cascade |
Cascading rule for related logical DBs. |
CascadeLogicalDBsRule
This type has no fields.
Cascading rule for related logical DBs.