Google Cloud Dialogflow V2 Client - Class LoggingConfig (1.15.0)

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

Defines logging behavior for conversation lifecycle events.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enable_stackdriver_logging bool

Whether to log conversation events like CONVERSATION_STARTED to Stackdriver in the conversation project as JSON format ConversationEvent protos.

getEnableStackdriverLogging

Whether to log conversation events like CONVERSATION_STARTED to Stackdriver in the conversation project as JSON format ConversationEvent protos.

Returns
Type Description
bool

setEnableStackdriverLogging

Whether to log conversation events like CONVERSATION_STARTED to Stackdriver in the conversation project as JSON format ConversationEvent protos.

Parameter
Name Description
var bool
Returns
Type Description
$this