Class AppEngineCredentials.Builder (1.54.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 @Nullable AppIdentityService getAppIdentityService()
Returns
Type Description
@org.jspecify.annotations.Nullable com.google.appengine.api.appidentity.AppIdentityService

getScopes()

public @Nullable Collection<String> getScopes()
Returns
Type Description
@org.jspecify.annotations.Nullable java.util.Collection<String>

setAppIdentityService(@Nullable AppIdentityService appIdentityService)

public AppEngineCredentials.Builder setAppIdentityService(@Nullable AppIdentityService appIdentityService)
Parameter
Name Description
appIdentityService @org.jspecify.annotations.Nullable com.google.appengine.api.appidentity.AppIdentityService
Returns
Type Description
AppEngineCredentials.Builder

setQuotaProjectId(@Nullable String quotaProjectId)

public AppEngineCredentials.Builder setQuotaProjectId(@Nullable String quotaProjectId)
Parameter
Name Description
quotaProjectId @org.jspecify.annotations.Nullable java.lang.String
Returns
Type Description
AppEngineCredentials.Builder
Overrides

setScopes(@Nullable Collection<String> scopes)

public AppEngineCredentials.Builder setScopes(@Nullable Collection<String> scopes)
Parameter
Name Description
scopes @org.jspecify.annotations.Nullable java.util.Collection<String>
Returns
Type Description
AppEngineCredentials.Builder