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.



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

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

Instance Attribute Details

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


8053
8054
8055
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8053

def condition
  @condition
end

#eventString

Corresponds to the JSON property event

Returns:

  • (String)


8058
8059
8060
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8058

def event
  @event
end

#fulfillmentGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment

Corresponds to the JSON property fulfillment



8063
8064
8065
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8063

def fulfillment
  @fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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