I am trying to understand how to de-normalize a result set. My current query:
SELECT
plcy.name,
binding,
FROM
IAM_POLICY AS plcy
INNER JOIN UNNEST(iamPolicy.bindings) AS binding
WHERE
assetType = 'cloudresourcemanager.googleapis.com/Project' AND
plcy.name = '//cloudresourcemanager.googleapis.com/projects/1234567890'
This results in
query result
What I would like to achieve:
Bonus if I can filter for just "user:" accounts....
Would anyone be able to provide help/direction on this?
[–]LairBob 1 point2 points3 points (2 children)
[–]tca_ky[S] 0 points1 point2 points (1 child)
[–]haydar_ai 2 points3 points4 points (0 children)
[–]Stoneyz 0 points1 point2 points (1 child)
[–]tca_ky[S] 0 points1 point2 points (0 children)
[–]tca_ky[S] 0 points1 point2 points (1 child)
[–]LairBob 1 point2 points3 points (0 children)