Logging/src/V2/LogEntry.php
public function setOperation($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Logging\V2\LogEntryOperation::class);
        $this->operation = $var;

        return $this;
    }
public function setOperation($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Logging\V2\LogEntryOperation::class);
        $this->operation = $var;

        return $this;
    }
public function setOperation ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Logging \ V2 \ LogEntryOperation :: class ) ; $ this -> operation = $ var ; return $ this ; }
Optional. Information about an operation associated with the log entry, if
applicable.

Generated from protobuf field <code>.google.logging.v2.LogEntryOperation operation = 15;</code>
@param \Google\Cloud\Logging\V2\LogEntryOperation $var
@return $this
Optional . Information about an operation associated with the log entry if applicable .