public static final class Permission.PermissionDetails
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PermissionDetails() |
Modifier and Type | Method and Description |
---|---|
Permission.PermissionDetails |
clone() |
List<String> |
getAdditionalRoles()
Additional roles for this user.
|
Boolean |
getInherited()
Whether this permission is inherited.
|
String |
getInheritedFrom()
The ID of the item from which this permission is inherited.
|
String |
getPermissionType()
The permission type for this user.
|
String |
getRole()
The primary role for this user.
|
Permission.PermissionDetails |
set(String fieldName,
Object value) |
Permission.PermissionDetails |
setAdditionalRoles(List<String> additionalRoles)
Additional roles for this user.
|
Permission.PermissionDetails |
setInherited(Boolean inherited)
Whether this permission is inherited.
|
Permission.PermissionDetails |
setInheritedFrom(String inheritedFrom)
The ID of the item from which this permission is inherited.
|
Permission.PermissionDetails |
setPermissionType(String permissionType)
The permission type for this user.
|
Permission.PermissionDetails |
setRole(String role)
The primary role for this user.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<String> getAdditionalRoles()
null
for nonepublic Permission.PermissionDetails setAdditionalRoles(List<String> additionalRoles)
additionalRoles
- additionalRoles or null
for nonepublic Boolean getInherited()
null
for nonepublic Permission.PermissionDetails setInherited(Boolean inherited)
inherited
- inherited or null
for nonepublic String getInheritedFrom()
null
for nonepublic Permission.PermissionDetails setInheritedFrom(String inheritedFrom)
inheritedFrom
- inheritedFrom or null
for nonepublic String getPermissionType()
null
for nonepublic Permission.PermissionDetails setPermissionType(String permissionType)
permissionType
- permissionType or null
for nonepublic String getRole()
null
for nonepublic Permission.PermissionDetails setRole(String role)
role
- role or null
for nonepublic Permission.PermissionDetails set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Permission.PermissionDetails clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.