GoogleCloudApihubV1AuthConfig
import type { GoogleCloudApihubV1AuthConfig } from "https://googleapis.deno.dev/v1/apihub:v1.ts";
AuthConfig represents the authentication information.
interface GoogleCloudApihubV1AuthConfig {
apiKeyConfig?: GoogleCloudApihubV1ApiKeyConfig;
authType?:
| "AUTH_TYPE_UNSPECIFIED"
| "NO_AUTH"
| "GOOGLE_SERVICE_ACCOUNT"
| "USER_PASSWORD"
| "API_KEY"
| "OAUTH2_CLIENT_CREDENTIALS";
googleServiceAccountConfig?: GoogleCloudApihubV1GoogleServiceAccountConfig;
oauth2ClientCredentialsConfig?: GoogleCloudApihubV1Oauth2ClientCredentialsConfig;
userPasswordConfig?: GoogleCloudApihubV1UserPasswordConfig;
}§Properties
§
apiKeyConfig?: GoogleCloudApihubV1ApiKeyConfig
[src]Api Key Config.
§
authType?: "AUTH_TYPE_UNSPECIFIED" | "NO_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "USER_PASSWORD" | "API_KEY" | "OAUTH2_CLIENT_CREDENTIALS"
[src]Required. The authentication type.
§
googleServiceAccountConfig?: GoogleCloudApihubV1GoogleServiceAccountConfig
[src]Google Service Account.
§
oauth2ClientCredentialsConfig?: GoogleCloudApihubV1Oauth2ClientCredentialsConfig
[src]Oauth2.0 Client Credentials.
§
userPasswordConfig?: GoogleCloudApihubV1UserPasswordConfig
[src]User Password.