Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ServiceAccountAuthConfig

import type { ServiceAccountAuthConfig } from "https://googleapis.deno.dev/v1/ces:v1.ts";

Configurations for authentication using a custom service account.

interface ServiceAccountAuthConfig {
scopes?: string[];
serviceAccount?: string;
}

§Properties

§
scopes?: string[]
[src]

Optional. The OAuth scopes to grant. If not specified, the default scope https://www.googleapis.com/auth/cloud-platform is used.

§
serviceAccount?: string
[src]

Required. The email address of the service account used for authentication. CES uses this service account to exchange an access token and the access token is then sent in the Authorization header of the request. The service account must have the roles/iam.serviceAccountTokenCreator role granted to the CES service agent service-@gcp-sa-ces.iam.gserviceaccount.com.