Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1HandlerEventHandler

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) ⇒ GoogleCloudDialogflowCxV3beta1HandlerEventHandler

Returns a new instance of GoogleCloudDialogflowCxV3beta1HandlerEventHandler.



8077
8078
8079
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8077

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

Instance Attribute Details

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


8065
8066
8067
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8065

def condition
  @condition
end

#eventString

Corresponds to the JSON property event

Returns:

  • (String)


8070
8071
8072
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8070

def event
  @event
end

#fulfillmentGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment

Corresponds to the JSON property fulfillment



8075
8076
8077
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8075

def fulfillment
  @fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8082
8083
8084
8085
8086
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8082

def update!(**args)
  @condition = args[:condition] if args.key?(:condition)
  @event = args[:event] if args.key?(:event)
  @fulfillment = args[:fulfillment] if args.key?(:fulfillment)
end