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