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 | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The resource name of the evaluation. Format: |
↳ 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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\V2\EvaluationConfig
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\V2\SmartReplyMetrics
|
Returns | |
---|---|
Type | Description |
$this |
getMetrics
Returns | |
---|---|
Type | Description |
string |