Class GcpCredentialFactory
java.lang.Object
org.apache.beam.sdk.extensions.gcp.auth.GcpCredentialFactory
- All Implemented Interfaces:
 CredentialFactory
Construct an oauth credential to be used by the SDK and the SDK workers. Returns a GCP
 credential.
- 
Method Summary
Modifier and TypeMethodDescriptionstatic GcpCredentialFactoryfromOptions(PipelineOptions options) @Nullable com.google.auth.CredentialsReturns a default GCPCredentialsor null when it fails. 
- 
Method Details
- 
fromOptions
 - 
getCredential
Returns a default GCPCredentialsor null when it fails.- Specified by:
 getCredentialin interfaceCredentialFactory
 
 -