public static class ServiceAccount.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ServiceAccount.Builder |
addAllScopes(List<String> scopes)
The list of scopes to be made available for this service account.
|
ServiceAccount.Builder |
addScopes(String scopes)
The list of scopes to be made available for this service account.
|
ServiceAccount |
build() |
ServiceAccount.Builder |
clone() |
String |
getEmail()
Email address of the service account.
|
List<String> |
getScopesList()
The list of scopes to be made available for this service account.
|
ServiceAccount.Builder |
mergeFrom(ServiceAccount other) |
ServiceAccount.Builder |
setEmail(String email)
Email address of the service account.
|
public ServiceAccount.Builder mergeFrom(ServiceAccount other)
public String getEmail()
public ServiceAccount.Builder setEmail(String email)
public List<String> getScopesList()
public ServiceAccount.Builder addAllScopes(List<String> scopes)
public ServiceAccount.Builder addScopes(String scopes)
public ServiceAccount build()
public ServiceAccount.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.