Class CloudShellCredentials.Builder (1.27.0)

public static class CloudShellCredentials.Builder extends GoogleCredentials.Builder

Inheritance

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

Constructors

Builder()

protected Builder()

Builder(CloudShellCredentials credentials)

protected Builder(CloudShellCredentials credentials)
Parameter
Name Description
credentials CloudShellCredentials

Methods

build()

public CloudShellCredentials build()
Returns
Type Description
CloudShellCredentials
Overrides

getAuthPort()

public int getAuthPort()
Returns
Type Description
int

setAuthPort(int authPort)

public CloudShellCredentials.Builder setAuthPort(int authPort)
Parameter
Name Description
authPort int
Returns
Type Description
CloudShellCredentials.Builder

setQuotaProjectId(String quotaProjectId)

public CloudShellCredentials.Builder setQuotaProjectId(String quotaProjectId)
Parameter
Name Description
quotaProjectId String
Returns
Type Description
CloudShellCredentials.Builder
Overrides