Interface OAuthTokenOrBuilder (2.48.0)

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
Type Description
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
Type Description
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 job. The caller must have iam.serviceAccounts.actAs permission for the service account.

string service_account_email = 1;

Returns
Type Description
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 job. The caller must have iam.serviceAccounts.actAs permission for the service account.

string service_account_email = 1;

Returns
Type Description
ByteString

The bytes for serviceAccountEmail.