public final class Permission
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 |
|---|
Permission() |
| Modifier and Type | Method and Description |
|---|---|
Permission |
clone() |
java.lang.Boolean |
getApiDisabled()
The service API associated with the permission is not enabled.
|
java.lang.String |
getCustomRolesSupportLevel()
The current custom role support level.
|
java.lang.String |
getDescription()
A brief description of what this Permission is used for.
|
java.lang.String |
getName()
The name of this Permission.
|
java.lang.Boolean |
getOnlyInPredefinedRoles() |
java.lang.String |
getPrimaryPermission()
The preferred name for this permission.
|
java.lang.String |
getStage()
The current launch stage of the permission.
|
java.lang.String |
getTitle()
The title of this Permission.
|
Permission |
set(java.lang.String fieldName,
java.lang.Object value) |
Permission |
setApiDisabled(java.lang.Boolean apiDisabled)
The service API associated with the permission is not enabled.
|
Permission |
setCustomRolesSupportLevel(java.lang.String customRolesSupportLevel)
The current custom role support level.
|
Permission |
setDescription(java.lang.String description)
A brief description of what this Permission is used for.
|
Permission |
setName(java.lang.String name)
The name of this Permission.
|
Permission |
setOnlyInPredefinedRoles(java.lang.Boolean onlyInPredefinedRoles) |
Permission |
setPrimaryPermission(java.lang.String primaryPermission)
The preferred name for this permission.
|
Permission |
setStage(java.lang.String stage)
The current launch stage of the permission.
|
Permission |
setTitle(java.lang.String title)
The title of this Permission.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Boolean getApiDisabled()
null for nonepublic Permission setApiDisabled(java.lang.Boolean apiDisabled)
apiDisabled - apiDisabled or null for nonepublic java.lang.String getCustomRolesSupportLevel()
null for nonepublic Permission setCustomRolesSupportLevel(java.lang.String customRolesSupportLevel)
customRolesSupportLevel - customRolesSupportLevel or null for nonepublic java.lang.String getDescription()
null for nonepublic Permission setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getName()
null for nonepublic Permission setName(java.lang.String name)
name - name or null for nonepublic java.lang.Boolean getOnlyInPredefinedRoles()
null for nonepublic Permission setOnlyInPredefinedRoles(java.lang.Boolean onlyInPredefinedRoles)
onlyInPredefinedRoles - onlyInPredefinedRoles or null for nonepublic java.lang.String getPrimaryPermission()
null for nonepublic Permission setPrimaryPermission(java.lang.String primaryPermission)
primaryPermission - primaryPermission or null for nonepublic java.lang.String getStage()
null for nonepublic Permission setStage(java.lang.String stage)
stage - stage or null for nonepublic java.lang.String getTitle()
null for nonepublic Permission setTitle(java.lang.String title)
title - title or null for nonepublic Permission set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Permission clone()
clone in class com.google.api.client.json.GenericJson