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.



8672
8673
8674
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8672

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


8655
8656
8657
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8655

def description
  @description
end

#imageGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage

Corresponds to the JSON property image



8660
8661
8662
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8660

def image
  @image
end

#infoGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSelectItemInfo

Corresponds to the JSON property info



8665
8666
8667
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8665

def info
  @info
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


8670
8671
8672
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8670

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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