Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings.



8396
8397
8398
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8396

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

Instance Attribute Details

#enable_interaction_loggingBoolean Also known as: enable_interaction_logging?

If true, DF Interaction logging is currently enabled. Corresponds to the JSON property enableInteractionLogging

Returns:

  • (Boolean)


8387
8388
8389
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8387

def enable_interaction_logging
  @enable_interaction_logging
end

#enable_stackdriver_loggingBoolean Also known as: enable_stackdriver_logging?

If true, StackDriver logging is currently enabled. Corresponds to the JSON property enableStackdriverLogging

Returns:

  • (Boolean)


8393
8394
8395
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8393

def enable_stackdriver_logging
  @enable_stackdriver_logging
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8401
8402
8403
8404
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8401

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