Google Business Performance API has a
NEW API method that allows fetching multiple `DailyMetrics` in a single API request. Review the
deprecation schedule and instructions to migrate over from v4 reportInsights API method to Google Business Profile Performance API.
REST Resource: accounts.locations.admins
Resource: Admin
JSON representation |
{
"name": string,
"adminName": string,
"role": enum (AdminRole ),
"pendingInvitation": boolean
} |
Fields |
name |
string
The resource name. For account admins, this is in the form: accounts/{accountId}/admins/{adminId} For location admins, this is in the form: accounts/{accountId}/locations/{locationId}/admins/{adminId}
|
adminName |
string
The name of the admin. When making the initial invitation, this is the invitee's email address. On GET calls, the user's email address is returned if the invitation is still pending. Otherwise, it contains the user's first and last names.
|
role |
enum (AdminRole )
Specifies the AdminRole that this admin uses with the specified Account or Location resource.
|
pendingInvitation |
boolean
Output only. Indicates whether this admin has a pending invitation for the specified resource.
|
Methods |
create (deprecated)
|
Invites the specified user to become an administrator for the specified location. |
delete (deprecated)
|
Removes the specified admin as a manager of the specified location. |
list (deprecated)
|
Lists all of the admins for the specified location. |
patch (deprecated)
|
Updates the Admin for the specified Location Admin. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["An Admin resource represents an administrator for a Google My Business Account or Location, with details such as name, role, and pending invitation status."],["Admins have specific roles within an Account or Location, and their information is organized in a structured JSON format."],["You can manage Admins (inviting, removing, updating, or viewing them) using dedicated methods, although some methods like `create`, `delete`, `list`, and `patch` are currently deprecated."],["The `Admin` resource includes fields like `name`, `adminName`, `role`, and `pendingInvitation` to provide comprehensive information about the administrator."]]],[]]