Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageListSelectItem

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageListSelectItem

Returns a new instance of GoogleCloudDialogflowV2IntentMessageListSelectItem.



12613
12614
12615
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12613

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


12596
12597
12598
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12596

def description
  @description
end

#imageGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage

Corresponds to the JSON property image



12601
12602
12603
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12601

def image
  @image
end

#infoGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageSelectItemInfo

Corresponds to the JSON property info



12606
12607
12608
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12606

def info
  @info
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


12611
12612
12613
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12611

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12618
12619
12620
12621
12622
12623
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12618

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