Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Example
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Example
- 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
-
#actions ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Action>
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::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInput
Corresponds to the JSON property
playbookInput. -
#playbook_output ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookOutput
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) ⇒ GoogleCloudDialogflowCxV3Example
constructor
A new instance of GoogleCloudDialogflowCxV3Example.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Example
Returns a new instance of GoogleCloudDialogflowCxV3Example.
2197 2198 2199 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2197 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actions ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Action>
Corresponds to the JSON property actions
2145 2146 2147 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2145 def actions @actions end |
#conversation_state ⇒ String
Corresponds to the JSON property conversationState
2150 2151 2152 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2150 def conversation_state @conversation_state end |
#create_time ⇒ String
Corresponds to the JSON property createTime
2155 2156 2157 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2155 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
2160 2161 2162 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2160 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
2165 2166 2167 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2165 def display_name @display_name end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
2170 2171 2172 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2170 def language_code @language_code end |
#name ⇒ String
Corresponds to the JSON property name
2175 2176 2177 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2175 def name @name end |
#playbook_input ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInput
Corresponds to the JSON property playbookInput
2180 2181 2182 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2180 def playbook_input @playbook_input end |
#playbook_output ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookOutput
Corresponds to the JSON property playbookOutput
2185 2186 2187 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2185 def playbook_output @playbook_output end |
#token_count ⇒ Fixnum
Corresponds to the JSON property tokenCount
2190 2191 2192 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2190 def token_count @token_count end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
2195 2196 2197 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2195 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2202 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 |