Class AppEngineCredentials.Builder (1.24.1)

publicstaticclass AppEngineCredentials.BuilderextendsGoogleCredentials.Builder

Inheritance

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

Constructors

Builder()

protectedBuilder()

Builder(AppEngineCredentials credentials)

protectedBuilder(AppEngineCredentialscredentials)
Parameter
Name Description
credentials AppEngineCredentials

Methods

build()

publicAppEngineCredentialsbuild()
Returns
Type Description
AppEngineCredentials
Overrides

getAppIdentityService()

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

getScopes()

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

setAppIdentityService(AppIdentityService appIdentityService)

publicAppEngineCredentials.BuildersetAppIdentityService(AppIdentityServiceappIdentityService)
Parameter
Name Description
appIdentityService com.google.appengine.api.appidentity.AppIdentityService
Returns
Type Description
AppEngineCredentials.Builder

setScopes(Collection<String> scopes)

publicAppEngineCredentials.BuildersetScopes(Collection<String>scopes)
Parameter
Name Description
scopes Collection<String>
Returns
Type Description
AppEngineCredentials.Builder

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.