AssetSetOperation

  • An AssetSetOperation represents a single operation (create, remove) on an asset set.

  • The update_mask field determines which resource fields are modified during an update operation.

  • The operation field specifies the type of mutate operation, which can be create, update, or remove.

  • A create operation does not expect a resource name for the new asset set.

  • An update operation requires the asset set to have a valid resource name, while a remove operation requires a resource name in the format customers/{customer_id}/assetSets/{asset_set_id}.

A single operation (create, remove) on an asset set.

Proto definition

Fields

operation

Union field. The mutate operation.

operation can be only one of the following:

create

AssetSet

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

remove

string

Remove operation: A resource name for the removed asset set is expected, in this format: customers/{customer_id}/assetSets/{asset_set_id}

update

AssetSet

Update operation: The asset set is expected to have a valid resource name.

update_mask

FieldMask

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