public final class Permission
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 Maps Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Permission() |
| Modifier and Type | Method and Description |
|---|---|
Permission |
clone() |
java.lang.Boolean |
getDiscoverable()
Indicates whether a public asset is listed and can be found via a web search (value true), or
is visible only to people who have a link to the asset (value false).
|
java.lang.String |
getId()
The unique identifier of the permission.
|
java.lang.String |
getRole()
The type of access granted to this user or group.
|
java.lang.String |
getType()
The account type.
|
Permission |
set(java.lang.String fieldName,
java.lang.Object value) |
Permission |
setDiscoverable(java.lang.Boolean discoverable)
Indicates whether a public asset is listed and can be found via a web search (value true), or
is visible only to people who have a link to the asset (value false).
|
Permission |
setId(java.lang.String id)
The unique identifier of the permission.
|
Permission |
setRole(java.lang.String role)
The type of access granted to this user or group.
|
Permission |
setType(java.lang.String type)
The account type.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getDiscoverable()
null for nonepublic Permission setDiscoverable(java.lang.Boolean discoverable)
discoverable - discoverable or null for nonepublic java.lang.String getId()
null for nonepublic Permission setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getRole()
null for nonepublic Permission setRole(java.lang.String role)
role - role or null for nonepublic java.lang.String getType()
null for nonepublic Permission setType(java.lang.String type)
type - type or null for nonepublic Permission set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Permission clone()
clone in class com.google.api.client.json.GenericJson