googleapis.com

You can use OS Login to manage access to your VM instances using IAM roles.

🔑 oauth2 6 endpoints analyticsmedia
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

mcp-toolbox-sdk-python ✓ Official
pip install mcp-toolbox-sdk-python
python-storage ✓ Official
pip install python-storage
python-aiplatform ✓ Official
pip install python-aiplatform
python-genai ✓ Official
pip install python-genai
js-genai ✓ Official
npm install js-genai
go-genai ✓ Official
go get github.com/googleapis/go-genai
sdk-platform-java ✓ Official
# Maven: see https://github.com/googleapis/sdk-platform-java
java-genai ✓ Official
# Maven: see https://github.com/googleapis/java-genai
dotnet-genai ✓ Official
# See https://github.com/googleapis/dotnet-genai
gax-java ✓ Official
# See https://github.com/googleapis/gax-java
curl examples
Retrieves an SSH public key.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://oslogin.googleapis.com/v1beta/{name}
Retrieves the profile information used for logging in to a virtual machine on…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://oslogin.googleapis.com/v1beta/{name}/loginProfile
Endpoints (6 total)
GET
/v1beta/{name}
Retrieves an SSH public key.
GET
/v1beta/{name}/loginProfile
Retrieves the profile information used for logging in to a virtual machine on…
POST
/v1beta/{parent}/sshPublicKeys
Create an SSH public key
POST
/v1beta/{parent}:importSshPublicKey
Adds an SSH public key and returns the profile information. Default POSIX acc…
PATCH
/v1beta/{name}
Updates an SSH public key and returns the profile information. This method su…
DELETE
/v1beta/{name}
Deletes an SSH public key.
At a glance
Total SDKs10
Languages6
Endpoints6
Authoauth2
Categories2
https://oslogin.googleapis.com