Google Cloud Dialogflow V2 Client - Class CreateConversationModelEvaluationRequest (1.14.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class CreateConversationModelEvaluationRequest.

The request message for ConversationModels.CreateConversationModelEvaluation

Generated from protobuf message google.cloud.dialogflow.v2.CreateConversationModelEvaluationRequest

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The conversation model resource name. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model ID>

↳ conversation_model_evaluation Google\Cloud\Dialogflow\V2\ConversationModelEvaluation

Required. The conversation model evaluation to be created.

getParent

Required. The conversation model resource name. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model ID>

Returns
Type Description
string

setParent

Required. The conversation model resource name. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model ID>

Parameter
Name Description
var string
Returns
Type Description
$this

getConversationModelEvaluation

Required. The conversation model evaluation to be created.

Returns
Type Description
Google\Cloud\Dialogflow\V2\ConversationModelEvaluation|null

hasConversationModelEvaluation

clearConversationModelEvaluation

setConversationModelEvaluation

Required. The conversation model evaluation to be created.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\ConversationModelEvaluation
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The conversation model resource name. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model ID> Please see Google\Cloud\Dialogflow\V2\ConversationModelsClient::conversationModelName() for help formatting this field.

conversationModelEvaluation Google\Cloud\Dialogflow\V2\ConversationModelEvaluation

Required. The conversation model evaluation to be created.

Returns
Type Description
Google\Cloud\Dialogflow\V2\CreateConversationModelEvaluationRequest