MutateAssetsRequest

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

  • The partial_failure field determines if valid operations proceed when others fail, defaulting to false.

  • The response_content_type field controls what is returned after mutation (resource or just the name).

  • The validate_only field allows the request to be validated without execution, 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.