public static class GcpOptions.GcpUserCredentialsFactory extends java.lang.Object implements DefaultValueFactory<com.google.auth.Credentials>
CredentialFactory.getCredential()
for more details.Constructor and Description |
---|
GcpUserCredentialsFactory() |
Modifier and Type | Method and Description |
---|---|
com.google.auth.Credentials |
create(PipelineOptions options)
Creates a default value for a getter marked with
Default.InstanceFactory . |
public com.google.auth.Credentials create(PipelineOptions options)
DefaultValueFactory
Default.InstanceFactory
.create
in interface DefaultValueFactory<com.google.auth.Credentials>
options
- The current pipeline options.