Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageCarouselSelectItem

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

Returns a new instance of GoogleCloudDialogflowV2IntentMessageCarouselSelectItem.



15003
15004
15005
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15003

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


14986
14987
14988
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14986

def description
  @description
end

#imageGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageImage

Corresponds to the JSON property image



14991
14992
14993
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14991

def image
  @image
end

#infoGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageSelectItemInfo

Corresponds to the JSON property info



14996
14997
14998
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14996

def info
  @info
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


15001
15002
15003
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15001

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15008
15009
15010
15011
15012
15013
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15008

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