Memperbarui izin Label. Jika izin untuk akun utama yang ditunjukkan tidak ada, Izin Label baru akan dibuat. Jika tidak, izin yang ada akan diperbarui. Izin memengaruhi resource Label secara keseluruhan, tidak direvisi, dan tidak memerlukan publikasi.
Permintaan HTTP
POST https://drivelabels.googleapis.com/v2beta/{parent=labels/*/revisions/*}/permissions
Wajib. Nama resource Label induk pada Izin Label akan dibuat. Format: label/{label}
Parameter kueri
Parameter
useAdminAccess
boolean
Tetapkan ke true agar kredensial admin pengguna dapat digunakan. Server akan memverifikasi bahwa pengguna adalah admin untuk Label sebelum mengizinkan akses.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-09-04 UTC."],[[["This API updates a Label's permissions, creating a new Label Permission if one doesn't exist for the specified principal or updating the existing permission."],["Permissions applied through this API affect the entire Label resource, are not revisioned, and do not require publishing."],["The request should be sent as a POST request to the provided URL with necessary path and query parameters, including a request body containing a LabelPermission instance."],["Successful requests will receive a response body containing the newly created or updated LabelPermission instance."],["To use this API, you'll need authorization with specific OAuth scopes related to Drive Labels."]]],[]]