public static class ComputeEngineCredentials.Builder extends GoogleCredentials.Builder
quotaProjectId
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ComputeEngineCredentials credentials) |
Modifier and Type | Method and Description |
---|---|
ComputeEngineCredentials |
build() |
HttpTransportFactory |
getHttpTransportFactory() |
Collection<String> |
getScopes() |
ComputeEngineCredentials.Builder |
setHttpTransportFactory(HttpTransportFactory transportFactory) |
ComputeEngineCredentials.Builder |
setScopes(Collection<String> scopes) |
getQuotaProjectId, setAccessToken, setQuotaProjectId
getAccessToken, getExpirationMargin, getRefreshMargin, setExpirationMargin, setRefreshMargin
protected Builder()
protected Builder(ComputeEngineCredentials credentials)
public ComputeEngineCredentials.Builder setHttpTransportFactory(HttpTransportFactory transportFactory)
public ComputeEngineCredentials.Builder setScopes(Collection<String> scopes)
public HttpTransportFactory getHttpTransportFactory()
public Collection<String> getScopes()
public ComputeEngineCredentials build()
build
in class GoogleCredentials.Builder
Copyright © 2023 Google. All rights reserved.