public enum GcpScope extends Enum<GcpScope>
Enum Constant and Description |
---|
BIG_QUERY
scope for BigQuery.
|
CLOUD_MONITORING_WRITE
scope for Cloud Monitoring.
|
CLOUD_PLATFORM
scope for GCP general operations.
|
CLOUD_VISION
scope for Vision.
|
DATASTORE
scope for Datastore.
|
PUBSUB
scope for Pub/Sub.
|
RUNTIME_CONFIG_SCOPE
scope for Runtime Configurator.
|
SPANNER_ADMIN
scope for Spanner database admin functions.
|
SPANNER_DATA
scope for Spanner data read and write.
|
SQLADMIN
scope for SQL Admin.
|
STORAGE_READ_ONLY
scope for Storage read-only.
|
STORAGE_READ_WRITE
scope for Storage read-write.
|
TRACE_APPEND
scope for Trace.
|
Modifier and Type | Method and Description |
---|---|
String |
getUrl() |
static GcpScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GcpScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GcpScope PUBSUB
public static final GcpScope SPANNER_ADMIN
public static final GcpScope SPANNER_DATA
public static final GcpScope DATASTORE
public static final GcpScope SQLADMIN
public static final GcpScope STORAGE_READ_ONLY
public static final GcpScope STORAGE_READ_WRITE
public static final GcpScope RUNTIME_CONFIG_SCOPE
public static final GcpScope TRACE_APPEND
public static final GcpScope CLOUD_PLATFORM
public static final GcpScope CLOUD_VISION
public static final GcpScope BIG_QUERY
public static final GcpScope CLOUD_MONITORING_WRITE
public static GcpScope[] values()
for (GcpScope c : GcpScope.values()) System.out.println(c);
public static GcpScope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getUrl()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.