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