Dialogflow/src/V2/QueryParameters.php
public function setSentimentAnalysisRequestConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\SentimentAnalysisRequestConfig::class);
        $this->sentiment_analysis_request_config = $var;

        return $this;
    }
public function setSentimentAnalysisRequestConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\SentimentAnalysisRequestConfig::class);
        $this->sentiment_analysis_request_config = $var;

        return $this;
    }
public function setSentimentAnalysisRequestConfig ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dialogflow \ V2 \ SentimentAnalysisRequestConfig :: class ) ; $ this -> sentiment_analysis_request_config = $ var ; return $ this ; }
Optional. Configures the type of sentiment analysis to perform. If not
provided, sentiment analysis is not performed.

Generated from protobuf field <code>.google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig sentiment_analysis_request_config = 10;</code>
@param \Google\Cloud\Dialogflow\V2\SentimentAnalysisRequestConfig $var
@return $this
Optional . Configures the type of sentiment analysis to perform . If not provided sentiment analysis is not performed .