Class ServiceAccount (2.9.0)

public final class ServiceAccount implements Serializable

A service account, with its specified scopes, authorized for this instance. See Also: Authenticating from Google Cloud Storage

Inheritance

Object > ServiceAccount

Implements

Serializable

Static Methods

of(String email)

public static ServiceAccount of(String email)

Returns a ServiceAccount object for the provided email.

Parameter
NameDescription
emailString
Returns
TypeDescription
ServiceAccount

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getEmail()

public String getEmail()

Returns the email address of the service account.

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides