-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Google Groupに任意のメンバーが存在するかを確認したい
メンバーはGoogle AccountやService Accountが考えられる。
また、Google Groupが入れ子になっている場合、展開したい。
手段
Directory API
admin.googleapis.com をenableにする
Cloud Identity Groups API
Cloud Identity Premium or Google Workspaceが必要。
一部の機能はGoogle Workspace Enterprise Standard、Enterprise Plus、Enterprise for Educationが必要っぽい?
https://cloud.google.com/identity/docs/reference/rest/v1/groups.memberships/checkTransitiveMembership がずばりやりたいことができるAPIだが、Service Accountから呼ぶとうまく動かないらしい。
Google Workspace内のGoogle Accountからなら、いけるんじゃないかと思ったが、一度も成功させることはできなかった。
なぜか400 Bad Requestが返ってくる。
Metadata
Metadata
Assignees
Labels
No labels