Method: users.patch
อัปเดตสิทธิ์เข้าถึงบัญชีนักพัฒนาแอปสำหรับผู้ใช้
คำขอ HTTP
PATCH https://androidpublisher.googleapis.com/androidpublisher/v3/{user.name=developers/*/users/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
user.name |
string
ต้องระบุ ชื่อทรัพยากรของผู้ใช้รายนี้ตามรูปแบบ "developers/{developer}/users/{email}"
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
updateMask |
string (FieldMask format)
ไม่บังคับ รายการช่องที่จะอัปเดต ซึ่งเป็นรายการชื่อฟิลด์ที่สมบูรณ์ในตัวเองที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ User
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ User
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidpublisher
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-12-18 UTC
[null,null,["อัปเดตล่าสุด 2024-12-18 UTC"],[[["Updates a developer account user's access."],["Uses an HTTP PATCH request to the specified URL with path and query parameters."],["The request body and response body both utilize the `User` object for data transfer."],["Requires authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document details updating user access in a developer account via a `PATCH` HTTP request to `https://androidpublisher.googleapis.com/androidpublisher/v3/{user.name=developers/*/users/*}`. It uses gRPC Transcoding syntax. The `user.name` path parameter is required. The `updateMask` query parameter, a comma-separated list of fields, is optional. The request and response bodies are instances of the `User` object. The process requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization.\n"]]