Interface ServiceAccountOrBuilder (0.6.0)

public interface ServiceAccountOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEmail()

public abstract String getEmail()

Email address of the service account. If not specified, the default Compute Engine service account for the project will be used.

string email = 1;

Returns
TypeDescription
String

The email.

getEmailBytes()

public abstract ByteString getEmailBytes()

Email address of the service account. If not specified, the default Compute Engine service account for the project will be used.

string email = 1;

Returns
TypeDescription
ByteString

The bytes for email.

getScopes(int index)

public abstract String getScopes(int index)

List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.

repeated string scopes = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The scopes at the given index.

getScopesBytes(int index)

public abstract ByteString getScopesBytes(int index)

List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.

repeated string scopes = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the scopes at the given index.

getScopesCount()

public abstract int getScopesCount()

List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.

repeated string scopes = 2;

Returns
TypeDescription
int

The count of scopes.

getScopesList()

public abstract List<String> getScopesList()

List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.

repeated string scopes = 2;

Returns
TypeDescription
List<String>

A list containing the scopes.