File tree Expand file tree Collapse file tree
google/cloud/dialogflow/v2beta1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -391,4 +391,20 @@ csharp_gapic_assembly_pkg(
391391##############################################################################
392392# C++
393393##############################################################################
394- # Put your C++ rules here
394+ load (
395+ "@com_google_googleapis_imports//:imports.bzl" ,
396+ "cc_grpc_library" ,
397+ "cc_proto_library" ,
398+ )
399+
400+ cc_proto_library (
401+ name = "dialogflow_cc_proto" ,
402+ deps = [":dialogflow_proto" ],
403+ )
404+
405+ cc_grpc_library (
406+ name = "dialogflow_cc_grpc" ,
407+ srcs = [":dialogflow_proto" ],
408+ grpc_only = True ,
409+ deps = [":dialogflow_cc_proto" ],
410+ )
Original file line number Diff line number Diff line change @@ -373,13 +373,16 @@ enum OutputAudioEncoding {
373373 OUTPUT_AUDIO_ENCODING_MULAW = 5 ;
374374}
375375
376- // Configures speech transcription for [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile].
376+ // Configures speech transcription for [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile].
377377message SpeechToTextConfig {
378- // Optional. The speech model used in speech to text.
378+ // The speech model used in speech to text.
379379 // `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as
380380 // `USE_ENHANCED`. It can be overridden in [AnalyzeContentRequest][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest] and
381381 // [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest] request.
382- SpeechModelVariant speech_model_variant = 1 [(google.api.field_behavior ) = OPTIONAL ];
382+ // If enhanced model variant is specified and an enhanced
383+ // version of the specified model for the language does not exist, then it
384+ // would emit an error.
385+ SpeechModelVariant speech_model_variant = 1 ;
383386}
384387
385388// [DTMF](https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling)
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import "google/cloud/dialogflow/v2beta1/audio_config.proto";
2424import "google/cloud/dialogflow/v2beta1/document.proto" ;
2525import "google/cloud/dialogflow/v2beta1/participant.proto" ;
2626import "google/longrunning/operations.proto" ;
27+ import "google/protobuf/duration.proto" ;
2728import "google/protobuf/empty.proto" ;
2829import "google/protobuf/field_mask.proto" ;
2930import "google/protobuf/timestamp.proto" ;
Original file line number Diff line number Diff line change @@ -540,6 +540,9 @@ message KnowledgeOperationMetadata {
540540
541541 // Required. Output only. The current state of this operation.
542542 State state = 1 [(google.api.field_behavior ) = OUTPUT_ONLY ];
543+
544+ // The name of the knowledge base interacted with during the operation.
545+ string knowledge_base = 3 ;
543546}
544547
545548// Request message for [Documents.ReloadDocument][google.cloud.dialogflow.v2beta1.Documents.ReloadDocument].
You can’t perform that action at this time.
0 commit comments