Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelectItem

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageListSelectItem

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageListSelectItem.



16343
16344
16345
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16343

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


16326
16327
16328
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16326

def description
  @description
end

#imageGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage

Corresponds to the JSON property image



16331
16332
16333
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16331

def image
  @image
end

#infoGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo

Corresponds to the JSON property info



16336
16337
16338
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16336

def info
  @info
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


16341
16342
16343
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16341

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16348
16349
16350
16351
16352
16353
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16348

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