Enum Class GcpScope

java.lang.Object
java.lang.Enum<GcpScope>
com.google.cloud.spring.core.GcpScope
All Implemented Interfaces:
Serializable, Comparable<GcpScope>, Constable

public enum GcpScope extends Enum<GcpScope>
OAuth2 scopes for Google Cloud services integrated by Spring Cloud GCP.
  • Enum Constant Details

    • PUBSUB

      public static final GcpScope PUBSUB
      scope for Pub/Sub. *
    • SPANNER_ADMIN

      public static final GcpScope SPANNER_ADMIN
      scope for Spanner database admin functions. *
    • SPANNER_DATA

      public static final GcpScope SPANNER_DATA
      scope for Spanner data read and write. *
    • DATASTORE

      public static final GcpScope DATASTORE
      scope for Datastore. *
    • SQLADMIN

      public static final GcpScope SQLADMIN
      scope for SQL Admin. *
    • STORAGE_READ_ONLY

      public static final GcpScope STORAGE_READ_ONLY
      scope for Storage read-only. *
    • STORAGE_READ_WRITE

      public static final GcpScope STORAGE_READ_WRITE
      scope for Storage read-write. *
    • RUNTIME_CONFIG_SCOPE

      public static final GcpScope RUNTIME_CONFIG_SCOPE
      scope for Runtime Configurator. *
    • TRACE_APPEND

      public static final GcpScope TRACE_APPEND
      scope for Trace. *
    • CLOUD_PLATFORM

      public static final GcpScope CLOUD_PLATFORM
      scope for GCP general operations. *
    • CLOUD_VISION

      public static final GcpScope CLOUD_VISION
      scope for Vision. *
    • BIG_QUERY

      public static final GcpScope BIG_QUERY
      scope for BigQuery.
    • CLOUD_MONITORING_WRITE

      public static final GcpScope CLOUD_MONITORING_WRITE
      scope for Cloud Monitoring.
  • Method Details

    • values

      public static GcpScope[] 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 GcpScope 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
    • getUrl

      public String getUrl()