com.google.cloud.bigtable.config
Class CredentialOptions.P12CredentialOptions
- java.lang.Object
-
- com.google.cloud.bigtable.config.CredentialOptions
-
- com.google.cloud.bigtable.config.CredentialOptions.P12CredentialOptions
-
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- CredentialOptions
public static class CredentialOptions.P12CredentialOptions extends CredentialOptions
A CredentialOptions defined by a serviceAccount and a p12 key file.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.cloud.bigtable.config.CredentialOptions
CredentialOptions.CredentialType, CredentialOptions.JsonCredentialsOptions, CredentialOptions.P12CredentialOptions, CredentialOptions.UserSuppliedCredentialOptions
-
-
Field Summary
-
Fields inherited from class com.google.cloud.bigtable.config.CredentialOptions
LOG, SERVICE_ACCOUNT_JSON_ENV_VARIABLE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
equals(Object obj)
String
getKeyFile()
P12 file - https://developers.google.com/identity/protocols/OAuth2ServiceAccountString
getServiceAccount()
ServiceAccount email address used for the P12 file - https://developers.google.com/identity/protocols/OAuth2ServiceAccount-
Methods inherited from class com.google.cloud.bigtable.config.CredentialOptions
credential, defaultCredentials, getCredentialType, getEnvJsonFile, jsonCredentials, jsonCredentials, nullCredential, p12Credential
-
-
-
-
Method Detail
-
getServiceAccount
public String getServiceAccount()
ServiceAccount email address used for the P12 file - https://developers.google.com/identity/protocols/OAuth2ServiceAccount
-
getKeyFile
public String getKeyFile()
P12 file - https://developers.google.com/identity/protocols/OAuth2ServiceAccount
-
equals
public boolean equals(Object obj)
Description copied from class:CredentialOptions
- Overrides:
equals
in classCredentialOptions
-
-