AssetOperation

การดำเนินการรายการเดียวเพื่อสร้างเนื้อหา ประเภทชิ้นงานที่รองรับ ได้แก่ YouTubeVideoAsset, MediaBundleAsset, ImageAsset, LeadFormAsset, LocationAsset และ ImageAsset คุณสามารถสร้าง TextAsset พร้อมโฆษณาในบรรทัด แต่ก็สร้างนอกเหนือจากโฆษณาได้เช่นเดียวกับชิ้นงานอื่นๆ เช่นกัน

การแสดง JSON
{
  "updateMask": string,

  // Union field operation can be only one of the following:
  "create": {
    object (Asset)
  },
  "update": {
    object (Asset)
  }
  // End of list of possible types for union field operation.
}
ช่อง
updateMask

string (FieldMask format)

FieldMask ที่กำหนดว่าจะมีการแก้ไขฟิลด์ทรัพยากรใดในการอัปเดต

ซึ่งเป็นรายการชื่อฟิลด์ที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"

ฟิลด์การรวม operation การดำเนินการเปลี่ยนแปลง operation ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้
create

object (Asset)

การดำเนินการสร้าง: คาดหวังชื่อทรัพยากรสำหรับเนื้อหาใหม่

update

object (Asset)

การดำเนินการอัปเดต: เนื้อหาควรมีชื่อทรัพยากรที่ถูกต้องในรูปแบบนี้

customers/{customerId}/assets/{asset_id}