target.apidocs.com.google.api.services.drive.model.About.AdditionalRoleInfo.RoleSets.html Maven / Gradle / Ivy
About.AdditionalRoleInfo.RoleSets (Google Drive API v2-rev20240521-2.0.0)
com.google.api.services.drive.model
Class About.AdditionalRoleInfo.RoleSets
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.drive.model.About.AdditionalRoleInfo.RoleSets
-
- Enclosing class:
- About.AdditionalRoleInfo
public static final class About.AdditionalRoleInfo.RoleSets
extends com.google.api.client.json.GenericJson
Model definition for AboutAdditionalRoleInfoRoleSets.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
RoleSets()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
About.AdditionalRoleInfo.RoleSets
clone()
List<String>
getAdditionalRoles()
The supported additional roles with the primary role.
String
getPrimaryRole()
A primary permission role.
About.AdditionalRoleInfo.RoleSets
set(String fieldName,
Object value)
About.AdditionalRoleInfo.RoleSets
setAdditionalRoles(List<String> additionalRoles)
The supported additional roles with the primary role.
About.AdditionalRoleInfo.RoleSets
setPrimaryRole(String primaryRole)
A primary permission role.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAdditionalRoles
public List<String> getAdditionalRoles()
The supported additional roles with the primary role.
- Returns:
- value or
null
for none
-
setAdditionalRoles
public About.AdditionalRoleInfo.RoleSets setAdditionalRoles(List<String> additionalRoles)
The supported additional roles with the primary role.
- Parameters:
additionalRoles
- additionalRoles or null
for none
-
getPrimaryRole
public String getPrimaryRole()
A primary permission role.
- Returns:
- value or
null
for none
-
setPrimaryRole
public About.AdditionalRoleInfo.RoleSets setPrimaryRole(String primaryRole)
A primary permission role.
- Parameters:
primaryRole
- primaryRole or null
for none
-
set
public About.AdditionalRoleInfo.RoleSets set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public About.AdditionalRoleInfo.RoleSets clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.