Identity and Access Management: Node.js Client
Identity and Access Management client for Node.js
A comprehensive list of changes in each version may be found in the CHANGELOG.
- Identity and Access Management Node.js Client API Reference
- Identity and Access Management Documentation
- github.com/googleapis/google-cloud-node/packages/google-iam
Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in Client Libraries Explained.
Table of contents:
Quickstart
Before you begin
- Select or create a Cloud Platform project.
- Enable billing for your project.
- Enable the Identity and Access Management API.
- Set up authentication so you can access the API from your local workstation.
Installing the client library
npm install @google-cloud/iam
Samples
Samples are in the samples/ directory. Each sample's README.md has instructions for running its sample.
| Sample | Source Code | Try it |
|---|---|---|
| Policies.create_policy | source code | ![]() |
| Policies.delete_policy | source code | ![]() |
| Policies.get_policy | source code | ![]() |
| Policies.list_applicable_policies | source code | ![]() |
| Policies.list_policies | source code | ![]() |
| Policies.update_policy | source code | ![]() |
| Policy_bindings.create_policy_binding | source code | ![]() |
| Policy_bindings.delete_policy_binding | source code | ![]() |
| Policy_bindings.get_policy_binding | source code | ![]() |
| Policy_bindings.list_policy_bindings | source code | ![]() |
| Policy_bindings.search_target_policy_bindings | source code | ![]() |
| Policy_bindings.update_policy_binding | source code | ![]() |
| Principal_access_boundary_policies.create_principal_access_boundary_policy | source code | ![]() |
| Principal_access_boundary_policies.delete_principal_access_boundary_policy | source code |
