public final class ServiceAccount extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
email()
Returns the email address of the service account.
|
boolean |
equals(Object obj) |
int |
hashCode() |
static ServiceAccount |
of(String email,
List<String> scopes)
Returns a
ServiceAccount object for the provided email and scopes. |
static ServiceAccount |
of(String email,
String... scopes)
Returns a
ServiceAccount object for the provided email and scopes. |
List<String> |
scopes()
Returns the list of scopes to be made available for this service account.
|
String |
toString() |
public String email()
public List<String> scopes()
public static ServiceAccount of(String email, List<String> scopes)
ServiceAccount object for the provided email and scopes.public static ServiceAccount of(String email, String... scopes)
ServiceAccount object for the provided email and scopes.Copyright © 2016 Google. All rights reserved.