Package com.google.auth.oauth2
Class CloudShellCredentials.Builder
java.lang.Object
com.google.auth.oauth2.OAuth2Credentials.Builder
com.google.auth.oauth2.GoogleCredentials.Builder
com.google.auth.oauth2.CloudShellCredentials.Builder
- Enclosing class:
CloudShellCredentials
-
Field Summary
FieldsFields inherited from class com.google.auth.oauth2.GoogleCredentials.Builder
quotaProjectId, universeDomain
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Builder()
protected
Builder
(CloudShellCredentials credentials) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
int
setAuthPort
(int authPort) setQuotaProjectId
(String quotaProjectId) Methods inherited from class com.google.auth.oauth2.GoogleCredentials.Builder
getQuotaProjectId, getUniverseDomain, setAccessToken, setUniverseDomain
Methods inherited from class com.google.auth.oauth2.OAuth2Credentials.Builder
getAccessToken, getExpirationMargin, getRefreshMargin, setExpirationMargin, setRefreshMargin
-
Field Details
-
authPort
private int authPort
-
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
-
Method Details
-
setAuthPort
-
setQuotaProjectId
- Overrides:
setQuotaProjectId
in classGoogleCredentials.Builder
-
getAuthPort
public int getAuthPort() -
build
- Overrides:
build
in classGoogleCredentials.Builder
-