Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings

Returns a new instance of GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings.



128
129
130
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 128

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

Instance Attribute Details

Corresponds to the JSON property enableConsentBasedRedaction

Returns:

  • (Boolean)


113
114
115
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 113

def enable_consent_based_redaction
  @enable_consent_based_redaction
end

#enable_interaction_loggingBoolean Also known as: enable_interaction_logging?

Corresponds to the JSON property enableInteractionLogging

Returns:

  • (Boolean)


119
120
121
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 119

def enable_interaction_logging
  @enable_interaction_logging
end

#enable_stackdriver_loggingBoolean Also known as: enable_stackdriver_logging?

Corresponds to the JSON property enableStackdriverLogging

Returns:

  • (Boolean)


125
126
127
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 125

def enable_stackdriver_logging
  @enable_stackdriver_logging
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



133
134
135
136
137
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 133

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