| Package | Description |
|---|---|
| com.google.cloud |
Core classes for the
gcloud-java library. |
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthCredentials.AppEngineAuthCredentials
Represents built-in credentials when running in Google App Engine.
|
static class |
AuthCredentials.ApplicationDefaultAuthCredentials
Represents Application Default Credentials, which are credentials that are inferred from the
runtime environment.
|
static class |
AuthCredentials.NoAuthCredentials
A placeholder for credentials to signify that requests sent to the server should not be
authenticated.
|
static class |
AuthCredentials.ServiceAccountAuthCredentials
Represents service account credentials.
|
| Modifier and Type | Method and Description |
|---|---|
AuthCredentials |
ServiceOptions.authCredentials()
Returns the authentication credentials.
|
static AuthCredentials |
AuthCredentials.createApplicationDefaults()
Returns the Application Default Credentials.
|
static AuthCredentials |
AuthCredentials.createForAppEngine() |
static AuthCredentials |
AuthCredentials.noAuth()
Creates a placeholder denoting that no credentials should be used.
|
| Modifier and Type | Method and Description |
|---|---|
RestorableState<AuthCredentials> |
AuthCredentials.AppEngineAuthCredentials.capture() |
RestorableState<AuthCredentials> |
AuthCredentials.ServiceAccountAuthCredentials.capture() |
RestorableState<AuthCredentials> |
AuthCredentials.ApplicationDefaultAuthCredentials.capture() |
RestorableState<AuthCredentials> |
AuthCredentials.NoAuthCredentials.capture() |
| Modifier and Type | Method and Description |
|---|---|
B |
ServiceOptions.Builder.authCredentials(AuthCredentials authCredentials)
Sets the service authentication credentials.
|
Copyright © 2016 Google. All rights reserved.