Google 애널리틱스용 MCP 서버를 사용해 보세요.
GitHub에서 설치하고
공지사항에서 자세한 내용을 확인하세요.
REST Resource: accounts.accessBindings
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
리소스: AccessBinding
JSON 표현 |
{
"name": string,
"roles": [
string
],
// Union field access_target can be only one of the following:
"user": string
// End of list of possible types for union field access_target .
} |
필드 |
name |
string
출력 전용입니다. 이 바인딩의 리소스 이름입니다. 형식: accounts/{account}/accessBindings/{accessBinding} 또는 properties/{property}/accessBindings/{accessBinding} 예: 'accounts/100/accessBindings/200'
|
roles[] |
string
상위 리소스에 부여할 역할 목록입니다. 유효한 값: 미리 정의된 역할/시청자 사전 정의된 역할/분석 사전 정의된 역할/편집 사전 정의된 역할/관리자 사전 정의된 역할/노 비용-데이터 사전 정의된 역할/no-revenue-data 사용자의 경우 빈 역할 목록이 설정되면 이 AccessBinding이 삭제됩니다.
|
통합 필드 access_target . 역할을 설정할 대상입니다. access_target 은 다음 중 하나여야 합니다. |
user |
string
설정된 경우 역할을 설정할 사용자의 이메일 주소입니다. 형식: 'someuser@gmail.com'
|
메서드 |
|
계정 또는 속성에 대한 여러 액세스 결합에 대한 정보를 만듭니다. |
|
여러 사용자의 정보를 삭제합니다. 계정 또는 속성 링크입니다. |
|
계정 또는 속성에 대한 여러 액세스 결합에 관한 정보를 가져옵니다. |
|
여러 액세스 결합에 관한 정보를 계정 또는 속성으로 업데이트합니다. |
|
계정 또는 속성에 액세스 결합을 만듭니다. |
|
계정 또는 속성에서 액세스 결합을 삭제합니다. |
|
액세스 결합에 대한 정보를 가져옵니다. |
|
계정 또는 속성의 모든 액세스 바인딩을 나열합니다. |
|
계정 또는 속성의 액세스 결합을 업데이트합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eAccessBinding is a resource that links a user to specific roles within Google Analytics.\u003c/p\u003e\n"],["\u003cp\u003eIt defines user access by assigning roles like viewer, analyst, editor, or admin.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage AccessBindings through various methods including creating, deleting, updating, and listing them.\u003c/p\u003e\n"],["\u003cp\u003eThese methods allow for batch operations, enabling efficient management of user access across accounts and properties.\u003c/p\u003e\n"]]],["AccessBinding links users to roles, defined by a `name`, a list of `roles`, and a `user` email. Roles include viewer, analyst, editor, admin, no-cost-data, and no-revenue-data. The `name` is a resource identifier. Multiple AccessBindings can be managed via batch operations for creating, deleting, getting, and updating. Singular access binding management includes create, delete, get, list, and patch options. Deleting an access binding can also be done by setting an empty roles list.\n"],null,["# REST Resource: accounts.accessBindings\n\n- [Resource: AccessBinding](#AccessBinding)\n - [JSON representation](#AccessBinding.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AccessBinding\n-----------------------\n\nA binding of a user to a set of roles.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"roles\": [ string ], // Union field `access_target` can be only one of the following: \"user\": string // End of list of possible types for union field `access_target`. } ``` |\n\n| Fields ||\n|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name of this binding. Format: accounts/{account}/accessBindings/{accessBinding} or properties/{property}/accessBindings/{accessBinding} Example: \"accounts/100/accessBindings/200\" |\n| `roles[]` | `string` A list of roles for to grant to the parent resource. Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data For users, if an empty list of roles is set, this AccessBinding will be deleted. |\n| Union field `access_target`. The target for which to set roles for. `access_target` can be only one of the following: ||\n| `user` | `string` If set, the email address of the user to set roles for. Format: \"someuser@gmail.com\" |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|\n| ### [batchCreate](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/batchCreate) | Creates information about multiple access bindings to an account or property. |\n| ### [batchDelete](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/batchDelete) | Deletes information about multiple users' links to an account or property. |\n| ### [batchGet](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/batchGet) | Gets information about multiple access bindings to an account or property. |\n| ### [batchUpdate](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/batchUpdate) | Updates information about multiple access bindings to an account or property. |\n| ### [create](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/create) | Creates an access binding on an account or property. |\n| ### [delete](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/delete) | Deletes an access binding on an account or property. |\n| ### [get](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/get) | Gets information about an access binding. |\n| ### [list](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/list) | Lists all access bindings on an account or property. |\n| ### [patch](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/patch) | Updates an access binding on an account or property. |"]]