Google Cloud Dialogflow V2 Client - Class Generator (1.13.0)

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

LLM generator.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Identifier. The resource name of the generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>

↳ description string

Optional. Human readable description of the generator.

↳ summarization_context Google\Cloud\Dialogflow\V2\SummarizationContext

Input of prebuilt Summarization feature.

↳ inference_parameter Google\Cloud\Dialogflow\V2\InferenceParameter

Optional. Inference parameters for this generator.

↳ trigger_event int

Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.

↳ create_time Google\Protobuf\Timestamp

Output only. Creation time of this generator.

↳ update_time Google\Protobuf\Timestamp

Output only. Update time of this generator.

getName

Output only. Identifier. The resource name of the generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>

Returns
Type Description
string

setName

Output only. Identifier. The resource name of the generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Optional. Human readable description of the generator.

Returns
Type Description
string

setDescription

Optional. Human readable description of the generator.

Parameter
Name Description
var string
Returns
Type Description
$this

getSummarizationContext

Input of prebuilt Summarization feature.

Returns
Type Description
Google\Cloud\Dialogflow\V2\SummarizationContext|null

hasSummarizationContext

setSummarizationContext

Input of prebuilt Summarization feature.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\SummarizationContext
Returns
Type Description
$this

getInferenceParameter

Optional. Inference parameters for this generator.

Returns
Type Description
Google\Cloud\Dialogflow\V2\InferenceParameter|null

hasInferenceParameter

clearInferenceParameter

setInferenceParameter

Optional. Inference parameters for this generator.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\InferenceParameter
Returns
Type Description
$this

getTriggerEvent

Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.

Returns
Type Description
int

setTriggerEvent

Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.

Parameter
Name Description
var int
Returns
Type Description
$this

getCreateTime

Output only. Creation time of this generator.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Creation time of this generator.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. Update time of this generator.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Update time of this generator.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getContext

Returns
Type Description
string