Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class GeneratorContext.
Represents the context of a generator.
Generated from protobuf message google.cloud.dialogflow.v2.Conversation.GeneratorContext
Namespace
Google \ Cloud \ Dialogflow \ V2 \ ConversationMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ generator_type |
int
Output only. The type of the generator. |
getGeneratorType
Output only. The type of the generator.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type GeneratorType. |
setGeneratorType
Output only. The type of the generator.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type GeneratorType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|