This page shows the Policy Intelligence features that have Cloud Client Libraries, and shows how to get started with those libraries. Read more about the client libraries for Cloud APIs, including the older Google API Client Libraries, in Client Libraries Explained.
Policy Troubleshooter API
Use the Policy Troubleshooter API to understand why a principal has or does not have a certain type of access.
Installing the client library
C++
For more information, see Setting up a C++ development environment.
C#
For more information, see Setting up a C# development environment.
install-package Google.Cloud.PolicyTroubleshooter.V1
Go
For more information, see Setting up a Go development environment.
go get cloud.google.com/go/policytroubleshooter/apiv1
Java
For more information, see Setting up a Java development environment.
If you are using Maven, add this to your pom.xml file.Node.js
For more information, see Setting up a Node.js development environment.
npm install @google-cloud/policy-troubleshooter
PHP
For more information, see Using PHP on Google Cloud.
Add the library as a dependency to yourcomposer.json
file:
"require": { "google/cloud-policy-troubleshooter": "^0.2.3" }
Python
For more information, see Setting up a Python development environment.
pip install google-cloud-policy-troubleshooter
Ruby
For more information, see Setting up a Ruby development environment.
gem install google-cloud-policy_troubleshooter-v1
Additional resources
C++
For more information about how to use this client library, see the following resources:
- API reference documentation: C++ Policy Troubleshooter client library reference
- Source code: C++ Policy Troubleshooter client library source code
- Issue tracker: Google Cloud C++ client library issue tracker
C#
For more information about how to use this client library, see the following resources:
- API reference documentation: C# Policy Troubleshooter client library reference
- Source code: C# Policy Troubleshooter client library source code
- Issue tracker: Google Cloud C# client library issue tracker
Go
For more information about how to use this client library, see the following resources:
- API reference documentation: Go Policy Troubleshooter client library reference
- Source code: Go Policy Troubleshooter client library source code
- Issue tracker: Google Cloud Go client library issue tracker
Java
For more information about how to use this client library, see the following resources:
- API reference documentation: Java Policy Troubleshooter client library reference
- Source code: Java Policy Troubleshooter client library source code
- Issue tracker: Java Policy Troubleshooter client Library issue tracker
Node.js
For more information about how to use this client library, see the following resources:
- API reference documentation: Node.js Policy Troubleshooter client library reference
- Source code: Node.js Policy Troubleshooter client library source code
- Issue tracker: Node.js Policy Troubleshooter client library issue tracker
PHP
For more information about how to use this client library, see the following resources:
- API reference documentation: PHP Policy Troubleshooter client library reference
- Source code: PHP Policy Troubleshooter client library source code
- Issue tracker: Google Cloud PHP client library issue tracker
Python
For more information about how to use this client library, see the following resources:
- API reference documentation: Python Policy Troubleshooter client library reference
- Source code: Python Policy Troubleshooter client library source code
- Issue tracker: Python Policy Troubleshooter client Library issue tracker
Ruby
For more information about how to use this client library, see the following resources:
- API documentation reference: Ruby Policy Troubleshooter client library reference
- Source code: Ruby Policy Troubleshooter client library
- Issue tracker: Google Cloud Ruby client library issue tracker