GoogleCloudAiplatformV1AuthConfigOauthConfig
import type { GoogleCloudAiplatformV1AuthConfigOauthConfig } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";
Config for user oauth.
interface GoogleCloudAiplatformV1AuthConfigOauthConfig {
accessToken?: string;
serviceAccount?: string;
}§Properties
§
accessToken?: string
[src]Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
§
serviceAccount?: string
[src]The service account used to generate access tokens for executing the
Extension. - If the service account is specified, the
iam.serviceAccounts.getAccessToken
permission should be granted to Vertex
AI Extension Service Agent
(https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents)
on the provided service account.