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

Overview

The request message for Participants.AnalyzeContent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AnalyzeContentRequest

Returns a new instance of GoogleCloudDialogflowV2AnalyzeContentRequest.



7497
7498
7499
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7497

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

Instance Attribute Details

#assist_query_paramsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters

Represents the parameters of human assist query. Corresponds to the JSON property assistQueryParams



7450
7451
7452
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7450

def assist_query_params
  @assist_query_params
end

#cx_parametersHash<String,Object>

Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent. Corresponds to the JSON property cxParameters

Returns:

  • (Hash<String,Object>)


7458
7459
7460
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7458

def cx_parameters
  @cx_parameters
end

#event_inputGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput

Events allow for matching intents by event name instead of the natural language input. For instance, input `can trigger a personalized welcome response. The parameternamemay be used by the agent in the response:" Hello #welcome_event.name! What can I do for you today?". Corresponds to the JSON propertyeventInput`



7466
7467
7468
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7466

def event_input
  @event_input
end

#query_paramsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters

Represents the parameters of the conversational query. Corresponds to the JSON property queryParams



7471
7472
7473
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7471

def query_params
  @query_params
end

#reply_audio_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig

Instructs the speech synthesizer on how to generate the output audio content. If this audio config is supplied in a request, it overrides all existing text- to-speech settings applied to the agent. Corresponds to the JSON property replyAudioConfig



7478
7479
7480
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7478

def reply_audio_config
  @reply_audio_config
end

#request_idString

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a request_id is provided. Corresponds to the JSON property requestId

Returns:

  • (String)


7485
7486
7487
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7485

def request_id
  @request_id
end

#suggestion_inputGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionInput

Represents the selection of a suggestion. Corresponds to the JSON property suggestionInput



7490
7491
7492
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7490

def suggestion_input
  @suggestion_input
end

#text_inputGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput

Auxiliary proto messages. Represents the natural language text to be processed. Corresponds to the JSON property textInput



7495
7496
7497
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7495

def text_input
  @text_input
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7502

def update!(**args)
  @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
  @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