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.



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

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


5953
5954
5955
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5953

def display_name
  @display_name
end

#playbookString

Corresponds to the JSON property playbook

Returns:

  • (String)


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

def playbook
  @playbook
end

#playbook_inputGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInput

Corresponds to the JSON property playbookInput



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

def playbook_input
  @playbook_input
end

#playbook_outputGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookOutput

Corresponds to the JSON property playbookOutput



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

def playbook_output
  @playbook_output
end

#playbook_stateString

Corresponds to the JSON property playbookState

Returns:

  • (String)


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

def playbook_state
  @playbook_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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