Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the
REST Introduction for details.
CustomerAssetOperation
A single operation (create, update, remove) on a customer asset.
JSON representation |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (CustomerAsset )
},
"update": {
object (CustomerAsset )
},
"remove": string
// End of list of possible types for union field operation .
} |
Fields |
updateMask |
string (FieldMask format)
FieldMask that determines which resource fields are modified in an update. This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
Union field operation . The mutate operation. operation can be only one of the following: |
create |
object (CustomerAsset )
Create operation: No resource name is expected for the new customer asset.
|
update |
object (CustomerAsset )
Update operation: The customer asset is expected to have a valid resource name.
|
remove |
string
Remove operation: A resource name for the removed customer asset is expected, in this format: customers/{customerId}/customerAssets/{assetId}~{fieldType}
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-30 UTC.
[null,null,["Last updated 2025-05-30 UTC."],[[["This operation allows for creating, updating, or removing a single customer asset."],["It uses JSON format to define the operation type and the data for the asset."],["An `updateMask` field specifies the fields to be modified during an update operation."],["The `operation` field indicates whether to create, update, or remove, each with specific data requirements."],["Resources are identified using resource names, with specific formats for removal operations."]]],[]]