apiKeyConfig = $apiKeyConfig; } /** * @return GoogleCloudAiplatformV1AuthConfigApiKeyConfig */ public function getApiKeyConfig() { return $this->apiKeyConfig; } /** * Type of auth scheme. * * Accepted values: AUTH_TYPE_UNSPECIFIED, NO_AUTH, API_KEY_AUTH, * HTTP_BASIC_AUTH, GOOGLE_SERVICE_ACCOUNT_AUTH, OAUTH, OIDC_AUTH * * @param self::AUTH_TYPE_* $authType */ public function setAuthType($authType) { $this->authType = $authType; } /** * @return self::AUTH_TYPE_* */ public function getAuthType() { return $this->authType; } /** * Config for Google Service Account auth. * * @param GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig $googleServiceAccountConfig */ public function setGoogleServiceAccountConfig(GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig $googleServiceAccountConfig) { $this->googleServiceAccountConfig = $googleServiceAccountConfig; } /** * @return GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig */ public function getGoogleServiceAccountConfig() { return $this->googleServiceAccountConfig; } /** * Config for HTTP Basic auth. * * @param GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig $httpBasicAuthConfig */ public function setHttpBasicAuthConfig(GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig $httpBasicAuthConfig) { $this->httpBasicAuthConfig = $httpBasicAuthConfig; } /** * @return GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig */ public function getHttpBasicAuthConfig() { return $this->httpBasicAuthConfig; } /** * Config for user oauth. * * @param GoogleCloudAiplatformV1AuthConfigOauthConfig $oauthConfig */ public function setOauthConfig(GoogleCloudAiplatformV1AuthConfigOauthConfig $oauthConfig) { $this->oauthConfig = $oauthConfig; } /** * @return GoogleCloudAiplatformV1AuthConfigOauthConfig */ public function getOauthConfig() { return $this->oauthConfig; } /** * Config for user OIDC auth. * * @param GoogleCloudAiplatformV1AuthConfigOidcConfig $oidcConfig */ public function setOidcConfig(GoogleCloudAiplatformV1AuthConfigOidcConfig $oidcConfig) { $this->oidcConfig = $oidcConfig; } /** * @return GoogleCloudAiplatformV1AuthConfigOidcConfig */ public function getOidcConfig() { return $this->oidcConfig; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1AuthConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AuthConfig');