Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
- 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
Define behaviors on logging.
Instance Attribute Summary collapse
-
#enable_interaction_logging ⇒ Boolean
(also: #enable_interaction_logging?)
If true, DF Interaction logging is currently enabled.
-
#enable_stackdriver_logging ⇒ Boolean
(also: #enable_stackdriver_logging?)
If true, StackDriver logging is currently enabled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
constructor
A new instance of GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
Returns a new instance of GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings.
116 117 118 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 116 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_interaction_logging ⇒ Boolean Also known as: enable_interaction_logging?
If true, DF Interaction logging is currently enabled.
Corresponds to the JSON property enableInteractionLogging
107 108 109 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 107 def enable_interaction_logging @enable_interaction_logging end |
#enable_stackdriver_logging ⇒ Boolean Also known as: enable_stackdriver_logging?
If true, StackDriver logging is currently enabled.
Corresponds to the JSON property enableStackdriverLogging
113 114 115 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 113 def enable_stackdriver_logging @enable_stackdriver_logging end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
121 122 123 124 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 121 def update!(**args) @enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging) @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging) end |