public class Iam.Roles
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Iam.Roles.Get |
class |
Iam.Roles.List |
class |
Iam.Roles.QueryGrantableRoles |
| Constructor and Description |
|---|
Roles() |
| Modifier and Type | Method and Description |
|---|---|
Iam.Roles.Get |
get(java.lang.String name)
Gets a Role definition.
|
Iam.Roles.List |
list()
Lists the Roles defined on a resource.
|
Iam.Roles.QueryGrantableRoles |
queryGrantableRoles(QueryGrantableRolesRequest content)
Queries roles that can be granted on a particular resource.
|
public Iam.Roles.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The resource name of the role in one of the following formats:
`roles/{ROLE_NAME}`
`organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}`
`projects/{PROJECT_ID}/roles/{ROLE_NAME}`java.io.IOExceptionpublic Iam.Roles.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.java.io.IOExceptionpublic Iam.Roles.QueryGrantableRoles queryGrantableRoles(QueryGrantableRolesRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the QueryGrantableRolesRequestjava.io.IOException