Google Cloud Dialogflow V2 Client - Class GeneratorContext (2.4.0)

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 \ Conversation

Methods

__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
Create a Mobile Website
View Site in Mobile | Classic
Share by: