public class GcpCredentialFactory extends java.lang.Object implements CredentialFactory
Constructor and Description |
---|
GcpCredentialFactory() |
Modifier and Type | Method and Description |
---|---|
static GcpCredentialFactory |
fromOptions(PipelineOptions options) |
com.google.auth.Credentials |
getCredential()
Returns a default GCP
Credentials or null when it fails. |
public static GcpCredentialFactory fromOptions(PipelineOptions options)
public com.google.auth.Credentials getCredential()
Credentials
or null when it fails.getCredential
in interface CredentialFactory