- All Implemented Interfaces:
Serializable,Comparable<Constants.ApplicationScope>,Constable
- Enclosing interface:
Constants
Enum for the various Application scope values.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGrants permission to perform API actions as an administrator, when Admin Mode is enabled.Grants access to GitLab Duo related API endpoints.Grants complete read/write access to the API, including all groups and projects, the container registry, the dependency proxy, and the package registry.Grants create access to the runners.Grants read-only access to the user's primary email address using OpenID Connect.Grants permission to perform Kubernetes API calls using the agent for Kubernetes.Grants access to manage the runners.Grants permission to authenticate with GitLab using OpenID Connect.Grants read-only access to the user's profile data using OpenID Connect.Grants read access to the API, including all groups and projects, the container registry, and the package registry.Grants read-only access to GitLab Observability.Grants read-only access to repositories on private projects using Git-over-HTTP or the Repository Files API.Grant access to download Service Ping payload via API when authenticated as an admin user.Grants read-only access to your profile through the /user API endpoint, which includes username, public email, and full name.Grants permission to perform API actions as any user in the system, when authenticated as an admin user.Grants write access to GitLab Observability.Grants read-write access to repositories on private projects using Git-over-HTTP (not using the API). -
Method Summary
Modifier and TypeMethodDescriptionstatic Constants.ApplicationScopetoString()toValue()static Constants.ApplicationScopeReturns the enum constant of this class with the specified name.static Constants.ApplicationScope[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
API
Grants complete read/write access to the API, including all groups and projects, the container registry, the dependency proxy, and the package registry. -
READ_API
Grants read access to the API, including all groups and projects, the container registry, and the package registry. -
READ_USER
Grants read-only access to your profile through the /user API endpoint, which includes username, public email, and full name. Also grants access to read-only API endpoints under /users. -
CREATE_RUNNER
Grants create access to the runners. -
MANAGE_RUNNER
Grants access to manage the runners. -
K8S_PROXY
Grants permission to perform Kubernetes API calls using the agent for Kubernetes. -
READ_REPOSITORY
Grants read-only access to repositories on private projects using Git-over-HTTP or the Repository Files API. -
WRITE_REPOSITORY
Grants read-write access to repositories on private projects using Git-over-HTTP (not using the API). -
READ_OBSERVABILITY
Grants read-only access to GitLab Observability. -
WRITE_OBSERVABILITY
Grants write access to GitLab Observability. -
AI_FEATURES
Grants access to GitLab Duo related API endpoints. -
SUDO
Grants permission to perform API actions as any user in the system, when authenticated as an admin user. -
ADMIN_MODE
Grants permission to perform API actions as an administrator, when Admin Mode is enabled. -
READ_SERVICE_PING
Grant access to download Service Ping payload via API when authenticated as an admin user. -
OPENID
Grants permission to authenticate with GitLab using OpenID Connect. Also gives read-only access to the user's profile and group memberships. -
PROFILE
Grants read-only access to the user's profile data using OpenID Connect. -
EMAIL
Grants read-only access to the user's primary email address using OpenID Connect.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forValue
-
toValue
-
toString
- Overrides:
toStringin classEnum<Constants.ApplicationScope>
-