Class Identity.Type (2.36.1)

public static final class Identity.Type extends StringEnumValue

The types of IAM identities.

Inheritance

java.lang.Object > StringEnumValue > Identity.Type

Static Fields

ALL_AUTHENTICATED_USERS

public static final Identity.Type ALL_AUTHENTICATED_USERS

Represents anyone who is authenticated with a Google account or a service account.

Field Value
TypeDescription
Identity.Type

ALL_USERS

public static final Identity.Type ALL_USERS

Represents anyone who is on the internet; with or without a Google account.

Field Value
TypeDescription
Identity.Type

DOMAIN

public static final Identity.Type DOMAIN

Represents all the users of a Google Apps domain name.

Field Value
TypeDescription
Identity.Type

GROUP

public static final Identity.Type GROUP

Represents a Google group.

Field Value
TypeDescription
Identity.Type

PROJECT_EDITOR

public static final Identity.Type PROJECT_EDITOR

Represents editors of a Google Cloud Platform project.

Field Value
TypeDescription
Identity.Type

PROJECT_OWNER

public static final Identity.Type PROJECT_OWNER

Represents owners of a Google Cloud Platform project.

Field Value
TypeDescription
Identity.Type

PROJECT_VIEWER

public static final Identity.Type PROJECT_VIEWER

Represents viewers of a Google Cloud Platform project.

Field Value
TypeDescription
Identity.Type

SERVICE_ACCOUNT

public static final Identity.Type SERVICE_ACCOUNT

Represents a service account.

Field Value
TypeDescription
Identity.Type

USER

public static final Identity.Type USER

Represents a specific Google account.

Field Value
TypeDescription
Identity.Type

Static Methods

valueOf(String constant)

public static Identity.Type valueOf(String constant)

Get the Type for the given String constant, and allow unrecognized values.

Parameter
NameDescription
constantString
Returns
TypeDescription
Identity.Type

valueOfStrict(String constant)

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.

Parameter
NameDescription
constantString
Returns
TypeDescription
Identity.Type

values()

public static Identity.Type[] values()

Return the known values for Type.

Returns
TypeDescription
Type[]