I'm trying to use the Cloud Resource Manager v1beta1 API's organizations.list
method to retrieve a user's organizations, with the ultimate goal of finding the directoryCustomerId
of a Google Workspace/G Suite's user's own native tenant. It is one of the few Google APIs available to retrieve this information.
Because this API returns a list of organizations, I assume they represent the list of Google Cloud Platform organizations that the user has access to, including those tenants that the user does not natively belong to.
My question is, is it guaranteed that for ANY Google Workspace/G Suite user, this list will at least include (and most likely only include) the user's own Google Workspace/G Suite organization, even if this organization does not use any Google Cloud products besides Google Workspace/G Suite (and therefore the user has no special access to any such product)?