Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowInvocation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3FlowInvocation

Returns a new instance of GoogleCloudDialogflowCxV3FlowInvocation.



3042
3043
3044
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3042

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3030
3031
3032
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3030

def display_name
  @display_name
end

#flowString

Corresponds to the JSON property flow

Returns:

  • (String)


3035
3036
3037
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3035

def flow
  @flow
end

#flow_stateString

Corresponds to the JSON property flowState

Returns:

  • (String)


3040
3041
3042
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3040

def flow_state
  @flow_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3047
3048
3049
3050
3051
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3047

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)
end