Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2MessageEntry
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2MessageEntry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#create_time ⇒ String
Corresponds to the JSON property
createTime. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#role ⇒ String
Corresponds to the JSON property
role. -
#text ⇒ String
Corresponds to the JSON property
text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2MessageEntry
constructor
A new instance of GoogleCloudDialogflowV2MessageEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2MessageEntry
Returns a new instance of GoogleCloudDialogflowV2MessageEntry.
14172 14173 14174 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14172 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
14155 14156 14157 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14155 def create_time @create_time end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
14160 14161 14162 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14160 def language_code @language_code end |
#role ⇒ String
Corresponds to the JSON property role
14165 14166 14167 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14165 def role @role end |
#text ⇒ String
Corresponds to the JSON property text
14170 14171 14172 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14170 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14177 14178 14179 14180 14181 14182 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14177 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @language_code = args[:language_code] if args.key?(:language_code) @role = args[:role] if args.key?(:role) @text = args[:text] if args.key?(:text) end |