Module bus.gitlab

Enum Class Constants.ApplicationScope

java.lang.Object
java.lang.Enum<Constants.ApplicationScope>
org.miaixz.bus.gitlab.models.Constants.ApplicationScope
All Implemented Interfaces:
Serializable, Comparable<Constants.ApplicationScope>, Constable
Enclosing interface:
Constants

public static enum Constants.ApplicationScope extends Enum<Constants.ApplicationScope>
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 Constants
    Enum Constant
    Description
    Grants 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 Type
    Method
    Description
     
     
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • API

      public static final Constants.ApplicationScope 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

      public static final Constants.ApplicationScope READ_API
      Grants read access to the API, including all groups and projects, the container registry, and the package registry.
    • READ_USER

      public static final Constants.ApplicationScope 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

      public static final Constants.ApplicationScope CREATE_RUNNER
      Grants create access to the runners.
    • MANAGE_RUNNER

      public static final Constants.ApplicationScope MANAGE_RUNNER
      Grants access to manage the runners.
    • K8S_PROXY

      public static final Constants.ApplicationScope K8S_PROXY
      Grants permission to perform Kubernetes API calls using the agent for Kubernetes.
    • READ_REPOSITORY

      public static final Constants.ApplicationScope READ_REPOSITORY
      Grants read-only access to repositories on private projects using Git-over-HTTP or the Repository Files API.
    • WRITE_REPOSITORY

      public static final Constants.ApplicationScope WRITE_REPOSITORY
      Grants read-write access to repositories on private projects using Git-over-HTTP (not using the API).
    • READ_OBSERVABILITY

      public static final Constants.ApplicationScope READ_OBSERVABILITY
      Grants read-only access to GitLab Observability.
    • WRITE_OBSERVABILITY

      public static final Constants.ApplicationScope WRITE_OBSERVABILITY
      Grants write access to GitLab Observability.
    • AI_FEATURES

      public static final Constants.ApplicationScope AI_FEATURES
      Grants access to GitLab Duo related API endpoints.
    • SUDO

      public static final Constants.ApplicationScope SUDO
      Grants permission to perform API actions as any user in the system, when authenticated as an admin user.
    • ADMIN_MODE

      public static final Constants.ApplicationScope ADMIN_MODE
      Grants permission to perform API actions as an administrator, when Admin Mode is enabled.
    • READ_SERVICE_PING

      public static final Constants.ApplicationScope READ_SERVICE_PING
      Grant access to download Service Ping payload via API when authenticated as an admin user.
    • OPENID

      public static final Constants.ApplicationScope OPENID
      Grants permission to authenticate with GitLab using OpenID Connect. Also gives read-only access to the user's profile and group memberships.
    • PROFILE

      public static final Constants.ApplicationScope PROFILE
      Grants read-only access to the user's profile data using OpenID Connect.
    • EMAIL

      public static final Constants.ApplicationScope EMAIL
      Grants read-only access to the user's primary email address using OpenID Connect.
  • Method Details

    • values

      public static Constants.ApplicationScope[] 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

      public static Constants.ApplicationScope valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • forValue

      public static Constants.ApplicationScope forValue(String value)
    • toValue

      public String toValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Constants.ApplicationScope>