Google Cloud Dialogflow V2 Client - Class ArticleSuggestionModelMetadata (1.4.0)

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

Metadata for article suggestion models.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ training_model_type int

Optional. Type of the article suggestion model. If not provided, model_type is used.

getTrainingModelType

Optional. Type of the article suggestion model. If not provided, model_type is used.

Returns
TypeDescription
int

setTrainingModelType

Optional. Type of the article suggestion model. If not provided, model_type is used.

Parameter
NameDescription
var int
Returns
TypeDescription
$this