|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.drive.model.Permission
public final class Permission
A single permission for a file.
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 Drive API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
|---|
GenericData.Flags |
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
Permission()
|
|
| Method Summary | |
|---|---|
List<String> |
getAdditionalRoles()
Additional roles for this user. |
String |
getAuthKey()
The authkey parameter required for this permission. |
String |
getEtag()
The ETag of the permission. |
String |
getId()
The ID of the permission. |
String |
getKind()
This is always drive#permission. |
String |
getName()
The name for this permission. |
String |
getPhotoLink()
A link to the profile photo, if available. |
HttpHeaders |
getResponseHeaders()
Returns the HTTP headers that were returned with the server response, or null. |
String |
getRole()
The primary role for this user. |
String |
getSelfLink()
A link back to this permission. |
String |
getType()
The account type. |
String |
getValue()
The email address or domain name for the entity. |
Boolean |
getWithLink()
Whether the link is required for this permission. |
Permission |
setAdditionalRoles(List<String> additionalRoles)
Additional roles for this user. |
Permission |
setAuthKey(String authKey)
The authkey parameter required for this permission. |
Permission |
setEtag(String etag)
The ETag of the permission. |
Permission |
setId(String id)
The ID of the permission. |
Permission |
setKind(String kind)
This is always drive#permission. |
Permission |
setName(String name)
The name for this permission. |
Permission |
setPhotoLink(String photoLink)
A link to the profile photo, if available. |
void |
setResponseHeaders(HttpHeaders responseHeaders)
Sets the HTTP headers returned with the server response, or null. |
Permission |
setRole(String role)
The primary role for this user. |
Permission |
setSelfLink(String selfLink)
A link back to this permission. |
Permission |
setType(String type)
The account type. |
Permission |
setValue(String value)
The email address or domain name for the entity. |
Permission |
setWithLink(Boolean withLink)
Whether the link is required for this permission. |
| Methods inherited from class com.google.api.client.json.GenericJson |
|---|
clone, getFactory, setFactory, toPrettyString, toString |
| Methods inherited from class com.google.api.client.util.GenericData |
|---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Permission()
| Method Detail |
|---|
public Boolean getWithLink()
null.
public Permission setWithLink(Boolean withLink)
null.
public String getKind()
null.
public Permission setKind(String kind)
null.
public String getName()
null.
public Permission setName(String name)
null.
public String getValue()
null.
public Permission setValue(String value)
null.
public String getId()
null.
public Permission setId(String id)
null.
public String getAuthKey()
null.
public Permission setAuthKey(String authKey)
null.
public String getEtag()
null.
public Permission setEtag(String etag)
null.
public String getRole()
null.
public Permission setRole(String role)
null.
public String getPhotoLink()
null.
public Permission setPhotoLink(String photoLink)
null.
public String getType()
null.
public Permission setType(String type)
null.
public List<String> getAdditionalRoles()
null.
public Permission setAdditionalRoles(List<String> additionalRoles)
null.
public String getSelfLink()
null.
public Permission setSelfLink(String selfLink)
null.
public void setResponseHeaders(HttpHeaders responseHeaders)
null.
This member should only be non-null if this object was the top level element of a response. For
example, a request that returns a single Permission would include the response headers,
while a request which returns an array of Permission, would have a non-null response
header in the enclosing object only.
public HttpHeaders getResponseHeaders()
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||