AI-generated Key Takeaways
-
An Account is a resource message representing a Google Analytics account.
-
Accounts have fields such as name, creation and update times, display name, region code, and deleted status.
-
Available methods for accounts include deleting, getting, listing, patching, and retrieving data sharing settings, among others.
-
Accounts can be soft-deleted, and their change history can be searched.
Resource: Account
A resource message representing a Google Analytics account.
| JSON representation |
|---|
{ "name": string, "createTime": string, "updateTime": string, "displayName": string, "regionCode": string, "deleted": boolean, "gmpOrganization": string } |
| Fields | |
|---|---|
name |
Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100" |
createTime |
Output only. Time when this account was originally created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Time when account payload fields were last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
displayName |
Required. Human-readable display name for this account. |
regionCode |
Country of business. Must be a Unicode CLDR region code. |
deleted |
Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested. |
gmpOrganization |
Output only. The URI for a Google Marketing Platform organization resource. Only set when this account is connected to a GMP organization. Format: marketingplatformadmin.googleapis.com/organizations/{org_id} |
Methods | |
|---|---|
| Marks target Account as soft-deleted (ie: "trashed") and returns it. |
| Lookup for a single Account. |
| Get data sharing settings on an account. |
| Returns all accounts accessible by the caller. |
| Updates an account. |
| Requests a ticket for creating an account. |
| Returns a customized report of data access records. |
| Searches through all changes to an account or its children given the specified set of filters. |