Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnalyzeContentRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AnalyzeContentRequest

Returns a new instance of GoogleCloudDialogflowV2beta1AnalyzeContentRequest.



11321
11322
11323
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11321

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

Instance Attribute Details

#assist_query_paramsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters

Corresponds to the JSON property assistQueryParams



11264
11265
11266
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11264

def assist_query_params
  @assist_query_params
end

#audio_inputGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AudioInput

Corresponds to the JSON property audioInput



11269
11270
11271
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11269

def audio_input
  @audio_input
end

#cx_current_pageString

Corresponds to the JSON property cxCurrentPage

Returns:

  • (String)


11274
11275
11276
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11274

def cx_current_page
  @cx_current_page
end

#cx_parametersHash<String,Object>

Corresponds to the JSON property cxParameters

Returns:

  • (Hash<String,Object>)


11279
11280
11281
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11279

def cx_parameters
  @cx_parameters
end

#event_inputGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput

Corresponds to the JSON property eventInput



11284
11285
11286
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11284

def event_input
  @event_input
end

#intent_inputGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput

Corresponds to the JSON property intentInput



11289
11290
11291
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11289

def intent_input
  @intent_input
end

#message_send_timeString

Corresponds to the JSON property messageSendTime

Returns:

  • (String)


11294
11295
11296
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11294

def message_send_time
  @message_send_time
end

#query_paramsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters

Corresponds to the JSON property queryParams



11299
11300
11301
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11299

def query_params
  @query_params
end

#reply_audio_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig

Corresponds to the JSON property replyAudioConfig



11304
11305
11306
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11304

def reply_audio_config
  @reply_audio_config
end

#request_idString

Corresponds to the JSON property requestId

Returns:

  • (String)


11309
11310
11311
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11309

def request_id
  @request_id
end

#suggestion_inputGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionInput

Corresponds to the JSON property suggestionInput



11314
11315
11316
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11314

def suggestion_input
  @suggestion_input
end

#text_inputGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput

Corresponds to the JSON property textInput



11319
11320
11321
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11319

def text_input
  @text_input
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11326

def update!(**args)
  @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
  @audio_input = args[:audio_input] if args.key?(:audio_input)
  @cx_current_page = args[:cx_current_page] if args.key?(:cx_current_page)
  @cx_parameters = args[:cx_parameters] if args.key?(:cx_parameters)
  @event_input = args[:event_input] if args.key?(:event_input)
  @intent_input = args[:intent_input] if args.key?(:intent_input)
  @message_send_time = args[:message_send_time] if args.key?(:message_send_time)
  @query_params = args[:query_params] if args.key?(:query_params)
  @reply_audio_config = args[:reply_audio_config] if args.key?(:reply_audio_config)
  @request_id = args[:request_id] if args.key?(:request_id)
  @suggestion_input = args[:suggestion_input] if args.key?(:suggestion_input)
  @text_input = args[:text_input] if args.key?(:text_input)
end