Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowInvocation

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

Overview

Stores metadata of the invocation of a CX flow.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1FlowInvocation

Returns a new instance of GoogleCloudDialogflowCxV3beta1FlowInvocation.



7630
7631
7632
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7630

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

Instance Attribute Details

#display_nameString

Output only. The display name of the flow. Corresponds to the JSON property displayName

Returns:

  • (String)


7607
7608
7609
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7607

def display_name
  @display_name
end

#flowString

Required. The unique identifier of the flow. Format: projects//locations// agents//flows/. Corresponds to the JSON property flow

Returns:

  • (String)


7613
7614
7615
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7613

def flow
  @flow
end

#flow_stateString

Required. Flow invocation's output state. Corresponds to the JSON property flowState

Returns:

  • (String)


7618
7619
7620
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7618

def flow_state
  @flow_state
end

#input_action_parametersHash<String,Object>

Optional. A list of input parameters for the flow. Corresponds to the JSON property inputActionParameters

Returns:

  • (Hash<String,Object>)


7623
7624
7625
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7623

def input_action_parameters
  @input_action_parameters
end

#output_action_parametersHash<String,Object>

Optional. A list of output parameters generated by the flow invocation. Corresponds to the JSON property outputActionParameters

Returns:

  • (Hash<String,Object>)


7628
7629
7630
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7628

def output_action_parameters
  @output_action_parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7635
7636
7637
7638
7639
7640
7641
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7635

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @flow = args[:flow] if args.key?(:flow)
  @flow_state = args[:flow_state] if args.key?(:flow_state)
  @input_action_parameters = args[:input_action_parameters] if args.key?(:input_action_parameters)
  @output_action_parameters = args[:output_action_parameters] if args.key?(:output_action_parameters)
end