AssetGroupAssetOperation

  • This content describes a single operation on an asset group asset, which can be creating, updating, or removing it.

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

  • The operation field is a union that indicates the type of mutate operation being performed: create, update, or remove.

  • A create operation does not require a resource name, while update and remove operations require a valid resource name, with remove having a specific format.

A single operation (create, remove) on an asset group 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

AssetGroupAsset

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

update

AssetGroupAsset

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

remove

string

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