public final class Permission 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 |
|---|
Permission() |
| Modifier and Type | Method and Description |
|---|---|
Permission |
clone() |
Boolean |
getApiDisabled()
The service API associated with the permission is not enabled.
|
String |
getCustomRolesSupportLevel()
The current custom role support level.
|
String |
getDescription()
A brief description of what this Permission is used for.
|
String |
getName()
The name of this Permission.
|
Boolean |
getOnlyInPredefinedRoles()
This permission can ONLY be used in predefined roles.
|
String |
getPrimaryPermission()
The preferred name for this permission.
|
String |
getStage()
The current launch stage of the permission.
|
String |
getTitle()
The title of this Permission.
|
Permission |
set(String fieldName,
Object value) |
Permission |
setApiDisabled(Boolean apiDisabled)
The service API associated with the permission is not enabled.
|
Permission |
setCustomRolesSupportLevel(String customRolesSupportLevel)
The current custom role support level.
|
Permission |
setDescription(String description)
A brief description of what this Permission is used for.
|
Permission |
setName(String name)
The name of this Permission.
|
Permission |
setOnlyInPredefinedRoles(Boolean onlyInPredefinedRoles)
This permission can ONLY be used in predefined roles.
|
Permission |
setPrimaryPermission(String primaryPermission)
The preferred name for this permission.
|
Permission |
setStage(String stage)
The current launch stage of the permission.
|
Permission |
setTitle(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, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getApiDisabled()
null for nonepublic Permission setApiDisabled(Boolean apiDisabled)
apiDisabled - apiDisabled or null for nonepublic String getCustomRolesSupportLevel()
null for nonepublic Permission setCustomRolesSupportLevel(String customRolesSupportLevel)
customRolesSupportLevel - customRolesSupportLevel or null for nonepublic String getDescription()
null for nonepublic Permission setDescription(String description)
description - description or null for nonepublic String getName()
null for nonepublic Permission setName(String name)
name - name or null for nonepublic Boolean getOnlyInPredefinedRoles()
null for nonepublic Permission setOnlyInPredefinedRoles(Boolean onlyInPredefinedRoles)
onlyInPredefinedRoles - onlyInPredefinedRoles or null for nonepublic String getPrimaryPermission()
null for nonepublic Permission setPrimaryPermission(String primaryPermission)
primaryPermission - primaryPermission or null for nonepublic String getStage()
null for nonepublic Permission setStage(String stage)
stage - stage or null for nonepublic String getTitle()
null for nonepublic Permission setTitle(String title)
title - title or null for nonepublic Permission set(String fieldName, Object value)
set in class GenericJsonpublic Permission clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.