public static enum Identity.Type extends Enum<Identity.Type>
| Enum Constant and Description |
|---|
ALL_AUTHENTICATED_USERS
Represents anyone who is authenticated with a Google account or a service account.
|
ALL_USERS
Represents anyone who is on the internet; with or without a Google account.
|
DOMAIN
Represents all the users of a Google Apps domain name.
|
GROUP
Represents a Google group.
|
SERVICE_ACCOUNT
Represents a service account.
|
USER
Represents a specific Google account.
|
| Modifier and Type | Method and Description |
|---|---|
static Identity.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Identity.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Identity.Type ALL_USERS
public static final Identity.Type ALL_AUTHENTICATED_USERS
public static final Identity.Type USER
public static final Identity.Type SERVICE_ACCOUNT
public static final Identity.Type GROUP
public static final Identity.Type DOMAIN
public static Identity.Type[] values()
for (Identity.Type c : Identity.Type.values()) System.out.println(c);
public static Identity.Type 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 nullCopyright © 2016 Google. All rights reserved.