Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessage

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessage

Returns a new instance of GoogleCloudDialogflowV2IntentMessage.



16117
16118
16119
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16117

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

Instance Attribute Details

#basic_cardGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageBasicCard

Corresponds to the JSON property basicCard



16045
16046
16047
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16045

def basic_card
  @basic_card
end

Corresponds to the JSON property browseCarouselCard



16050
16051
16052
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16050

def browse_carousel_card
  @browse_carousel_card
end

#cardGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageCard

Corresponds to the JSON property card



16055
16056
16057
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16055

def card
  @card
end

Corresponds to the JSON property carouselSelect



16060
16061
16062
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16060

def carousel_select
  @carousel_select
end

#imageGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageImage

Corresponds to the JSON property image



16065
16066
16067
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16065

def image
  @image
end

Corresponds to the JSON property linkOutSuggestion



16070
16071
16072
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16070

def link_out_suggestion
  @link_out_suggestion
end

#list_selectGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageListSelect

Corresponds to the JSON property listSelect



16075
16076
16077
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16075

def list_select
  @list_select
end

#media_contentGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageMediaContent

Corresponds to the JSON property mediaContent



16080
16081
16082
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16080

def media_content
  @media_content
end

#payloadHash<String,Object>

Corresponds to the JSON property payload

Returns:

  • (Hash<String,Object>)


16085
16086
16087
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16085

def payload
  @payload
end

#platformString

Corresponds to the JSON property platform

Returns:

  • (String)


16090
16091
16092
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16090

def platform
  @platform
end

#quick_repliesGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageQuickReplies

Corresponds to the JSON property quickReplies



16095
16096
16097
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16095

def quick_replies
  @quick_replies
end

#simple_responsesGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageSimpleResponses

Corresponds to the JSON property simpleResponses



16100
16101
16102
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16100

def simple_responses
  @simple_responses
end

#suggestionsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageSuggestions

Corresponds to the JSON property suggestions



16105
16106
16107
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16105

def suggestions
  @suggestions
end

#table_cardGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageTableCard

Corresponds to the JSON property tableCard



16110
16111
16112
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16110

def table_card
  @table_card
end

#textGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageText

Corresponds to the JSON property text



16115
16116
16117
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16115

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16122

def update!(**args)
  @basic_card = args[:basic_card] if args.key?(:basic_card)
  @browse_carousel_card = args[:browse_carousel_card] if args.key?(:browse_carousel_card)
  @card = args[:card] if args.key?(:card)
  @carousel_select = args[:carousel_select] if args.key?(:carousel_select)
  @image = args[:image] if args.key?(:image)
  @link_out_suggestion = args[:link_out_suggestion] if args.key?(:link_out_suggestion)
  @list_select = args[:list_select] if args.key?(:list_select)
  @media_content = args[:media_content] if args.key?(:media_content)
  @payload = args[:payload] if args.key?(:payload)
  @platform = args[:platform] if args.key?(:platform)
  @quick_replies = args[:quick_replies] if args.key?(:quick_replies)
  @simple_responses = args[:simple_responses] if args.key?(:simple_responses)
  @suggestions = args[:suggestions] if args.key?(:suggestions)
  @table_card = args[:table_card] if args.key?(:table_card)
  @text = args[:text] if args.key?(:text)
end