AssetGroupOperation

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

  • The update_mask field uses a FieldMask to determine which resource fields are modified during an update.

  • The operation field is a union field that can be either create, update, or remove.

  • The create operation expects no resource name, the update operation expects a valid resource name, and the remove operation expects a 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}