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.
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
↳ 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;
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;
var
string
$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];
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];
var
string
$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];
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];
$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];
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];
var
Google\Protobuf\Timestamp
$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];
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];
$this
getMetrics
string