Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Handler

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Handler

Returns a new instance of GoogleCloudDialogflowCxV3beta1Handler.



8035
8036
8037
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8035

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

Instance Attribute Details

#event_handlerGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1HandlerEventHandler

Corresponds to the JSON property eventHandler



8028
8029
8030
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8028

def event_handler
  @event_handler
end

#lifecycle_handlerGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler

Corresponds to the JSON property lifecycleHandler



8033
8034
8035
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8033

def lifecycle_handler
  @lifecycle_handler
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8040
8041
8042
8043
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8040

def update!(**args)
  @event_handler = args[:event_handler] if args.key?(:event_handler)
  @lifecycle_handler = args[:lifecycle_handler] if args.key?(:lifecycle_handler)
end