Google Cloud Dialogflow V2 Client - Class CreateConversationModelEvaluationRequest (1.0.1)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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>

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setParent

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

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConversationModelEvaluation

Required. The conversation model evaluation to be created.

Generated from protobuf field .google.cloud.dialogflow.v2.ConversationModelEvaluation conversation_model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\ConversationModelEvaluation|null

hasConversationModelEvaluation

clearConversationModelEvaluation

setConversationModelEvaluation

Required. The conversation model evaluation to be created.

Generated from protobuf field .google.cloud.dialogflow.v2.ConversationModelEvaluation conversation_model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\ConversationModelEvaluation
Returns
TypeDescription
$this