public static enum Policy.ProjectRole extends Enum<Policy.ProjectRole>
| Enum Constant and Description |
|---|
EDITOR
All viewer permissions and permissions for actions that modify state.
|
OWNER
All editor permissions and permissions for the following actions:
Manage access control for a resource.
|
VIEWER
Permissions for read-only actions that preserve state.
|
| Modifier and Type | Method and Description |
|---|---|
String |
value()
Returns the string value associated with the role.
|
static Policy.ProjectRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Policy.ProjectRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Policy.ProjectRole VIEWER
public static final Policy.ProjectRole EDITOR
public static final Policy.ProjectRole OWNER
public static Policy.ProjectRole[] values()
for (Policy.ProjectRole c : Policy.ProjectRole.values()) System.out.println(c);
public static Policy.ProjectRole valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
Copyright © 2016 Google. All rights reserved.