google-cloud-dialogflow-v2 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/v2/agent_coaching_instruction_pb.rb +47 -0
  3. data/lib/google/cloud/dialogflow/v2/agents/client.rb +20 -3
  4. data/lib/google/cloud/dialogflow/v2/agents/operations.rb +20 -3
  5. data/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +3 -1
  6. data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +20 -3
  7. data/lib/google/cloud/dialogflow/v2/answer_records/paths.rb +19 -0
  8. data/lib/google/cloud/dialogflow/v2/audio_config_pb.rb +3 -1
  9. data/lib/google/cloud/dialogflow/v2/contexts/client.rb +20 -3
  10. data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +20 -3
  11. data/lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb +20 -3
  12. data/lib/google/cloud/dialogflow/v2/conversation_event_pb.rb +3 -1
  13. data/lib/google/cloud/dialogflow/v2/conversation_model_pb.rb +1 -1
  14. data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +20 -3
  15. data/lib/google/cloud/dialogflow/v2/conversation_models/operations.rb +20 -3
  16. data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +1 -1
  17. data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +3 -1
  18. data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +20 -3
  19. data/lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb +20 -3
  20. data/lib/google/cloud/dialogflow/v2/conversations/client.rb +30 -4
  21. data/lib/google/cloud/dialogflow/v2/conversations/paths.rb +19 -0
  22. data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +10 -1
  23. data/lib/google/cloud/dialogflow/v2/document_pb.rb +1 -1
  24. data/lib/google/cloud/dialogflow/v2/documents/client.rb +20 -3
  25. data/lib/google/cloud/dialogflow/v2/documents/operations.rb +20 -3
  26. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/client.rb +20 -3
  27. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/operations.rb +20 -3
  28. data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +20 -3
  29. data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +20 -3
  30. data/lib/google/cloud/dialogflow/v2/environments/client.rb +20 -3
  31. data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +20 -3
  32. data/lib/google/cloud/dialogflow/v2/generator_evaluation_pb.rb +82 -0
  33. data/lib/google/cloud/dialogflow/v2/generator_evaluation_services_pb.rb +51 -0
  34. data/lib/google/cloud/dialogflow/v2/generator_evaluations/client.rb +815 -0
  35. data/lib/google/cloud/dialogflow/v2/generator_evaluations/credentials.rb +52 -0
  36. data/lib/google/cloud/dialogflow/v2/generator_evaluations/operations.rb +841 -0
  37. data/lib/google/cloud/dialogflow/v2/generator_evaluations/paths.rb +92 -0
  38. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/client.rb +752 -0
  39. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/operations.rb +945 -0
  40. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/service_stub.rb +326 -0
  41. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest.rb +54 -0
  42. data/lib/google/cloud/dialogflow/v2/generator_evaluations.rb +56 -0
  43. data/lib/google/cloud/dialogflow/v2/generator_pb.rb +18 -1
  44. data/lib/google/cloud/dialogflow/v2/generators/client.rb +20 -3
  45. data/lib/google/cloud/dialogflow/v2/generators/paths.rb +19 -0
  46. data/lib/google/cloud/dialogflow/v2/intents/client.rb +20 -3
  47. data/lib/google/cloud/dialogflow/v2/intents/operations.rb +20 -3
  48. data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +20 -3
  49. data/lib/google/cloud/dialogflow/v2/operations_pb.rb +45 -0
  50. data/lib/google/cloud/dialogflow/v2/participant_pb.rb +3 -1
  51. data/lib/google/cloud/dialogflow/v2/participants/client.rb +20 -3
  52. data/lib/google/cloud/dialogflow/v2/rest.rb +3 -0
  53. data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +20 -3
  54. data/lib/google/cloud/dialogflow/v2/sessions/client.rb +20 -3
  55. data/lib/google/cloud/dialogflow/v2/sip_trunk_pb.rb +62 -0
  56. data/lib/google/cloud/dialogflow/v2/sip_trunk_services_pb.rb +53 -0
  57. data/lib/google/cloud/dialogflow/v2/sip_trunks/client.rb +885 -0
  58. data/lib/google/cloud/dialogflow/v2/sip_trunks/credentials.rb +52 -0
  59. data/lib/google/cloud/dialogflow/v2/sip_trunks/paths.rb +69 -0
  60. data/lib/google/cloud/dialogflow/v2/sip_trunks/rest/client.rb +815 -0
  61. data/lib/google/cloud/dialogflow/v2/sip_trunks/rest/service_stub.rb +388 -0
  62. data/lib/google/cloud/dialogflow/v2/sip_trunks/rest.rb +53 -0
  63. data/lib/google/cloud/dialogflow/v2/sip_trunks.rb +55 -0
  64. data/lib/google/cloud/dialogflow/v2/tool_call_pb.rb +52 -0
  65. data/lib/google/cloud/dialogflow/v2/tool_pb.rb +80 -0
  66. data/lib/google/cloud/dialogflow/v2/tool_services_pb.rb +55 -0
  67. data/lib/google/cloud/dialogflow/v2/tools/client.rb +897 -0
  68. data/lib/google/cloud/dialogflow/v2/tools/credentials.rb +52 -0
  69. data/lib/google/cloud/dialogflow/v2/tools/paths.rb +109 -0
  70. data/lib/google/cloud/dialogflow/v2/tools/rest/client.rb +827 -0
  71. data/lib/google/cloud/dialogflow/v2/tools/rest/service_stub.rb +388 -0
  72. data/lib/google/cloud/dialogflow/v2/tools/rest.rb +55 -0
  73. data/lib/google/cloud/dialogflow/v2/tools.rb +57 -0
  74. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  75. data/lib/google/cloud/dialogflow/v2/versions/client.rb +20 -3
  76. data/lib/google/cloud/dialogflow/v2/webhook_pb.rb +2 -1
  77. data/lib/google/cloud/dialogflow/v2.rb +3 -0
  78. data/proto_docs/google/cloud/dialogflow/v2/agent_coaching_instruction.rb +109 -0
  79. data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +8 -3
  80. data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +40 -0
  81. data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +19 -2
  82. data/proto_docs/google/cloud/dialogflow/v2/conversation_event.rb +2 -0
  83. data/proto_docs/google/cloud/dialogflow/v2/conversation_model.rb +12 -0
  84. data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +38 -6
  85. data/proto_docs/google/cloud/dialogflow/v2/document.rb +3 -0
  86. data/proto_docs/google/cloud/dialogflow/v2/generator.rb +220 -4
  87. data/proto_docs/google/cloud/dialogflow/v2/generator_evaluation.rb +539 -0
  88. data/proto_docs/google/cloud/dialogflow/v2/operations.rb +39 -0
  89. data/proto_docs/google/cloud/dialogflow/v2/participant.rb +70 -7
  90. data/proto_docs/google/cloud/dialogflow/v2/sip_trunk.rb +211 -0
  91. data/proto_docs/google/cloud/dialogflow/v2/tool.rb +552 -0
  92. data/proto_docs/google/cloud/dialogflow/v2/tool_call.rb +115 -0
  93. metadata +39 -1
@@ -1325,8 +1325,6 @@ module Google
1325
1325
  # @return [::String,nil]
1326
1326
  # @!attribute [rw] credentials
1327
1327
  # Credentials to send with calls. You may provide any of the following types:
1328
- # * (`String`) The path to a service account key file in JSON format
1329
- # * (`Hash`) A service account key as a Hash
1330
1328
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1331
1329
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1332
1330
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1335,7 +1333,26 @@ module Google
1335
1333
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1336
1334
  # * (`nil`) indicating no credentials
1337
1335
  #
1338
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1336
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1337
+ # is deprecated. Providing an unvalidated credential configuration to
1338
+ # Google APIs can compromise the security of your systems and data.
1339
+ #
1340
+ # @example
1341
+ #
1342
+ # # The recommended way to provide credentials is to use the `make_creds` method
1343
+ # # on the appropriate credentials class for your environment.
1344
+ #
1345
+ # require "googleauth"
1346
+ #
1347
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1348
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1349
+ # )
1350
+ #
1351
+ # client = ::Google::Cloud::Dialogflow::V2::EntityTypes::Client.new do |config|
1352
+ # config.credentials = credentials
1353
+ # end
1354
+ #
1355
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1339
1356
  # external source for authentication to Google Cloud, you must validate it before
1340
1357
  # providing it to a Google API client library. Providing an unvalidated credential
1341
1358
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -822,8 +822,6 @@ module Google
822
822
  # @return [::String,nil]
823
823
  # @!attribute [rw] credentials
824
824
  # Credentials to send with calls. You may provide any of the following types:
825
- # * (`String`) The path to a service account key file in JSON format
826
- # * (`Hash`) A service account key as a Hash
827
825
  # * (`Google::Auth::Credentials`) A googleauth credentials object
828
826
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
829
827
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -832,7 +830,26 @@ module Google
832
830
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
833
831
  # * (`nil`) indicating no credentials
834
832
  #
835
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
833
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
834
+ # is deprecated. Providing an unvalidated credential configuration to
835
+ # Google APIs can compromise the security of your systems and data.
836
+ #
837
+ # @example
838
+ #
839
+ # # The recommended way to provide credentials is to use the `make_creds` method
840
+ # # on the appropriate credentials class for your environment.
841
+ #
842
+ # require "googleauth"
843
+ #
844
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
845
+ # json_key_io: ::File.open("/path/to/keyfile.json")
846
+ # )
847
+ #
848
+ # client = ::Google::Cloud::Dialogflow::V2::Environments::Client.new do |config|
849
+ # config.credentials = credentials
850
+ # end
851
+ #
852
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
836
853
  # external source for authentication to Google Cloud, you must validate it before
837
854
  # providing it to a Google API client library. Providing an unvalidated credential
838
855
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -413,8 +413,6 @@ module Google
413
413
  # @return [::String,nil]
414
414
  # @!attribute [rw] credentials
415
415
  # Credentials to send with calls. You may provide any of the following types:
416
- # * (`String`) The path to a service account key file in JSON format
417
- # * (`Hash`) A service account key as a Hash
418
416
  # * (`Google::Auth::Credentials`) A googleauth credentials object
419
417
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
420
418
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -423,7 +421,26 @@ module Google
423
421
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
424
422
  # * (`nil`) indicating no credentials
425
423
  #
426
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
424
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
425
+ # is deprecated. Providing an unvalidated credential configuration to
426
+ # Google APIs can compromise the security of your systems and data.
427
+ #
428
+ # @example
429
+ #
430
+ # # The recommended way to provide credentials is to use the `make_creds` method
431
+ # # on the appropriate credentials class for your environment.
432
+ #
433
+ # require "googleauth"
434
+ #
435
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
436
+ # json_key_io: ::File.open("/path/to/keyfile.json")
437
+ # )
438
+ #
439
+ # client = ::Google::Cloud::Dialogflow::V2::Fulfillments::Client.new do |config|
440
+ # config.credentials = credentials
441
+ # end
442
+ #
443
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
427
444
  # external source for authentication to Google Cloud, you must validate it before
428
445
  # providing it to a Google API client library. Providing an unvalidated credential
429
446
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -0,0 +1,82 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/dialogflow/v2/generator_evaluation.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/cloud/dialogflow/v2/generator_pb'
12
+ require 'google/cloud/dialogflow/v2/operations_pb'
13
+ require 'google/longrunning/operations_pb'
14
+ require 'google/protobuf/empty_pb'
15
+ require 'google/protobuf/timestamp_pb'
16
+ require 'google/rpc/status_pb'
17
+
18
+
19
+ descriptor_data = "\n5google/cloud/dialogflow/v2/generator_evaluation.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a*google/cloud/dialogflow/v2/generator.proto\x1a+google/cloud/dialogflow/v2/operations.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xbd\x01\n CreateGeneratorEvaluationRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-dialogflow.googleapis.com/GeneratorEvaluation\x12R\n\x14generator_evaluation\x18\x02 \x01(\x0b\x32/.google.cloud.dialogflow.v2.GeneratorEvaluationB\x03\xe0\x41\x02\"d\n\x1dGetGeneratorEvaluationRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-dialogflow.googleapis.com/GeneratorEvaluation\"\x99\x01\n\x1fListGeneratorEvaluationsRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-dialogflow.googleapis.com/GeneratorEvaluation\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x8b\x01\n ListGeneratorEvaluationsResponse\x12N\n\x15generator_evaluations\x18\x01 \x03(\x0b\x32/.google.cloud.dialogflow.v2.GeneratorEvaluation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"g\n DeleteGeneratorEvaluationRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-dialogflow.googleapis.com/GeneratorEvaluation\"\xb7\x06\n\x13GeneratorEvaluation\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12_\n\x1bgenerator_evaluation_config\x18\x03 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2.GeneratorEvaluationConfigB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\rcomplete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x11initial_generator\x18\x05 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12`\n\x15summarization_metrics\x18\x06 \x01(\x0b\x32:.google.cloud.dialogflow.v2.SummarizationEvaluationMetricsB\x03\xe0\x41\x03H\x00\x12L\n\x11\x65valuation_status\x18\n \x01(\x0b\x32,.google.cloud.dialogflow.v2.EvaluationStatusB\x03\xe0\x41\x03\x12\x1f\n\rsatisfies_pzs\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\x1f\n\rsatisfies_pzi\x18\x0c \x01(\x08\x42\x03\xe0\x41\x03H\x02\x88\x01\x01:\xb7\x01\xea\x41\xb3\x01\n-dialogflow.googleapis.com/GeneratorEvaluation\x12Wprojects/{project}/locations/{location}/generators/{generator}/evaluations/{evaluation}*\x14generatorEvaluations2\x13generatorEvaluationB\t\n\x07metricsB\x10\n\x0e_satisfies_pzsB\x10\n\x0e_satisfies_pzi\"\xa2\x17\n\x1eSummarizationEvaluationMetrics\x12\x87\x01\n summarization_evaluation_results\x18\x04 \x03(\x0b\x32X.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SummarizationEvaluationResultB\x03\xe0\x41\x03\x12\x38\n+summarization_evaluation_merged_results_uri\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12n\n\x0foverall_metrics\x18\x06 \x03(\x0b\x32P.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.OverallScoresByMetricB\x03\xe0\x41\x03\x12l\n\x16overall_section_tokens\x18\x07 \x03(\x0b\x32G.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SectionTokenB\x03\xe0\x41\x03\x12p\n\x14\x63onversation_details\x18\x08 \x03(\x0b\x32M.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.ConversationDetailB\x03\xe0\x41\x03\x1a{\n\x15\x41\x63\x63uracyDecomposition\x12\x12\n\x05point\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12\x61\x63\x63uracy_reasoning\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x0bis_accurate\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x42\x0e\n\x0c_is_accurate\x1al\n\x16\x41\x64herenceDecomposition\x12\x12\n\x05point\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12 \n\x13\x61\x64herence_reasoning\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0bis_adherent\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03:\x02\x18\x01\x1aq\n\x0f\x41\x64herenceRubric\x12\x15\n\x08question\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\treasoning\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x0cis_addressed\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x42\x0f\n\r_is_addressed\x1a\\\n\x12\x43ompletenessRubric\x12\x15\n\x08question\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x0cis_addressed\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x42\x0f\n\r_is_addressed\x1a\x8e\x02\n\rDecomposition\x12r\n\x16\x61\x63\x63uracy_decomposition\x18\x01 \x01(\x0b\x32P.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.AccuracyDecompositionH\x00\x12t\n\x17\x61\x64herence_decomposition\x18\x02 \x01(\x0b\x32Q.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.AdherenceDecompositionH\x00:\x02\x18\x01\x42\x0f\n\rdecomposition\x1a\xe6\x02\n\x10\x45valuationResult\x12r\n\x16\x61\x63\x63uracy_decomposition\x18\x01 \x01(\x0b\x32P.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.AccuracyDecompositionH\x00\x12\x66\n\x10\x61\x64herence_rubric\x18\x02 \x01(\x0b\x32J.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.AdherenceRubricH\x00\x12l\n\x13\x63ompleteness_rubric\x18\x03 \x01(\x0b\x32M.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.CompletenessRubricH\x00\x42\x08\n\x06result\x1a\xee\x02\n\x1dSummarizationEvaluationResult\x12\x19\n\nsession_id\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x03\x12\x13\n\x06metric\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07section\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05score\x18\x04 \x01(\x02\x42\x03\xe0\x41\x03\x12\x1c\n\x0fsection_summary\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12g\n\x0e\x64\x65\x63ompositions\x18\x07 \x03(\x0b\x32H.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.DecompositionB\x05\x18\x01\xe0\x41\x03\x12l\n\x12\x65valuation_results\x18\x08 \x03(\x0b\x32K.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.EvaluationResultB\x03\xe0\x41\x03\x1a,\n\x15OverallScoresByMetric\x12\x13\n\x06metric\x18\x01 \x01(\tB\x03\xe0\x41\x03\x1aS\n\x0cSectionToken\x12\x14\n\x07section\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x0btoken_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x42\x0e\n\x0c_token_count\x1a\xc1\x06\n\x12\x43onversationDetail\x12\x46\n\x0fmessage_entries\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.v2.MessageEntryB\x03\xe0\x41\x03\x12[\n\x10summary_sections\x18\x04 \x03(\x0b\x32<.google.cloud.dialogflow.v2.SummarySuggestion.SummarySectionB\x03\xe0\x41\x03\x12w\n\x0emetric_details\x18\x02 \x03(\x0b\x32Z.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.ConversationDetail.MetricDetailB\x03\xe0\x41\x03\x12\x64\n\x0esection_tokens\x18\x03 \x03(\x0b\x32G.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SectionTokenB\x03\xe0\x41\x03\x1a\xa6\x03\n\x0cMetricDetail\x12\x13\n\x06metric\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\x05score\x18\x02 \x01(\x02\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x86\x01\n\x0fsection_details\x18\x04 \x03(\x0b\x32h.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.ConversationDetail.MetricDetail.SectionDetailB\x03\xe0\x41\x03\x1a\xd4\x01\n\rSectionDetail\x12\x14\n\x07section\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\x05score\x18\x02 \x01(\x02\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x1c\n\x0fsection_summary\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12l\n\x12\x65valuation_results\x18\x05 \x03(\x0b\x32K.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.EvaluationResultB\x03\xe0\x41\x03\x42\x08\n\x06_scoreB\x08\n\x06_score\"\xbf\r\n\x19GeneratorEvaluationConfig\x12\x65\n\x11input_data_config\x18\x01 \x01(\x0b\x32\x45.google.cloud.dialogflow.v2.GeneratorEvaluationConfig.InputDataConfigB\x03\xe0\x41\x02\x12#\n\x16output_gcs_bucket_path\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12i\n\x14summarization_config\x18\x03 \x01(\x0b\x32I.google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfigH\x00\x1a\x84\x01\n\x1a\x41gentAssistInputDataConfig\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x1a.\n\x16\x44\x61tasetInputDataConfig\x12\x14\n\x07\x64\x61taset\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\xd2\x06\n\x0fInputDataConfig\x12p\n\x16input_data_source_type\x18\x01 \x01(\x0e\x32I.google.cloud.dialogflow.v2.GeneratorEvaluationConfig.InputDataSourceTypeB\x05\x18\x01\xe0\x41\x02\x12\x35\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\x18\x01\xe0\x41\x01\x12\x33\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\x18\x01\xe0\x41\x01\x12\x18\n\x0bsample_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12,\n\x1dis_summary_generation_allowed\x18\x05 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x12\x85\x01\n\x19summary_generation_option\x18\x08 \x01(\x0e\x32].google.cloud.dialogflow.v2.GeneratorEvaluationConfig.InputDataConfig.SummaryGenerationOptionB\x03\xe0\x41\x01\x12z\n\x1e\x61gent_assist_input_data_config\x18\x06 \x01(\x0b\x32P.google.cloud.dialogflow.v2.GeneratorEvaluationConfig.AgentAssistInputDataConfigH\x00\x12q\n\x19\x64\x61taset_input_data_config\x18\x07 \x01(\x0b\x32L.google.cloud.dialogflow.v2.GeneratorEvaluationConfig.DatasetInputDataConfigH\x00\"\x87\x01\n\x17SummaryGenerationOption\x12)\n%SUMMARY_GENERATION_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x41LWAYS_GENERATE\x10\x01\x12\x17\n\x13GENERATE_IF_MISSING\x10\x02\x12\x13\n\x0f\x44O_NOT_GENERATE\x10\x03\x42\x18\n\x16source_specific_config\x1a\x86\x02\n\x13SummarizationConfig\x12)\n\x1a\x65nable_accuracy_evaluation\x18\x01 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x12*\n\x1b\x61\x63\x63uracy_evaluation_version\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12-\n\x1e\x65nable_completeness_evaluation\x18\x03 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x12.\n\x1f\x63ompleteness_evaluation_version\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12#\n\x11\x65valuator_version\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x14\n\x12_evaluator_version\"y\n\x13InputDataSourceType\x12&\n\"INPUT_DATA_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x41GENT_ASSIST_CONVERSATIONS\x10\x01\x12\x1a\n\x16INSIGHTS_CONVERSATIONS\x10\x02\x42\x1b\n\x19\x65valuation_feature_config\"e\n\x10\x45valuationStatus\x12\x16\n\x04\x64one\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x30\n\x0fpipeline_status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x42\x07\n\x05_done2\xdb\x08\n\x14GeneratorEvaluations\x12\xcc\x02\n\x19\x43reateGeneratorEvaluation\x12<.google.cloud.dialogflow.v2.CreateGeneratorEvaluationRequest\x1a\x1d.google.longrunning.Operation\"\xd1\x01\xca\x41V\n\x13GeneratorEvaluation\x12?google.cloud.dialogflow.v2.GeneratorEvaluationOperationMetadata\xda\x41\x1bparent,generator_evaluation\x82\xd3\xe4\x93\x02T\"</v2/{parent=projects/*/locations/*/generators/*}/evaluations:\x14generator_evaluation\x12\xd1\x01\n\x16GetGeneratorEvaluation\x12\x39.google.cloud.dialogflow.v2.GetGeneratorEvaluationRequest\x1a/.google.cloud.dialogflow.v2.GeneratorEvaluation\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v2/{name=projects/*/locations/*/generators/*/evaluations/*}\x12\xe4\x01\n\x18ListGeneratorEvaluations\x12;.google.cloud.dialogflow.v2.ListGeneratorEvaluationsRequest\x1a<.google.cloud.dialogflow.v2.ListGeneratorEvaluationsResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v2/{parent=projects/*/locations/*/generators/*}/evaluations\x12\xbe\x01\n\x19\x44\x65leteGeneratorEvaluation\x12<.google.cloud.dialogflow.v2.DeleteGeneratorEvaluationRequest\x1a\x16.google.protobuf.Empty\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>*</v2/{name=projects/*/locations/*/generators/*/evaluations/*}\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x9e\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x18GeneratorEvaluationProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
20
+
21
+ pool = Google::Protobuf::DescriptorPool.generated_pool
22
+
23
+ begin
24
+ pool.add_serialized_file(descriptor_data)
25
+ rescue TypeError
26
+ # Compatibility code: will be removed in the next major version.
27
+ require 'google/protobuf/descriptor_pb'
28
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
29
+ parsed.clear_dependency
30
+ serialized = parsed.class.encode(parsed)
31
+ file = pool.add_serialized_file(serialized)
32
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
33
+ imports = [
34
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
35
+ ["google.cloud.dialogflow.v2.Generator", "google/cloud/dialogflow/v2/generator.proto"],
36
+ ["google.rpc.Status", "google/rpc/status.proto"],
37
+ ]
38
+ imports.each do |type_name, expected_filename|
39
+ import_file = pool.lookup(type_name).file_descriptor
40
+ if import_file.name != expected_filename
41
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
42
+ end
43
+ end
44
+ warn "Each proto file must use a consistent fully-qualified name."
45
+ warn "This will become an error in the next major version."
46
+ end
47
+
48
+ module Google
49
+ module Cloud
50
+ module Dialogflow
51
+ module V2
52
+ CreateGeneratorEvaluationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.CreateGeneratorEvaluationRequest").msgclass
53
+ GetGeneratorEvaluationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GetGeneratorEvaluationRequest").msgclass
54
+ ListGeneratorEvaluationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ListGeneratorEvaluationsRequest").msgclass
55
+ ListGeneratorEvaluationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ListGeneratorEvaluationsResponse").msgclass
56
+ DeleteGeneratorEvaluationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.DeleteGeneratorEvaluationRequest").msgclass
57
+ GeneratorEvaluation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GeneratorEvaluation").msgclass
58
+ SummarizationEvaluationMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationEvaluationMetrics").msgclass
59
+ SummarizationEvaluationMetrics::AccuracyDecomposition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.AccuracyDecomposition").msgclass
60
+ SummarizationEvaluationMetrics::AdherenceDecomposition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.AdherenceDecomposition").msgclass
61
+ SummarizationEvaluationMetrics::AdherenceRubric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.AdherenceRubric").msgclass
62
+ SummarizationEvaluationMetrics::CompletenessRubric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.CompletenessRubric").msgclass
63
+ SummarizationEvaluationMetrics::Decomposition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.Decomposition").msgclass
64
+ SummarizationEvaluationMetrics::EvaluationResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.EvaluationResult").msgclass
65
+ SummarizationEvaluationMetrics::SummarizationEvaluationResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SummarizationEvaluationResult").msgclass
66
+ SummarizationEvaluationMetrics::OverallScoresByMetric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.OverallScoresByMetric").msgclass
67
+ SummarizationEvaluationMetrics::SectionToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SectionToken").msgclass
68
+ SummarizationEvaluationMetrics::ConversationDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.ConversationDetail").msgclass
69
+ SummarizationEvaluationMetrics::ConversationDetail::MetricDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.ConversationDetail.MetricDetail").msgclass
70
+ SummarizationEvaluationMetrics::ConversationDetail::MetricDetail::SectionDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.ConversationDetail.MetricDetail.SectionDetail").msgclass
71
+ GeneratorEvaluationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GeneratorEvaluationConfig").msgclass
72
+ GeneratorEvaluationConfig::AgentAssistInputDataConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GeneratorEvaluationConfig.AgentAssistInputDataConfig").msgclass
73
+ GeneratorEvaluationConfig::DatasetInputDataConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GeneratorEvaluationConfig.DatasetInputDataConfig").msgclass
74
+ GeneratorEvaluationConfig::InputDataConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GeneratorEvaluationConfig.InputDataConfig").msgclass
75
+ GeneratorEvaluationConfig::InputDataConfig::SummaryGenerationOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GeneratorEvaluationConfig.InputDataConfig.SummaryGenerationOption").enummodule
76
+ GeneratorEvaluationConfig::SummarizationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig").msgclass
77
+ GeneratorEvaluationConfig::InputDataSourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GeneratorEvaluationConfig.InputDataSourceType").enummodule
78
+ EvaluationStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.EvaluationStatus").msgclass
79
+ end
80
+ end
81
+ end
82
+ end
@@ -0,0 +1,51 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/dialogflow/v2/generator_evaluation.proto for package 'google.cloud.dialogflow.v2'
3
+ # Original file comments:
4
+ # Copyright 2025 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/dialogflow/v2/generator_evaluation_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module Dialogflow
25
+ module V2
26
+ module GeneratorEvaluations
27
+ # Service for managing generator evaluations.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.dialogflow.v2.GeneratorEvaluations'
35
+
36
+ # Creates evaluation of a generator.
37
+ rpc :CreateGeneratorEvaluation, ::Google::Cloud::Dialogflow::V2::CreateGeneratorEvaluationRequest, ::Google::Longrunning::Operation
38
+ # Gets an evaluation of generator.
39
+ rpc :GetGeneratorEvaluation, ::Google::Cloud::Dialogflow::V2::GetGeneratorEvaluationRequest, ::Google::Cloud::Dialogflow::V2::GeneratorEvaluation
40
+ # Lists evaluations of generator.
41
+ rpc :ListGeneratorEvaluations, ::Google::Cloud::Dialogflow::V2::ListGeneratorEvaluationsRequest, ::Google::Cloud::Dialogflow::V2::ListGeneratorEvaluationsResponse
42
+ # Deletes an evaluation of generator.
43
+ rpc :DeleteGeneratorEvaluation, ::Google::Cloud::Dialogflow::V2::DeleteGeneratorEvaluationRequest, ::Google::Protobuf::Empty
44
+ end
45
+
46
+ Stub = Service.rpc_stub_class
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end