SharedSetOperation

การดำเนินการเดียว (สร้าง อัปเดต นำออก) ในชุดที่แชร์

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

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

string (FieldMask format)

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

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

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

object (SharedSet)

การดำเนินการสร้าง: คาดว่าจะไม่มีชื่อทรัพยากรสำหรับชุดที่แชร์ใหม่

update

object (SharedSet)

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

remove

string

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

customers/{customerId}/sharedSets/{shared_set_id}