Logging/src/V2/LogEntry.php
public function setHttpRequest($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Logging\Type\HttpRequest::class);
        $this->http_request = $var;

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

        return $this;
    }
public function setHttpRequest ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Logging \ Type \ HttpRequest :: class ) ; $ this -> http_request = $ var ; return $ this ; }
Optional. Information about the HTTP request associated with this
log entry, if applicable.

Generated from protobuf field <code>.google.logging.type.HttpRequest http_request = 7;</code>
@param \Google\Cloud\Logging\Type\HttpRequest $var
@return $this
Optional . Information about the HTTP request associated with this log entry if applicable .