public enum RequestedVisibility extends java.lang.Enum<RequestedVisibility>
ResolvedVisibility
for more info on the possible resolved visibility
values of shared links.Enum Constant and Description |
---|
PASSWORD
A link-specific password is required to access the link.
|
PUBLIC
Anyone who has received the link can access it.
|
TEAM_ONLY
Only members of the same team can access the link.
|
Modifier and Type | Method and Description |
---|---|
static RequestedVisibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestedVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestedVisibility PUBLIC
public static final RequestedVisibility TEAM_ONLY
public static final RequestedVisibility PASSWORD
public static RequestedVisibility[] values()
for (RequestedVisibility c : RequestedVisibility.values()) System.out.println(c);
public static RequestedVisibility valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null