Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInvocation

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

Returns a new instance of GoogleCloudDialogflowCxV3PlaybookInvocation.



5981
5982
5983
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5981

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


5959
5960
5961
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5959

def display_name
  @display_name
end

#playbookString

Corresponds to the JSON property playbook

Returns:

  • (String)


5964
5965
5966
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5964

def playbook
  @playbook
end

#playbook_inputGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInput

Corresponds to the JSON property playbookInput



5969
5970
5971
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5969

def playbook_input
  @playbook_input
end

#playbook_outputGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookOutput

Corresponds to the JSON property playbookOutput



5974
5975
5976
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5974

def playbook_output
  @playbook_output
end

#playbook_stateString

Corresponds to the JSON property playbookState

Returns:

  • (String)


5979
5980
5981
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5979

def playbook_state
  @playbook_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5986
5987
5988
5989
5990
5991
5992
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5986

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @playbook = args[:playbook] if args.key?(:playbook)
  @playbook_input = args[:playbook_input] if args.key?(:playbook_input)
  @playbook_output = args[:playbook_output] if args.key?(:playbook_output)
  @playbook_state = args[:playbook_state] if args.key?(:playbook_state)
end