public final class ItemAcl
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 Cloud Search 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 |
---|
ItemAcl() |
Modifier and Type | Method and Description |
---|---|
ItemAcl |
clone() |
java.lang.String |
getAclInheritanceType()
Sets the type of access rules to apply when an item inherits its ACL from a parent.
|
java.util.List<Principal> |
getDeniedReaders()
List of principals who are explicitly denied access to the item in search results.
|
java.lang.String |
getInheritAclFrom()
Name of the item to inherit the Access Permission List (ACL) from.
|
java.util.List<Principal> |
getOwners()
Optional.
|
java.util.List<Principal> |
getReaders()
List of principals who are allowed to see the item in search results.
|
ItemAcl |
set(java.lang.String fieldName,
java.lang.Object value) |
ItemAcl |
setAclInheritanceType(java.lang.String aclInheritanceType)
Sets the type of access rules to apply when an item inherits its ACL from a parent.
|
ItemAcl |
setDeniedReaders(java.util.List<Principal> deniedReaders)
List of principals who are explicitly denied access to the item in search results.
|
ItemAcl |
setInheritAclFrom(java.lang.String inheritAclFrom)
Name of the item to inherit the Access Permission List (ACL) from.
|
ItemAcl |
setOwners(java.util.List<Principal> owners)
Optional.
|
ItemAcl |
setReaders(java.util.List<Principal> readers)
List of principals who are allowed to see the item in search results.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAclInheritanceType()
null
for nonepublic ItemAcl setAclInheritanceType(java.lang.String aclInheritanceType)
aclInheritanceType
- aclInheritanceType or null
for nonepublic java.util.List<Principal> getDeniedReaders()
null
for nonepublic ItemAcl setDeniedReaders(java.util.List<Principal> deniedReaders)
deniedReaders
- deniedReaders or null
for nonepublic java.lang.String getInheritAclFrom()
null
for nonepublic ItemAcl setInheritAclFrom(java.lang.String inheritAclFrom)
inheritAclFrom
- inheritAclFrom or null
for nonepublic java.util.List<Principal> getOwners()
null
for nonepublic ItemAcl setOwners(java.util.List<Principal> owners)
owners
- owners or null
for nonepublic java.util.List<Principal> getReaders()
null
for nonepublic ItemAcl setReaders(java.util.List<Principal> readers)
readers
- readers or null
for nonepublic ItemAcl set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ItemAcl clone()
clone
in class com.google.api.client.json.GenericJson