Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AnalyzeContentRequest

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

Returns a new instance of GoogleCloudDialogflowV2AnalyzeContentRequest.



7399
7400
7401
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7399

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

Instance Attribute Details

#assist_query_paramsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters

Corresponds to the JSON property assistQueryParams



7357
7358
7359
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7357

def assist_query_params
  @assist_query_params
end

#audio_inputGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2AudioInput

Corresponds to the JSON property audioInput



7362
7363
7364
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7362

def audio_input
  @audio_input
end

#cx_parametersHash<String,Object>

Corresponds to the JSON property cxParameters

Returns:

  • (Hash<String,Object>)


7367
7368
7369
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7367

def cx_parameters
  @cx_parameters
end

#event_inputGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput

Corresponds to the JSON property eventInput



7372
7373
7374
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7372

def event_input
  @event_input
end

#query_paramsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters

Corresponds to the JSON property queryParams



7377
7378
7379
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7377

def query_params
  @query_params
end

#reply_audio_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig

Corresponds to the JSON property replyAudioConfig



7382
7383
7384
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7382

def reply_audio_config
  @reply_audio_config
end

#request_idString

Corresponds to the JSON property requestId

Returns:

  • (String)


7387
7388
7389
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7387

def request_id
  @request_id
end

#suggestion_inputGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionInput

Corresponds to the JSON property suggestionInput



7392
7393
7394
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7392

def suggestion_input
  @suggestion_input
end

#text_inputGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput

Corresponds to the JSON property textInput



7397
7398
7399
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7397

def text_input
  @text_input
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7404

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_parameters = args[:cx_parameters] if args.key?(:cx_parameters)
  @event_input = args[:event_input] if args.key?(:event_input)
  @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