Skip to content

Commit 8326e3b

Browse files
feat: Automated regeneration of dialogflow v2 client (googleapis#21497)
Auto-created at 2025-01-26 10:31:56 +0000 using the toys pull request generator.
1 parent 2855020 commit 8326e3b

File tree

5 files changed

+77
-2
lines changed

5 files changed

+77
-2
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173661,6 +173661,7 @@
173661173661
"/dialogflow:v2/GoogleCloudDialogflowCxV3DataStoreConnection": google_cloud_dialogflow_cx_v3_data_store_connection
173662173662
"/dialogflow:v2/GoogleCloudDialogflowCxV3DataStoreConnection/dataStore": data_store
173663173663
"/dialogflow:v2/GoogleCloudDialogflowCxV3DataStoreConnection/dataStoreType": data_store_type
173664+
"/dialogflow:v2/GoogleCloudDialogflowCxV3DataStoreConnection/documentProcessingMode": document_processing_mode
173664173665
"/dialogflow:v2/GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata": google_cloud_dialogflow_cx_v3_delete_document_operation_metadata
173665173666
"/dialogflow:v2/GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata/genericMetadata": generic_metadata
173666173667
"/dialogflow:v2/GoogleCloudDialogflowCxV3DeployFlowMetadata": google_cloud_dialogflow_cx_v3_deploy_flow_metadata
@@ -174147,6 +174148,7 @@
174147174148
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1DataStoreConnection": google_cloud_dialogflow_cx_v3beta1_data_store_connection
174148174149
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1DataStoreConnection/dataStore": data_store
174149174150
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1DataStoreConnection/dataStoreType": data_store_type
174151+
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1DataStoreConnection/documentProcessingMode": document_processing_mode
174150174152
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata": google_cloud_dialogflow_cx_v3beta1_delete_document_operation_metadata
174151174153
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata/genericMetadata": generic_metadata
174152174154
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1DeployFlowMetadata": google_cloud_dialogflow_cx_v3beta1_deploy_flow_metadata

generated/google-apis-dialogflow_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-dialogflow_v2
22

3+
### v0.98.0 (2025-01-26)
4+
5+
* Regenerated from discovery document revision 20250121
6+
37
### v0.97.0 (2025-01-12)
48

59
* Regenerated from discovery document revision 20250103

generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/classes.rb

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DialogflowV2
1818
# Version of the google-apis-dialogflow_v2 gem
19-
GEM_VERSION = "0.97.0"
19+
GEM_VERSION = "0.98.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250103"
25+
REVISION = "20250121"
2626
end
2727
end
2828
end

generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/representations.rb

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,6 +1324,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
13241324
include Google::Apis::Core::JsonObjectSupport
13251325
end
13261326

1327+
class GoogleCloudDialogflowV2AudioInput
1328+
class Representation < Google::Apis::Core::JsonRepresentation; end
1329+
1330+
include Google::Apis::Core::JsonObjectSupport
1331+
end
1332+
13271333
class GoogleCloudDialogflowV2AutomatedAgentConfig
13281334
class Representation < Google::Apis::Core::JsonRepresentation; end
13291335

@@ -3546,6 +3552,7 @@ class GoogleCloudDialogflowCxV3DataStoreConnection
35463552
class Representation < Google::Apis::Core::JsonRepresentation
35473553
property :data_store, as: 'dataStore'
35483554
property :data_store_type, as: 'dataStoreType'
3555+
property :document_processing_mode, as: 'documentProcessingMode'
35493556
end
35503557
end
35513558

@@ -4547,6 +4554,7 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnection
45474554
class Representation < Google::Apis::Core::JsonRepresentation
45484555
property :data_store, as: 'dataStore'
45494556
property :data_store_type, as: 'dataStoreType'
4557+
property :document_processing_mode, as: 'documentProcessingMode'
45504558
end
45514559
end
45524560

@@ -5508,6 +5516,8 @@ class GoogleCloudDialogflowV2AnalyzeContentRequest
55085516
class Representation < Google::Apis::Core::JsonRepresentation
55095517
property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters::Representation
55105518

5519+
property :audio_input, as: 'audioInput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AudioInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AudioInput::Representation
5520+
55115521
hash :cx_parameters, as: 'cxParameters'
55125522
property :event_input, as: 'eventInput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput::Representation
55135523

@@ -5601,6 +5611,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
56015611
end
56025612
end
56035613

5614+
class GoogleCloudDialogflowV2AudioInput
5615+
# @private
5616+
class Representation < Google::Apis::Core::JsonRepresentation
5617+
property :audio, :base64 => true, as: 'audio'
5618+
property :config, as: 'config', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InputAudioConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InputAudioConfig::Representation
5619+
5620+
end
5621+
end
5622+
56045623
class GoogleCloudDialogflowV2AutomatedAgentConfig
56055624
# @private
56065625
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)