public class Iam.Organizations.Roles
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Iam.Organizations.Roles.Create |
class |
Iam.Organizations.Roles.Delete |
class |
Iam.Organizations.Roles.Get |
class |
Iam.Organizations.Roles.List |
class |
Iam.Organizations.Roles.Patch |
class |
Iam.Organizations.Roles.Undelete |
| Constructor and Description |
|---|
Roles() |
| Modifier and Type | Method and Description |
|---|---|
Iam.Organizations.Roles.Create |
create(java.lang.String parent,
CreateRoleRequest content)
Creates a new Role.
|
Iam.Organizations.Roles.Delete |
delete(java.lang.String name)
Soft deletes a role.
|
Iam.Organizations.Roles.Get |
get(java.lang.String name)
Gets a Role definition.
|
Iam.Organizations.Roles.List |
list(java.lang.String parent)
Lists the Roles defined on a resource.
|
Iam.Organizations.Roles.Patch |
patch(java.lang.String name,
Role content)
Updates a Role definition.
|
Iam.Organizations.Roles.Undelete |
undelete(java.lang.String name,
UndeleteRoleRequest content)
Undelete a Role, bringing it back in its previous state.
|
public Iam.Organizations.Roles.Create create(java.lang.String parent, CreateRoleRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The resource name of the parent resource in one of the following formats:
`organizations/{ORGANIZATION_ID}`
`projects/{PROJECT_ID}`content - the CreateRoleRequestjava.io.IOExceptionpublic Iam.Organizations.Roles.Delete delete(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:
`organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}`
`projects/{PROJECT_ID}/roles/{ROLE_NAME}`java.io.IOExceptionpublic Iam.Organizations.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.Organizations.Roles.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The resource name of the parent resource in one of the following formats:
`` (empty string) -- this
refers to curated roles.
`organizations/{ORGANIZATION_ID}`
`projects/{PROJECT_ID}`java.io.IOExceptionpublic Iam.Organizations.Roles.Patch patch(java.lang.String name, Role content) 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}`content - the Rolejava.io.IOExceptionpublic Iam.Organizations.Roles.Undelete undelete(java.lang.String name, UndeleteRoleRequest content) 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:
`organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}`
`projects/{PROJECT_ID}/roles/{ROLE_NAME}`content - the UndeleteRoleRequestjava.io.IOException