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

GoogleCloudIntegrationsV1alphaCredential

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

Defines parameters for a single, canonical credential.

interface GoogleCloudIntegrationsV1alphaCredential {
credentialType?:
| "CREDENTIAL_TYPE_UNSPECIFIED"
| "USERNAME_AND_PASSWORD"
| "API_KEY"
| "OAUTH2_AUTHORIZATION_CODE"
| "OAUTH2_IMPLICIT"
| "OAUTH2_CLIENT_CREDENTIALS"
| "OAUTH2_RESOURCE_OWNER_CREDENTIALS"
| "JWT"
| "AUTH_TOKEN"
| "SERVICE_ACCOUNT"
| "CLIENT_CERTIFICATE_ONLY"
| "OIDC_TOKEN";
}

§Properties

§

Auth token credential

§
credentialType?: "CREDENTIAL_TYPE_UNSPECIFIED" | "USERNAME_AND_PASSWORD" | "API_KEY" | "OAUTH2_AUTHORIZATION_CODE" | "OAUTH2_IMPLICIT" | "OAUTH2_CLIENT_CREDENTIALS" | "OAUTH2_RESOURCE_OWNER_CREDENTIALS" | "JWT" | "AUTH_TOKEN" | "SERVICE_ACCOUNT" | "CLIENT_CERTIFICATE_ONLY" | "OIDC_TOKEN"
[src]

Credential type associated with auth config.

§

The api_key and oauth2_implicit are not covered in v1 and will be picked up once v1 is implemented. ApiKey api_key = 3; OAuth2 authorization code credential

§

OAuth2Implicit oauth2_implicit = 5; OAuth2 client credentials

§

OAuth2 resource owner credentials

§

Google OIDC ID Token

§

Service account credential

§

Username and password credential