Class Acl.Group (2.13.3-SNAPSHOT)

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() or #ofAllAuthenticatedUsers().

Inheritance

Object > Acl.Entity > Acl.Group

Static Methods

ofAllAuthenticatedUsers()

public static Acl.Group ofAllAuthenticatedUsers()

Returns a Group entity representing all BigQuery authenticated users.

Returns
TypeDescription
Acl.Group

ofProjectOwners()

public static Acl.Group ofProjectOwners()

Returns a Group entity representing all project's owners.

Returns
TypeDescription
Acl.Group

ofProjectReaders()

public static Acl.Group ofProjectReaders()

Returns a Group entity representing all project's readers.

Returns
TypeDescription
Acl.Group

ofProjectWriters()

public static Acl.Group ofProjectWriters()

Returns a Group entity representing all project's writers.

Returns
TypeDescription
Acl.Group

Constructors

Group(String identifier)

public Group(String identifier)

Creates a Group entity given its identifier. Identifier can be either a special group identifier or a group email.

Parameter
NameDescription
identifierString

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getIdentifier()

public String getIdentifier()

Returns group's identifier, can be either a special group identifier or a group email.

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides