Class Identity.Type (2.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class Identity.Type extends StringEnumValue
The types of IAM identities.
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.
ALL_USERS
public static final Identity.Type ALL_USERS
Represents anyone who is on the internet; with or without a Google account.
DOMAIN
public static final Identity.Type DOMAIN
Represents all the users of a Google Apps domain name.
GROUP
public static final Identity.Type GROUP
Represents a Google group.
PROJECT_EDITOR
public static final Identity.Type PROJECT_EDITOR
Represents editors of a Google Cloud Platform project.
PROJECT_OWNER
public static final Identity.Type PROJECT_OWNER
Represents owners of a Google Cloud Platform project.
PROJECT_VIEWER
public static final Identity.Type PROJECT_VIEWER
Represents viewers of a Google Cloud Platform project.
SERVICE_ACCOUNT
public static final Identity.Type SERVICE_ACCOUNT
Represents a service account.
USER
public static final Identity.Type USER
Represents a specific Google account.
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 |
---|
Name | Description |
constant | String
|
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 |
---|
Name | Description |
constant | String
|
values()
public static Identity.Type[] values()
Return the known values for Type.
Returns |
---|
Type | Description |
Type[] | |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-10 UTC."}