Class Acl.Role

java.lang.Object
com.google.cloud.StringEnumValue
com.google.cloud.bigquery.Acl.Role
All Implemented Interfaces:
Serializable
Enclosing class:
Acl

public static final class Acl.Role extends com.google.cloud.StringEnumValue
Dataset roles supported by BigQuery.
See Also:
  • Field Details

    • READER

      public static final Acl.Role READER
      Can read, query, copy or export tables in the dataset.
    • WRITER

      public static final Acl.Role WRITER
      Same as READER plus can edit or append data in the dataset.
    • OWNER

      public static final Acl.Role OWNER
      Same as WRITER plus can update and delete the dataset.
  • Method Details

    • valueOfStrict

      public static Acl.Role valueOfStrict(String constant)
      Get the Role for the given String constant, and throw an exception if the constant is not recognized.
    • valueOf

      public static Acl.Role valueOf(String constant)
      Parameters:
      constant -
      Returns:
      Get the Role for the given String constant, and allow unrecognized values.
    • values

      public static Acl.Role[] values()
      Returns:
      Return the known values for Role.