ข้อควรระวัง: คุณกําลังดูเอกสารประกอบสําหรับอินเทอร์เฟซ REST ของ API ไลบรารีของไคลเอ็นต์อย่างเป็นทางการส่วนใหญ่ของเราใช้ gRPC โปรดดูรายละเอียดใน
บทนํา REST
AudienceOperation
การดำเนินการเดียว (สร้าง อัปเดต) กับกลุ่มเป้าหมาย
การแสดง JSON |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (Audience )
},
"update": {
object (Audience )
}
// End of list of possible types for union field operation .
} |
ช่อง |
updateMask |
string (FieldMask format)
FieldMask ที่กําหนดว่าฟิลด์ทรัพยากรใดจะได้รับการแก้ไขในการอัปเดต ซึ่งเป็นรายการชื่อฟิลด์ที่สมบูรณ์ในตัวเองที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
ฟิลด์สหภาพ operation การดำเนินการเปลี่ยนแปลง operation ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้เท่านั้น |
create |
object (Audience )
การดำเนินการสร้าง: ไม่ควรมีชื่อทรัพยากรสําหรับกลุ่มเป้าหมายใหม่
|
update |
object (Audience )
การดำเนินการอัปเดต: กลุ่มเป้าหมายควรมีชื่อทรัพยากรที่ถูกต้อง
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-03-06 UTC
[null,null,["อัปเดตล่าสุด 2025-03-06 UTC"],[[["This page describes the JSON schema for a single operation (create or update) on an audience."],["The `operation` field determines whether to create or update, with corresponding object data for the audience."],["When creating, no resource name is needed; when updating, a valid resource name is required for the audience."],["The `updateMask` field specifies which fields of the resource are modified in an update operation using FieldMask format."]]],[]]