Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdate

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdate.



3549
3550
3551
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3549

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

Instance Attribute Details

#destinationString

Corresponds to the JSON property destination

Returns:

  • (String)


3527
3528
3529
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3527

def destination
  @destination
end

#event_typeString

Corresponds to the JSON property eventType

Returns:

  • (String)


3532
3533
3534
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3532

def event_type
  @event_type
end

#function_callGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdateFunctionCall

Corresponds to the JSON property functionCall



3537
3538
3539
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3537

def function_call
  @function_call
end

#page_stateGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdatePageState

Corresponds to the JSON property pageState



3542
3543
3544
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3542

def page_state
  @page_state
end

#updated_parametersHash<String,Object>

Corresponds to the JSON property updatedParameters

Returns:

  • (Hash<String,Object>)


3547
3548
3549
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3547

def updated_parameters
  @updated_parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3554
3555
3556
3557
3558
3559
3560
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3554

def update!(**args)
  @destination = args[:destination] if args.key?(:destination)
  @event_type = args[:event_type] if args.key?(:event_type)
  @function_call = args[:function_call] if args.key?(:function_call)
  @page_state = args[:page_state] if args.key?(:page_state)
  @updated_parameters = args[:updated_parameters] if args.key?(:updated_parameters)
end