BigQuery API v2 (revision 88)



com.google.api.services.bigquery.model
Class Dataset.Access

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.bigquery.model.Dataset.Access
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
Dataset

public static final class Dataset.Access
extends GenericJson

Model definition for DatasetAccess.


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
Dataset.Access()
           
 
Method Summary
 String getDomain()
          [Pick one] A domain to grant access to.
 String getGroupByEmail()
          [Pick one] A fully-qualified email address of a mailing list to grant access to.
 String getRole()
          [Required] Describes the rights granted to the user specified by the other member of the access object.
 String getSpecialGroup()
          [Pick one] A special group to grant access to.
 String getUserByEmail()
          [Pick one] A fully qualified email address of a user to grant access to.
 Dataset.Access setDomain(String domain)
          [Pick one] A domain to grant access to.
 Dataset.Access setGroupByEmail(String groupByEmail)
          [Pick one] A fully-qualified email address of a mailing list to grant access to.
 Dataset.Access setRole(String role)
          [Required] Describes the rights granted to the user specified by the other member of the access object.
 Dataset.Access setSpecialGroup(String specialGroup)
          [Pick one] A special group to grant access to.
 Dataset.Access setUserByEmail(String userByEmail)
          [Pick one] A fully qualified email address of a user to grant access to.
 
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

Dataset.Access

public Dataset.Access()
Method Detail

getDomain

public String getDomain()
[Pick one] A domain to grant access to. Any users signed in with the domain specified will be granted the specified access. Example: "example.com". The value returned may be null.


setDomain

public Dataset.Access setDomain(String domain)
[Pick one] A domain to grant access to. Any users signed in with the domain specified will be granted the specified access. Example: "example.com". The value set may be null.


getGroupByEmail

public String getGroupByEmail()
[Pick one] A fully-qualified email address of a mailing list to grant access to. This must be either a Google Groups mailing list (ends in @googlegroups.com) or a group managed by an enterprise version of Google Groups. The value returned may be null.


setGroupByEmail

public Dataset.Access setGroupByEmail(String groupByEmail)
[Pick one] A fully-qualified email address of a mailing list to grant access to. This must be either a Google Groups mailing list (ends in @googlegroups.com) or a group managed by an enterprise version of Google Groups. The value set may be null.


getRole

public String getRole()
[Required] Describes the rights granted to the user specified by the other member of the access object. The following string values are supported: READ - User can call any list() or get() method on any collection or resource. WRITE - User can call any method on any collection except for datasets, on which they can call list() and get(). OWNER - User can call any method. The dataset creator is granted this role by default. The value returned may be null.


setRole

public Dataset.Access setRole(String role)
[Required] Describes the rights granted to the user specified by the other member of the access object. The following string values are supported: READ - User can call any list() or get() method on any collection or resource. WRITE - User can call any method on any collection except for datasets, on which they can call list() and get(). OWNER - User can call any method. The dataset creator is granted this role by default. The value set may be null.


getSpecialGroup

public String getSpecialGroup()
[Pick one] A special group to grant access to. The valid values are: projectOwners: Owners of the enclosing project. projectReaders: Readers of the enclosing project. projectWriters: Writers of the enclosing project. allAuthenticatedUsers: All authenticated BigQuery users. The value returned may be null.


setSpecialGroup

public Dataset.Access setSpecialGroup(String specialGroup)
[Pick one] A special group to grant access to. The valid values are: projectOwners: Owners of the enclosing project. projectReaders: Readers of the enclosing project. projectWriters: Writers of the enclosing project. allAuthenticatedUsers: All authenticated BigQuery users. The value set may be null.


getUserByEmail

public String getUserByEmail()
[Pick one] A fully qualified email address of a user to grant access to. For example: [email protected]. The value returned may be null.


setUserByEmail

public Dataset.Access setUserByEmail(String userByEmail)
[Pick one] A fully qualified email address of a user to grant access to. For example: [email protected]. The value set may be null.