public final class DomainSharingSettings
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 Drive 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DomainSharingSettings() |
| Modifier and Type | Method and Description |
|---|---|
DomainSharingSettings |
clone() |
String |
getMaxAllUsersRole()
Maximum allowed role when sharing with all users
|
String |
getMaxDomainRole()
Maximum allowed role when sharing with all users inside the domain
|
String |
getShareInPolicy()
Deprecated - See b/13414050
|
String |
getShareOutPolicy()
Policy for sharing with a user outside the domain
|
DomainSharingSettings |
set(String fieldName,
Object value) |
DomainSharingSettings |
setMaxAllUsersRole(String maxAllUsersRole)
Maximum allowed role when sharing with all users
|
DomainSharingSettings |
setMaxDomainRole(String maxDomainRole)
Maximum allowed role when sharing with all users inside the domain
|
DomainSharingSettings |
setShareInPolicy(String shareInPolicy)
Deprecated - See b/13414050
|
DomainSharingSettings |
setShareOutPolicy(String shareOutPolicy)
Policy for sharing with a user outside the domain
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getMaxAllUsersRole()
null for nonepublic DomainSharingSettings setMaxAllUsersRole(String maxAllUsersRole)
maxAllUsersRole - maxAllUsersRole or null for nonepublic String getMaxDomainRole()
null for nonepublic DomainSharingSettings setMaxDomainRole(String maxDomainRole)
maxDomainRole - maxDomainRole or null for nonepublic String getShareInPolicy()
null for nonepublic DomainSharingSettings setShareInPolicy(String shareInPolicy)
shareInPolicy - shareInPolicy or null for nonepublic String getShareOutPolicy()
null for nonepublic DomainSharingSettings setShareOutPolicy(String shareOutPolicy)
shareOutPolicy - shareOutPolicy or null for nonepublic DomainSharingSettings set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DomainSharingSettings clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.