Class Acl.Role

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

public static final class Acl.Role extends com.google.cloud.StringEnumValue
See Also:
  • Field Details

    • OWNER

      public static final Acl.Role OWNER
    • READER

      public static final Acl.Role READER
    • WRITER

      public static final Acl.Role WRITER
  • 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)
      Get the Role for the given String constant, and allow unrecognized values.
    • values

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