The Accounts collection is a set of Account resources, each of which describes the account of an authenticated user.
For a list of methods for this resource, see the end of this page.
Resource representations
JSON template for Analytics account entry.
{ "id": string, "kind": "analytics#account", "selfLink": string, "name": string, "permissions": { "effective": [ string ] }, "created": datetime, "updated": datetime, "starred": boolean, "childLink": { "type": "analytics#webproperties", "href": string } }
Property name | Value | Description | Notes |
---|---|---|---|
childLink |
object |
Child link for an account entry. Points to the list of web properties for this account. | |
childLink.href |
string |
Link to the list of web properties for this account. | |
childLink.type |
string |
Type of the child link. Its value is "analytics#webproperties ". |
|
created |
datetime |
Time the account was created. | |
id |
string |
Account ID. | |
kind |
string |
Resource type for Analytics account. | |
name |
string |
Account name. | |
permissions |
object |
Permissions the user has for this account. | |
permissions.effective[] |
list |
All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW). | |
selfLink |
string |
Link for this account. | |
starred |
boolean |
Indicates whether this account is starred or not. | |
updated |
datetime |
Time the account was last modified. |
Methods
- list
- Lists all accounts to which the user has access.