Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Define behaviors on logging.
Instance Attribute Summary collapse
-
#enable_consent_based_redaction ⇒ Boolean
(also: #enable_consent_based_redaction?)
Enables consent-based end-user input redaction, if true, a pre-defined session parameter
$session.params.conversation-redaction
will be used to determine if the utterance should be redacted. -
#enable_interaction_logging ⇒ Boolean
(also: #enable_interaction_logging?)
Enables DF Interaction logging.
-
#enable_stackdriver_logging ⇒ Boolean
(also: #enable_stackdriver_logging?)
Enables Google Cloud Logging.
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.
142 143 144 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 142 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_consent_based_redaction ⇒ Boolean Also known as: enable_consent_based_redaction?
Enables consent-based end-user input redaction, if true, a pre-defined session
parameter $session.params.conversation-redaction
will be used to determine
if the utterance should be redacted.
Corresponds to the JSON property enableConsentBasedRedaction
127 128 129 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 127 def @enable_consent_based_redaction end |
#enable_interaction_logging ⇒ Boolean Also known as: enable_interaction_logging?
Enables DF Interaction logging.
Corresponds to the JSON property enableInteractionLogging
133 134 135 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 133 def enable_interaction_logging @enable_interaction_logging end |
#enable_stackdriver_logging ⇒ Boolean Also known as: enable_stackdriver_logging?
Enables Google Cloud Logging.
Corresponds to the JSON property enableStackdriverLogging
139 140 141 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 139 def enable_stackdriver_logging @enable_stackdriver_logging end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
147 148 149 150 151 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 147 def update!(**args) @enable_consent_based_redaction = args[:enable_consent_based_redaction] if args.key?(:enable_consent_based_redaction) @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 |