Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageListSelectItem

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

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageListSelectItem.



18980
18981
18982
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18980

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


18963
18964
18965
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18963

def description
  @description
end

#imageGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageImage

Corresponds to the JSON property image



18968
18969
18970
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18968

def image
  @image
end

#infoGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo

Corresponds to the JSON property info



18973
18974
18975
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18973

def info
  @info
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


18978
18979
18980
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18978

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18985
18986
18987
18988
18989
18990
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18985

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