Autentikasi pengguna Anda dapat mengautentikasi dan memberi otorisasi metode ini dengan hak istimewa administrator dengan menetapkan kolom useAdminAccess dalam permintaan.
[[["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-11-12 UTC."],[[["This method updates a Google Chat membership, allowing you to modify aspects like user roles within a space."],["It supports both app and user authentication, with an option for administrator privileges using `useAdminAccess`."],["Requires specifying fields to update with `updateMask` and includes optional use of administrator privileges."],["You need appropriate OAuth scopes such as `chat.app.memberships` or `chat.admin.memberships` for authorization."]]],["This documentation details updating a membership via a `PATCH` HTTP request to `https://chat.googleapis.com/v1/{membership.name=spaces/*/members/*}`. Key actions include setting the `membership.name` path parameter and using the `updateMask` query parameter to specify fields for updating, such as `role`. Optionally, `useAdminAccess` can grant administrator privileges. The request body defines the new membership details, and the response body will contain updated membership information. Multiple authorization scopes are required.\n"]]