Package com.google.cloud.bigquery
Class Acl.Group
- java.lang.Object
-
- com.google.cloud.bigquery.Acl.Entity
-
- com.google.cloud.bigquery.Acl.Group
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Acl
public static final class Acl.Group extends Acl.Entity
Class for a BigQuery Group entity. Objects of this class represent a group to granted access to. A Group entity can be created given the group's email or can be a special group:ofProjectOwners()
,ofProjectReaders()
,ofProjectWriters()
orofAllAuthenticatedUsers()
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.cloud.bigquery.Acl.Entity
Acl.Entity.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getIdentifier()
int
hashCode()
static Acl.Group
ofAllAuthenticatedUsers()
static Acl.Group
ofProjectOwners()
static Acl.Group
ofProjectReaders()
static Acl.Group
ofProjectWriters()
String
toString()
-
Methods inherited from class com.google.cloud.bigquery.Acl.Entity
getType
-
-
-
-
Constructor Detail
-
Group
public Group(String identifier)
Creates a Group entity given its identifier. Identifier can be either a special group identifier or a group email.
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
- Returns:
- Returns group's identifier, can be either a special group identifier or a group email.
-
ofProjectOwners
public static Acl.Group ofProjectOwners()
- Returns:
- Returns a Group entity representing all project's owners.
-
ofProjectReaders
public static Acl.Group ofProjectReaders()
- Returns:
- Returns a Group entity representing all project's readers.
-
ofProjectWriters
public static Acl.Group ofProjectWriters()
- Returns:
- Returns a Group entity representing all project's writers.
-
ofAllAuthenticatedUsers
public static Acl.Group ofAllAuthenticatedUsers()
- Returns:
- Returns a Group entity representing all BigQuery authenticated users.
-
-