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.
14158 14159 14160 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14158 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
14141 14142 14143 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14141 def create_time @create_time end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
14146 14147 14148 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14146 def language_code @language_code end |
#role ⇒ String
Corresponds to the JSON property role
14151 14152 14153 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14151 def role @role end |
#text ⇒ String
Corresponds to the JSON property text
14156 14157 14158 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14156 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14163 14164 14165 14166 14167 14168 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14163 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 |