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() or ofAllAuthenticatedUsers().
See Also:
  • Constructor Details

    • 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 Details

    • getIdentifier

      public String getIdentifier()
      Returns:
      Returns group's identifier, can be either a special group identifier or a group email.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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.