Package com.google.api.gax.core
Class NoCredentialsProvider
java.lang.Object
com.google.api.gax.core.NoCredentialsProvider
- All Implemented Interfaces:
CredentialsProvider
NoCredentialsProvider is a CredentialsProvider which always returns null.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NoCredentialsProvider
create()
com.google.auth.Credentials
Gets the credentials which will be used to call the service.
-
Constructor Details
-
NoCredentialsProvider
public NoCredentialsProvider()
-
-
Method Details
-
getCredentials
public com.google.auth.Credentials getCredentials()Description copied from interface:CredentialsProvider
Gets the credentials which will be used to call the service. If the credentials have not been acquired yet, then they will be acquired when this function is called.- Specified by:
getCredentials
in interfaceCredentialsProvider
-
create
-