Method: deployments.groups.update
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
อัปเดต group
แสดงผล INVALID_ARGUMENT หากชื่อกลุ่มไม่ว่างเปล่าและไม่เท่ากับชื่อที่มีอยู่
คำขอ HTTP
PUT https://androidovertheair.googleapis.com/v1/{name=deployments/*/groups/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ชื่อทรัพยากรแบบสัมพัทธ์ ตัวอย่างเช่น: "Deployments/deployment_x/groups/group_g"
|
เนื้อหาของคำขอ
เนื้อหาของคำขอมีข้อมูลที่มีโครงสร้างต่อไปนี้
การแสดง JSON |
{
"group": {
object (Group )
},
"versionTag": {
object (VersionTag )
}
} |
ช่อง |
group |
object (Group )
ต้องระบุ Group ที่จะอัปเดต
|
versionTag |
object (VersionTag )
ต้องระบุ กลุ่มที่จะอัปเดตควรตรงกับเวอร์ชันนี้ หากไคลเอ็นต์อื่นอัปเดตการกำหนดค่าที่มีอยู่พร้อมกัน การดำเนินการอัปเดตจะล้มเหลว
|
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Group
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/android_partner_over_the_air
สำหรับข้อมูลเพิ่มเติม โปรดดูที่ภาพรวมของ OAuth 2.0
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-10 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-09-10 UTC"],[[["This operation updates an existing Android Over-the-Air (OTA) deployment group with new information."],["You will need to provide the group name and details about the group you want to update in the request."],["To avoid concurrent update conflicts, a version tag is required to ensure data consistency."],["A successful update will return the details of the updated group."],["You need appropriate authorization using the `https://www.googleapis.com/auth/android_partner_over_the_air` OAuth scope."]]],["This document details how to update a group using a `PUT` HTTP request to `https://androidovertheair.googleapis.com/v1/{name=deployments/*/groups/*}`. The `name` parameter in the URL specifies the group to update. The request body, in JSON format, requires a `group` object for updating, and a `versionTag` object. Successful updates return a `Group` instance in the response. This action requires the `https://www.googleapis.com/auth/android_partner_over_the_air` authorization scope. The update will fail if the group name is non-empty and not equal to the existing name, or if another client concurrently updates the config.\n"]]