Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelectItem

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

Returns a new instance of GoogleCloudDialogflowV2IntentMessageListSelectItem.



8815
8816
8817
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8815

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


8798
8799
8800
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8798

def description
  @description
end

#imageGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage

Corresponds to the JSON property image



8803
8804
8805
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8803

def image
  @image
end

#infoGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSelectItemInfo

Corresponds to the JSON property info



8808
8809
8810
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8808

def info
  @info
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


8813
8814
8815
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8813

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8820
8821
8822
8823
8824
8825
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8820

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