Google Business Performance API에는 단일 API 요청으로 여러 'DailyMetrics'를 가져올 수 있는
새로운 API 메서드가 있습니다.
v4 reportInsights API 메서드에서 Google Business Profile Performance API로 이전하려면
지원 중단 일정 및 안내를 검토하세요.
REST Resource: locations.admins
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
리소스: 관리자
JSON 표현 |
{
"name": string,
"admin": string,
"account": string,
"role": enum (AdminRole ),
"pendingInvitation": boolean
} |
필드 |
name |
string
변경할 수 없습니다. 리소스 이름입니다. 계정 관리자의 경우 accounts/{account_id}/admins/{admin_id} 형식입니다. 위치 관리자의 경우 locations/{locationId}/admins/{admin_id} 형식입니다. 관리자 생성 중에 이 필드를 설정하면 무시됩니다.
|
admin |
string
선택사항입니다. 관리자의 이름입니다. 처음 초대를 보낼 때 초대 대상자의 이메일 주소가 됩니다. GET 호출 시 초대가 아직 대기 중이면 사용자의 이메일 주소가 반환됩니다. 그렇지 않으면 사용자의 성과 이름이 포함됩니다. 이 필드는 관리자 생성 중에만 설정하면 됩니다.
|
account |
string
변경할 수 없습니다. 이 관리자가 참조하는 계정 리소스의 이름입니다. locations.admins.create를 호출하여 LocationGroup을 관리자로 초대할 때 사용됩니다. 이 필드와 admin 이 모두 CREATE 요청에서 설정된 경우 이 필드가 우선하며 admin 의 이메일 주소는 무시됩니다. 형식: accounts/{account}
|
role |
enum (AdminRole )
필수 항목입니다. 이 관리자가 지정된 계정 또는 위치에 사용하는 역할을 지정합니다.
|
pendingInvitation |
boolean
출력 전용입니다. 지정된 리소스에 대해 대기 중인 초대가 이 관리자에게 있는지 여부를 나타냅니다.
|
메서드 |
|
지정된 사용자를 지정된 위치의 관리자로 초대합니다. |
|
지정된 위치의 관리자로 지정된 관리자를 삭제합니다. |
|
지정된 위치의 모든 관리자를 나열합니다. |
|
지정된 위치의 관리자를 업데이트합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eAn Admin is an administrator of an Account or a location, with an immutable resource name and a role specifying their access level.\u003c/p\u003e\n"],["\u003cp\u003eAdmins can be invited, removed, listed, and updated for specific locations using provided methods.\u003c/p\u003e\n"],["\u003cp\u003eAdmin creation requires the \u003ccode\u003erole\u003c/code\u003e field, while optional fields include the admin's name/email and associated account.\u003c/p\u003e\n"],["\u003cp\u003eA pending invitation status is indicated for each admin, along with whether it's for an Account or Location.\u003c/p\u003e\n"],["\u003cp\u003eAdmins for Accounts are in the form \u003ccode\u003eaccounts/{account_id}/admins/{admin_id}\u003c/code\u003e and for Locations are in the form \u003ccode\u003elocations/{locationId}/admins/{admin_id}\u003c/code\u003e.\u003c/p\u003e\n"]]],["Admins, representing administrators of an Account or location, are managed via various methods. Key actions include: `create`, which invites a user to be a location administrator; `delete`, which removes an admin; `list`, to view all location admins; and `patch`, to update admin details. An admin's JSON representation includes their name, role, account affiliation, and pending invitation status. Fields such as `name`, `admin`, `account`, `role`, and `pendingInvitation` are described with their type and usage.\n"],null,["# REST Resource: locations.admins\n\n- [Resource: Admin](#Admin)\n - [JSON representation](#Admin.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Admin\n---------------\n\nAn administrator of an Account or a location.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"admin\": string, \"account\": string, \"role\": enum (/my-business/reference/accountmanagement/rest/v1/accounts.admins#Admin.AdminRole), \"pendingInvitation\": boolean } ``` |\n\n| Fields ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Immutable. The resource name. For account admins, this is in the form: `accounts/{account_id}/admins/{admin_id}` For location admins, this is in the form: `locations/{locationId}/admins/{admin_id}` This field will be ignored if set during admin creation. |\n| `admin` | `string` Optional. 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. This field is only needed to be set during admin creation. |\n| `account` | `string` Immutable. The name of the Account resource that this Admin refers to. Used when calling locations.admins.create to invite a LocationGroup as an admin. If both this field and `admin` are set on `CREATE` requests, this field takes precedence and the email address in `admin` will be ignored. Format: `accounts/{account}`. |\n| `role` | `enum (`[AdminRole](/my-business/reference/accountmanagement/rest/v1/accounts.admins#Admin.AdminRole)`)` Required. Specifies the role that this admin uses with the specified Account or Location. |\n| `pendingInvitation` | `boolean` Output only. Indicates whether this admin has a pending invitation for the specified resource. |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| ### [create](/my-business/reference/accountmanagement/rest/v1/locations.admins/create) | Invites the specified user to become an administrator for the specified location. |\n| ### [delete](/my-business/reference/accountmanagement/rest/v1/locations.admins/delete) | Removes the specified admin as a manager of the specified location. |\n| ### [list](/my-business/reference/accountmanagement/rest/v1/locations.admins/list) | Lists all of the admins for the specified location. |\n| ### [patch](/my-business/reference/accountmanagement/rest/v1/locations.admins/patch) | Updates the Admin for the specified location. |"]]