@@ -547,6 +547,13 @@ class GoogleCloudDialogflowCxV3DataStoreConnection
547547 # @return [String]
548548 attr_accessor :data_store_type
549549
550+ # The document processing mode for the data store connection. Should only be set
551+ # for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as
552+ # DOCUMENTS, as this is the legacy mode.
553+ # Corresponds to the JSON property `documentProcessingMode`
554+ # @return [String]
555+ attr_accessor :document_processing_mode
556+
550557 def initialize(**args)
551558 update!(**args)
552559 end
@@ -555,6 +562,7 @@ def initialize(**args)
555562 def update!(**args)
556563 @data_store = args[:data_store] if args.key?(:data_store)
557564 @data_store_type = args[:data_store_type] if args.key?(:data_store_type)
565+ @document_processing_mode = args[:document_processing_mode] if args.key?(:document_processing_mode)
558566 end
559567 end
560568
@@ -4277,6 +4285,13 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnection
42774285 # @return [String]
42784286 attr_accessor :data_store_type
42794287
4288+ # The document processing mode for the data store connection. Should only be set
4289+ # for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as
4290+ # DOCUMENTS, as this is the legacy mode.
4291+ # Corresponds to the JSON property `documentProcessingMode`
4292+ # @return [String]
4293+ attr_accessor :document_processing_mode
4294+
42804295 def initialize(**args)
42814296 update!(**args)
42824297 end
@@ -4285,6 +4300,7 @@ def initialize(**args)
42854300 def update!(**args)
42864301 @data_store = args[:data_store] if args.key?(:data_store)
42874302 @data_store_type = args[:data_store_type] if args.key?(:data_store_type)
4303+ @document_processing_mode = args[:document_processing_mode] if args.key?(:document_processing_mode)
42884304 end
42894305 end
42904306
@@ -7879,6 +7895,11 @@ class GoogleCloudDialogflowV2AnalyzeContentRequest
78797895 # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters]
78807896 attr_accessor :assist_query_params
78817897
7898+ # Represents the natural language speech audio to be processed.
7899+ # Corresponds to the JSON property `audioInput`
7900+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AudioInput]
7901+ attr_accessor :audio_input
7902+
78827903 # Additional parameters to be put into Dialogflow CX session parameters. To
78837904 # remove a parameter from the session, clients should explicitly set the
78847905 # parameter value to null. Note: this field should only be used if you are
@@ -7931,6 +7952,7 @@ def initialize(**args)
79317952 # Update properties of this object
79327953 def update!(**args)
79337954 @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
7955+ @audio_input = args[:audio_input] if args.key?(:audio_input)
79347956 @cx_parameters = args[:cx_parameters] if args.key?(:cx_parameters)
79357957 @event_input = args[:event_input] if args.key?(:event_input)
79367958 @query_params = args[:query_params] if args.key?(:query_params)
@@ -8244,6 +8266,34 @@ def update!(**args)
82448266 end
82458267 end
82468268
8269+ # Represents the natural language speech audio to be processed.
8270+ class GoogleCloudDialogflowV2AudioInput
8271+ include Google::Apis::Core::Hashable
8272+
8273+ # Required. The natural language speech audio to be processed. A single request
8274+ # can contain up to 2 minutes of speech audio data. The transcribed text cannot
8275+ # contain more than 256 bytes for virtual agent interactions.
8276+ # Corresponds to the JSON property `audio`
8277+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
8278+ # @return [String]
8279+ attr_accessor :audio
8280+
8281+ # Instructs the speech recognizer how to process the audio content.
8282+ # Corresponds to the JSON property `config`
8283+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InputAudioConfig]
8284+ attr_accessor :config
8285+
8286+ def initialize(**args)
8287+ update!(**args)
8288+ end
8289+
8290+ # Update properties of this object
8291+ def update!(**args)
8292+ @audio = args[:audio] if args.key?(:audio)
8293+ @config = args[:config] if args.key?(:config)
8294+ end
8295+ end
8296+
82478297 # Defines the Automated Agent to connect to a conversation.
82488298 class GoogleCloudDialogflowV2AutomatedAgentConfig
82498299 include Google::Apis::Core::Hashable
0 commit comments