Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCarouselSelectItem

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

Returns a new instance of GoogleCloudDialogflowV2IntentMessageCarouselSelectItem.



8696
8697
8698
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8696

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


8679
8680
8681
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8679

def description
  @description
end

#imageGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage

Corresponds to the JSON property image



8684
8685
8686
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8684

def image
  @image
end

#infoGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSelectItemInfo

Corresponds to the JSON property info



8689
8690
8691
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8689

def info
  @info
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


8694
8695
8696
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8694

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8701
8702
8703
8704
8705
8706
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8701

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