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