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.



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

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

Instance Attribute Details

#destinationString

Corresponds to the JSON property destination

Returns:

  • (String)


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

def destination
  @destination
end

#event_typeString

Corresponds to the JSON property eventType

Returns:

  • (String)


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

def event_type
  @event_type
end

#function_callGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdateFunctionCall

Corresponds to the JSON property functionCall



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

def function_call
  @function_call
end

#page_stateGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdatePageState

Corresponds to the JSON property pageState



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

def page_state
  @page_state
end

#updated_parametersHash<String,Object>

Corresponds to the JSON property updatedParameters

Returns:

  • (Hash<String,Object>)


3553
3554
3555
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3553

def updated_parameters
  @updated_parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3560
3561
3562
3563
3564
3565
3566
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3560

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