Returns a user profile. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access this user profile. * `NOT_FOUND` if the profile does not exist.
get(userId, x__xgafv=None)
Returns a user profile. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access this user profile. * `NOT_FOUND` if the profile does not exist.
Args:
userId: string, Identifier of the profile to return, or an alias the identifies the user. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating the requesting user (required)
x__xgafv: string, V1 error format.
Returns:
An object of the form:
{ # Global information for a user.
"permissions": [ # Global permissions of the user. Read-only
{ # Global user permission description.
"permission": "A String", # Permission value.
},
],
"photoUrl": "A String", # Url of user's profile photo. Read-only
"emailAddress": "A String", # E-mail address of the user. Read-only
"id": "A String", # Unique identifier of the user. Read-only
"name": { # Details of the user's name. # Name of the user. Read-only
"fullName": "A String", # The user's full name formed by concatenating the first and last name values. Read-only
"givenName": "A String", # The user's first name. Read-only
"familyName": "A String", # The user's last name. Read-only
},
}