google-cloud-dialogflow-cx-v3 0.26.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +4 -1
  3. data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +3 -1
  4. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +25 -11
  5. data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +13 -5
  6. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +25 -11
  7. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/operations.rb +11 -4
  8. data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +7 -2
  9. data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/client.rb +7 -2
  10. data/lib/google/cloud/dialogflow/cx/v3/data_store_connection_pb.rb +15 -1
  11. data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +7 -2
  12. data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/client.rb +7 -2
  13. data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +17 -7
  14. data/lib/google/cloud/dialogflow/cx/v3/entity_types/operations.rb +13 -5
  15. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +17 -7
  16. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/operations.rb +11 -4
  17. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +21 -9
  18. data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +13 -5
  19. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/client.rb +21 -9
  20. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/operations.rb +11 -4
  21. data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +17 -7
  22. data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/client.rb +17 -7
  23. data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +2 -1
  24. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +23 -10
  25. data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +13 -5
  26. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb +23 -10
  27. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/operations.rb +11 -4
  28. data/lib/google/cloud/dialogflow/cx/v3/generators/client.rb +13 -5
  29. data/lib/google/cloud/dialogflow/cx/v3/generators/rest/client.rb +13 -5
  30. data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +17 -7
  31. data/lib/google/cloud/dialogflow/cx/v3/intents/operations.rb +13 -5
  32. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/client.rb +17 -7
  33. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/operations.rb +11 -4
  34. data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +13 -5
  35. data/lib/google/cloud/dialogflow/cx/v3/pages/rest/client.rb +13 -5
  36. data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +1 -1
  37. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +13 -5
  38. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/client.rb +13 -5
  39. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +13 -5
  40. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/client.rb +13 -5
  41. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +3 -1
  42. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +15 -6
  43. data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +13 -5
  44. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +27 -12
  45. data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +13 -5
  46. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb +27 -12
  47. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/operations.rb +11 -4
  48. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +13 -5
  49. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb +13 -5
  50. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  51. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +17 -7
  52. data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +13 -5
  53. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/client.rb +17 -7
  54. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/operations.rb +11 -4
  55. data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +4 -1
  56. data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +13 -5
  57. data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/client.rb +13 -5
  58. data/proto_docs/google/api/client.rb +18 -10
  59. data/proto_docs/google/api/resource.rb +7 -2
  60. data/proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb +54 -2
  61. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +24 -2
  62. data/proto_docs/google/cloud/dialogflow/cx/v3/data_store_connection.rb +199 -0
  63. data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +28 -0
  64. data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +9 -0
  65. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +18 -0
  66. data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +4 -6
  67. data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +75 -0
  68. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a79d95e5810d5c788cd3191dfd3829bec040dc80b42a0998992504ea3679a5e4
4
- data.tar.gz: 1822aac62745b0072fc702746c40a5568eb1a08f91106417e39881b865c831d0
3
+ metadata.gz: 9f9c0b64c1caba0849818d379932f735a885a4ae2b80116d289e8a54bc1c23e0
4
+ data.tar.gz: 65d275a52df2aa5143bef56b7f71ea866dd1fabe107bd48909fe5491be9c5bd6
5
5
  SHA512:
6
- metadata.gz: 0a70131713846fac7ac967ee525082881af8cd808fe97187fe36675d203266999c94aaae77645ae3844620d50dadcf193349f869afe9c50744474310e24b60c5
7
- data.tar.gz: 8ba5d5a04515b8a36667d28625ad8b20b0bdc4658ac7c493759c82909a5305f09220438781635144e1c47ed64b1c31f11b57c9795602080fb45dc0c1c0a5b4f0
6
+ metadata.gz: fa4ea15ebdc79d2b293a1f12e655018ad74056c0d796b4e81ab504c3eb83bf46b41d0fb4f792de244bc73495063583c394f3dbe7736f0ec861d724360a3ad3e1
7
+ data.tar.gz: 257eb18a1047cf5d06ac3f76c30f47c37b590e436195ff0d12cc030f93584421bbc2e9d1d1ab3ba5b6436a78c408f29f733643902ee4224a6fbb9aa60d7cb54d
@@ -6,9 +6,10 @@ require 'google/protobuf'
6
6
 
7
7
  require 'google/api/field_behavior_pb'
8
8
  require 'google/cloud/dialogflow/cx/v3/gcs_pb'
9
+ require 'google/protobuf/duration_pb'
9
10
 
10
11
 
11
- 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\"\xbd\x03\n\x10\x41\x64vancedSettings\x12S\n\x1c\x61udio_export_gcs_destination\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.GcsDestination\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\x1aI\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\x1aY\n\x0fLoggingSettings\x12\"\n\x1a\x65nable_stackdriver_logging\x18\x02 \x01(\x08\x12\"\n\x1a\x65nable_interaction_logging\x18\x03 \x01(\x08\x42\xbb\x01\n!com.google.cloud.dialogflow.cx.v3B\x15\x41\x64vancedSettingsProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
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\xbb\x01\n!com.google.cloud.dialogflow.cx.v3B\x15\x41\x64vancedSettingsProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
12
13
 
13
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
15
 
@@ -24,6 +25,7 @@ rescue TypeError
24
25
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
26
  imports = [
26
27
  ["google.cloud.dialogflow.cx.v3.GcsDestination", "google/cloud/dialogflow/cx/v3/gcs.proto"],
28
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
27
29
  ]
28
30
  imports.each do |type_name, expected_filename|
29
31
  import_file = pool.lookup(type_name).file_descriptor
@@ -41,6 +43,7 @@ module Google
41
43
  module CX
42
44
  module V3
43
45
  AdvancedSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.AdvancedSettings").msgclass
46
+ AdvancedSettings::SpeechSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.AdvancedSettings.SpeechSettings").msgclass
44
47
  AdvancedSettings::DtmfSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.AdvancedSettings.DtmfSettings").msgclass
45
48
  AdvancedSettings::LoggingSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings").msgclass
46
49
  end
@@ -18,7 +18,7 @@ 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\"\xb4\x0b\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\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\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:\\\xea\x41Y\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x36projects/{project}/locations/{location}/agents/{agent}B\x1b\n\x19_gen_app_builder_settings\"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\xb0\x01\n!com.google.cloud.dialogflow.cx.v3B\nAgentProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\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\"\xa2\r\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\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:\\\xea\x41Y\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x36projects/{project}/locations/{location}/agents/{agent}B\x1b\n\x19_gen_app_builder_settings\"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\xb0\x01\n!com.google.cloud.dialogflow.cx.v3B\nAgentProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
22
22
 
23
23
  pool = Google::Protobuf::DescriptorPool.generated_pool
24
24
 
@@ -35,6 +35,7 @@ rescue TypeError
35
35
  imports = [
36
36
  ["google.cloud.dialogflow.cx.v3.AdvancedSettings", "google/cloud/dialogflow/cx/v3/advanced_settings.proto"],
37
37
  ["google.cloud.dialogflow.cx.v3.TextToSpeechSettings", "google/cloud/dialogflow/cx/v3/audio_config.proto"],
38
+ ["google.protobuf.Struct", "google/protobuf/struct.proto"],
38
39
  ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
39
40
  ["google.cloud.dialogflow.cx.v3.FlowValidationResult", "google/cloud/dialogflow/cx/v3/flow.proto"],
40
41
  ["google.cloud.dialogflow.cx.v3.GenerativeSettings", "google/cloud/dialogflow/cx/v3/generative_settings.proto"],
@@ -60,6 +61,7 @@ module Google
60
61
  Agent::GitIntegrationSettings::GithubSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings.GithubSettings").msgclass
61
62
  Agent::GenAppBuilderSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Agent.GenAppBuilderSettings").msgclass
62
63
  Agent::AnswerFeedbackSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Agent.AnswerFeedbackSettings").msgclass
64
+ Agent::PersonalizationSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Agent.PersonalizationSettings").msgclass
63
65
  ListAgentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListAgentsRequest").msgclass
64
66
  ListAgentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListAgentsResponse").msgclass
65
67
  GetAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetAgentRequest").msgclass
@@ -32,6 +32,9 @@ module Google
32
32
  # Service for managing {::Google::Cloud::Dialogflow::CX::V3::Agent Agents}.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
37
40
 
@@ -265,10 +268,11 @@ module Google
265
268
  # Customize the options with defaults
266
269
  metadata = @config.rpcs.list_agents.metadata.to_h
267
270
 
268
- # Set x-goog-api-client and x-goog-user-project headers
271
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
269
272
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
270
273
  lib_name: @config.lib_name, lib_version: @config.lib_version,
271
274
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
275
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
272
276
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
273
277
 
274
278
  header_params = {}
@@ -352,10 +356,11 @@ module Google
352
356
  # Customize the options with defaults
353
357
  metadata = @config.rpcs.get_agent.metadata.to_h
354
358
 
355
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
356
360
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
357
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
358
362
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
363
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
359
364
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
360
365
 
361
366
  header_params = {}
@@ -444,10 +449,11 @@ module Google
444
449
  # Customize the options with defaults
445
450
  metadata = @config.rpcs.create_agent.metadata.to_h
446
451
 
447
- # Set x-goog-api-client and x-goog-user-project headers
452
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
448
453
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
449
454
  lib_name: @config.lib_name, lib_version: @config.lib_version,
450
455
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
456
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
451
457
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
452
458
 
453
459
  header_params = {}
@@ -536,10 +542,11 @@ module Google
536
542
  # Customize the options with defaults
537
543
  metadata = @config.rpcs.update_agent.metadata.to_h
538
544
 
539
- # Set x-goog-api-client and x-goog-user-project headers
545
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
540
546
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
541
547
  lib_name: @config.lib_name, lib_version: @config.lib_version,
542
548
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
549
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
543
550
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
544
551
 
545
552
  header_params = {}
@@ -622,10 +629,11 @@ module Google
622
629
  # Customize the options with defaults
623
630
  metadata = @config.rpcs.delete_agent.metadata.to_h
624
631
 
625
- # Set x-goog-api-client and x-goog-user-project headers
632
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
626
633
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
627
634
  lib_name: @config.lib_name, lib_version: @config.lib_version,
628
635
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
636
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
629
637
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
630
638
 
631
639
  header_params = {}
@@ -746,10 +754,11 @@ module Google
746
754
  # Customize the options with defaults
747
755
  metadata = @config.rpcs.export_agent.metadata.to_h
748
756
 
749
- # Set x-goog-api-client and x-goog-user-project headers
757
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
750
758
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
751
759
  lib_name: @config.lib_name, lib_version: @config.lib_version,
752
760
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
761
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
753
762
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
754
763
 
755
764
  header_params = {}
@@ -872,10 +881,11 @@ module Google
872
881
  # Customize the options with defaults
873
882
  metadata = @config.rpcs.restore_agent.metadata.to_h
874
883
 
875
- # Set x-goog-api-client and x-goog-user-project headers
884
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
876
885
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
877
886
  lib_name: @config.lib_name, lib_version: @config.lib_version,
878
887
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
888
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
879
889
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
880
890
 
881
891
  header_params = {}
@@ -963,10 +973,11 @@ module Google
963
973
  # Customize the options with defaults
964
974
  metadata = @config.rpcs.validate_agent.metadata.to_h
965
975
 
966
- # Set x-goog-api-client and x-goog-user-project headers
976
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
967
977
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
968
978
  lib_name: @config.lib_name, lib_version: @config.lib_version,
969
979
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
980
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
970
981
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
971
982
 
972
983
  header_params = {}
@@ -1053,10 +1064,11 @@ module Google
1053
1064
  # Customize the options with defaults
1054
1065
  metadata = @config.rpcs.get_agent_validation_result.metadata.to_h
1055
1066
 
1056
- # Set x-goog-api-client and x-goog-user-project headers
1067
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1057
1068
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1058
1069
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1059
1070
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
1071
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1060
1072
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1061
1073
 
1062
1074
  header_params = {}
@@ -1141,10 +1153,11 @@ module Google
1141
1153
  # Customize the options with defaults
1142
1154
  metadata = @config.rpcs.get_generative_settings.metadata.to_h
1143
1155
 
1144
- # Set x-goog-api-client and x-goog-user-project headers
1156
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1145
1157
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1146
1158
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1147
1159
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
1160
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1148
1161
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1149
1162
 
1150
1163
  header_params = {}
@@ -1229,10 +1242,11 @@ module Google
1229
1242
  # Customize the options with defaults
1230
1243
  metadata = @config.rpcs.update_generative_settings.metadata.to_h
1231
1244
 
1232
- # Set x-goog-api-client and x-goog-user-project headers
1245
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1233
1246
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1234
1247
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1235
1248
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
1249
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1236
1250
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1237
1251
 
1238
1252
  header_params = {}
@@ -27,6 +27,9 @@ module Google
27
27
  module Agents
28
28
  # Service that implements Longrunning Operations API.
29
29
  class Operations
30
+ # @private
31
+ API_VERSION = ""
32
+
30
33
  # @private
31
34
  DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
32
35
 
@@ -192,10 +195,11 @@ module Google
192
195
  # Customize the options with defaults
193
196
  metadata = @config.rpcs.list_operations.metadata.to_h
194
197
 
195
- # Set x-goog-api-client and x-goog-user-project headers
198
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
196
199
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
197
200
  lib_name: @config.lib_name, lib_version: @config.lib_version,
198
201
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
202
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
199
203
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
200
204
 
201
205
  header_params = {}
@@ -288,10 +292,11 @@ module Google
288
292
  # Customize the options with defaults
289
293
  metadata = @config.rpcs.get_operation.metadata.to_h
290
294
 
291
- # Set x-goog-api-client and x-goog-user-project headers
295
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
292
296
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
293
297
  lib_name: @config.lib_name, lib_version: @config.lib_version,
294
298
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
299
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
295
300
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
296
301
 
297
302
  header_params = {}
@@ -377,10 +382,11 @@ module Google
377
382
  # Customize the options with defaults
378
383
  metadata = @config.rpcs.delete_operation.metadata.to_h
379
384
 
380
- # Set x-goog-api-client and x-goog-user-project headers
385
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
381
386
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
382
387
  lib_name: @config.lib_name, lib_version: @config.lib_version,
383
388
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
389
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
384
390
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
385
391
 
386
392
  header_params = {}
@@ -471,10 +477,11 @@ module Google
471
477
  # Customize the options with defaults
472
478
  metadata = @config.rpcs.cancel_operation.metadata.to_h
473
479
 
474
- # Set x-goog-api-client and x-goog-user-project headers
480
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
475
481
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
476
482
  lib_name: @config.lib_name, lib_version: @config.lib_version,
477
483
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
484
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
478
485
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
479
486
 
480
487
  header_params = {}
@@ -575,10 +582,11 @@ module Google
575
582
  # Customize the options with defaults
576
583
  metadata = @config.rpcs.wait_operation.metadata.to_h
577
584
 
578
- # Set x-goog-api-client and x-goog-user-project headers
585
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
579
586
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
580
587
  lib_name: @config.lib_name, lib_version: @config.lib_version,
581
588
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
589
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
582
590
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
583
591
 
584
592
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -34,6 +34,9 @@ module Google
34
34
  # Service for managing {::Google::Cloud::Dialogflow::CX::V3::Agent Agents}.
35
35
  #
36
36
  class Client
37
+ # @private
38
+ API_VERSION = ""
39
+
37
40
  # @private
38
41
  DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
39
42
 
@@ -258,12 +261,13 @@ module Google
258
261
  # Customize the options with defaults
259
262
  call_metadata = @config.rpcs.list_agents.metadata.to_h
260
263
 
261
- # Set x-goog-api-client and x-goog-user-project headers
264
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
262
265
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
263
266
  lib_name: @config.lib_name, lib_version: @config.lib_version,
264
267
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
265
268
  transports_version_send: [:rest]
266
269
 
270
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
267
271
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
268
272
 
269
273
  options.apply_defaults timeout: @config.rpcs.list_agents.timeout,
@@ -338,12 +342,13 @@ module Google
338
342
  # Customize the options with defaults
339
343
  call_metadata = @config.rpcs.get_agent.metadata.to_h
340
344
 
341
- # Set x-goog-api-client and x-goog-user-project headers
345
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
342
346
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
343
347
  lib_name: @config.lib_name, lib_version: @config.lib_version,
344
348
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
345
349
  transports_version_send: [:rest]
346
350
 
351
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
347
352
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
348
353
 
349
354
  options.apply_defaults timeout: @config.rpcs.get_agent.timeout,
@@ -423,12 +428,13 @@ module Google
423
428
  # Customize the options with defaults
424
429
  call_metadata = @config.rpcs.create_agent.metadata.to_h
425
430
 
426
- # Set x-goog-api-client and x-goog-user-project headers
431
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
427
432
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
428
433
  lib_name: @config.lib_name, lib_version: @config.lib_version,
429
434
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
430
435
  transports_version_send: [:rest]
431
436
 
437
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
432
438
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
433
439
 
434
440
  options.apply_defaults timeout: @config.rpcs.create_agent.timeout,
@@ -508,12 +514,13 @@ module Google
508
514
  # Customize the options with defaults
509
515
  call_metadata = @config.rpcs.update_agent.metadata.to_h
510
516
 
511
- # Set x-goog-api-client and x-goog-user-project headers
517
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
512
518
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
513
519
  lib_name: @config.lib_name, lib_version: @config.lib_version,
514
520
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
515
521
  transports_version_send: [:rest]
516
522
 
523
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
517
524
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
518
525
 
519
526
  options.apply_defaults timeout: @config.rpcs.update_agent.timeout,
@@ -587,12 +594,13 @@ module Google
587
594
  # Customize the options with defaults
588
595
  call_metadata = @config.rpcs.delete_agent.metadata.to_h
589
596
 
590
- # Set x-goog-api-client and x-goog-user-project headers
597
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
591
598
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
592
599
  lib_name: @config.lib_name, lib_version: @config.lib_version,
593
600
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
594
601
  transports_version_send: [:rest]
595
602
 
603
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
596
604
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
597
605
 
598
606
  options.apply_defaults timeout: @config.rpcs.delete_agent.timeout,
@@ -704,12 +712,13 @@ module Google
704
712
  # Customize the options with defaults
705
713
  call_metadata = @config.rpcs.export_agent.metadata.to_h
706
714
 
707
- # Set x-goog-api-client and x-goog-user-project headers
715
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
708
716
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
709
717
  lib_name: @config.lib_name, lib_version: @config.lib_version,
710
718
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
711
719
  transports_version_send: [:rest]
712
720
 
721
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
713
722
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
714
723
 
715
724
  options.apply_defaults timeout: @config.rpcs.export_agent.timeout,
@@ -823,12 +832,13 @@ module Google
823
832
  # Customize the options with defaults
824
833
  call_metadata = @config.rpcs.restore_agent.metadata.to_h
825
834
 
826
- # Set x-goog-api-client and x-goog-user-project headers
835
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
827
836
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
828
837
  lib_name: @config.lib_name, lib_version: @config.lib_version,
829
838
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
830
839
  transports_version_send: [:rest]
831
840
 
841
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
832
842
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
833
843
 
834
844
  options.apply_defaults timeout: @config.rpcs.restore_agent.timeout,
@@ -907,12 +917,13 @@ module Google
907
917
  # Customize the options with defaults
908
918
  call_metadata = @config.rpcs.validate_agent.metadata.to_h
909
919
 
910
- # Set x-goog-api-client and x-goog-user-project headers
920
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
911
921
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
912
922
  lib_name: @config.lib_name, lib_version: @config.lib_version,
913
923
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
914
924
  transports_version_send: [:rest]
915
925
 
926
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
916
927
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
917
928
 
918
929
  options.apply_defaults timeout: @config.rpcs.validate_agent.timeout,
@@ -990,12 +1001,13 @@ module Google
990
1001
  # Customize the options with defaults
991
1002
  call_metadata = @config.rpcs.get_agent_validation_result.metadata.to_h
992
1003
 
993
- # Set x-goog-api-client and x-goog-user-project headers
1004
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
994
1005
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
995
1006
  lib_name: @config.lib_name, lib_version: @config.lib_version,
996
1007
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
997
1008
  transports_version_send: [:rest]
998
1009
 
1010
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
999
1011
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1000
1012
 
1001
1013
  options.apply_defaults timeout: @config.rpcs.get_agent_validation_result.timeout,
@@ -1071,12 +1083,13 @@ module Google
1071
1083
  # Customize the options with defaults
1072
1084
  call_metadata = @config.rpcs.get_generative_settings.metadata.to_h
1073
1085
 
1074
- # Set x-goog-api-client and x-goog-user-project headers
1086
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1075
1087
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1076
1088
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1077
1089
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
1078
1090
  transports_version_send: [:rest]
1079
1091
 
1092
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1080
1093
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1081
1094
 
1082
1095
  options.apply_defaults timeout: @config.rpcs.get_generative_settings.timeout,
@@ -1152,12 +1165,13 @@ module Google
1152
1165
  # Customize the options with defaults
1153
1166
  call_metadata = @config.rpcs.update_generative_settings.metadata.to_h
1154
1167
 
1155
- # Set x-goog-api-client and x-goog-user-project headers
1168
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1156
1169
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1157
1170
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1158
1171
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
1159
1172
  transports_version_send: [:rest]
1160
1173
 
1174
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1161
1175
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1162
1176
 
1163
1177
  options.apply_defaults timeout: @config.rpcs.update_generative_settings.timeout,
@@ -27,6 +27,9 @@ module Google
27
27
  module Rest
28
28
  # Service that implements Longrunning Operations API.
29
29
  class Operations
30
+ # @private
31
+ API_VERSION = ""
32
+
30
33
  # @private
31
34
  DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
32
35
 
@@ -182,12 +185,13 @@ module Google
182
185
  # Customize the options with defaults
183
186
  call_metadata = @config.rpcs.list_operations.metadata.to_h
184
187
 
185
- # Set x-goog-api-client and x-goog-user-project headers
188
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
186
189
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
187
190
  lib_name: @config.lib_name, lib_version: @config.lib_version,
188
191
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
189
192
  transports_version_send: [:rest]
190
193
 
194
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
191
195
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
192
196
 
193
197
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -270,12 +274,13 @@ module Google
270
274
  # Customize the options with defaults
271
275
  call_metadata = @config.rpcs.get_operation.metadata.to_h
272
276
 
273
- # Set x-goog-api-client and x-goog-user-project headers
277
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
274
278
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
275
279
  lib_name: @config.lib_name, lib_version: @config.lib_version,
276
280
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
277
281
  transports_version_send: [:rest]
278
282
 
283
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
279
284
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
280
285
 
281
286
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -352,12 +357,13 @@ module Google
352
357
  # Customize the options with defaults
353
358
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
354
359
 
355
- # Set x-goog-api-client and x-goog-user-project headers
360
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
356
361
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
357
362
  lib_name: @config.lib_name, lib_version: @config.lib_version,
358
363
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
359
364
  transports_version_send: [:rest]
360
365
 
366
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
361
367
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
362
368
 
363
369
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -439,12 +445,13 @@ module Google
439
445
  # Customize the options with defaults
440
446
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
441
447
 
442
- # Set x-goog-api-client and x-goog-user-project headers
448
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
443
449
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
444
450
  lib_name: @config.lib_name, lib_version: @config.lib_version,
445
451
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
446
452
  transports_version_send: [:rest]
447
453
 
454
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
448
455
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
449
456
 
450
457
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -32,6 +32,9 @@ module Google
32
32
  # Service for managing {::Google::Cloud::Dialogflow::CX::V3::Changelog Changelogs}.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
37
40
 
@@ -267,10 +270,11 @@ module Google
267
270
  # Customize the options with defaults
268
271
  metadata = @config.rpcs.list_changelogs.metadata.to_h
269
272
 
270
- # Set x-goog-api-client and x-goog-user-project headers
273
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
271
274
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
272
275
  lib_name: @config.lib_name, lib_version: @config.lib_version,
273
276
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
277
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
274
278
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
275
279
 
276
280
  header_params = {}
@@ -355,10 +359,11 @@ module Google
355
359
  # Customize the options with defaults
356
360
  metadata = @config.rpcs.get_changelog.metadata.to_h
357
361
 
358
- # Set x-goog-api-client and x-goog-user-project headers
362
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
359
363
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
360
364
  lib_name: @config.lib_name, lib_version: @config.lib_version,
361
365
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
366
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
362
367
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
363
368
 
364
369
  header_params = {}