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

GoogleCloudApihubV1AuthConfig

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

AuthConfig represents the authentication information.

interface GoogleCloudApihubV1AuthConfig {
authType?:
| "AUTH_TYPE_UNSPECIFIED"
| "NO_AUTH"
| "GOOGLE_SERVICE_ACCOUNT"
| "USER_PASSWORD"
| "API_KEY"
| "OAUTH2_CLIENT_CREDENTIALS";
googleServiceAccountConfig?: GoogleCloudApihubV1GoogleServiceAccountConfig;
oauth2ClientCredentialsConfig?: GoogleCloudApihubV1Oauth2ClientCredentialsConfig;
}

§Properties

§

Api Key Config.

§
authType?: "AUTH_TYPE_UNSPECIFIED" | "NO_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "USER_PASSWORD" | "API_KEY" | "OAUTH2_CLIENT_CREDENTIALS"
[src]

Required. The authentication type.

§

Google Service Account.

§

Oauth2.0 Client Credentials.

§

User Password.