Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1LoggingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1LoggingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
Defines logging behavior for conversation lifecycle events.
Instance Attribute Summary collapse
-
#enable_stackdriver_logging ⇒ Boolean
(also: #enable_stackdriver_logging?)
Whether to log conversation events like CONVERSATION_STARTED to Stackdriver in the conversation project as JSON format ConversationEvent protos.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1LoggingConfig
constructor
A new instance of GoogleCloudDialogflowV2beta1LoggingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1LoggingConfig
Returns a new instance of GoogleCloudDialogflowV2beta1LoggingConfig.
14964 14965 14966 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14964 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_stackdriver_logging ⇒ Boolean 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
14961 14962 14963 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14961 def enable_stackdriver_logging @enable_stackdriver_logging end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14969 14970 14971 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14969 def update!(**args) @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging) end |