AssetGroupOperation

  • A single operation can create, remove, or update an asset group.

  • The update_mask field is used to specify which fields are modified during an update operation.

  • The operation field is a union field that determines the type of mutate operation.

  • The create operation does not require a resource name, while update and remove operations do.

  • The remove operation expects the asset group's resource name in a specific format.

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

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

AssetGroup

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

update

AssetGroup

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

remove

string

Remove operation: A resource name for the removed asset group is expected, in this format: customers/{customer_id}/assetGroups/{asset_group_id}