Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CesAppSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2CesAppSpec

Returns a new instance of GoogleCloudDialogflowV2CesAppSpec.



8012
8013
8014
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8012

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

Instance Attribute Details

#ces_appString

Corresponds to the JSON property cesApp

Returns:

  • (String)


7993
7994
7995
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7993

def ces_app
  @ces_app
end

#confirmation_requirementString

Corresponds to the JSON property confirmationRequirement

Returns:

  • (String)


7998
7999
8000
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7998

def confirmation_requirement
  @confirmation_requirement
end

#proactive_enabledBoolean Also known as: proactive_enabled?

Corresponds to the JSON property proactiveEnabled

Returns:

  • (Boolean)


8003
8004
8005
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8003

def proactive_enabled
  @proactive_enabled
end

#reactive_enabledBoolean Also known as: reactive_enabled?

Corresponds to the JSON property reactiveEnabled

Returns:

  • (Boolean)


8009
8010
8011
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8009

def reactive_enabled
  @reactive_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8017
8018
8019
8020
8021
8022
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8017

def update!(**args)
  @ces_app = args[:ces_app] if args.key?(:ces_app)
  @confirmation_requirement = args[:confirmation_requirement] if args.key?(:confirmation_requirement)
  @proactive_enabled = args[:proactive_enabled] if args.key?(:proactive_enabled)
  @reactive_enabled = args[:reactive_enabled] if args.key?(:reactive_enabled)
end