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.
6300 6301 6302 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6300 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Action>
Corresponds to the JSON property actions
6248 6249 6250 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6248 def actions @actions end |
#conversation_state ⇒ String
Corresponds to the JSON property conversationState
6253 6254 6255 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6253 def conversation_state @conversation_state end |
#create_time ⇒ String
Corresponds to the JSON property createTime
6258 6259 6260 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6258 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
6263 6264 6265 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6263 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
6268 6269 6270 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6268 def display_name @display_name end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
6273 6274 6275 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6273 def language_code @language_code end |
#name ⇒ String
Corresponds to the JSON property name
6278 6279 6280 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6278 def name @name end |
#playbook_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput
Corresponds to the JSON property playbookInput
6283 6284 6285 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6283 def playbook_input @playbook_input end |
#playbook_output ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookOutput
Corresponds to the JSON property playbookOutput
6288 6289 6290 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6288 def playbook_output @playbook_output end |
#token_count ⇒ Fixnum
Corresponds to the JSON property tokenCount
6293 6294 6295 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6293 def token_count @token_count end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
6298 6299 6300 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6298 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6305 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 |