AssetGroupOperation

  • A single operation (create, remove) can be performed on an asset group.

  • The update_mask field is a FieldMask that specifies which resource fields are modified during an update operation.

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

  • The create operation expects no resource name for a new asset group, while update expects a valid resource name and remove 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}