CustomerAssetOperation

客戶資產的單一作業 (建立、更新、移除)。

JSON 表示法
{
  "updateMask": string,

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

string (FieldMask format)

FieldMask,可決定更新中會修改哪些資源欄位。

完整的逗號分隔名稱清單,範例:"user.displayName,photo"

聯集欄位 operation。Change 作業。operation 只能是下列其中一項:
create

object (CustomerAsset)

建立作業:不適用於新的客戶素材資源的資源名稱。

update

object (CustomerAsset)

更新作業:客戶素材資源應具有有效的資源名稱。

remove

string

移除作業:已移除客戶素材資源的資源名稱,格式如下:

customers/{customerId}/customerAssets/{asset_id}~{fieldType}