Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings.



4103
4104
4105
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4103

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

Instance Attribute Details

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

Returns:

  • (Boolean)


4088
4089
4090
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4088

def enable_consent_based_redaction
  @enable_consent_based_redaction
end

#enable_interaction_loggingBoolean Also known as: enable_interaction_logging?

Enables DF Interaction logging. Corresponds to the JSON property enableInteractionLogging

Returns:

  • (Boolean)


4094
4095
4096
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4094

def enable_interaction_logging
  @enable_interaction_logging
end

#enable_stackdriver_loggingBoolean Also known as: enable_stackdriver_logging?

Enables Google Cloud Logging. Corresponds to the JSON property enableStackdriverLogging

Returns:

  • (Boolean)


4100
4101
4102
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4100

def enable_stackdriver_logging
  @enable_stackdriver_logging
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4108
4109
4110
4111
4112
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4108

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