Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageQuickReplies

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageQuickReplies.



20362
20363
20364
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20362

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#quick_repliesArray<String>

Corresponds to the JSON property quickReplies

Returns:

  • (Array<String>)


20355
20356
20357
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20355

def quick_replies
  @quick_replies
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


20360
20361
20362
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20360

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20367
20368
20369
20370
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20367

def update!(**args)
  @quick_replies = args[:quick_replies] if args.key?(:quick_replies)
  @title = args[:title] if args.key?(:title)
end