Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageListSelectItem

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) ⇒ GoogleCloudDialogflowV2IntentMessageListSelectItem

Returns a new instance of GoogleCloudDialogflowV2IntentMessageListSelectItem.



16581
16582
16583
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16581

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


16564
16565
16566
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16564

def description
  @description
end

#imageGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageImage

Corresponds to the JSON property image



16569
16570
16571
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16569

def image
  @image
end

#infoGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageSelectItemInfo

Corresponds to the JSON property info



16574
16575
16576
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16574

def info
  @info
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


16579
16580
16581
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16579

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16586
16587
16588
16589
16590
16591
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16586

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