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