Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Example
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Example
- 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
-
#actions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Action>
Corresponds to the JSON property
actions. -
#conversation_state ⇒ String
Corresponds to the JSON property
conversationState. -
#create_time ⇒ String
Corresponds to the JSON property
createTime. -
#description ⇒ String
Corresponds to the JSON property
description. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#name ⇒ String
Corresponds to the JSON property
name. -
#playbook_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput
Corresponds to the JSON property
playbookInput. -
#playbook_output ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookOutput
Corresponds to the JSON property
playbookOutput. -
#token_count ⇒ Fixnum
Corresponds to the JSON property
tokenCount. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Example
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Example.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Example
Returns a new instance of GoogleCloudDialogflowCxV3beta1Example.
6306 6307 6308 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6306 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Action>
Corresponds to the JSON property actions
6254 6255 6256 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6254 def actions @actions end |
#conversation_state ⇒ String
Corresponds to the JSON property conversationState
6259 6260 6261 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6259 def conversation_state @conversation_state end |
#create_time ⇒ String
Corresponds to the JSON property createTime
6264 6265 6266 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6264 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
6269 6270 6271 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6269 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
6274 6275 6276 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6274 def display_name @display_name end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
6279 6280 6281 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6279 def language_code @language_code end |
#name ⇒ String
Corresponds to the JSON property name
6284 6285 6286 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6284 def name @name end |
#playbook_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput
Corresponds to the JSON property playbookInput
6289 6290 6291 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6289 def playbook_input @playbook_input end |
#playbook_output ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookOutput
Corresponds to the JSON property playbookOutput
6294 6295 6296 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6294 def playbook_output @playbook_output end |
#token_count ⇒ Fixnum
Corresponds to the JSON property tokenCount
6299 6300 6301 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6299 def token_count @token_count end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
6304 6305 6306 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6304 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6311 def update!(**args) @actions = args[:actions] if args.key?(:actions) @conversation_state = args[:conversation_state] if args.key?(:conversation_state) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @language_code = args[:language_code] if args.key?(:language_code) @name = args[:name] if args.key?(:name) @playbook_input = args[:playbook_input] if args.key?(:playbook_input) @playbook_output = args[:playbook_output] if args.key?(:playbook_output) @token_count = args[:token_count] if args.key?(:token_count) @update_time = args[:update_time] if args.key?(:update_time) end |