httpRequest = $httpRequest; } /** * @return GoogleCloudDiscoveryengineLoggingHttpRequestContext */ public function getHttpRequest() { return $this->httpRequest; } /** * The location in the source code where the decision was made to report the * error, usually the place where it was logged. * * @param GoogleCloudDiscoveryengineLoggingSourceLocation $reportLocation */ public function setReportLocation(GoogleCloudDiscoveryengineLoggingSourceLocation $reportLocation) { $this->reportLocation = $reportLocation; } /** * @return GoogleCloudDiscoveryengineLoggingSourceLocation */ public function getReportLocation() { return $this->reportLocation; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDiscoveryengineLoggingErrorContext::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorContext');