Class AppEngineCredentials.Builder (1.19.0)

public static class AppEngineCredentials.Builder extends GoogleCredentials.Builder

Inheritance

java.lang.Object > OAuth2Credentials.Builder > GoogleCredentials.Builder > AppEngineCredentials.Builder

Constructors

Builder()

protected Builder()

Builder(AppEngineCredentials credentials)

protected Builder(AppEngineCredentials credentials)
Parameter
NameDescription
credentialsAppEngineCredentials

Methods

build()

public AppEngineCredentials build()
Returns
TypeDescription
AppEngineCredentials
Overrides

getAppIdentityService()

public AppIdentityService getAppIdentityService()
Returns
TypeDescription
com.google.appengine.api.appidentity.AppIdentityService

getScopes()

public Collection<String> getScopes()
Returns
TypeDescription
Collection<String>

setAppIdentityService(AppIdentityService appIdentityService)

public AppEngineCredentials.Builder setAppIdentityService(AppIdentityService appIdentityService)
Parameter
NameDescription
appIdentityServicecom.google.appengine.api.appidentity.AppIdentityService
Returns
TypeDescription
AppEngineCredentials.Builder

setScopes(Collection<String> scopes)

public AppEngineCredentials.Builder setScopes(Collection<String> scopes)
Parameter
NameDescription
scopesCollection<String>
Returns
TypeDescription
AppEngineCredentials.Builder