Package com.google.cloud
Class Identity.Type
- java.lang.Object
-
- com.google.cloud.StringEnumValue
-
- com.google.cloud.Identity.Type
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Identity
public static final class Identity.Type extends StringEnumValue
The types of IAM identities.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Identity.TypeALL_AUTHENTICATED_USERSRepresents anyone who is authenticated with a Google account or a service account.static Identity.TypeALL_USERSRepresents anyone who is on the internet; with or without a Google account.static Identity.TypeDOMAINRepresents all the users of a Google Apps domain name.static Identity.TypeGROUPRepresents a Google group.static Identity.TypePROJECT_EDITORRepresents editors of a Google Cloud Platform project.static Identity.TypePROJECT_OWNERRepresents owners of a Google Cloud Platform project.static Identity.TypePROJECT_VIEWERRepresents viewers of a Google Cloud Platform project.static Identity.TypeSERVICE_ACCOUNTRepresents a service account.static Identity.TypeUSERRepresents a specific Google account.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Identity.TypevalueOf(String constant)Get the Type for the given String constant, and allow unrecognized values.static Identity.TypevalueOfStrict(String constant)Get the Type for the given String constant, and throw an exception if the constant is not recognized.static Identity.Type[]values()Return the known values for Type.-
Methods inherited from class com.google.cloud.StringEnumValue
equals, hashCode, name, toString
-
-
-
-
Field Detail
-
ALL_USERS
public static final Identity.Type ALL_USERS
Represents anyone who is on the internet; with or without a Google account.
-
ALL_AUTHENTICATED_USERS
public static final Identity.Type ALL_AUTHENTICATED_USERS
Represents anyone who is authenticated with a Google account or a service account.
-
USER
public static final Identity.Type USER
Represents a specific Google account.
-
SERVICE_ACCOUNT
public static final Identity.Type SERVICE_ACCOUNT
Represents a service account.
-
GROUP
public static final Identity.Type GROUP
Represents a Google group.
-
DOMAIN
public static final Identity.Type DOMAIN
Represents all the users of a Google Apps domain name.
-
PROJECT_OWNER
public static final Identity.Type PROJECT_OWNER
Represents owners of a Google Cloud Platform project.
-
PROJECT_EDITOR
public static final Identity.Type PROJECT_EDITOR
Represents editors of a Google Cloud Platform project.
-
PROJECT_VIEWER
public static final Identity.Type PROJECT_VIEWER
Represents viewers of a Google Cloud Platform project.
-
-
Method Detail
-
valueOfStrict
public static Identity.Type valueOfStrict(String constant)
Get the Type for the given String constant, and throw an exception if the constant is not recognized.
-
valueOf
public static Identity.Type valueOf(String constant)
Get the Type for the given String constant, and allow unrecognized values.
-
values
public static Identity.Type[] values()
Return the known values for Type.
-
-