ErrorReporting/src/V1beta1/ErrorContext.php
public function setHttpRequest($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\ErrorReporting\V1beta1\HttpRequestContext::class);
        $this->http_request = $var;

        return $this;
    }
public function setHttpRequest($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\ErrorReporting\V1beta1\HttpRequestContext::class);
        $this->http_request = $var;

        return $this;
    }
public function setHttpRequest ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ ErrorReporting \ V1beta1 \ HttpRequestContext :: class ) ; $ this -> http_request = $ var ; return $ this ; }
The HTTP request which was processed when the error was
triggered.

Generated from protobuf field <code>.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;</code>
@param \Google\Cloud\ErrorReporting\V1beta1\HttpRequestContext $var
@return $this
The HTTP request which was processed when the error was triggered .