API Reference

This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.

Resource types

  1. GlobalAccountsOperations
  2. Groups
  3. Linux
  4. Users

GlobalAccountsOperations

For GlobalAccountsOperations Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/clouduseraccounts/alpha/projects, unless otherwise noted
delete DELETE  /project/global/operations/operation Deletes the specified operation resource.
get GET  /project/global/operations/operation Retrieves the specified operation resource.
list GET  /project/global/operations Retrieves the list of operation resources contained within the specified project.

Groups

For Groups Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/clouduseraccounts/alpha/projects, unless otherwise noted
addMember POST  /project/global/groups/groupName/addMember Adds users to the specified group.
delete DELETE  /project/global/groups/groupName Deletes the specified Group resource.
get GET  /project/global/groups/groupName Returns the specified Group resource.
getIamPolicy GET  /project/global/groups/resource/getIamPolicy Gets the access control policy for a resource. May be empty if no such policy or resource exists.
insert POST  /project/global/groups Creates a Group resource in the specified project using the data included in the request.
list GET  /project/global/groups Retrieves the list of groups contained within the specified project.
removeMember POST  /project/global/groups/groupName/removeMember Removes users from the specified group.
setIamPolicy POST  /project/global/groups/resource/setIamPolicy Sets the access control policy on the specified resource. Replaces any existing policy.
testIamPermissions POST  /project/global/groups/resource/testIamPermissions Returns permissions that a caller has on the specified resource.

Linux

For Linux Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/clouduseraccounts/alpha/projects, unless otherwise noted
getAuthorizedKeysView POST  /project/zones/zone/authorizedKeysView/user Returns a list of authorized public keys for a specific user account.

Required query parameters: instance

getLinuxAccountViews POST  /project/zones/zone/linuxAccountViews Retrieves a list of user accounts for an instance within a specific project.

Required query parameters: instance

Users

For Users Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/clouduseraccounts/alpha/projects, unless otherwise noted
addPublicKey POST  /project/global/users/user/addPublicKey Adds a public key to the specified User resource with the data included in the request.
delete DELETE  /project/global/users/user Deletes the specified User resource.
get GET  /project/global/users/user Returns the specified User resource.
getIamPolicy GET  /project/global/users/resource/getIamPolicy Gets the access control policy for a resource. May be empty if no such policy or resource exists.
insert POST  /project/global/users Creates a User resource in the specified project using the data included in the request.
list GET  /project/global/users Retrieves a list of users contained within the specified project.
removePublicKey POST  /project/global/users/user/removePublicKey Removes the specified public key from the user.

Required query parameters: fingerprint

setIamPolicy POST  /project/global/users/resource/setIamPolicy Sets the access control policy on the specified resource. Replaces any existing policy.
testIamPermissions POST  /project/global/users/resource/testIamPermissions Returns permissions that a caller has on the specified resource.

Send feedback about...

Compute Engine Documentation