The context restriction APIs have been promoted from experimental to generally available. Authorized users can now create, read, and delete project- and expression-based context restrictions via API. Security group context restrictions are not supported yet. Read the context API documentation.