Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem.



18701
18702
18703
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18701

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


18684
18685
18686
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18684

def description
  @description
end

#imageGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageImage

Corresponds to the JSON property image



18689
18690
18691
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18689

def image
  @image
end

#infoGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo

Corresponds to the JSON property info



18694
18695
18696
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18694

def info
  @info
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


18699
18700
18701
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18699

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18706
18707
18708
18709
18710
18711
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18706

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