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

Overview

Stores metadata of the invocation of a CX flow.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3FlowInvocation

Returns a new instance of GoogleCloudDialogflowCxV3FlowInvocation.



3467
3468
3469
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3467

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)


3454
3455
3456
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3454

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)


3460
3461
3462
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3460

def flow
  @flow
end

#flow_stateString

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

Returns:

  • (String)


3465
3466
3467
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3465

def flow_state
  @flow_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3472
3473
3474
3475
3476
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3472

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