apiKeySecret = $apiKeySecret; } /** * @return string */ public function getApiKeySecret() { return $this->apiKeySecret; } /** * Optional. The API key to be used in the request directly. * * @param string $apiKeyString */ public function setApiKeyString($apiKeyString) { $this->apiKeyString = $apiKeyString; } /** * @return string */ public function getApiKeyString() { return $this->apiKeyString; } /** * Optional. The location of the API key. * * Accepted values: HTTP_IN_UNSPECIFIED, HTTP_IN_QUERY, HTTP_IN_HEADER, * HTTP_IN_PATH, HTTP_IN_BODY, HTTP_IN_COOKIE * * @param self::HTTP_ELEMENT_LOCATION_* $httpElementLocation */ public function setHttpElementLocation($httpElementLocation) { $this->httpElementLocation = $httpElementLocation; } /** * @return self::HTTP_ELEMENT_LOCATION_* */ public function getHttpElementLocation() { return $this->httpElementLocation; } /** * Optional. The parameter name of the API key. E.g. If the API request is * "https://example.com/act?api_key=", "api_key" would be the parameter name. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1AuthConfigApiKeyConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig');