public final class Role extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 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.
|
Boolean |
getDeleted()
The current deleted state of the role.
|
String |
getDescription()
Optional.
|
String |
getEtag()
Used to perform a consistent read-modify-write.
|
List<String> |
getIncludedPermissions()
The names of the permissions this role grants when bound in an IAM policy.
|
String |
getName()
The name of the role.
|
String |
getStage()
The current launch stage of the role.
|
String |
getTitle()
Optional.
|
Role |
set(String fieldName,
Object value) |
Role |
setDeleted(Boolean deleted)
The current deleted state of the role.
|
Role |
setDescription(String description)
Optional.
|
Role |
setEtag(String etag)
Used to perform a consistent read-modify-write.
|
Role |
setIncludedPermissions(List<String> includedPermissions)
The names of the permissions this role grants when bound in an IAM policy.
|
Role |
setName(String name)
The name of the role.
|
Role |
setStage(String stage)
The current launch stage of the role.
|
Role |
setTitle(String title)
Optional.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getDeleted()
null for nonepublic Role setDeleted(Boolean deleted)
deleted - deleted or null for nonepublic String getDescription()
null for nonepublic Role setDescription(String description)
description - description or null for nonepublic String getEtag()
null for nonedecodeEtag()public byte[] decodeEtag()
null for nonegetEtag()public Role setEtag(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 List<String> getIncludedPermissions()
null for nonepublic Role setIncludedPermissions(List<String> includedPermissions)
includedPermissions - includedPermissions or null for nonepublic String getName()
null for nonepublic Role setName(String name)
name - name or null for nonepublic String getStage()
null for nonepublic Role setStage(String stage)
stage - stage or null for nonepublic String getTitle()
null for nonepublic Role setTitle(String title)
title - title or null for nonepublic Role set(String fieldName, Object value)
set in class GenericJsonpublic Role clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.