권한: addMembers
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Looker Studio 애셋에 구성원을 추가합니다.
요청
HTTP 요청
POST https://datastudio.googleapis.com/v1/assets/{assetName}/permissions:addMembers
경로 매개변수
매개변수 이름 |
유형 |
설명 |
assetName |
문자열 |
저작물의 이름 (ID)입니다. |
승인
이 요청을 완료하려면 승인된 사용자에게
다음 범위의 애셋 및 승인에 구성원을 추가하세요.
범위 |
https://www.googleapis.com/auth/datastudio |
요청 본문
요청 본문에 다음 속성을 제공합니다.
속성 이름 |
유형 |
설명 |
역할
|
직책
|
구성원을 추가할 역할입니다. 구성원
OWNER 역할에 추가할 수 없습니다. |
멤버 |
배열<Member> |
추가할 구성원입니다. |
응답
이 메서드는 성공할 경우 업데이트된 Permissions 객체를 반환합니다.
예
다음은 Looker Studio 애셋에 뷰어 구성원 2명을 추가합니다.
POST https://datastudio.googleapis.com/v1/assets/assetName/permissions:addMembers
요청 본문:
{
"role": "VIEWER",
"members": [
"user:gus@gmail.com",
"user:jen@gmail.com"
]
}
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eAdds members with specified roles (excluding OWNER) to a Looker Studio asset using the asset's name (ID).\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/datastudio\u003c/code\u003e scope and sufficient permissions to add members.\u003c/p\u003e\n"],["\u003cp\u003eThe request body specifies the desired role and a list of members to add (using their email addresses).\u003c/p\u003e\n"],["\u003cp\u003eUpon successful execution, the updated Permissions object for the asset is returned.\u003c/p\u003e\n"]]],[],null,["# Permissions: addMembers\n\nAdds members to a Looker Studio asset.\n\nRequest\n-------\n\n### HTTP request\n\n POST https://datastudio.googleapis.com/v1/assets/{assetName}/permissions:addMembers\n\n### Path parameters\n\n| Parameter name | Type | Description |\n|----------------|--------|-----------------------------|\n| assetName | string | The name (ID) of the asset. |\n\n### Authorization\n\nThis request requires the authorized user to have sufficient permissions to add\nmembers to the asset and authorization with the following scope:\n\n| Scope |\n|----------------------------------------------|\n| `https://www.googleapis.com/auth/datastudio` |\n\n### Request body\n\nIn the request body, supply the following properties:\n\n| Property name | Type | Description |\n|---------------|------------------------------------------------------------------------|--------------------------------------------------------------------------|\n| role | [Role](/looker-studio/integrate/api/reference/types#Role) | The role to add members to. Members cannot be added to the `OWNER` role. |\n| members | Array\\\u003c[Member](/looker-studio/integrate/api/reference/types#Member)\\\u003e | The members to add. |\n\nResponse\n--------\n\nIf successful, this method returns the updated [Permissions](/looker-studio/integrate/api/reference/types#Permissions) object.\n\nExample\n-------\n\nThe following adds two viewer members to a Looker Studio asset. \n\n POST https://datastudio.googleapis.com/v1/assets/\u003cvar translate=\"no\"\u003eassetName\u003c/var\u003e/permissions:addMembers\n\nRequest body: \n\n {\n \"role\": \"VIEWER\",\n \"members\": [\n \"user:gus@gmail.com\",\n \"user:jen@gmail.com\"\n ]\n }"]]