Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageListSelect

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

Returns a new instance of GoogleCloudDialogflowV2IntentMessageListSelect.



15110
15111
15112
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15110

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

Instance Attribute Details

#itemsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageListSelectItem>

Corresponds to the JSON property items



15098
15099
15100
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15098

def items
  @items
end

#subtitleString

Corresponds to the JSON property subtitle

Returns:

  • (String)


15103
15104
15105
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15103

def subtitle
  @subtitle
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


15108
15109
15110
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15108

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15115
15116
15117
15118
15119
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15115

def update!(**args)
  @items = args[:items] if args.key?(:items)
  @subtitle = args[:subtitle] if args.key?(:subtitle)
  @title = args[:title] if args.key?(:title)
end