Google Cloud Dialogflow V2 Client - Class ConversationModelEvaluation (1.0.1)

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

Represents evaluation result of a conversation model.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The resource name of the evaluation. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

↳ display_name string

Optional. The display name of the model evaluation. At most 64 bytes long.

↳ evaluation_config Google\Cloud\Dialogflow\V2\EvaluationConfig

Optional. The configuration of the evaluation task.

↳ create_time Google\Protobuf\Timestamp

Output only. Creation time of this model.

↳ smart_reply_metrics Google\Cloud\Dialogflow\V2\SmartReplyMetrics

Output only. Only available when model is for smart reply.

getName

The resource name of the evaluation. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

Generated from protobuf field string name = 1;

Returns
TypeDescription
string

setName

The resource name of the evaluation. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

Generated from protobuf field string name = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Optional. The display name of the model evaluation. At most 64 bytes long.

Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setDisplayName

Optional. The display name of the model evaluation. At most 64 bytes long.

Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEvaluationConfig

Optional. The configuration of the evaluation task.

Generated from protobuf field .google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];

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

hasEvaluationConfig

clearEvaluationConfig

setEvaluationConfig

Optional. The configuration of the evaluation task.

Generated from protobuf field .google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];

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

getCreateTime

Output only. Creation time of this model.

Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Creation time of this model.

Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getSmartReplyMetrics

Output only. Only available when model is for smart reply.

Generated from protobuf field .google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

hasSmartReplyMetrics

setSmartReplyMetrics

Output only. Only available when model is for smart reply.

Generated from protobuf field .google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getMetrics

Returns
TypeDescription
string