Class ServiceAccount (2.17.2)

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
Name Description
email String
Returns
Type Description
ServiceAccount

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getEmail()

public String getEmail()

Returns the email address of the service account.

Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides