MutateAssetsRequest

  • The request message for AssetService.MutateAssets requires a customer ID and a list of operations to perform on assets.

  • You can choose to apply partial failure, allowing successful operations to proceed while invalid ones return errors.

  • The response_content_type field controls whether the full resource or just its name is returned after mutation.

  • Setting validate_only to true will validate the request without executing it, returning only errors.

Request message for AssetService.MutateAssets

Fields

customer_id

string

Required. The ID of the customer whose assets are being modified.

operations[]

AssetOperation

Required. The list of operations to perform on individual assets.

partial_failure

bool

If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.

response_content_type

ResponseContentType

The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.

validate_only

bool

If true, the request is validated but not executed. Only errors are returned, not results.