MutateAssetsRequest

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

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

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

  • Thevalidate_only field allows the request to be validated without execution, returning only errors.

Request message forAssetService.MutateAssets

Proto definition

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.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-12 UTC.