Interface OAuthTokenOrBuilder (2.3.3)

public interface OAuthTokenOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getScope()

public abstract String getScope()

OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.

string scope = 2;

Returns
TypeDescription
String

The scope.

getScopeBytes()

public abstract ByteString getScopeBytes()

OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.

string scope = 2;

Returns
TypeDescription
ByteString

The bytes for scope.

getServiceAccountEmail()

public abstract String getServiceAccountEmail()

Service account email to be used for generating OAuth token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.

string service_account_email = 1;

Returns
TypeDescription
String

The serviceAccountEmail.

getServiceAccountEmailBytes()

public abstract ByteString getServiceAccountEmailBytes()

Service account email to be used for generating OAuth token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.

string service_account_email = 1;

Returns
TypeDescription
ByteString

The bytes for serviceAccountEmail.