GoogleCloudIntegrationsV1alphaCredential
import type { GoogleCloudIntegrationsV1alphaCredential } from "https://googleapis.deno.dev/v1/integrations:v1.ts";
Defines parameters for a single, canonical credential.
interface GoogleCloudIntegrationsV1alphaCredential {
authToken?: GoogleCloudIntegrationsV1alphaAuthToken;
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";
oauth2AuthorizationCode?: GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode;
oauth2ClientCredentials?: GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials;
oauth2ResourceOwnerCredentials?: GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials;
oidcToken?: GoogleCloudIntegrationsV1alphaOidcToken;
serviceAccountCredentials?: GoogleCloudIntegrationsV1alphaServiceAccountCredentials;
usernameAndPassword?: GoogleCloudIntegrationsV1alphaUsernameAndPassword;
}§Properties
§
authToken?: GoogleCloudIntegrationsV1alphaAuthToken
[src]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.
§
JWT credential
§
oauth2AuthorizationCode?: GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode
[src]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
§
oauth2ClientCredentials?: GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials
[src]OAuth2Implicit oauth2_implicit = 5; OAuth2 client credentials
§
oauth2ResourceOwnerCredentials?: GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials
[src]OAuth2 resource owner credentials
§
oidcToken?: GoogleCloudIntegrationsV1alphaOidcToken
[src]Google OIDC ID Token
§
serviceAccountCredentials?: GoogleCloudIntegrationsV1alphaServiceAccountCredentials
[src]Service account credential
§
usernameAndPassword?: GoogleCloudIntegrationsV1alphaUsernameAndPassword
[src]Username and password credential