public final class Role
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 |
---|
Role() |
Modifier and Type | Method and Description |
---|---|
Role |
clone() |
byte[] |
decodeEtag()
Used to perform a consistent read-modify-write.
|
Role |
encodeEtag(byte[] etag)
Used to perform a consistent read-modify-write.
|
java.lang.Boolean |
getDeleted()
The current deleted state of the role.
|
java.lang.String |
getDescription()
Optional.
|
java.lang.String |
getEtag()
Used to perform a consistent read-modify-write.
|
java.util.List<java.lang.String> |
getIncludedPermissions()
The names of the permissions this role grants when bound in an IAM policy.
|
java.lang.String |
getName()
The name of the role.
|
java.lang.String |
getStage()
The current launch stage of the role.
|
java.lang.String |
getTitle()
Optional.
|
Role |
set(java.lang.String fieldName,
java.lang.Object value) |
Role |
setDeleted(java.lang.Boolean deleted)
The current deleted state of the role.
|
Role |
setDescription(java.lang.String description)
Optional.
|
Role |
setEtag(java.lang.String etag)
Used to perform a consistent read-modify-write.
|
Role |
setIncludedPermissions(java.util.List<java.lang.String> includedPermissions)
The names of the permissions this role grants when bound in an IAM policy.
|
Role |
setName(java.lang.String name)
The name of the role.
|
Role |
setStage(java.lang.String stage)
The current launch stage of the role.
|
Role |
setTitle(java.lang.String title)
Optional.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getDeleted()
null
for nonepublic Role setDeleted(java.lang.Boolean deleted)
deleted
- deleted or null
for nonepublic java.lang.String getDescription()
null
for nonepublic Role setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getEtag()
null
for nonedecodeEtag()
public byte[] decodeEtag()
null
for nonegetEtag()
public Role setEtag(java.lang.String etag)
etag
- etag or null
for none#encodeEtag()
public Role encodeEtag(byte[] etag)
The value is encoded Base64 or {@code null} for none.
public java.util.List<java.lang.String> getIncludedPermissions()
null
for nonepublic Role setIncludedPermissions(java.util.List<java.lang.String> includedPermissions)
includedPermissions
- includedPermissions or null
for nonepublic java.lang.String getName()
null
for nonepublic Role setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getStage()
null
for nonepublic Role setStage(java.lang.String stage)
stage
- stage or null
for nonepublic java.lang.String getTitle()
null
for nonepublic Role setTitle(java.lang.String title)
title
- title or null
for nonepublic Role set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Role clone()
clone
in class com.google.api.client.json.GenericJson