Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CreateMessageRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CreateMessageRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#message ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message
Corresponds to the JSON property
message. -
#parent ⇒ String
Corresponds to the JSON property
parent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1CreateMessageRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1CreateMessageRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1CreateMessageRequest
Returns a new instance of GoogleCloudDialogflowV2beta1CreateMessageRequest.
12854 12855 12856 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12854 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message
Corresponds to the JSON property message
12847 12848 12849 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12847 def @message end |
#parent ⇒ String
Corresponds to the JSON property parent
12852 12853 12854 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12852 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12859 12860 12861 12862 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12859 def update!(**args) @message = args[:message] if args.key?(:message) @parent = args[:parent] if args.key?(:parent) end |