Class Acl.Group (2.37.2)

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
TypeDescription
Acl.Group

Returns a Group entity representing all BigQuery authenticated users.

ofProjectOwners()

public static Acl.Group ofProjectOwners()
Returns
TypeDescription
Acl.Group

Returns a Group entity representing all project's owners.

ofProjectReaders()

public static Acl.Group ofProjectReaders()
Returns
TypeDescription
Acl.Group

Returns a Group entity representing all project's readers.

ofProjectWriters()

public static Acl.Group ofProjectWriters()
Returns
TypeDescription
Acl.Group

Returns a Group entity representing all project's writers.

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
TypeDescription
String

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides