Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

AssetGroupAssetOperation

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

JSON representation
{
  "updateMask": string,

  // Union field operation can be only one of the following:
  "create": {
    object (AssetGroupAsset)
  },
  "update": {
    object (AssetGroupAsset)
  },
  "remove": string
  // End of list of possible types for union field operation.
}
Fields
updateMask

string (FieldMask format)

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

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Union field operation. The mutate operation. operation can be only one of the following:
create

object (AssetGroupAsset)

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

update

object (AssetGroupAsset)

Update operation: The asset group asset sis 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/{customerId}/assetGroupAssets/{asset_group_id}~{asset_id}~{fieldType}