CustomerAssetOperation

  • A single operation can create, update, or remove a customer asset.

  • An update operation uses a FieldMask to specify which resource fields are modified.

  • Create operations do not require a resource name, while update and remove operations do.

  • The format for removing a customer asset includes the customer ID, asset ID, and field type.

A single operation (create, update, remove) on a customer asset.

Fields

update_mask

FieldMask

FieldMask that determines which resource fields are modified in an update.

Union field

operation

operation. The mutate operation. operation can be only one of the following:

create

CustomerAsset

Create operation: No resource name is expected for the new customer asset.

update

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/{customer_id}/customerAssets/{asset_id}~{field_type}