Package | Description |
---|---|
com.google.cloud.bigtable.config |
Modifier and Type | Class and Description |
---|---|
static class |
CredentialOptions.JsonCredentialsOptions
A CredentialOption that has a json credentials configured as an InputStream instead of a system
environment property.
|
static class |
CredentialOptions.P12CredentialOptions
A CredentialOptions defined by a serviceAccount and a p12 key file.
|
static class |
CredentialOptions.UserSuppliedCredentialOptions
A CredentialOption that supplies the Credentials directly.
|
Modifier and Type | Method and Description |
---|---|
static CredentialOptions |
CredentialOptions.credential(com.google.auth.Credentials credentials)
A CredentialOption that wraps an existing
Credentials object. |
static CredentialOptions |
CredentialOptions.defaultCredentials()
Use the Application Default Credentials which are credentials that identify and authorize the
whole application.
|
CredentialOptions |
BigtableOptions.getCredentialOptions()
Get the credential this object was constructed with.
|
static CredentialOptions |
CredentialOptions.jsonCredentials(InputStream jsonInputStream)
jsonCredentials.
|
static CredentialOptions |
CredentialOptions.jsonCredentials(String jsonString)
jsonCredentials.
|
static CredentialOptions |
CredentialOptions.nullCredential()
No credentials - used for unit testing.
|
static CredentialOptions |
CredentialOptions.p12Credential(String serviceAccount,
String keyFile)
Initializes OAuth2 credential from a private keyfile, as described in Service accounts.
|
Modifier and Type | Method and Description |
---|---|
BigtableOptions.Builder |
BigtableOptions.Builder.setCredentialOptions(CredentialOptions credentialOptions) |