[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-22 UTC."],[[["Retrieves a thumbnail photo of a specific user using their primary email, alias email, or unique user ID."],["Requires authorization with specific OAuth scopes related to user data access."],["Uses a `GET` request to a defined endpoint with the user identifier as a path parameter."],["The response will contain the user's photo data within the `UserPhoto` object if successful."],["The request body should be empty."]]],["The core function is to retrieve a user's photo via a `GET` request to a specific URL. The URL requires a `userKey` path parameter, which can be the user's primary email, alias, or unique ID. The request body must be empty. A successful response returns a `UserPhoto` instance. Authorization requires one of two specified OAuth scopes: `admin.directory.user` or `admin.directory.user.readonly`.\n"]]