List
|
|||||
|
|
Lists all accounts to which the user has access
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your Google Analytics data
- Edit Google Analytics management entities
- View your Google Analytics data
Input
This building block consumes 2 input parameters
Name | Format | Description |
---|---|---|
max-results |
INTEGER |
The maximum number of accounts to include in this response |
start-index |
INTEGER |
An index of the first account to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter |
= Parameter name
= Format
max-results INTEGER The maximum number of accounts to include in this response |
start-index INTEGER An index of the first account to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter |
Output
This building block provides 20 output parameters
Name | Format | Description |
---|---|---|
items[] |
OBJECT |
JSON template for Analytics account entry |
items[].childLink |
OBJECT |
Child link for an account entry. Points to the list of web properties for this account |
items[].childLink.href |
STRING |
Link to the list of web properties for this account |
items[].childLink.type |
STRING |
Type of the child link. Its value is "analytics#webproperties" |
items[].created |
DATE_TIME |
Time the account was created |
items[].id |
STRING |
Account ID |
items[].kind |
STRING |
Resource type for Analytics account |
items[].name |
STRING |
Account name |
items[].permissions |
OBJECT |
Permissions the user has for this account |
items[].permissions.effective[] |
STRING |
|
items[].selfLink |
STRING |
Link for this account |
items[].starred |
BOOLEAN |
Indicates whether this account is starred or not |
items[].updated |
DATE_TIME |
Time the account was last modified |
itemsPerPage |
INTEGER |
The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter |
kind |
STRING |
Collection type |
nextLink |
STRING |
Next link for this account collection |
previousLink |
STRING |
Previous link for this account collection |
startIndex |
INTEGER |
The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter |
totalResults |
INTEGER |
The total number of results for the query, regardless of the number of results in the response |
username |
STRING |
Email ID of the authenticated user |
= Parameter name
= Format
items[] OBJECT JSON template for Analytics account entry |
items[].childLink OBJECT Child link for an account entry. Points to the list of web properties for this account |
items[].childLink.href STRING Link to the list of web properties for this account |
items[].childLink.type STRING Type of the child link. Its value is "analytics#webproperties" |
items[].created DATE_TIME Time the account was created |
items[].id STRING Account ID |
items[].kind STRING Resource type for Analytics account |
items[].name STRING Account name |
items[].permissions OBJECT Permissions the user has for this account |
items[].permissions.effective[] STRING |
items[].selfLink STRING Link for this account |
items[].starred BOOLEAN Indicates whether this account is starred or not |
items[].updated DATE_TIME Time the account was last modified |
itemsPerPage INTEGER The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter |
kind STRING Collection type |
nextLink STRING Next link for this account collection |
previousLink STRING Previous link for this account collection |
startIndex INTEGER The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter |
totalResults INTEGER The total number of results for the query, regardless of the number of results in the response |
username STRING Email ID of the authenticated user |