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