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.



3980
3981
3982
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3980

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

Instance Attribute Details

#enable_interaction_loggingBoolean Also known as: enable_interaction_logging?

Enables DF Interaction logging. Corresponds to the JSON property enableInteractionLogging

Returns:

  • (Boolean)


3971
3972
3973
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3971

def enable_interaction_logging
  @enable_interaction_logging
end

#enable_stackdriver_loggingBoolean Also known as: enable_stackdriver_logging?

Enables StackDriver logging. Corresponds to the JSON property enableStackdriverLogging

Returns:

  • (Boolean)


3977
3978
3979
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3977

def enable_stackdriver_logging
  @enable_stackdriver_logging
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3985
3986
3987
3988
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3985

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