Class NoCredentialsProvider

java.lang.Object
com.google.api.gax.core.NoCredentialsProvider
All Implemented Interfaces:
CredentialsProvider

public final class NoCredentialsProvider extends Object implements CredentialsProvider
NoCredentialsProvider is a CredentialsProvider which always returns null.
  • 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 interface CredentialsProvider
    • create

      public static NoCredentialsProvider create()