AI-generated Key Takeaways
-
A UserProfile resource allows you to list DFA user profiles associated with a Google user account, and the profileId is necessary for other API requests.
-
The JSON representation of a UserProfile includes fields such as kind, profileId, userName, accountId, accountName, subAccountId, subAccountName, and etag.
-
Methods for interacting with UserProfile resources include
getto retrieve a single profile by ID andlistto get a list of profiles for a user.
Resource: UserProfile
A UserProfile resource lets you list all DFA user profiles that are associated with a Google user account. The profileId needs to be specified in other API requests.
| JSON representation |
|---|
{ "kind" : string , "profileId" : string , "userName" : string , "accountId" : string , "accountName" : string , "subAccountId" : string , "subAccountName" : string , "etag" : string } |
| Fields | |
|---|---|
kind
|
Identifies what kind of resource this is. Value: the fixed string . |
profileId
|
The unique ID of the user profile. |
userName
|
The user name. |
accountId
|
The account ID to which this profile belongs. |
accountName
|
The account name this profile belongs to. |
subAccountId
|
The sub account ID this profile belongs to if applicable. |
subAccountName
|
The sub account name this profile belongs to if applicable. |
etag
|
Etag of this resource. |
Methods |
|
|---|---|
|
Gets one user profile by ID. |
|
Retrieves list of user profiles for a user. |

