Class Acl.Group (2.42.0)

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
Type Description
Acl.Group

Returns a Group entity representing all BigQuery authenticated users.

ofProjectOwners()

public static Acl.Group ofProjectOwners()
Returns
Type Description
Acl.Group

Returns a Group entity representing all project's owners.

ofProjectReaders()

public static Acl.Group ofProjectReaders()
Returns
Type Description
Acl.Group

Returns a Group entity representing all project's readers.

ofProjectWriters()

public static Acl.Group ofProjectWriters()
Returns
Type Description
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
Name Description
identifier String

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getIdentifier()

public String getIdentifier()
Returns
Type Description
String

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides