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 Google 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() |
java.lang.String |
getDescription()
Optional.
|
java.lang.String |
getName()
The name of the role.
|
java.lang.String |
getTitle()
Optional.
|
Role |
set(java.lang.String fieldName,
java.lang.Object value) |
Role |
setDescription(java.lang.String description)
Optional.
|
Role |
setName(java.lang.String name)
The name of the role.
|
Role |
setTitle(java.lang.String title)
Optional.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getDescription()
null for nonepublic Role setDescription(java.lang.String description)
description - description 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 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.GenericJsonpublic Role clone()
clone in class com.google.api.client.json.GenericJson