{"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'
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-04-02(UTC)"],[[["AccessBinding is a resource that binds a user to a set of roles within Google Analytics."],["You can manage AccessBindings through various methods like creating, deleting, updating, and listing them for accounts or properties."],["AccessBindings use a JSON representation to define the user, their roles, and the target resource (account or property)."],["Roles granted via AccessBindings can include predefined options such as viewer, analyst, editor, admin, and more."],["Available methods for interacting with AccessBindings include batch operations (create, delete, get, update) and individual operations (create, delete, get, list, patch)."]]],["AccessBindings link users to roles within accounts or properties. Key fields include `name` (resource identifier), `roles[]` (list of granted roles like viewer, editor, admin), and `user` (target user's email). Available roles include predefined options. The union field `access_target` specifies the target for role assignments, currently only supporting the `user` field. Several methods are provided for managing access bindings, including creating, deleting, getting, listing, updating single or multiple user's bindings.\n"]]