Class AppEngineCredentials.Builder (1.27.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
Name Description
credentials AppEngineCredentials

Methods

build()

public AppEngineCredentials build()
Returns
Type Description
AppEngineCredentials
Overrides

getAppIdentityService()

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

getScopes()

public Collection<String> getScopes()
Returns
Type Description
Collection<String>

setAppIdentityService(AppIdentityService appIdentityService)

public AppEngineCredentials.Builder setAppIdentityService(AppIdentityService appIdentityService)
Parameter
Name Description
appIdentityService com.google.appengine.api.appidentity.AppIdentityService
Returns
Type Description
AppEngineCredentials.Builder

setScopes(Collection<String> scopes)

public AppEngineCredentials.Builder setScopes(Collection<String> scopes)
Parameter
Name Description
scopes Collection<String>
Returns
Type Description
AppEngineCredentials.Builder