OAuthTokenResponse

data class OAuthTokenResponse(val scope: String, val serviceAccountEmail: String)

Contains information needed for generating an OAuth token. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

Constructors

Link copied to clipboard
fun OAuthTokenResponse(scope: String, serviceAccountEmail: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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.