OAuthConfig
import type { OAuthConfig } from "https://googleapis.deno.dev/v1/ces:v1.ts";Configurations for authentication with OAuth.
interface OAuthConfig {
clientId?: string;
clientSecretVersion?: string;
oauthGrantType?: "OAUTH_GRANT_TYPE_UNSPECIFIED" | "CLIENT_CREDENTIAL";
scopes?: string[];
tokenEndpoint?: string;
}§Properties
§
clientSecretVersion?: string
[src]Required. The name of the SecretManager secret version resource storing
the client secret. Format:
projects/{project}/secrets/{secret}/versions/{version} Note: You should
grant roles/secretmanager.secretAccessor role to the CES service agent
service-@gcp-sa-ces.iam.gserviceaccount.com.