GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig
import type { GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig } from "https://googleapis.deno.dev/v1/dialogflow:v3.ts";
Config for authentication using bearer token.
interface GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig {
secretVersionForToken?: string;
token?: string;
}§Properties
§
secretVersionForToken?: string
[src]Optional. The name of the SecretManager secret version resource storing
the Bearer token. If this field is set, the token
field will be ignored.
Format: projects/{project}/secrets/{secret}/versions/{version}
§
token?: string
[src]Optional. The text token appended to the text Bearer
to the request
Authorization header. Session parameters
reference
can be used to pass the token dynamically, e.g.
$session.params.parameter-id
.