Home Learn Temporary Google Workspace access

Integration

Temporary Google Workspace group membership

Also searched as Google Groups membership expiration, expiring Google group membership, and temporary access to a Google Workspace group.

Google shipped this properly, and then put it behind three constraints that decide whether you can use it: an edition, an API, and a role.

Google group membership expiration sets an expiry time on an individual membership; when it passes, Google removes the member from the group automatically. It has been generally available since February 2021 and is set through the Cloud Identity Groups API, by writing an expiry time onto a membership role.

The three constraints

All three are in Google's own documentation, and any one of them can be the reason this does not apply to you.

Two APIs over the same groups

Google Workspace groups are reachable through the Admin SDK Directory API and the Cloud Identity Groups API. They address the same groups and are not interchangeable: expirations live only in the Cloud Identity API, while a lot of existing group automation — including ours — is written against the Admin SDK. Finding that a membership call works fine and the expiry field does not exist is usually this, and not a permissions problem.

What it still leaves out

Where it applies, the expiry itself is sound — it is Google removing the member, not a job you run. What it is not is a process:

How TemprBac does it

TemprBac holds the expiry itself and calls the Admin SDK Directory API to add and remove members, which means it works on every Workspace edition, on any membership, without the Cloud Identity Premium license and without writing against an API by hand. The same package can carry a Google group alongside Entra ID, Okta, GitHub, AWS IAM and on-premises Active Directory under one end time.

The Google-specific details:

What this does not do

TemprBac manages Google group membership. It does not manage Drive or document-level sharing, admin roles assigned directly to a user, or Google Cloud IAM bindings that are not expressed through a group — and it is not your identity provider, so Google sign-in and the policies enforced on it are unchanged. It needs a service account with domain-wide delegation and an admin to impersonate, which is a deliberate piece of setup and is described in full before you start.

Access that expires on its own

Time-bound Google Workspace group membership on any edition, alongside the other systems the same person needs.

Join the waitlist