public final class CreateRoleRequest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Identity and Access Management (IAM) API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
CreateRoleRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRoleRequest |
clone() |
Role |
getRole()
The Role resource to create.
|
java.lang.String |
getRoleId()
The role ID to use for this role.
|
CreateRoleRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
CreateRoleRequest |
setRole(Role role)
The Role resource to create.
|
CreateRoleRequest |
setRoleId(java.lang.String roleId)
The role ID to use for this role.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Role getRole()
null
for nonepublic CreateRoleRequest setRole(Role role)
role
- role or null
for nonepublic java.lang.String getRoleId()
null
for nonepublic CreateRoleRequest setRoleId(java.lang.String roleId)
roleId
- roleId or null
for nonepublic CreateRoleRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CreateRoleRequest clone()
clone
in class com.google.api.client.json.GenericJson