Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2LoggingConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Overview

Defines logging behavior for conversation lifecycle events.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2LoggingConfig

Returns a new instance of GoogleCloudDialogflowV2LoggingConfig.



13975
13976
13977
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13975

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enable_stackdriver_loggingBoolean Also known as: enable_stackdriver_logging?

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

Returns:

  • (Boolean)


13972
13973
13974
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13972

def enable_stackdriver_logging
  @enable_stackdriver_logging
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13980
13981
13982
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13980

def update!(**args)
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
end