Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PlaybookInvocation

Returns a new instance of GoogleCloudDialogflowCxV3beta1PlaybookInvocation.



10394
10395
10396
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10394

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


10372
10373
10374
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10372

def display_name
  @display_name
end

#playbookString

Corresponds to the JSON property playbook

Returns:

  • (String)


10377
10378
10379
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10377

def playbook
  @playbook
end

#playbook_inputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput

Corresponds to the JSON property playbookInput



10382
10383
10384
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10382

def playbook_input
  @playbook_input
end

#playbook_outputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookOutput

Corresponds to the JSON property playbookOutput



10387
10388
10389
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10387

def playbook_output
  @playbook_output
end

#playbook_stateString

Corresponds to the JSON property playbookState

Returns:

  • (String)


10392
10393
10394
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10392

def playbook_state
  @playbook_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10399
10400
10401
10402
10403
10404
10405
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10399

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