google-cloud-dialogflow-cx-v3 1.10.1 → 1.11.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 (99) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +2 -25
  3. data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +3 -30
  4. data/lib/google/cloud/dialogflow/cx/v3/agents/paths.rb +21 -0
  5. data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +2 -24
  6. data/lib/google/cloud/dialogflow/cx/v3/changelog_pb.rb +2 -24
  7. data/lib/google/cloud/dialogflow/cx/v3/code_block_pb.rb +25 -0
  8. data/lib/google/cloud/dialogflow/cx/v3/data_store_connection_pb.rb +4 -24
  9. data/lib/google/cloud/dialogflow/cx/v3/deployment_pb.rb +2 -24
  10. data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +2 -25
  11. data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +2 -27
  12. data/lib/google/cloud/dialogflow/cx/v3/environments/paths.rb +19 -0
  13. data/lib/google/cloud/dialogflow/cx/v3/example_pb.rb +38 -0
  14. data/lib/google/cloud/dialogflow/cx/v3/example_services_pb.rb +55 -0
  15. data/lib/google/cloud/dialogflow/cx/v3/examples/client.rb +894 -0
  16. data/lib/google/cloud/dialogflow/cx/v3/examples/credentials.rb +54 -0
  17. data/lib/google/cloud/dialogflow/cx/v3/examples/paths.rb +121 -0
  18. data/lib/google/cloud/dialogflow/cx/v3/examples/rest/client.rb +824 -0
  19. data/lib/google/cloud/dialogflow/cx/v3/examples/rest/service_stub.rb +390 -0
  20. data/lib/google/cloud/dialogflow/cx/v3/examples/rest.rb +55 -0
  21. data/lib/google/cloud/dialogflow/cx/v3/examples.rb +57 -0
  22. data/lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb +2 -26
  23. data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +4 -29
  24. data/lib/google/cloud/dialogflow/cx/v3/flows/paths.rb +42 -0
  25. data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +2 -26
  26. data/lib/google/cloud/dialogflow/cx/v3/gcs_pb.rb +2 -23
  27. data/lib/google/cloud/dialogflow/cx/v3/generative_settings_pb.rb +4 -25
  28. data/lib/google/cloud/dialogflow/cx/v3/generator_pb.rb +4 -25
  29. data/lib/google/cloud/dialogflow/cx/v3/import_strategy_pb.rb +2 -23
  30. data/lib/google/cloud/dialogflow/cx/v3/inline_pb.rb +2 -23
  31. data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +3 -26
  32. data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +3 -29
  33. data/lib/google/cloud/dialogflow/cx/v3/pages/paths.rb +42 -0
  34. data/lib/google/cloud/dialogflow/cx/v3/parameter_definition_pb.rb +30 -0
  35. data/lib/google/cloud/dialogflow/cx/v3/playbook_pb.rb +66 -0
  36. data/lib/google/cloud/dialogflow/cx/v3/playbook_services_pb.rb +73 -0
  37. data/lib/google/cloud/dialogflow/cx/v3/playbooks/client.rb +1620 -0
  38. data/lib/google/cloud/dialogflow/cx/v3/playbooks/credentials.rb +54 -0
  39. data/lib/google/cloud/dialogflow/cx/v3/playbooks/operations.rb +843 -0
  40. data/lib/google/cloud/dialogflow/cx/v3/playbooks/paths.rb +205 -0
  41. data/lib/google/cloud/dialogflow/cx/v3/playbooks/rest/client.rb +1501 -0
  42. data/lib/google/cloud/dialogflow/cx/v3/playbooks/rest/operations.rb +947 -0
  43. data/lib/google/cloud/dialogflow/cx/v3/playbooks/rest/service_stub.rb +821 -0
  44. data/lib/google/cloud/dialogflow/cx/v3/playbooks/rest.rb +56 -0
  45. data/lib/google/cloud/dialogflow/cx/v3/playbooks.rb +58 -0
  46. data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +4 -25
  47. data/lib/google/cloud/dialogflow/cx/v3/rest.rb +3 -0
  48. data/lib/google/cloud/dialogflow/cx/v3/safety_settings_pb.rb +9 -24
  49. data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +2 -24
  50. data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb +2 -25
  51. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +7 -37
  52. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +10 -2
  53. data/lib/google/cloud/dialogflow/cx/v3/sessions/paths.rb +42 -0
  54. data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +10 -2
  55. data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +2 -33
  56. data/lib/google/cloud/dialogflow/cx/v3/test_cases/paths.rb +42 -0
  57. data/lib/google/cloud/dialogflow/cx/v3/tool_call_pb.rb +29 -0
  58. data/lib/google/cloud/dialogflow/cx/v3/tool_pb.rb +64 -0
  59. data/lib/google/cloud/dialogflow/cx/v3/tool_services_pb.rb +71 -0
  60. data/lib/google/cloud/dialogflow/cx/v3/tools/client.rb +1392 -0
  61. data/lib/google/cloud/dialogflow/cx/v3/tools/credentials.rb +54 -0
  62. data/lib/google/cloud/dialogflow/cx/v3/tools/paths.rb +138 -0
  63. data/lib/google/cloud/dialogflow/cx/v3/tools/rest/client.rb +1287 -0
  64. data/lib/google/cloud/dialogflow/cx/v3/tools/rest/service_stub.rb +697 -0
  65. data/lib/google/cloud/dialogflow/cx/v3/tools/rest.rb +55 -0
  66. data/lib/google/cloud/dialogflow/cx/v3/tools.rb +57 -0
  67. data/lib/google/cloud/dialogflow/cx/v3/trace_pb.rb +42 -0
  68. data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +2 -25
  69. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/paths.rb +21 -0
  70. data/lib/google/cloud/dialogflow/cx/v3/validation_message_pb.rb +2 -23
  71. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  72. data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +2 -26
  73. data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +5 -28
  74. data/lib/google/cloud/dialogflow/cx/v3/webhooks/paths.rb +19 -0
  75. data/lib/google/cloud/dialogflow/cx/v3.rb +3 -0
  76. data/proto_docs/google/api/client.rb +149 -29
  77. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +20 -3
  78. data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +3 -0
  79. data/proto_docs/google/cloud/dialogflow/cx/v3/code_block.rb +37 -0
  80. data/proto_docs/google/cloud/dialogflow/cx/v3/data_store_connection.rb +3 -0
  81. data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +3 -1
  82. data/proto_docs/google/cloud/dialogflow/cx/v3/example.rb +173 -0
  83. data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +6 -0
  84. data/proto_docs/google/cloud/dialogflow/cx/v3/generative_settings.rb +15 -0
  85. data/proto_docs/google/cloud/dialogflow/cx/v3/generator.rb +3 -0
  86. data/proto_docs/google/cloud/dialogflow/cx/v3/intent.rb +3 -0
  87. data/proto_docs/google/cloud/dialogflow/cx/v3/page.rb +9 -2
  88. data/proto_docs/google/cloud/dialogflow/cx/v3/parameter_definition.rb +137 -0
  89. data/proto_docs/google/cloud/dialogflow/cx/v3/playbook.rb +546 -0
  90. data/proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb +16 -10
  91. data/proto_docs/google/cloud/dialogflow/cx/v3/safety_settings.rb +94 -0
  92. data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +3 -0
  93. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +68 -18
  94. data/proto_docs/google/cloud/dialogflow/cx/v3/tool.rb +588 -0
  95. data/proto_docs/google/cloud/dialogflow/cx/v3/tool_call.rb +78 -0
  96. data/proto_docs/google/cloud/dialogflow/cx/v3/trace.rb +301 -0
  97. data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +59 -0
  98. data/proto_docs/google/type/latlng.rb +3 -3
  99. metadata +42 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ed7368a3e328af4dd0cf91de601aaece55c0ef8413b75c8d59463ca87932fb7
4
- data.tar.gz: 588b19b5a6346c3000c6c147b27e7ea74cb04ff1470c7df8bd0733cb8553e33a
3
+ metadata.gz: 9f45d46218602e045e7ec0f4ad1b6735c296b60c7f857c5f2d93b9565a9c50d2
4
+ data.tar.gz: dcc28a36f39e99fba4d66973ee1ef79aed37b852a96c342c7a4977fc0eed3f91
5
5
  SHA512:
6
- metadata.gz: a0f08c1ba91ba174ed3f184b05af724c5078fd7d6b383e09ee5aadf02f833ec03b0f7941d45e4894b996e7c1c3c231efd19c4c90a5c43dcbd7a83da13a8c08c8
7
- data.tar.gz: 188e99d02820c35d1335b9f0ba7ffd9d6735cde24ab8eec520264f588b0c4920f36cf7b3fe343bbf6dabfd345a6256c2d369afb1f28fc5a43e9e7db651634f55
6
+ metadata.gz: 510794098de8d334d23b80b07ba3c1f092c4ded616a81f5a6197d470a2403eada4f0b9ad0f3458b3220a12623aacb7b1903f1c2d2184930870a945d189fb72c2
7
+ data.tar.gz: b04671695875989be998f35bd88d173154e96600d89f805b10e359aac68d0147c2ed0f90af40bc85ad4ad4a29bfc489be645ffc37911f99441e71b9c4a672079
@@ -11,31 +11,8 @@ require 'google/protobuf/duration_pb'
11
11
 
12
12
  descriptor_data = "\n5google/cloud/dialogflow/cx/v3/advanced_settings.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\'google/cloud/dialogflow/cx/v3/gcs.proto\x1a\x1egoogle/protobuf/duration.proto\"\xdc\x07\n\x10\x41\x64vancedSettings\x12S\n\x1c\x61udio_export_gcs_destination\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.GcsDestination\x12W\n\x0fspeech_settings\x18\x03 \x01(\x0b\x32>.google.cloud.dialogflow.cx.v3.AdvancedSettings.SpeechSettings\x12S\n\rdtmf_settings\x18\x05 \x01(\x0b\x32<.google.cloud.dialogflow.cx.v3.AdvancedSettings.DtmfSettings\x12Y\n\x10logging_settings\x18\x06 \x01(\x0b\x32?.google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings\x1a\x98\x02\n\x0eSpeechSettings\x12\x1e\n\x16\x65ndpointer_sensitivity\x18\x01 \x01(\x05\x12\x34\n\x11no_speech_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x1duse_timeout_based_endpointing\x18\x03 \x01(\x08\x12Z\n\x06models\x18\x05 \x03(\x0b\x32J.google.cloud.dialogflow.cx.v3.AdvancedSettings.SpeechSettings.ModelsEntry\x1a-\n\x0bModelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xca\x01\n\x0c\x44tmfSettings\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x12\n\nmax_digits\x18\x02 \x01(\x05\x12\x14\n\x0c\x66inish_digit\x18\x03 \x01(\t\x12>\n\x1binterdigit_timeout_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12?\n\x1c\x65ndpointing_timeout_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x81\x01\n\x0fLoggingSettings\x12\"\n\x1a\x65nable_stackdriver_logging\x18\x02 \x01(\x08\x12\"\n\x1a\x65nable_interaction_logging\x18\x03 \x01(\x08\x12&\n\x1e\x65nable_consent_based_redaction\x18\x04 \x01(\x08\x42\xb8\x01\n!com.google.cloud.dialogflow.cx.v3B\x15\x41\x64vancedSettingsProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
13
13
 
14
- pool = Google::Protobuf::DescriptorPool.generated_pool
15
-
16
- begin
17
- pool.add_serialized_file(descriptor_data)
18
- rescue TypeError
19
- # Compatibility code: will be removed in the next major version.
20
- require 'google/protobuf/descriptor_pb'
21
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
- parsed.clear_dependency
23
- serialized = parsed.class.encode(parsed)
24
- file = pool.add_serialized_file(serialized)
25
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
- imports = [
27
- ["google.cloud.dialogflow.cx.v3.GcsDestination", "google/cloud/dialogflow/cx/v3/gcs.proto"],
28
- ["google.protobuf.Duration", "google/protobuf/duration.proto"],
29
- ]
30
- imports.each do |type_name, expected_filename|
31
- import_file = pool.lookup(type_name).file_descriptor
32
- if import_file.name != expected_filename
33
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
34
- end
35
- end
36
- warn "Each proto file must use a consistent fully-qualified name."
37
- warn "This will become an error in the next major version."
38
- end
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
39
16
 
40
17
  module Google
41
18
  module Cloud
@@ -18,37 +18,10 @@ require 'google/protobuf/field_mask_pb'
18
18
  require 'google/protobuf/struct_pb'
19
19
 
20
20
 
21
- descriptor_data = "\n)google/cloud/dialogflow/cx/v3/agent.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/dialogflow/cx/v3/advanced_settings.proto\x1a\x30google/cloud/dialogflow/cx/v3/audio_config.proto\x1a(google/cloud/dialogflow/cx/v3/flow.proto\x1a\x37google/cloud/dialogflow/cx/v3/generative_settings.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\"8\n\x14SpeechToTextSettings\x12 \n\x18\x65nable_speech_adaptation\x18\x01 \x01(\x08\"\xc5\x10\n\x05\x41gent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12%\n\x15\x64\x65\x66\x61ult_language_code\x18\x03 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12 \n\x18supported_language_codes\x18\x04 \x03(\t\x12\x16\n\ttime_zone\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x12\n\navatar_uri\x18\x07 \x01(\t\x12T\n\x17speech_to_text_settings\x18\r \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.SpeechToTextSettings\x12:\n\nstart_flow\x18\x10 \x01(\tB&\xe0\x41\x05\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12J\n\x11security_settings\x18\x11 \x01(\tB/\xfa\x41,\n*dialogflow.googleapis.com/SecuritySettings\x12&\n\x1a\x65nable_stackdriver_logging\x18\x12 \x01(\x08\x42\x02\x18\x01\x12\x1f\n\x17\x65nable_spell_correction\x18\x14 \x01(\x08\x12+\n\x1e\x65nable_multi_language_training\x18( \x01(\x08\x42\x03\xe0\x41\x01\x12\x0e\n\x06locked\x18\x1b \x01(\x08\x12J\n\x11\x61\x64vanced_settings\x18\x16 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.AdvancedSettings\x12]\n\x18git_integration_settings\x18\x1e \x01(\x0b\x32;.google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings\x12T\n\x17text_to_speech_settings\x18\x1f \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TextToSpeechSettings\x12\x61\n\x18gen_app_builder_settings\x18! \x01(\x0b\x32:.google.cloud.dialogflow.cx.v3.Agent.GenAppBuilderSettingsH\x00\x88\x01\x01\x12\x62\n\x18\x61nswer_feedback_settings\x18& \x01(\x0b\x32;.google.cloud.dialogflow.cx.v3.Agent.AnswerFeedbackSettingsB\x03\xe0\x41\x01\x12\x63\n\x18personalization_settings\x18* \x01(\x0b\x32<.google.cloud.dialogflow.cx.v3.Agent.PersonalizationSettingsB\x03\xe0\x41\x01\x12h\n\x1b\x63lient_certificate_settings\x18+ \x01(\x0b\x32>.google.cloud.dialogflow.cx.v3.Agent.ClientCertificateSettingsB\x03\xe0\x41\x01\x12\"\n\rsatisfies_pzs\x18- \x01(\x08\x42\x06\xe0\x41\x01\xe0\x41\x03H\x01\x88\x01\x01\x12\"\n\rsatisfies_pzi\x18. \x01(\x08\x42\x06\xe0\x41\x01\xe0\x41\x03H\x02\x88\x01\x01\x1a\x90\x02\n\x16GitIntegrationSettings\x12\x65\n\x0fgithub_settings\x18\x01 \x01(\x0b\x32J.google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings.GithubSettingsH\x00\x1a\x7f\n\x0eGithubSettings\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x16\n\x0erepository_uri\x18\x02 \x01(\t\x12\x17\n\x0ftracking_branch\x18\x03 \x01(\t\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x04 \x01(\t\x12\x10\n\x08\x62ranches\x18\x05 \x03(\tB\x0e\n\x0cgit_settings\x1a,\n\x15GenAppBuilderSettings\x12\x13\n\x06\x65ngine\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a=\n\x16\x41nswerFeedbackSettings\x12#\n\x16\x65nable_answer_feedback\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x1aZ\n\x17PersonalizationSettings\x12?\n\x19\x64\x65\x66\x61ult_end_user_metadata\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x1a\xca\x01\n\x19\x43lientCertificateSettings\x12\x1c\n\x0fssl_certificate\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12G\n\x0bprivate_key\x18\x02 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x46\n\npassphrase\x18\x03 \x01(\tB2\xe0\x41\x01\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion:\\\xea\x41Y\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x36projects/{project}/locations/{location}/agents/{agent}B\x1b\n\x19_gen_app_builder_settingsB\x10\n\x0e_satisfies_pzsB\x10\n\x0e_satisfies_pzi\"s\n\x11ListAgentsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x64ialogflow.googleapis.com/Agent\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"c\n\x12ListAgentsResponse\x12\x34\n\x06\x61gents\x18\x01 \x03(\x0b\x32$.google.cloud.dialogflow.cx.v3.Agent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"H\n\x0fGetAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\"\x87\x01\n\x12\x43reateAgentRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x64ialogflow.googleapis.com/Agent\x12\x38\n\x05\x61gent\x18\x02 \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.AgentB\x03\xe0\x41\x02\"\x7f\n\x12UpdateAgentRequest\x12\x38\n\x05\x61gent\x18\x01 \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.AgentB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"K\n\x12\x44\x65leteAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\"\x98\x04\n\x12\x45xportAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x16\n\tagent_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12V\n\x0b\x64\x61ta_format\x18\x03 \x01(\x0e\x32<.google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormatB\x03\xe0\x41\x01\x12\x42\n\x0b\x65nvironment\x18\x05 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%dialogflow.googleapis.com/Environment\x12^\n\x0fgit_destination\x18\x06 \x01(\x0b\x32@.google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestinationB\x03\xe0\x41\x01\x12-\n include_bigquery_export_settings\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x41\n\x0eGitDestination\x12\x17\n\x0ftracking_branch\x18\x01 \x01(\t\x12\x16\n\x0e\x63ommit_message\x18\x02 \x01(\t\"E\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42LOB\x10\x01\x12\x10\n\x0cJSON_PACKAGE\x10\x04\"b\n\x13\x45xportAgentResponse\x12\x13\n\tagent_uri\x18\x01 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x02 \x01(\x0cH\x00\x12\x14\n\ncommit_sha\x18\x03 \x01(\tH\x00\x42\x07\n\x05\x61gent\"\xa0\x03\n\x13RestoreAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x13\n\tagent_uri\x18\x02 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x03 \x01(\x0cH\x00\x12R\n\ngit_source\x18\x06 \x01(\x0b\x32<.google.cloud.dialogflow.cx.v3.RestoreAgentRequest.GitSourceH\x00\x12X\n\x0erestore_option\x18\x05 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.RestoreAgentRequest.RestoreOption\x1a$\n\tGitSource\x12\x17\n\x0ftracking_branch\x18\x01 \x01(\t\"G\n\rRestoreOption\x12\x1e\n\x1aRESTORE_OPTION_UNSPECIFIED\x10\x00\x12\x08\n\x04KEEP\x10\x01\x12\x0c\n\x08\x46\x41LLBACK\x10\x02\x42\x07\n\x05\x61gent\"d\n\x14ValidateAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\x7f\n\x1fGetAgentValidationResultRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/dialogflow.googleapis.com/AgentValidationResult\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\xfa\x01\n\x15\x41gentValidationResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12T\n\x17\x66low_validation_results\x18\x02 \x03(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.FlowValidationResult:}\xea\x41z\n/dialogflow.googleapis.com/AgentValidationResult\x12Gprojects/{project}/locations/{location}/agents/{agent}/validationResult\"\x83\x01\n\x1cGetGenerativeSettingsRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1dialogflow.googleapis.com/AgentGenerativeSettings\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xac\x01\n\x1fUpdateGenerativeSettingsRequest\x12S\n\x13generative_settings\x18\x01 \x01(\x0b\x32\x31.google.cloud.dialogflow.cx.v3.GenerativeSettingsB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x32\xa2\x12\n\x06\x41gents\x12\xae\x01\n\nListAgents\x12\x30.google.cloud.dialogflow.cx.v3.ListAgentsRequest\x1a\x31.google.cloud.dialogflow.cx.v3.ListAgentsResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v3/{parent=projects/*/locations/*}/agents\x12\x9b\x01\n\x08GetAgent\x12..google.cloud.dialogflow.cx.v3.GetAgentRequest\x1a$.google.cloud.dialogflow.cx.v3.Agent\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v3/{name=projects/*/locations/*/agents/*}\x12\xb0\x01\n\x0b\x43reateAgent\x12\x31.google.cloud.dialogflow.cx.v3.CreateAgentRequest\x1a$.google.cloud.dialogflow.cx.v3.Agent\"H\xda\x41\x0cparent,agent\x82\xd3\xe4\x93\x02\x33\"*/v3/{parent=projects/*/locations/*}/agents:\x05\x61gent\x12\xbb\x01\n\x0bUpdateAgent\x12\x31.google.cloud.dialogflow.cx.v3.UpdateAgentRequest\x1a$.google.cloud.dialogflow.cx.v3.Agent\"S\xda\x41\x11\x61gent,update_mask\x82\xd3\xe4\x93\x02\x39\x32\x30/v3/{agent.name=projects/*/locations/*/agents/*}:\x05\x61gent\x12\x93\x01\n\x0b\x44\x65leteAgent\x12\x31.google.cloud.dialogflow.cx.v3.DeleteAgentRequest\x1a\x16.google.protobuf.Empty\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v3/{name=projects/*/locations/*/agents/*}\x12\xcd\x01\n\x0b\x45xportAgent\x12\x31.google.cloud.dialogflow.cx.v3.ExportAgentRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41-\n\x13\x45xportAgentResponse\x12\x16google.protobuf.Struct\x82\xd3\xe4\x93\x02\x36\"1/v3/{name=projects/*/locations/*/agents/*}:export:\x01*\x12\xd2\x01\n\x0cRestoreAgent\x12\x32.google.cloud.dialogflow.cx.v3.RestoreAgentRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x82\xd3\xe4\x93\x02\x37\"2/v3/{name=projects/*/locations/*/agents/*}:restore:\x01*\x12\xba\x01\n\rValidateAgent\x12\x33.google.cloud.dialogflow.cx.v3.ValidateAgentRequest\x1a\x34.google.cloud.dialogflow.cx.v3.AgentValidationResult\">\x82\xd3\xe4\x93\x02\x38\"3/v3/{name=projects/*/locations/*/agents/*}:validate:\x01*\x12\xdc\x01\n\x18GetAgentValidationResult\x12>.google.cloud.dialogflow.cx.v3.GetAgentValidationResultRequest\x1a\x34.google.cloud.dialogflow.cx.v3.AgentValidationResult\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v3/{name=projects/*/locations/*/agents/*/validationResult}\x12\xe3\x01\n\x15GetGenerativeSettings\x12;.google.cloud.dialogflow.cx.v3.GetGenerativeSettingsRequest\x1a\x31.google.cloud.dialogflow.cx.v3.GenerativeSettings\"Z\xda\x41\x12name,language_code\x82\xd3\xe4\x93\x02?\x12=/v3/{name=projects/*/locations/*/agents/*/generativeSettings}\x12\xa0\x02\n\x18UpdateGenerativeSettings\x12>.google.cloud.dialogflow.cx.v3.UpdateGenerativeSettingsRequest\x1a\x31.google.cloud.dialogflow.cx.v3.GenerativeSettings\"\x90\x01\xda\x41\x1fgenerative_settings,update_mask\x82\xd3\xe4\x93\x02h2Q/v3/{generative_settings.name=projects/*/locations/*/agents/*/generativeSettings}:\x13generative_settings\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x94\x02\n!com.google.cloud.dialogflow.cx.v3B\nAgentProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}b\x06proto3"
21
+ descriptor_data = "\n)google/cloud/dialogflow/cx/v3/agent.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/dialogflow/cx/v3/advanced_settings.proto\x1a\x30google/cloud/dialogflow/cx/v3/audio_config.proto\x1a(google/cloud/dialogflow/cx/v3/flow.proto\x1a\x37google/cloud/dialogflow/cx/v3/generative_settings.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\"8\n\x14SpeechToTextSettings\x12 \n\x18\x65nable_speech_adaptation\x18\x01 \x01(\x08\"\xa1\x11\n\x05\x41gent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12%\n\x15\x64\x65\x66\x61ult_language_code\x18\x03 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12 \n\x18supported_language_codes\x18\x04 \x03(\t\x12\x16\n\ttime_zone\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x12\n\navatar_uri\x18\x07 \x01(\t\x12T\n\x17speech_to_text_settings\x18\r \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.SpeechToTextSettings\x12\x39\n\nstart_flow\x18\x10 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/FlowH\x00\x12\x41\n\x0estart_playbook\x18\' \x01(\tB\'\xfa\x41$\n\"dialogflow.googleapis.com/PlaybookH\x00\x12J\n\x11security_settings\x18\x11 \x01(\tB/\xfa\x41,\n*dialogflow.googleapis.com/SecuritySettings\x12&\n\x1a\x65nable_stackdriver_logging\x18\x12 \x01(\x08\x42\x02\x18\x01\x12\x1f\n\x17\x65nable_spell_correction\x18\x14 \x01(\x08\x12+\n\x1e\x65nable_multi_language_training\x18( \x01(\x08\x42\x03\xe0\x41\x01\x12\x0e\n\x06locked\x18\x1b \x01(\x08\x12J\n\x11\x61\x64vanced_settings\x18\x16 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.AdvancedSettings\x12]\n\x18git_integration_settings\x18\x1e \x01(\x0b\x32;.google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings\x12T\n\x17text_to_speech_settings\x18\x1f \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TextToSpeechSettings\x12\x61\n\x18gen_app_builder_settings\x18! \x01(\x0b\x32:.google.cloud.dialogflow.cx.v3.Agent.GenAppBuilderSettingsH\x01\x88\x01\x01\x12\x62\n\x18\x61nswer_feedback_settings\x18& \x01(\x0b\x32;.google.cloud.dialogflow.cx.v3.Agent.AnswerFeedbackSettingsB\x03\xe0\x41\x01\x12\x63\n\x18personalization_settings\x18* \x01(\x0b\x32<.google.cloud.dialogflow.cx.v3.Agent.PersonalizationSettingsB\x03\xe0\x41\x01\x12h\n\x1b\x63lient_certificate_settings\x18+ \x01(\x0b\x32>.google.cloud.dialogflow.cx.v3.Agent.ClientCertificateSettingsB\x03\xe0\x41\x01\x12\"\n\rsatisfies_pzs\x18- \x01(\x08\x42\x06\xe0\x41\x01\xe0\x41\x03H\x02\x88\x01\x01\x12\"\n\rsatisfies_pzi\x18. \x01(\x08\x42\x06\xe0\x41\x01\xe0\x41\x03H\x03\x88\x01\x01\x1a\x90\x02\n\x16GitIntegrationSettings\x12\x65\n\x0fgithub_settings\x18\x01 \x01(\x0b\x32J.google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings.GithubSettingsH\x00\x1a\x7f\n\x0eGithubSettings\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x16\n\x0erepository_uri\x18\x02 \x01(\t\x12\x17\n\x0ftracking_branch\x18\x03 \x01(\t\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x04 \x01(\t\x12\x10\n\x08\x62ranches\x18\x05 \x03(\tB\x0e\n\x0cgit_settings\x1a,\n\x15GenAppBuilderSettings\x12\x13\n\x06\x65ngine\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a=\n\x16\x41nswerFeedbackSettings\x12#\n\x16\x65nable_answer_feedback\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x1aZ\n\x17PersonalizationSettings\x12?\n\x19\x64\x65\x66\x61ult_end_user_metadata\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x1a\xca\x01\n\x19\x43lientCertificateSettings\x12\x1c\n\x0fssl_certificate\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12G\n\x0bprivate_key\x18\x02 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x46\n\npassphrase\x18\x03 \x01(\tB2\xe0\x41\x01\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion:\\\xea\x41Y\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x36projects/{project}/locations/{location}/agents/{agent}B\x18\n\x16session_entry_resourceB\x1b\n\x19_gen_app_builder_settingsB\x10\n\x0e_satisfies_pzsB\x10\n\x0e_satisfies_pzi\"s\n\x11ListAgentsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x64ialogflow.googleapis.com/Agent\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"c\n\x12ListAgentsResponse\x12\x34\n\x06\x61gents\x18\x01 \x03(\x0b\x32$.google.cloud.dialogflow.cx.v3.Agent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"H\n\x0fGetAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\"\x87\x01\n\x12\x43reateAgentRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x64ialogflow.googleapis.com/Agent\x12\x38\n\x05\x61gent\x18\x02 \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.AgentB\x03\xe0\x41\x02\"\x7f\n\x12UpdateAgentRequest\x12\x38\n\x05\x61gent\x18\x01 \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.AgentB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"K\n\x12\x44\x65leteAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\"\x98\x04\n\x12\x45xportAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x16\n\tagent_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12V\n\x0b\x64\x61ta_format\x18\x03 \x01(\x0e\x32<.google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormatB\x03\xe0\x41\x01\x12\x42\n\x0b\x65nvironment\x18\x05 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%dialogflow.googleapis.com/Environment\x12^\n\x0fgit_destination\x18\x06 \x01(\x0b\x32@.google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestinationB\x03\xe0\x41\x01\x12-\n include_bigquery_export_settings\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x41\n\x0eGitDestination\x12\x17\n\x0ftracking_branch\x18\x01 \x01(\t\x12\x16\n\x0e\x63ommit_message\x18\x02 \x01(\t\"E\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42LOB\x10\x01\x12\x10\n\x0cJSON_PACKAGE\x10\x04\"b\n\x13\x45xportAgentResponse\x12\x13\n\tagent_uri\x18\x01 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x02 \x01(\x0cH\x00\x12\x14\n\ncommit_sha\x18\x03 \x01(\tH\x00\x42\x07\n\x05\x61gent\"\xa0\x03\n\x13RestoreAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x13\n\tagent_uri\x18\x02 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x03 \x01(\x0cH\x00\x12R\n\ngit_source\x18\x06 \x01(\x0b\x32<.google.cloud.dialogflow.cx.v3.RestoreAgentRequest.GitSourceH\x00\x12X\n\x0erestore_option\x18\x05 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.RestoreAgentRequest.RestoreOption\x1a$\n\tGitSource\x12\x17\n\x0ftracking_branch\x18\x01 \x01(\t\"G\n\rRestoreOption\x12\x1e\n\x1aRESTORE_OPTION_UNSPECIFIED\x10\x00\x12\x08\n\x04KEEP\x10\x01\x12\x0c\n\x08\x46\x41LLBACK\x10\x02\x42\x07\n\x05\x61gent\"d\n\x14ValidateAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\x7f\n\x1fGetAgentValidationResultRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/dialogflow.googleapis.com/AgentValidationResult\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\xfa\x01\n\x15\x41gentValidationResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12T\n\x17\x66low_validation_results\x18\x02 \x03(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.FlowValidationResult:}\xea\x41z\n/dialogflow.googleapis.com/AgentValidationResult\x12Gprojects/{project}/locations/{location}/agents/{agent}/validationResult\"\x83\x01\n\x1cGetGenerativeSettingsRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1dialogflow.googleapis.com/AgentGenerativeSettings\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xac\x01\n\x1fUpdateGenerativeSettingsRequest\x12S\n\x13generative_settings\x18\x01 \x01(\x0b\x32\x31.google.cloud.dialogflow.cx.v3.GenerativeSettingsB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x32\xa2\x12\n\x06\x41gents\x12\xae\x01\n\nListAgents\x12\x30.google.cloud.dialogflow.cx.v3.ListAgentsRequest\x1a\x31.google.cloud.dialogflow.cx.v3.ListAgentsResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v3/{parent=projects/*/locations/*}/agents\x12\x9b\x01\n\x08GetAgent\x12..google.cloud.dialogflow.cx.v3.GetAgentRequest\x1a$.google.cloud.dialogflow.cx.v3.Agent\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v3/{name=projects/*/locations/*/agents/*}\x12\xb0\x01\n\x0b\x43reateAgent\x12\x31.google.cloud.dialogflow.cx.v3.CreateAgentRequest\x1a$.google.cloud.dialogflow.cx.v3.Agent\"H\xda\x41\x0cparent,agent\x82\xd3\xe4\x93\x02\x33\"*/v3/{parent=projects/*/locations/*}/agents:\x05\x61gent\x12\xbb\x01\n\x0bUpdateAgent\x12\x31.google.cloud.dialogflow.cx.v3.UpdateAgentRequest\x1a$.google.cloud.dialogflow.cx.v3.Agent\"S\xda\x41\x11\x61gent,update_mask\x82\xd3\xe4\x93\x02\x39\x32\x30/v3/{agent.name=projects/*/locations/*/agents/*}:\x05\x61gent\x12\x93\x01\n\x0b\x44\x65leteAgent\x12\x31.google.cloud.dialogflow.cx.v3.DeleteAgentRequest\x1a\x16.google.protobuf.Empty\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v3/{name=projects/*/locations/*/agents/*}\x12\xcd\x01\n\x0b\x45xportAgent\x12\x31.google.cloud.dialogflow.cx.v3.ExportAgentRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41-\n\x13\x45xportAgentResponse\x12\x16google.protobuf.Struct\x82\xd3\xe4\x93\x02\x36\"1/v3/{name=projects/*/locations/*/agents/*}:export:\x01*\x12\xd2\x01\n\x0cRestoreAgent\x12\x32.google.cloud.dialogflow.cx.v3.RestoreAgentRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x82\xd3\xe4\x93\x02\x37\"2/v3/{name=projects/*/locations/*/agents/*}:restore:\x01*\x12\xba\x01\n\rValidateAgent\x12\x33.google.cloud.dialogflow.cx.v3.ValidateAgentRequest\x1a\x34.google.cloud.dialogflow.cx.v3.AgentValidationResult\">\x82\xd3\xe4\x93\x02\x38\"3/v3/{name=projects/*/locations/*/agents/*}:validate:\x01*\x12\xdc\x01\n\x18GetAgentValidationResult\x12>.google.cloud.dialogflow.cx.v3.GetAgentValidationResultRequest\x1a\x34.google.cloud.dialogflow.cx.v3.AgentValidationResult\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v3/{name=projects/*/locations/*/agents/*/validationResult}\x12\xe3\x01\n\x15GetGenerativeSettings\x12;.google.cloud.dialogflow.cx.v3.GetGenerativeSettingsRequest\x1a\x31.google.cloud.dialogflow.cx.v3.GenerativeSettings\"Z\xda\x41\x12name,language_code\x82\xd3\xe4\x93\x02?\x12=/v3/{name=projects/*/locations/*/agents/*/generativeSettings}\x12\xa0\x02\n\x18UpdateGenerativeSettings\x12>.google.cloud.dialogflow.cx.v3.UpdateGenerativeSettingsRequest\x1a\x31.google.cloud.dialogflow.cx.v3.GenerativeSettings\"\x90\x01\xda\x41\x1fgenerative_settings,update_mask\x82\xd3\xe4\x93\x02h2Q/v3/{generative_settings.name=projects/*/locations/*/agents/*/generativeSettings}:\x13generative_settings\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x94\x02\n!com.google.cloud.dialogflow.cx.v3B\nAgentProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}b\x06proto3"
22
22
 
23
- pool = Google::Protobuf::DescriptorPool.generated_pool
24
-
25
- begin
26
- pool.add_serialized_file(descriptor_data)
27
- rescue TypeError
28
- # Compatibility code: will be removed in the next major version.
29
- require 'google/protobuf/descriptor_pb'
30
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
31
- parsed.clear_dependency
32
- serialized = parsed.class.encode(parsed)
33
- file = pool.add_serialized_file(serialized)
34
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
35
- imports = [
36
- ["google.cloud.dialogflow.cx.v3.AdvancedSettings", "google/cloud/dialogflow/cx/v3/advanced_settings.proto"],
37
- ["google.cloud.dialogflow.cx.v3.TextToSpeechSettings", "google/cloud/dialogflow/cx/v3/audio_config.proto"],
38
- ["google.protobuf.Struct", "google/protobuf/struct.proto"],
39
- ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
40
- ["google.cloud.dialogflow.cx.v3.FlowValidationResult", "google/cloud/dialogflow/cx/v3/flow.proto"],
41
- ["google.cloud.dialogflow.cx.v3.GenerativeSettings", "google/cloud/dialogflow/cx/v3/generative_settings.proto"],
42
- ]
43
- imports.each do |type_name, expected_filename|
44
- import_file = pool.lookup(type_name).file_descriptor
45
- if import_file.name != expected_filename
46
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
47
- end
48
- end
49
- warn "Each proto file must use a consistent fully-qualified name."
50
- warn "This will become an error in the next major version."
51
- end
23
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
24
+ pool.add_serialized_file(descriptor_data)
52
25
 
53
26
  module Google
54
27
  module Cloud
@@ -141,6 +141,27 @@ module Google
141
141
  "projects/#{project}/locations/#{location}"
142
142
  end
143
143
 
144
+ ##
145
+ # Create a fully-qualified Playbook resource string.
146
+ #
147
+ # The resource will be in the following format:
148
+ #
149
+ # `projects/{project}/locations/{location}/agents/{agent}/playbooks/{playbook}`
150
+ #
151
+ # @param project [String]
152
+ # @param location [String]
153
+ # @param agent [String]
154
+ # @param playbook [String]
155
+ #
156
+ # @return [::String]
157
+ def playbook_path project:, location:, agent:, playbook:
158
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
159
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
160
+ raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
161
+
162
+ "projects/#{project}/locations/#{location}/agents/#{agent}/playbooks/#{playbook}"
163
+ end
164
+
144
165
  ##
145
166
  # Create a fully-qualified SecretVersion resource string.
146
167
  #
@@ -11,30 +11,8 @@ require 'google/protobuf/duration_pb'
11
11
 
12
12
  descriptor_data = "\n0google/cloud/dialogflow/cx/v3/audio_config.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\"\x92\x01\n\x0eSpeechWordInfo\x12\x0c\n\x04word\x18\x03 \x01(\t\x12/\n\x0cstart_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\nend_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\nconfidence\x18\x04 \x01(\x02\"{\n\rBargeInConfig\x12\x37\n\x14no_barge_in_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etotal_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x8d\x03\n\x10InputAudioConfig\x12I\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32,.google.cloud.dialogflow.cx.v3.AudioEncodingB\x03\xe0\x41\x02\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x12\x18\n\x10\x65nable_word_info\x18\r \x01(\x08\x12\x14\n\x0cphrase_hints\x18\x04 \x03(\t\x12\r\n\x05model\x18\x07 \x01(\t\x12H\n\rmodel_variant\x18\n \x01(\x0e\x32\x31.google.cloud.dialogflow.cx.v3.SpeechModelVariant\x12\x18\n\x10single_utterance\x18\x08 \x01(\x08\x12\x45\n\x0f\x62\x61rge_in_config\x18\x0f \x01(\x0b\x32,.google.cloud.dialogflow.cx.v3.BargeInConfig\x12)\n!opt_out_conformer_model_migration\x18\x1a \x01(\x08\"i\n\x14VoiceSelectionParams\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x43\n\x0bssml_gender\x18\x02 \x01(\x0e\x32..google.cloud.dialogflow.cx.v3.SsmlVoiceGender\"\xb6\x01\n\x16SynthesizeSpeechConfig\x12\x15\n\rspeaking_rate\x18\x01 \x01(\x01\x12\r\n\x05pitch\x18\x02 \x01(\x01\x12\x16\n\x0evolume_gain_db\x18\x03 \x01(\x01\x12\x1a\n\x12\x65\x66\x66\x65\x63ts_profile_id\x18\x05 \x03(\t\x12\x42\n\x05voice\x18\x04 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.VoiceSelectionParams\"\xd8\x01\n\x11OutputAudioConfig\x12O\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32\x32.google.cloud.dialogflow.cx.v3.OutputAudioEncodingB\x03\xe0\x41\x02\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x12W\n\x18synthesize_speech_config\x18\x03 \x01(\x0b\x32\x35.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig\"\x82\x02\n\x14TextToSpeechSettings\x12s\n\x19synthesize_speech_configs\x18\x01 \x03(\x0b\x32P.google.cloud.dialogflow.cx.v3.TextToSpeechSettings.SynthesizeSpeechConfigsEntry\x1au\n\x1cSynthesizeSpeechConfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x44\n\x05value\x18\x02 \x01(\x0b\x32\x35.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig:\x02\x38\x01*\x94\x02\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41UDIO_ENCODING_LINEAR_16\x10\x01\x12\x17\n\x13\x41UDIO_ENCODING_FLAC\x10\x02\x12\x18\n\x14\x41UDIO_ENCODING_MULAW\x10\x03\x12\x16\n\x12\x41UDIO_ENCODING_AMR\x10\x04\x12\x19\n\x15\x41UDIO_ENCODING_AMR_WB\x10\x05\x12\x1b\n\x17\x41UDIO_ENCODING_OGG_OPUS\x10\x06\x12)\n%AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE\x10\x07\x12\x17\n\x13\x41UDIO_ENCODING_ALAW\x10\x08*v\n\x12SpeechModelVariant\x12$\n SPEECH_MODEL_VARIANT_UNSPECIFIED\x10\x00\x12\x16\n\x12USE_BEST_AVAILABLE\x10\x01\x12\x10\n\x0cUSE_STANDARD\x10\x02\x12\x10\n\x0cUSE_ENHANCED\x10\x03*\x8d\x01\n\x0fSsmlVoiceGender\x12!\n\x1dSSML_VOICE_GENDER_UNSPECIFIED\x10\x00\x12\x1a\n\x16SSML_VOICE_GENDER_MALE\x10\x01\x12\x1c\n\x18SSML_VOICE_GENDER_FEMALE\x10\x02\x12\x1d\n\x19SSML_VOICE_GENDER_NEUTRAL\x10\x03*\x8c\x02\n\x13OutputAudioEncoding\x12%\n!OUTPUT_AUDIO_ENCODING_UNSPECIFIED\x10\x00\x12#\n\x1fOUTPUT_AUDIO_ENCODING_LINEAR_16\x10\x01\x12\x1d\n\x19OUTPUT_AUDIO_ENCODING_MP3\x10\x02\x12%\n!OUTPUT_AUDIO_ENCODING_MP3_64_KBPS\x10\x04\x12\"\n\x1eOUTPUT_AUDIO_ENCODING_OGG_OPUS\x10\x03\x12\x1f\n\x1bOUTPUT_AUDIO_ENCODING_MULAW\x10\x05\x12\x1e\n\x1aOUTPUT_AUDIO_ENCODING_ALAW\x10\x06\x42\x8b\x02\n!com.google.cloud.dialogflow.cx.v3B\x10\x41udioConfigProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3\xea\x41U\n\x1b\x61utoml.googleapis.com/Model\x12\x36projects/{project}/locations/{location}/models/{model}b\x06proto3"
13
13
 
14
- pool = Google::Protobuf::DescriptorPool.generated_pool
15
-
16
- begin
17
- pool.add_serialized_file(descriptor_data)
18
- rescue TypeError
19
- # Compatibility code: will be removed in the next major version.
20
- require 'google/protobuf/descriptor_pb'
21
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
- parsed.clear_dependency
23
- serialized = parsed.class.encode(parsed)
24
- file = pool.add_serialized_file(serialized)
25
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
- imports = [
27
- ["google.protobuf.Duration", "google/protobuf/duration.proto"],
28
- ]
29
- imports.each do |type_name, expected_filename|
30
- import_file = pool.lookup(type_name).file_descriptor
31
- if import_file.name != expected_filename
32
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
- end
34
- end
35
- warn "Each proto file must use a consistent fully-qualified name."
36
- warn "This will become an error in the next major version."
37
- end
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
38
16
 
39
17
  module Google
40
18
  module Cloud
@@ -13,30 +13,8 @@ require 'google/protobuf/timestamp_pb'
13
13
 
14
14
  descriptor_data = "\n-google/cloud/dialogflow/cx/v3/changelog.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8b\x01\n\x15ListChangelogsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#dialogflow.googleapis.com/Changelog\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"o\n\x16ListChangelogsResponse\x12<\n\nchangelogs\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.cx.v3.Changelog\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"P\n\x13GetChangelogRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Changelog\"\xb4\x02\n\tChangelog\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nuser_email\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x07 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x0b \x01(\t\x12\x0c\n\x04type\x18\x08 \x01(\t\x12\x10\n\x08resource\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rlanguage_code\x18\x0e \x01(\t:w\xea\x41t\n#dialogflow.googleapis.com/Changelog\x12Mprojects/{project}/locations/{location}/agents/{agent}/changelogs/{changelog}2\x87\x04\n\nChangelogs\x12\xc7\x01\n\x0eListChangelogs\x12\x34.google.cloud.dialogflow.cx.v3.ListChangelogsRequest\x1a\x35.google.cloud.dialogflow.cx.v3.ListChangelogsResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v3/{parent=projects/*/locations/*/agents/*}/changelogs\x12\xb4\x01\n\x0cGetChangelog\x12\x32.google.cloud.dialogflow.cx.v3.GetChangelogRequest\x1a(.google.cloud.dialogflow.cx.v3.Changelog\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v3/{name=projects/*/locations/*/agents/*/changelogs/*}\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xb1\x01\n!com.google.cloud.dialogflow.cx.v3B\x0e\x43hangelogProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
15
15
 
16
- pool = Google::Protobuf::DescriptorPool.generated_pool
17
-
18
- begin
19
- pool.add_serialized_file(descriptor_data)
20
- rescue TypeError
21
- # Compatibility code: will be removed in the next major version.
22
- require 'google/protobuf/descriptor_pb'
23
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
- parsed.clear_dependency
25
- serialized = parsed.class.encode(parsed)
26
- file = pool.add_serialized_file(serialized)
27
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
- imports = [
29
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
- ]
31
- imports.each do |type_name, expected_filename|
32
- import_file = pool.lookup(type_name).file_descriptor
33
- if import_file.name != expected_filename
34
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
- end
36
- end
37
- warn "Each proto file must use a consistent fully-qualified name."
38
- warn "This will become an error in the next major version."
39
- end
16
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
17
+ pool.add_serialized_file(descriptor_data)
40
18
 
41
19
  module Google
42
20
  module Cloud
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/dialogflow/cx/v3/code_block.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+
9
+
10
+ descriptor_data = "\n.google/cloud/dialogflow/cx/v3/code_block.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1fgoogle/api/field_behavior.proto\"\x1e\n\tCodeBlock\x12\x11\n\x04\x63ode\x18\x01 \x01(\tB\x03\xe0\x41\x01\x42\xb1\x01\n!com.google.cloud.dialogflow.cx.v3B\x0e\x43odeBlockProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
11
+
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module Google
16
+ module Cloud
17
+ module Dialogflow
18
+ module CX
19
+ module V3
20
+ CodeBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CodeBlock").msgclass
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -5,33 +5,13 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/field_behavior_pb'
8
+ require 'google/protobuf/struct_pb'
8
9
 
9
10
 
10
- descriptor_data = "\n9google/cloud/dialogflow/cx/v3/data_store_connection.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1fgoogle/api/field_behavior.proto\"\xc9\x01\n\x13\x44\x61taStoreConnection\x12\x45\n\x0f\x64\x61ta_store_type\x18\x01 \x01(\x0e\x32,.google.cloud.dialogflow.cx.v3.DataStoreType\x12\x12\n\ndata_store\x18\x02 \x01(\t\x12W\n\x18\x64ocument_processing_mode\x18\x04 \x01(\x0e\x32\x35.google.cloud.dialogflow.cx.v3.DocumentProcessingMode\"\xa2\x12\n\x1a\x44\x61taStoreConnectionSignals\x12|\n\x1brewriter_model_call_signals\x18\x01 \x01(\x0b\x32R.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.RewriterModelCallSignalsB\x03\xe0\x41\x01\x12\x1c\n\x0frewritten_query\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x65\n\x0fsearch_snippets\x18\x03 \x03(\x0b\x32G.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippetB\x03\xe0\x41\x01\x12\x8d\x01\n$answer_generation_model_call_signals\x18\x04 \x01(\x0b\x32Z.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerGenerationModelCallSignalsB\x03\xe0\x41\x01\x12\x13\n\x06\x61nswer\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12_\n\x0c\x61nswer_parts\x18\x06 \x03(\x0b\x32\x44.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerPartB\x03\xe0\x41\x01\x12\x63\n\x0e\x63ited_snippets\x18\x07 \x03(\x0b\x32\x46.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.CitedSnippetB\x03\xe0\x41\x01\x12j\n\x11grounding_signals\x18\x08 \x01(\x0b\x32J.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignalsB\x03\xe0\x41\x01\x12\x64\n\x0esafety_signals\x18\t \x01(\x0b\x32G.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignalsB\x03\xe0\x41\x01\x1aX\n\x18RewriterModelCallSignals\x12\x17\n\x0frendered_prompt\x18\x01 \x01(\t\x12\x14\n\x0cmodel_output\x18\x02 \x01(\t\x12\r\n\x05model\x18\x03 \x01(\t\x1aK\n\rSearchSnippet\x12\x16\n\x0e\x64ocument_title\x18\x01 \x01(\t\x12\x14\n\x0c\x64ocument_uri\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x1a`\n AnswerGenerationModelCallSignals\x12\x17\n\x0frendered_prompt\x18\x01 \x01(\t\x12\x14\n\x0cmodel_output\x18\x02 \x01(\t\x12\r\n\x05model\x18\x03 \x01(\t\x1a\x36\n\nAnswerPart\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x1a\n\x12supporting_indices\x18\x02 \x03(\x05\x1a\x86\x01\n\x0c\x43itedSnippet\x12_\n\x0esearch_snippet\x18\x01 \x01(\x0b\x32G.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet\x12\x15\n\rsnippet_index\x18\x02 \x01(\x05\x1a\xdd\x03\n\x10GroundingSignals\x12n\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32\\.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals.GroundingDecision\x12n\n\x05score\x18\x02 \x01(\x0e\x32_.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals.GroundingScoreBucket\"m\n\x11GroundingDecision\x12\"\n\x1eGROUNDING_DECISION_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41\x43\x43\x45PTED_BY_GROUNDING\x10\x01\x12\x19\n\x15REJECTED_BY_GROUNDING\x10\x02\"z\n\x14GroundingScoreBucket\x12&\n\"GROUNDING_SCORE_BUCKET_UNSPECIFIED\x10\x00\x12\x0c\n\x08VERY_LOW\x10\x01\x12\x07\n\x03LOW\x10\x03\x12\n\n\x06MEDIUM\x10\x04\x12\x08\n\x04HIGH\x10\x05\x12\r\n\tVERY_HIGH\x10\x06\x1a\x99\x04\n\rSafetySignals\x12h\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32V.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals.SafetyDecision\x12v\n\x13\x62\x61nned_phrase_match\x18\x02 \x01(\x0e\x32Y.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch\x12\x1d\n\x15matched_banned_phrase\x18\x03 \x01(\t\"m\n\x0eSafetyDecision\x12\x1f\n\x1bSAFETY_DECISION_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41\x43\x43\x45PTED_BY_SAFETY_CHECK\x10\x01\x12\x1c\n\x18REJECTED_BY_SAFETY_CHECK\x10\x02\"\x97\x01\n\x11\x42\x61nnedPhraseMatch\x12#\n\x1f\x42\x41NNED_PHRASE_MATCH_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x42\x41NNED_PHRASE_MATCH_NONE\x10\x01\x12\x1d\n\x19\x42\x41NNED_PHRASE_MATCH_QUERY\x10\x02\x12 \n\x1c\x42\x41NNED_PHRASE_MATCH_RESPONSE\x10\x03*b\n\rDataStoreType\x12\x1f\n\x1b\x44\x41TA_STORE_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nPUBLIC_WEB\x10\x01\x12\x10\n\x0cUNSTRUCTURED\x10\x02\x12\x0e\n\nSTRUCTURED\x10\x03*]\n\x16\x44ocumentProcessingMode\x12(\n$DOCUMENT_PROCESSING_MODE_UNSPECIFIED\x10\x00\x12\r\n\tDOCUMENTS\x10\x01\x12\n\n\x06\x43HUNKS\x10\x02\x42\xbb\x01\n!com.google.cloud.dialogflow.cx.v3B\x18\x44\x61taStoreConnectionProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
11
+ descriptor_data = "\n9google/cloud/dialogflow/cx/v3/data_store_connection.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xc9\x01\n\x13\x44\x61taStoreConnection\x12\x45\n\x0f\x64\x61ta_store_type\x18\x01 \x01(\x0e\x32,.google.cloud.dialogflow.cx.v3.DataStoreType\x12\x12\n\ndata_store\x18\x02 \x01(\t\x12W\n\x18\x64ocument_processing_mode\x18\x04 \x01(\x0e\x32\x35.google.cloud.dialogflow.cx.v3.DocumentProcessingMode\"\xcd\x12\n\x1a\x44\x61taStoreConnectionSignals\x12|\n\x1brewriter_model_call_signals\x18\x01 \x01(\x0b\x32R.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.RewriterModelCallSignalsB\x03\xe0\x41\x01\x12\x1c\n\x0frewritten_query\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x65\n\x0fsearch_snippets\x18\x03 \x03(\x0b\x32G.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippetB\x03\xe0\x41\x01\x12\x8d\x01\n$answer_generation_model_call_signals\x18\x04 \x01(\x0b\x32Z.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerGenerationModelCallSignalsB\x03\xe0\x41\x01\x12\x13\n\x06\x61nswer\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12_\n\x0c\x61nswer_parts\x18\x06 \x03(\x0b\x32\x44.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerPartB\x03\xe0\x41\x01\x12\x63\n\x0e\x63ited_snippets\x18\x07 \x03(\x0b\x32\x46.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.CitedSnippetB\x03\xe0\x41\x01\x12j\n\x11grounding_signals\x18\x08 \x01(\x0b\x32J.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignalsB\x03\xe0\x41\x01\x12\x64\n\x0esafety_signals\x18\t \x01(\x0b\x32G.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignalsB\x03\xe0\x41\x01\x1aX\n\x18RewriterModelCallSignals\x12\x17\n\x0frendered_prompt\x18\x01 \x01(\t\x12\x14\n\x0cmodel_output\x18\x02 \x01(\t\x12\r\n\x05model\x18\x03 \x01(\t\x1av\n\rSearchSnippet\x12\x16\n\x0e\x64ocument_title\x18\x01 \x01(\t\x12\x14\n\x0c\x64ocument_uri\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12)\n\x08metadata\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x1a`\n AnswerGenerationModelCallSignals\x12\x17\n\x0frendered_prompt\x18\x01 \x01(\t\x12\x14\n\x0cmodel_output\x18\x02 \x01(\t\x12\r\n\x05model\x18\x03 \x01(\t\x1a\x36\n\nAnswerPart\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x1a\n\x12supporting_indices\x18\x02 \x03(\x05\x1a\x86\x01\n\x0c\x43itedSnippet\x12_\n\x0esearch_snippet\x18\x01 \x01(\x0b\x32G.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet\x12\x15\n\rsnippet_index\x18\x02 \x01(\x05\x1a\xdd\x03\n\x10GroundingSignals\x12n\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32\\.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals.GroundingDecision\x12n\n\x05score\x18\x02 \x01(\x0e\x32_.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals.GroundingScoreBucket\"m\n\x11GroundingDecision\x12\"\n\x1eGROUNDING_DECISION_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41\x43\x43\x45PTED_BY_GROUNDING\x10\x01\x12\x19\n\x15REJECTED_BY_GROUNDING\x10\x02\"z\n\x14GroundingScoreBucket\x12&\n\"GROUNDING_SCORE_BUCKET_UNSPECIFIED\x10\x00\x12\x0c\n\x08VERY_LOW\x10\x01\x12\x07\n\x03LOW\x10\x03\x12\n\n\x06MEDIUM\x10\x04\x12\x08\n\x04HIGH\x10\x05\x12\r\n\tVERY_HIGH\x10\x06\x1a\x99\x04\n\rSafetySignals\x12h\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32V.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals.SafetyDecision\x12v\n\x13\x62\x61nned_phrase_match\x18\x02 \x01(\x0e\x32Y.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch\x12\x1d\n\x15matched_banned_phrase\x18\x03 \x01(\t\"m\n\x0eSafetyDecision\x12\x1f\n\x1bSAFETY_DECISION_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41\x43\x43\x45PTED_BY_SAFETY_CHECK\x10\x01\x12\x1c\n\x18REJECTED_BY_SAFETY_CHECK\x10\x02\"\x97\x01\n\x11\x42\x61nnedPhraseMatch\x12#\n\x1f\x42\x41NNED_PHRASE_MATCH_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x42\x41NNED_PHRASE_MATCH_NONE\x10\x01\x12\x1d\n\x19\x42\x41NNED_PHRASE_MATCH_QUERY\x10\x02\x12 \n\x1c\x42\x41NNED_PHRASE_MATCH_RESPONSE\x10\x03*b\n\rDataStoreType\x12\x1f\n\x1b\x44\x41TA_STORE_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nPUBLIC_WEB\x10\x01\x12\x10\n\x0cUNSTRUCTURED\x10\x02\x12\x0e\n\nSTRUCTURED\x10\x03*]\n\x16\x44ocumentProcessingMode\x12(\n$DOCUMENT_PROCESSING_MODE_UNSPECIFIED\x10\x00\x12\r\n\tDOCUMENTS\x10\x01\x12\n\n\x06\x43HUNKS\x10\x02\x42\xbb\x01\n!com.google.cloud.dialogflow.cx.v3B\x18\x44\x61taStoreConnectionProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
11
12
 
12
- pool = Google::Protobuf::DescriptorPool.generated_pool
13
-
14
- begin
15
- pool.add_serialized_file(descriptor_data)
16
- rescue TypeError
17
- # Compatibility code: will be removed in the next major version.
18
- require 'google/protobuf/descriptor_pb'
19
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
- parsed.clear_dependency
21
- serialized = parsed.class.encode(parsed)
22
- file = pool.add_serialized_file(serialized)
23
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
- imports = [
25
- ]
26
- imports.each do |type_name, expected_filename|
27
- import_file = pool.lookup(type_name).file_descriptor
28
- if import_file.name != expected_filename
29
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
- end
31
- end
32
- warn "Each proto file must use a consistent fully-qualified name."
33
- warn "This will become an error in the next major version."
34
- end
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
35
15
 
36
16
  module Google
37
17
  module Cloud
@@ -13,30 +13,8 @@ require 'google/protobuf/timestamp_pb'
13
13
 
14
14
  descriptor_data = "\n.google/cloud/dialogflow/cx/v3/deployment.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb3\x05\n\nDeployment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12<\n\x0c\x66low_version\x18\x02 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Version\x12>\n\x05state\x18\x03 \x01(\x0e\x32/.google.cloud.dialogflow.cx.v3.Deployment.State\x12@\n\x06result\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.Deployment.Result\x12.\n\nstart_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x97\x01\n\x06Result\x12N\n\x17\x64\x65ployment_test_results\x18\x01 \x03(\tB-\xfa\x41*\n(dialogflow.googleapis.com/TestCaseResult\x12=\n\nexperiment\x18\x02 \x01(\tB)\xfa\x41&\n$dialogflow.googleapis.com/Experiment\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03:\x96\x01\xea\x41\x92\x01\n$dialogflow.googleapis.com/Deployment\x12jprojects/{project}/locations/{location}/agents/{agent}/environments/{environment}/deployments/{deployment}\"}\n\x16ListDeploymentsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$dialogflow.googleapis.com/Deployment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"r\n\x17ListDeploymentsResponse\x12>\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32).google.cloud.dialogflow.cx.v3.Deployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"R\n\x14GetDeploymentRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$dialogflow.googleapis.com/Deployment2\xae\x04\n\x0b\x44\x65ployments\x12\xda\x01\n\x0fListDeployments\x12\x35.google.cloud.dialogflow.cx.v3.ListDeploymentsRequest\x1a\x36.google.cloud.dialogflow.cx.v3.ListDeploymentsResponse\"X\xda\x41\x06parent\x82\xd3\xe4\x93\x02I\x12G/v3/{parent=projects/*/locations/*/agents/*/environments/*}/deployments\x12\xc7\x01\n\rGetDeployment\x12\x33.google.cloud.dialogflow.cx.v3.GetDeploymentRequest\x1a).google.cloud.dialogflow.cx.v3.Deployment\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02I\x12G/v3/{name=projects/*/locations/*/agents/*/environments/*/deployments/*}\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xb2\x01\n!com.google.cloud.dialogflow.cx.v3B\x0f\x44\x65ploymentProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
15
15
 
16
- pool = Google::Protobuf::DescriptorPool.generated_pool
17
-
18
- begin
19
- pool.add_serialized_file(descriptor_data)
20
- rescue TypeError
21
- # Compatibility code: will be removed in the next major version.
22
- require 'google/protobuf/descriptor_pb'
23
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
- parsed.clear_dependency
25
- serialized = parsed.class.encode(parsed)
26
- file = pool.add_serialized_file(serialized)
27
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
- imports = [
29
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
- ]
31
- imports.each do |type_name, expected_filename|
32
- import_file = pool.lookup(type_name).file_descriptor
33
- if import_file.name != expected_filename
34
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
- end
36
- end
37
- warn "Each proto file must use a consistent fully-qualified name."
38
- warn "This will become an error in the next major version."
39
- end
16
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
17
+ pool.add_serialized_file(descriptor_data)
40
18
 
41
19
  module Google
42
20
  module Cloud
@@ -16,31 +16,8 @@ require 'google/protobuf/field_mask_pb'
16
16
 
17
17
  descriptor_data = "\n/google/cloud/dialogflow/cx/v3/entity_type.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\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/cx/v3/inline.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x9a\x06\n\nEntityType\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x04kind\x18\x03 \x01(\x0e\x32..google.cloud.dialogflow.cx.v3.EntityType.KindB\x03\xe0\x41\x02\x12X\n\x13\x61uto_expansion_mode\x18\x04 \x01(\x0e\x32;.google.cloud.dialogflow.cx.v3.EntityType.AutoExpansionMode\x12\x42\n\x08\x65ntities\x18\x05 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.EntityType.Entity\x12R\n\x10\x65xcluded_phrases\x18\x06 \x03(\x0b\x32\x38.google.cloud.dialogflow.cx.v3.EntityType.ExcludedPhrase\x12\x1f\n\x17\x65nable_fuzzy_extraction\x18\x07 \x01(\x08\x12\x0e\n\x06redact\x18\t \x01(\x08\x1a\x33\n\x06\x45ntity\x12\x12\n\x05value\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08synonyms\x18\x02 \x03(\tB\x03\xe0\x41\x02\x1a$\n\x0e\x45xcludedPhrase\x12\x12\n\x05value\x18\x01 \x01(\tB\x03\xe0\x41\x02\"J\n\x04Kind\x12\x14\n\x10KIND_UNSPECIFIED\x10\x00\x12\x0c\n\x08KIND_MAP\x10\x01\x12\r\n\tKIND_LIST\x10\x02\x12\x0f\n\x0bKIND_REGEXP\x10\x03\"Y\n\x11\x41utoExpansionMode\x12#\n\x1f\x41UTO_EXPANSION_MODE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41UTO_EXPANSION_MODE_DEFAULT\x10\x01:{\xea\x41x\n$dialogflow.googleapis.com/EntityType\x12Pprojects/{project}/locations/{location}/agents/{agent}/entityTypes/{entity_type}\"\x90\x03\n\x18\x45xportEntityTypesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$dialogflow.googleapis.com/EntityType\x12\x19\n\x0c\x65ntity_types\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x1f\n\x10\x65ntity_types_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x00\x12*\n\x1b\x65ntity_types_content_inline\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x12\\\n\x0b\x64\x61ta_format\x18\x05 \x01(\x0e\x32\x42.google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest.DataFormatB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x06 \x01(\tB\x03\xe0\x41\x01\"E\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42LOB\x10\x01\x12\x10\n\x0cJSON_PACKAGE\x10\x05\x42\r\n\x0b\x64\x65stination\"\xa2\x01\n\x19\x45xportEntityTypesResponse\x12\x1a\n\x10\x65ntity_types_uri\x18\x01 \x01(\tH\x00\x12P\n\x14\x65ntity_types_content\x18\x02 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.InlineDestinationH\x00\x42\x17\n\x15\x65xported_entity_types\"\x1b\n\x19\x45xportEntityTypesMetadata\"\xeb\x03\n\x18ImportEntityTypesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$dialogflow.googleapis.com/EntityType\x12\x1a\n\x10\x65ntity_types_uri\x18\x02 \x01(\tH\x00\x12K\n\x14\x65ntity_types_content\x18\x03 \x01(\x0b\x32+.google.cloud.dialogflow.cx.v3.InlineSourceH\x00\x12^\n\x0cmerge_option\x18\x04 \x01(\x0e\x32\x43.google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.MergeOptionB\x03\xe0\x41\x02\x12H\n\x12target_entity_type\x18\x05 \x01(\tB,\xe0\x41\x01\xfa\x41&\n$dialogflow.googleapis.com/EntityType\"n\n\x0bMergeOption\x12\x1c\n\x18MERGE_OPTION_UNSPECIFIED\x10\x00\x12\x0b\n\x07REPLACE\x10\x01\x12\t\n\x05MERGE\x10\x02\x12\n\n\x06RENAME\x10\x03\x12\x13\n\x0fREPORT_CONFLICT\x10\x04\x12\x08\n\x04KEEP\x10\x05\x42\x0e\n\x0c\x65ntity_types\"\xa3\x02\n\x19ImportEntityTypesResponse\x12?\n\x0c\x65ntity_types\x18\x01 \x03(\tB)\xfa\x41&\n$dialogflow.googleapis.com/EntityType\x12l\n\x15\x63onflicting_resources\x18\x02 \x01(\x0b\x32M.google.cloud.dialogflow.cx.v3.ImportEntityTypesResponse.ConflictingResources\x1aW\n\x14\x43onflictingResources\x12!\n\x19\x65ntity_type_display_names\x18\x01 \x03(\t\x12\x1c\n\x14\x65ntity_display_names\x18\x02 \x03(\t\"\x1b\n\x19ImportEntityTypesMetadata\"\x94\x01\n\x16ListEntityTypesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$dialogflow.googleapis.com/EntityType\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"s\n\x17ListEntityTypesResponse\x12?\n\x0c\x65ntity_types\x18\x01 \x03(\x0b\x32).google.cloud.dialogflow.cx.v3.EntityType\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"i\n\x14GetEntityTypeRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$dialogflow.googleapis.com/EntityType\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\xb3\x01\n\x17\x43reateEntityTypeRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$dialogflow.googleapis.com/EntityType\x12\x43\n\x0b\x65ntity_type\x18\x02 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.EntityTypeB\x03\xe0\x41\x02\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\"\xa6\x01\n\x17UpdateEntityTypeRequest\x12\x43\n\x0b\x65ntity_type\x18\x01 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.EntityTypeB\x03\xe0\x41\x02\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"d\n\x17\x44\x65leteEntityTypeRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$dialogflow.googleapis.com/EntityType\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x32\xef\x0c\n\x0b\x45ntityTypes\x12\xb8\x01\n\rGetEntityType\x12\x33.google.cloud.dialogflow.cx.v3.GetEntityTypeRequest\x1a).google.cloud.dialogflow.cx.v3.EntityType\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v3/{name=projects/*/locations/*/agents/*/entityTypes/*}\x12\xd9\x01\n\x10\x43reateEntityType\x12\x36.google.cloud.dialogflow.cx.v3.CreateEntityTypeRequest\x1a).google.cloud.dialogflow.cx.v3.EntityType\"b\xda\x41\x12parent,entity_type\x82\xd3\xe4\x93\x02G\"8/v3/{parent=projects/*/locations/*/agents/*}/entityTypes:\x0b\x65ntity_type\x12\xea\x01\n\x10UpdateEntityType\x12\x36.google.cloud.dialogflow.cx.v3.UpdateEntityTypeRequest\x1a).google.cloud.dialogflow.cx.v3.EntityType\"s\xda\x41\x17\x65ntity_type,update_mask\x82\xd3\xe4\x93\x02S2D/v3/{entity_type.name=projects/*/locations/*/agents/*/entityTypes/*}:\x0b\x65ntity_type\x12\xab\x01\n\x10\x44\x65leteEntityType\x12\x36.google.cloud.dialogflow.cx.v3.DeleteEntityTypeRequest\x1a\x16.google.protobuf.Empty\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:*8/v3/{name=projects/*/locations/*/agents/*/entityTypes/*}\x12\xcb\x01\n\x0fListEntityTypes\x12\x35.google.cloud.dialogflow.cx.v3.ListEntityTypesRequest\x1a\x36.google.cloud.dialogflow.cx.v3.ListEntityTypesResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v3/{parent=projects/*/locations/*/agents/*}/entityTypes\x12\xf1\x01\n\x11\x45xportEntityTypes\x12\x37.google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x36\n\x19\x45xportEntityTypesResponse\x12\x19\x45xportEntityTypesMetadata\x82\xd3\xe4\x93\x02\x44\"?/v3/{parent=projects/*/locations/*/agents/*}/entityTypes:export:\x01*\x12\xf1\x01\n\x11ImportEntityTypes\x12\x37.google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x36\n\x19ImportEntityTypesResponse\x12\x19ImportEntityTypesMetadata\x82\xd3\xe4\x93\x02\x44\"?/v3/{parent=projects/*/locations/*/agents/*}/entityTypes:import:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xb2\x01\n!com.google.cloud.dialogflow.cx.v3B\x0f\x45ntityTypeProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
18
18
 
19
- pool = Google::Protobuf::DescriptorPool.generated_pool
20
-
21
- begin
22
- pool.add_serialized_file(descriptor_data)
23
- rescue TypeError
24
- # Compatibility code: will be removed in the next major version.
25
- require 'google/protobuf/descriptor_pb'
26
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
27
- parsed.clear_dependency
28
- serialized = parsed.class.encode(parsed)
29
- file = pool.add_serialized_file(serialized)
30
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
31
- imports = [
32
- ["google.cloud.dialogflow.cx.v3.InlineDestination", "google/cloud/dialogflow/cx/v3/inline.proto"],
33
- ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
34
- ]
35
- imports.each do |type_name, expected_filename|
36
- import_file = pool.lookup(type_name).file_descriptor
37
- if import_file.name != expected_filename
38
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
39
- end
40
- end
41
- warn "Each proto file must use a consistent fully-qualified name."
42
- warn "This will become an error in the next major version."
43
- end
19
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
20
+ pool.add_serialized_file(descriptor_data)
44
21
 
45
22
  module Google
46
23
  module Cloud
@@ -19,33 +19,8 @@ require 'google/protobuf/timestamp_pb'
19
19
 
20
20
  descriptor_data = "\n/google/cloud/dialogflow/cx/v3/environment.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\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/cx/v3/test_case.proto\x1a+google/cloud/dialogflow/cx/v3/webhook.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaf\x06\n\x0b\x45nvironment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12Q\n\x0fversion_configs\x18\x06 \x03(\x0b\x32\x38.google.cloud.dialogflow.cx.v3.Environment.VersionConfig\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12U\n\x11test_cases_config\x18\x07 \x01(\x0b\x32:.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig\x12P\n\x0ewebhook_config\x18\n \x01(\x0b\x32\x38.google.cloud.dialogflow.cx.v3.Environment.WebhookConfig\x1aK\n\rVersionConfig\x12:\n\x07version\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\x1a\x8f\x01\n\x0fTestCasesConfig\x12;\n\ntest_cases\x18\x01 \x03(\tB\'\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\x12\x1d\n\x15\x65nable_continuous_run\x18\x02 \x01(\x08\x12 \n\x18\x65nable_predeployment_run\x18\x03 \x01(\x08\x1aR\n\rWebhookConfig\x12\x41\n\x11webhook_overrides\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.cx.v3.Webhook:}\xea\x41z\n%dialogflow.googleapis.com/Environment\x12Qprojects/{project}/locations/{location}/agents/{agent}/environments/{environment}\"\x7f\n\x17ListEnvironmentsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%dialogflow.googleapis.com/Environment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"u\n\x18ListEnvironmentsResponse\x12@\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32*.google.cloud.dialogflow.cx.v3.Environment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"T\n\x15GetEnvironmentRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Environment\"\x9f\x01\n\x18\x43reateEnvironmentRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%dialogflow.googleapis.com/Environment\x12\x44\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.EnvironmentB\x03\xe0\x41\x02\"\x96\x01\n\x18UpdateEnvironmentRequest\x12\x44\n\x0b\x65nvironment\x18\x01 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.EnvironmentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"W\n\x18\x44\x65leteEnvironmentRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Environment\"\x85\x01\n\x1fLookupEnvironmentHistoryRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Environment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"}\n LookupEnvironmentHistoryResponse\x12@\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32*.google.cloud.dialogflow.cx.v3.Environment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x88\x04\n\x14\x43ontinuousTestResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12X\n\x06result\x18\x02 \x01(\x0e\x32H.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult\x12H\n\x11test_case_results\x18\x03 \x03(\tB-\xfa\x41*\n(dialogflow.googleapis.com/TestCaseResult\x12,\n\x08run_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"V\n\x14\x41ggregatedTestResult\x12&\n\"AGGREGATED_TEST_RESULT_UNSPECIFIED\x10\x00\x12\n\n\x06PASSED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02:\xb7\x01\xea\x41\xb3\x01\n.dialogflow.googleapis.com/ContinuousTestResult\x12\x80\x01projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/continuousTestResults/{continuous_test_result}\"^\n\x18RunContinuousTestRequest\x12\x42\n\x0b\x65nvironment\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Environment\"p\n\x19RunContinuousTestResponse\x12S\n\x16\x63ontinuous_test_result\x18\x01 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.ContinuousTestResult\"U\n\x19RunContinuousTestMetadata\x12\x38\n\x06\x65rrors\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.cx.v3.TestError\"\x91\x01\n ListContinuousTestResultsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.dialogflow.googleapis.com/ContinuousTestResult\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x92\x01\n!ListContinuousTestResultsResponse\x12T\n\x17\x63ontinuous_test_results\x18\x01 \x03(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.ContinuousTestResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x98\x01\n\x11\x44\x65ployFlowRequest\x12\x42\n\x0b\x65nvironment\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Environment\x12?\n\x0c\x66low_version\x18\x02 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\"i\n\x12\x44\x65ployFlowResponse\x12?\n\x0b\x65nvironment\x18\x01 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.Environment\x12\x12\n\ndeployment\x18\x02 \x01(\t\"S\n\x12\x44\x65ployFlowMetadata\x12=\n\x0btest_errors\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.cx.v3.TestError2\xc4\x11\n\x0c\x45nvironments\x12\xcf\x01\n\x10ListEnvironments\x12\x36.google.cloud.dialogflow.cx.v3.ListEnvironmentsRequest\x1a\x37.google.cloud.dialogflow.cx.v3.ListEnvironmentsResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v3/{parent=projects/*/locations/*/agents/*}/environments\x12\xbc\x01\n\x0eGetEnvironment\x12\x34.google.cloud.dialogflow.cx.v3.GetEnvironmentRequest\x1a*.google.cloud.dialogflow.cx.v3.Environment\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v3/{name=projects/*/locations/*/agents/*/environments/*}\x12\xf9\x01\n\x11\x43reateEnvironment\x12\x37.google.cloud.dialogflow.cx.v3.CreateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\xca\x41%\n\x0b\x45nvironment\x12\x16google.protobuf.Struct\xda\x41\x12parent,environment\x82\xd3\xe4\x93\x02H\"9/v3/{parent=projects/*/locations/*/agents/*}/environments:\x0b\x65nvironment\x12\x8a\x02\n\x11UpdateEnvironment\x12\x37.google.cloud.dialogflow.cx.v3.UpdateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\x9c\x01\xca\x41%\n\x0b\x45nvironment\x12\x16google.protobuf.Struct\xda\x41\x17\x65nvironment,update_mask\x82\xd3\xe4\x93\x02T2E/v3/{environment.name=projects/*/locations/*/agents/*/environments/*}:\x0b\x65nvironment\x12\xae\x01\n\x11\x44\x65leteEnvironment\x12\x37.google.cloud.dialogflow.cx.v3.DeleteEnvironmentRequest\x1a\x16.google.protobuf.Empty\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v3/{name=projects/*/locations/*/agents/*/environments/*}\x12\xfe\x01\n\x18LookupEnvironmentHistory\x12>.google.cloud.dialogflow.cx.v3.LookupEnvironmentHistoryRequest\x1a?.google.cloud.dialogflow.cx.v3.LookupEnvironmentHistoryResponse\"a\xda\x41\x04name\x82\xd3\xe4\x93\x02T\x12R/v3/{name=projects/*/locations/*/agents/*/environments/*}:lookupEnvironmentHistory\x12\x84\x02\n\x11RunContinuousTest\x12\x37.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\xca\x41\x36\n\x19RunContinuousTestResponse\x12\x19RunContinuousTestMetadata\x82\xd3\xe4\x93\x02W\"R/v3/{environment=projects/*/locations/*/agents/*/environments/*}:runContinuousTest:\x01*\x12\x82\x02\n\x19ListContinuousTestResults\x12?.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest\x1a@.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse\"b\xda\x41\x06parent\x82\xd3\xe4\x93\x02S\x12Q/v3/{parent=projects/*/locations/*/agents/*/environments/*}/continuousTestResults\x12\xe1\x01\n\nDeployFlow\x12\x30.google.cloud.dialogflow.cx.v3.DeployFlowRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41(\n\x12\x44\x65ployFlowResponse\x12\x12\x44\x65ployFlowMetadata\x82\xd3\xe4\x93\x02P\"K/v3/{environment=projects/*/locations/*/agents/*/environments/*}:deployFlow:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xb3\x01\n!com.google.cloud.dialogflow.cx.v3B\x10\x45nvironmentProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
21
21
 
22
- pool = Google::Protobuf::DescriptorPool.generated_pool
23
-
24
- begin
25
- pool.add_serialized_file(descriptor_data)
26
- rescue TypeError
27
- # Compatibility code: will be removed in the next major version.
28
- require 'google/protobuf/descriptor_pb'
29
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
30
- parsed.clear_dependency
31
- serialized = parsed.class.encode(parsed)
32
- file = pool.add_serialized_file(serialized)
33
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
34
- imports = [
35
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
36
- ["google.cloud.dialogflow.cx.v3.Webhook", "google/cloud/dialogflow/cx/v3/webhook.proto"],
37
- ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
38
- ["google.cloud.dialogflow.cx.v3.TestError", "google/cloud/dialogflow/cx/v3/test_case.proto"],
39
- ]
40
- imports.each do |type_name, expected_filename|
41
- import_file = pool.lookup(type_name).file_descriptor
42
- if import_file.name != expected_filename
43
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
44
- end
45
- end
46
- warn "Each proto file must use a consistent fully-qualified name."
47
- warn "This will become an error in the next major version."
48
- end
22
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
23
+ pool.add_serialized_file(descriptor_data)
49
24
 
50
25
  module Google
51
26
  module Cloud
@@ -65,6 +65,25 @@ module Google
65
65
  "projects/#{project}/locations/#{location}/agents/#{agent}/environments/#{environment}"
66
66
  end
67
67
 
68
+ ##
69
+ # Create a fully-qualified SecretVersion resource string.
70
+ #
71
+ # The resource will be in the following format:
72
+ #
73
+ # `projects/{project}/secrets/{secret}/versions/{version}`
74
+ #
75
+ # @param project [String]
76
+ # @param secret [String]
77
+ # @param version [String]
78
+ #
79
+ # @return [::String]
80
+ def secret_version_path project:, secret:, version:
81
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
82
+ raise ::ArgumentError, "secret cannot contain /" if secret.to_s.include? "/"
83
+
84
+ "projects/#{project}/secrets/#{secret}/versions/#{version}"
85
+ end
86
+
68
87
  ##
69
88
  # Create a fully-qualified Service resource string.
70
89
  #
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/dialogflow/cx/v3/example.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/cx/v3/trace_pb'
12
+ require 'google/protobuf/empty_pb'
13
+ require 'google/protobuf/field_mask_pb'
14
+ require 'google/protobuf/timestamp_pb'
15
+
16
+
17
+ descriptor_data = "\n+google/cloud/dialogflow/cx/v3/example.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\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/cx/v3/trace.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8f\x01\n\x14\x43reateExampleRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dialogflow.googleapis.com/Example\x12<\n\x07\x65xample\x18\x02 \x01(\x0b\x32&.google.cloud.dialogflow.cx.v3.ExampleB\x03\xe0\x41\x02\"O\n\x14\x44\x65leteExampleRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Example\"\x9d\x01\n\x13ListExamplesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dialogflow.googleapis.com/Example\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\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tB\x03\xe0\x41\x01\"i\n\x14ListExamplesResponse\x12\x38\n\x08\x65xamples\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.cx.v3.Example\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"L\n\x11GetExampleRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Example\"\x8a\x01\n\x14UpdateExampleRequest\x12<\n\x07\x65xample\x18\x01 \x01(\x0b\x32&.google.cloud.dialogflow.cx.v3.ExampleB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xad\x05\n\x07\x45xample\x12\x0c\n\x04name\x18\x01 \x01(\t\x12I\n\x0eplaybook_input\x18\x03 \x01(\x0b\x32,.google.cloud.dialogflow.cx.v3.PlaybookInputB\x03\xe0\x41\x01\x12K\n\x0fplaybook_output\x18\x04 \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.PlaybookOutputB\x03\xe0\x41\x01\x12;\n\x07\x61\x63tions\x18\x02 \x03(\x0b\x32%.google.cloud.dialogflow.cx.v3.ActionB\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0btoken_count\x18\t \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\x12\x63onversation_state\x18\x0c \x01(\x0e\x32*.google.cloud.dialogflow.cx.v3.OutputStateB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\r \x01(\tB\x03\xe0\x41\x01:\x9a\x01\xea\x41\x96\x01\n!dialogflow.googleapis.com/Example\x12^projects/{project}/locations/{location}/agents/{agent}/playbooks/{playbook}/examples/{example}*\x08\x65xamples2\x07\x65xample2\xf3\x08\n\x08\x45xamples\x12\xd1\x01\n\rCreateExample\x12\x33.google.cloud.dialogflow.cx.v3.CreateExampleRequest\x1a&.google.cloud.dialogflow.cx.v3.Example\"c\xda\x41\x0eparent,example\x82\xd3\xe4\x93\x02L\"A/v3/{parent=projects/*/locations/*/agents/*/playbooks/*}/examples:\x07\x65xample\x12\xae\x01\n\rDeleteExample\x12\x33.google.cloud.dialogflow.cx.v3.DeleteExampleRequest\x1a\x16.google.protobuf.Empty\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43*A/v3/{name=projects/*/locations/*/agents/*/playbooks/*/examples/*}\x12\xcb\x01\n\x0cListExamples\x12\x32.google.cloud.dialogflow.cx.v3.ListExamplesRequest\x1a\x33.google.cloud.dialogflow.cx.v3.ListExamplesResponse\"R\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x43\x12\x41/v3/{parent=projects/*/locations/*/agents/*/playbooks/*}/examples\x12\xb8\x01\n\nGetExample\x12\x30.google.cloud.dialogflow.cx.v3.GetExampleRequest\x1a&.google.cloud.dialogflow.cx.v3.Example\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\x12\x41/v3/{name=projects/*/locations/*/agents/*/playbooks/*/examples/*}\x12\xde\x01\n\rUpdateExample\x12\x33.google.cloud.dialogflow.cx.v3.UpdateExampleRequest\x1a&.google.cloud.dialogflow.cx.v3.Example\"p\xda\x41\x13\x65xample,update_mask\x82\xd3\xe4\x93\x02T2I/v3/{example.name=projects/*/locations/*/agents/*/playbooks/*/examples/*}:\x07\x65xample\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xaf\x01\n!com.google.cloud.dialogflow.cx.v3B\x0c\x45xampleProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
18
+
19
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
20
+ pool.add_serialized_file(descriptor_data)
21
+
22
+ module Google
23
+ module Cloud
24
+ module Dialogflow
25
+ module CX
26
+ module V3
27
+ CreateExampleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CreateExampleRequest").msgclass
28
+ DeleteExampleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeleteExampleRequest").msgclass
29
+ ListExamplesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListExamplesRequest").msgclass
30
+ ListExamplesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListExamplesResponse").msgclass
31
+ GetExampleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetExampleRequest").msgclass
32
+ UpdateExampleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.UpdateExampleRequest").msgclass
33
+ Example = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Example").msgclass
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,55 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/dialogflow/cx/v3/example.proto for package 'Google.Cloud.Dialogflow.CX.V3'
3
+ # Original file comments:
4
+ # Copyright 2026 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/cx/v3/example_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module Dialogflow
25
+ module CX
26
+ module V3
27
+ module Examples
28
+ # Service for managing [Examples][google.cloud.dialogflow.cx.v3.Example].
29
+ class Service
30
+
31
+ include ::GRPC::GenericService
32
+
33
+ self.marshal_class_method = :encode
34
+ self.unmarshal_class_method = :decode
35
+ self.service_name = 'google.cloud.dialogflow.cx.v3.Examples'
36
+
37
+ # Creates an example in the specified playbook.
38
+ rpc :CreateExample, ::Google::Cloud::Dialogflow::CX::V3::CreateExampleRequest, ::Google::Cloud::Dialogflow::CX::V3::Example
39
+ # Deletes the specified example.
40
+ rpc :DeleteExample, ::Google::Cloud::Dialogflow::CX::V3::DeleteExampleRequest, ::Google::Protobuf::Empty
41
+ # Returns a list of examples in the specified playbook.
42
+ rpc :ListExamples, ::Google::Cloud::Dialogflow::CX::V3::ListExamplesRequest, ::Google::Cloud::Dialogflow::CX::V3::ListExamplesResponse
43
+ # Retrieves the specified example.
44
+ rpc :GetExample, ::Google::Cloud::Dialogflow::CX::V3::GetExampleRequest, ::Google::Cloud::Dialogflow::CX::V3::Example
45
+ # Update the specified example.
46
+ rpc :UpdateExample, ::Google::Cloud::Dialogflow::CX::V3::UpdateExampleRequest, ::Google::Cloud::Dialogflow::CX::V3::Example
47
+ end
48
+
49
+ Stub = Service.rpc_stub_class
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end