google-cloud-dialogflow-v2 1.14.0 → 1.16.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 (90) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dialogflow/v2/agents/client.rb +2 -0
  4. data/lib/google/cloud/dialogflow/v2/agents/operations.rb +2 -0
  5. data/lib/google/cloud/dialogflow/v2/agents/rest/client.rb +2 -0
  6. data/lib/google/cloud/dialogflow/v2/agents/rest/operations.rb +2 -0
  7. data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +2 -0
  8. data/lib/google/cloud/dialogflow/v2/answer_records/paths.rb +70 -4
  9. data/lib/google/cloud/dialogflow/v2/answer_records/rest/client.rb +2 -0
  10. data/lib/google/cloud/dialogflow/v2/ces_app_pb.rb +25 -0
  11. data/lib/google/cloud/dialogflow/v2/ces_tool_pb.rb +25 -0
  12. data/lib/google/cloud/dialogflow/v2/contexts/client.rb +2 -0
  13. data/lib/google/cloud/dialogflow/v2/contexts/rest/client.rb +2 -0
  14. data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +2 -0
  15. data/lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb +2 -0
  16. data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/client.rb +2 -0
  17. data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/operations.rb +2 -0
  18. data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +2 -0
  19. data/lib/google/cloud/dialogflow/v2/conversation_models/operations.rb +2 -0
  20. data/lib/google/cloud/dialogflow/v2/conversation_models/rest/client.rb +2 -0
  21. data/lib/google/cloud/dialogflow/v2/conversation_models/rest/operations.rb +2 -0
  22. data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +6 -1
  23. data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +1 -1
  24. data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +2 -0
  25. data/lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb +2 -0
  26. data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/client.rb +2 -0
  27. data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/operations.rb +2 -0
  28. data/lib/google/cloud/dialogflow/v2/conversations/client.rb +2 -0
  29. data/lib/google/cloud/dialogflow/v2/conversations/paths.rb +70 -4
  30. data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +2 -0
  31. data/lib/google/cloud/dialogflow/v2/documents/client.rb +2 -0
  32. data/lib/google/cloud/dialogflow/v2/documents/operations.rb +2 -0
  33. data/lib/google/cloud/dialogflow/v2/documents/rest/client.rb +2 -0
  34. data/lib/google/cloud/dialogflow/v2/documents/rest/operations.rb +2 -0
  35. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/client.rb +2 -0
  36. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/operations.rb +2 -0
  37. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/client.rb +2 -0
  38. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/operations.rb +2 -0
  39. data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +2 -0
  40. data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +2 -0
  41. data/lib/google/cloud/dialogflow/v2/entity_types/rest/client.rb +2 -0
  42. data/lib/google/cloud/dialogflow/v2/entity_types/rest/operations.rb +2 -0
  43. data/lib/google/cloud/dialogflow/v2/environments/client.rb +2 -0
  44. data/lib/google/cloud/dialogflow/v2/environments/rest/client.rb +2 -0
  45. data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +2 -0
  46. data/lib/google/cloud/dialogflow/v2/fulfillments/rest/client.rb +2 -0
  47. data/lib/google/cloud/dialogflow/v2/generator_evaluations/client.rb +2 -0
  48. data/lib/google/cloud/dialogflow/v2/generator_evaluations/operations.rb +2 -0
  49. data/lib/google/cloud/dialogflow/v2/generator_evaluations/paths.rb +70 -4
  50. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/client.rb +2 -0
  51. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/operations.rb +2 -0
  52. data/lib/google/cloud/dialogflow/v2/generator_pb.rb +4 -1
  53. data/lib/google/cloud/dialogflow/v2/generators/client.rb +2 -0
  54. data/lib/google/cloud/dialogflow/v2/generators/paths.rb +70 -4
  55. data/lib/google/cloud/dialogflow/v2/generators/rest/client.rb +2 -0
  56. data/lib/google/cloud/dialogflow/v2/intents/client.rb +2 -0
  57. data/lib/google/cloud/dialogflow/v2/intents/operations.rb +2 -0
  58. data/lib/google/cloud/dialogflow/v2/intents/rest/client.rb +2 -0
  59. data/lib/google/cloud/dialogflow/v2/intents/rest/operations.rb +2 -0
  60. data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +2 -0
  61. data/lib/google/cloud/dialogflow/v2/knowledge_bases/rest/client.rb +2 -0
  62. data/lib/google/cloud/dialogflow/v2/participant_pb.rb +11 -1
  63. data/lib/google/cloud/dialogflow/v2/participants/client.rb +2 -0
  64. data/lib/google/cloud/dialogflow/v2/participants/rest/client.rb +2 -0
  65. data/lib/google/cloud/dialogflow/v2/rest.rb +1 -1
  66. data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +2 -0
  67. data/lib/google/cloud/dialogflow/v2/session_entity_types/rest/client.rb +2 -0
  68. data/lib/google/cloud/dialogflow/v2/sessions/client.rb +2 -0
  69. data/lib/google/cloud/dialogflow/v2/sessions/rest/client.rb +2 -0
  70. data/lib/google/cloud/dialogflow/v2/sip_trunks/client.rb +2 -0
  71. data/lib/google/cloud/dialogflow/v2/sip_trunks/rest/client.rb +2 -0
  72. data/lib/google/cloud/dialogflow/v2/tool_call_pb.rb +1 -1
  73. data/lib/google/cloud/dialogflow/v2/tools/client.rb +2 -0
  74. data/lib/google/cloud/dialogflow/v2/tools/rest/client.rb +2 -0
  75. data/lib/google/cloud/dialogflow/v2/toolset_pb.rb +25 -0
  76. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  77. data/lib/google/cloud/dialogflow/v2/versions/client.rb +2 -0
  78. data/lib/google/cloud/dialogflow/v2/versions/rest/client.rb +2 -0
  79. data/lib/google/cloud/dialogflow/v2.rb +1 -1
  80. data/proto_docs/google/api/client.rb +149 -29
  81. data/proto_docs/google/cloud/dialogflow/v2/ces_app.rb +39 -0
  82. data/proto_docs/google/cloud/dialogflow/v2/ces_tool.rb +39 -0
  83. data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +106 -0
  84. data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +24 -0
  85. data/proto_docs/google/cloud/dialogflow/v2/generator.rb +9 -0
  86. data/proto_docs/google/cloud/dialogflow/v2/participant.rb +271 -0
  87. data/proto_docs/google/cloud/dialogflow/v2/tool_call.rb +46 -0
  88. data/proto_docs/google/cloud/dialogflow/v2/toolset.rb +44 -0
  89. data/proto_docs/google/type/latlng.rb +3 -3
  90. metadata +9 -3
@@ -17,6 +17,7 @@
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
19
  require "google/cloud/dialogflow/v2/agents/rest"
20
+ require "google/cloud/dialogflow/v2/tools/rest"
20
21
  require "google/cloud/dialogflow/v2/generators/rest"
21
22
  require "google/cloud/dialogflow/v2/contexts/rest"
22
23
  require "google/cloud/dialogflow/v2/intents/rest"
@@ -36,7 +37,6 @@ require "google/cloud/dialogflow/v2/environments/rest"
36
37
  require "google/cloud/dialogflow/v2/generator_evaluations/rest"
37
38
  require "google/cloud/dialogflow/v2/knowledge_bases/rest"
38
39
  require "google/cloud/dialogflow/v2/sip_trunks/rest"
39
- require "google/cloud/dialogflow/v2/tools/rest"
40
40
  require "google/cloud/dialogflow/v2/versions/rest"
41
41
  require "google/cloud/dialogflow/v2/bindings_override"
42
42
  require "google/cloud/dialogflow/v2/version"
@@ -786,6 +786,7 @@ module Google
786
786
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
787
787
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
788
788
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
789
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
789
790
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
790
791
  # trigger a retry.
791
792
  # @return [::Hash]
@@ -869,6 +870,7 @@ module Google
869
870
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
870
871
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
871
872
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
873
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
872
874
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
873
875
  # trigger a retry.
874
876
  #
@@ -719,6 +719,7 @@ module Google
719
719
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
720
720
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
721
721
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
722
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
722
723
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
723
724
  # trigger a retry.
724
725
  # @return [::Hash]
@@ -798,6 +799,7 @@ module Google
798
799
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
799
800
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
800
801
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
802
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
801
803
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
802
804
  # trigger a retry.
803
805
  #
@@ -544,6 +544,7 @@ module Google
544
544
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
545
545
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
546
546
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
547
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
547
548
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
548
549
  # trigger a retry.
549
550
  # @return [::Hash]
@@ -627,6 +628,7 @@ module Google
627
628
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
628
629
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
629
630
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
631
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
630
632
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
631
633
  # trigger a retry.
632
634
  #
@@ -412,6 +412,7 @@ module Google
412
412
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
413
413
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
414
414
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
415
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
415
416
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
416
417
  # trigger a retry.
417
418
  # @return [::Hash]
@@ -491,6 +492,7 @@ module Google
491
492
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
492
493
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
493
494
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
495
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
494
496
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
495
497
  # trigger a retry.
496
498
  #
@@ -747,6 +747,7 @@ module Google
747
747
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
748
748
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
749
749
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
750
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
750
751
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
751
752
  # trigger a retry.
752
753
  # @return [::Hash]
@@ -830,6 +831,7 @@ module Google
830
831
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
831
832
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
832
833
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
834
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
833
835
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
834
836
  # trigger a retry.
835
837
  #
@@ -680,6 +680,7 @@ module Google
680
680
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
681
681
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
682
682
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
683
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
683
684
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
684
685
  # trigger a retry.
685
686
  # @return [::Hash]
@@ -759,6 +760,7 @@ module Google
759
760
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
760
761
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
761
762
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
763
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
762
764
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
763
765
  # trigger a retry.
764
766
  #
@@ -10,7 +10,7 @@ require 'google/protobuf/struct_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n*google/cloud/dialogflow/v2/tool_call.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb5\x03\n\x08ToolCall\x12\x36\n\x04tool\x18\x01 \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/ToolH\x00\x12\x1e\n\x11tool_display_name\x18\t \x01(\tB\x03\xe0\x41\x01\x12!\n\x14tool_display_details\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x61\x63tion\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x36\n\x10input_parameters\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\ranswer_record\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12>\n\x05state\x18\x07 \x01(\x0e\x32*.google.cloud.dialogflow.v2.ToolCall.StateB\x03\xe0\x41\x03\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tTRIGGERED\x10\x01\x12\x16\n\x12NEEDS_CONFIRMATION\x10\x02\x42\x08\n\x06source\"\xcf\x02\n\x0eToolCallResult\x12\x36\n\x04tool\x18\x01 \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/ToolH\x00\x12\x13\n\x06\x61\x63tion\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x41\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.ToolCallResult.ErrorH\x01\x12\x15\n\x0braw_content\x18\x05 \x01(\x0cH\x01\x12\x11\n\x07\x63ontent\x18\x06 \x01(\tH\x01\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\ranswer_record\x18\t \x01(\tB\x03\xe0\x41\x01\x1a\x1d\n\x05\x45rror\x12\x14\n\x07message\x18\x01 \x01(\tB\x03\xe0\x41\x01\x42\x08\n\x06sourceB\x08\n\x06resultB\x93\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\rToolCallProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
13
+ descriptor_data = "\n*google/cloud/dialogflow/v2/tool_call.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd8\x04\n\x08ToolCall\x12\x36\n\x04tool\x18\x01 \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/ToolH\x00\x12\x33\n\x08\x63\x65s_tool\x18\x0b \x01(\tB\x1f\xe0\x41\x01\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/ToolH\x00\x12\x39\n\x0b\x63\x65s_toolset\x18\x0c \x01(\tB\"\xe0\x41\x01\xfa\x41\x1c\n\x1a\x63\x65s.googleapis.com/ToolsetH\x00\x12\x31\n\x07\x63\x65s_app\x18\x08 \x01(\tB\x1e\xe0\x41\x01\xfa\x41\x18\n\x16\x63\x65s.googleapis.com/AppH\x00\x12\x1e\n\x11tool_display_name\x18\t \x01(\tB\x03\xe0\x41\x01\x12!\n\x14tool_display_details\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x61\x63tion\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x36\n\x10input_parameters\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\ranswer_record\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12>\n\x05state\x18\x07 \x01(\x0e\x32*.google.cloud.dialogflow.v2.ToolCall.StateB\x03\xe0\x41\x03\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tTRIGGERED\x10\x01\x12\x16\n\x12NEEDS_CONFIRMATION\x10\x02\x42\x08\n\x06source\"\xf2\x03\n\x0eToolCallResult\x12\x36\n\x04tool\x18\x01 \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/ToolH\x00\x12\x39\n\x0b\x63\x65s_toolset\x18\r \x01(\tB\"\xe0\x41\x01\xfa\x41\x1c\n\x1a\x63\x65s.googleapis.com/ToolsetH\x00\x12\x33\n\x08\x63\x65s_tool\x18\x0c \x01(\tB\x1f\xe0\x41\x01\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/ToolH\x00\x12\x31\n\x07\x63\x65s_app\x18\x0b \x01(\tB\x1e\xe0\x41\x01\xfa\x41\x18\n\x16\x63\x65s.googleapis.com/AppH\x00\x12\x13\n\x06\x61\x63tion\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x41\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.ToolCallResult.ErrorH\x01\x12\x15\n\x0braw_content\x18\x05 \x01(\x0cH\x01\x12\x11\n\x07\x63ontent\x18\x06 \x01(\tH\x01\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\ranswer_record\x18\t \x01(\tB\x03\xe0\x41\x01\x1a\x1d\n\x05\x45rror\x12\x14\n\x07message\x18\x01 \x01(\tB\x03\xe0\x41\x01\x42\x08\n\x06sourceB\x08\n\x06resultB\x93\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\rToolCallProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
14
14
 
15
15
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
16
16
  pool.add_serialized_file(descriptor_data)
@@ -759,6 +759,7 @@ module Google
759
759
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
760
760
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
761
761
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
762
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
762
763
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
763
764
  # trigger a retry.
764
765
  # @return [::Hash]
@@ -842,6 +843,7 @@ module Google
842
843
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
843
844
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
844
845
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
846
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
845
847
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
846
848
  # trigger a retry.
847
849
  #
@@ -692,6 +692,7 @@ module Google
692
692
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
693
693
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
694
694
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
695
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
695
696
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
696
697
  # trigger a retry.
697
698
  # @return [::Hash]
@@ -771,6 +772,7 @@ module Google
771
772
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
772
773
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
773
774
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
775
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
774
776
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
775
777
  # trigger a retry.
776
778
  #
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/dialogflow/v2/toolset.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/cloud/dialogflow/v2/tool_pb'
10
+
11
+
12
+ descriptor_data = "\n(google/cloud/dialogflow/v2/toolset.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a%google/cloud/dialogflow/v2/tool.proto\"\xbe\x01\n\x0bToolsetTool\x12\x33\n\x07toolset\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x63\x65s.googleapis.com/Toolset\x12\x19\n\x0coperation_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12_\n\x18\x63onfirmation_requirement\x18\x03 \x01(\x0e\x32\x38.google.cloud.dialogflow.v2.Tool.ConfirmationRequirementB\x03\xe0\x41\x01\x42\xf8\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0cToolsetProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2\xea\x41\x63\n\x1a\x63\x65s.googleapis.com/Toolset\x12\x45projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}b\x06proto3"
13
+
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
16
+
17
+ module Google
18
+ module Cloud
19
+ module Dialogflow
20
+ module V2
21
+ ToolsetTool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ToolsetTool").msgclass
22
+ end
23
+ end
24
+ end
25
+ end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module V2
24
- VERSION = "1.14.0"
24
+ VERSION = "1.16.0"
25
25
  end
26
26
  end
27
27
  end
@@ -769,6 +769,7 @@ module Google
769
769
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
770
770
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
771
771
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
772
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
772
773
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
773
774
  # trigger a retry.
774
775
  # @return [::Hash]
@@ -852,6 +853,7 @@ module Google
852
853
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
853
854
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
854
855
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
856
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
855
857
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
856
858
  # trigger a retry.
857
859
  #
@@ -702,6 +702,7 @@ module Google
702
702
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
703
703
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
704
704
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
705
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
705
706
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
706
707
  # trigger a retry.
707
708
  # @return [::Hash]
@@ -781,6 +782,7 @@ module Google
781
782
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
782
783
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
783
784
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
785
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
784
786
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
785
787
  # trigger a retry.
786
788
  #
@@ -17,6 +17,7 @@
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
19
  require "google/cloud/dialogflow/v2/agents"
20
+ require "google/cloud/dialogflow/v2/tools"
20
21
  require "google/cloud/dialogflow/v2/generators"
21
22
  require "google/cloud/dialogflow/v2/contexts"
22
23
  require "google/cloud/dialogflow/v2/intents"
@@ -36,7 +37,6 @@ require "google/cloud/dialogflow/v2/environments"
36
37
  require "google/cloud/dialogflow/v2/generator_evaluations"
37
38
  require "google/cloud/dialogflow/v2/knowledge_bases"
38
39
  require "google/cloud/dialogflow/v2/sip_trunks"
39
- require "google/cloud/dialogflow/v2/tools"
40
40
  require "google/cloud/dialogflow/v2/versions"
41
41
  require "google/cloud/dialogflow/v2/version"
42
42
 
@@ -31,6 +31,8 @@ module Google
31
31
  # @!attribute [rw] selective_gapic_generation
32
32
  # @return [::Google::Api::SelectiveGapicGeneration]
33
33
  # Configuration for which RPCs should be generated in the GAPIC client.
34
+ #
35
+ # Note: This field should not be used in most cases.
34
36
  class CommonLanguageSettings
35
37
  include ::Google::Protobuf::MessageExts
36
38
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -141,9 +143,10 @@ module Google
141
143
  #
142
144
  # Example of a YAML configuration::
143
145
  #
144
- # publishing:
145
- # java_settings:
146
- # library_package: com.google.cloud.pubsub.v1
146
+ # publishing:
147
+ # library_settings:
148
+ # java_settings:
149
+ # library_package: com.google.cloud.pubsub.v1
147
150
  # @!attribute [rw] service_class_names
148
151
  # @return [::Google::Protobuf::Map{::String => ::String}]
149
152
  # Configure the Java class name to use instead of the service's for its
@@ -155,11 +158,11 @@ module Google
155
158
  #
156
159
  # Example of a YAML configuration::
157
160
  #
158
- # publishing:
159
- # java_settings:
160
- # service_class_names:
161
- # - google.pubsub.v1.Publisher: TopicAdmin
162
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
161
+ # publishing:
162
+ # java_settings:
163
+ # service_class_names:
164
+ # - google.pubsub.v1.Publisher: TopicAdmin
165
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
163
166
  # @!attribute [rw] common
164
167
  # @return [::Google::Api::CommonLanguageSettings]
165
168
  # Some settings.
@@ -190,6 +193,20 @@ module Google
190
193
  # @!attribute [rw] common
191
194
  # @return [::Google::Api::CommonLanguageSettings]
192
195
  # Some settings.
196
+ # @!attribute [rw] library_package
197
+ # @return [::String]
198
+ # The package name to use in Php. Clobbers the php_namespace option
199
+ # set in the protobuf. This should be used **only** by APIs
200
+ # who have already set the language_settings.php.package_name" field
201
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
202
+ # where possible.
203
+ #
204
+ # Example of a YAML configuration::
205
+ #
206
+ # publishing:
207
+ # library_settings:
208
+ # php_settings:
209
+ # library_package: Google\Cloud\PubSub\V1
193
210
  class PhpSettings
194
211
  include ::Google::Protobuf::MessageExts
195
212
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +335,12 @@ module Google
318
335
  # service names and values are the name to be used for the service client
319
336
  # and call options.
320
337
  #
321
- # publishing:
322
- # go_settings:
323
- # renamed_services:
324
- # Publisher: TopicAdmin
338
+ # Example:
339
+ #
340
+ # publishing:
341
+ # go_settings:
342
+ # renamed_services:
343
+ # Publisher: TopicAdmin
325
344
  class GoSettings
326
345
  include ::Google::Protobuf::MessageExts
327
346
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +363,10 @@ module Google
344
363
  #
345
364
  # Example:
346
365
  #
347
- # publishing:
348
- # method_settings:
349
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
350
- # # method settings for CreateFolder...
366
+ # publishing:
367
+ # method_settings:
368
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
369
+ # # method settings for CreateFolder...
351
370
  # @!attribute [rw] long_running
352
371
  # @return [::Google::Api::MethodSettings::LongRunning]
353
372
  # Describes settings to use for long-running operations when generating
@@ -356,14 +375,14 @@ module Google
356
375
  #
357
376
  # Example of a YAML configuration::
358
377
  #
359
- # publishing:
360
- # method_settings:
361
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
362
- # long_running:
363
- # initial_poll_delay: 60s # 1 minute
364
- # poll_delay_multiplier: 1.5
365
- # max_poll_delay: 360s # 6 minutes
366
- # total_poll_timeout: 54000s # 90 minutes
378
+ # publishing:
379
+ # method_settings:
380
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
381
+ # long_running:
382
+ # initial_poll_delay: 60s # 1 minute
383
+ # poll_delay_multiplier: 1.5
384
+ # max_poll_delay: 360s # 6 minutes
385
+ # total_poll_timeout: 54000s # 90 minutes
367
386
  # @!attribute [rw] auto_populated_fields
368
387
  # @return [::Array<::String>]
369
388
  # List of top-level fields of the request message, that should be
@@ -372,11 +391,24 @@ module Google
372
391
  #
373
392
  # Example of a YAML configuration:
374
393
  #
375
- # publishing:
376
- # method_settings:
377
- # - selector: google.example.v1.ExampleService.CreateExample
378
- # auto_populated_fields:
379
- # - request_id
394
+ # publishing:
395
+ # method_settings:
396
+ # - selector: google.example.v1.ExampleService.CreateExample
397
+ # auto_populated_fields:
398
+ # - request_id
399
+ # @!attribute [rw] batching
400
+ # @return [::Google::Api::BatchingConfigProto]
401
+ # Batching configuration for an API method in client libraries.
402
+ #
403
+ # Example of a YAML configuration:
404
+ #
405
+ # publishing:
406
+ # method_settings:
407
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
408
+ # batching:
409
+ # element_count_threshold: 1000
410
+ # request_byte_threshold: 100000000
411
+ # delay_threshold_millis: 10
380
412
  class MethodSettings
381
413
  include ::Google::Protobuf::MessageExts
382
414
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -411,6 +443,8 @@ module Google
411
443
 
412
444
  # This message is used to configure the generation of a subset of the RPCs in
413
445
  # a service for client libraries.
446
+ #
447
+ # Note: This feature should not be used in most cases.
414
448
  # @!attribute [rw] methods
415
449
  # @return [::Array<::String>]
416
450
  # An allowlist of the fully qualified names of RPCs that should be included
@@ -428,6 +462,77 @@ module Google
428
462
  extend ::Google::Protobuf::MessageExts::ClassMethods
429
463
  end
430
464
 
465
+ # `BatchingConfigProto` defines the batching configuration for an API method.
466
+ # @!attribute [rw] thresholds
467
+ # @return [::Google::Api::BatchingSettingsProto]
468
+ # The thresholds which trigger a batched request to be sent.
469
+ # @!attribute [rw] batch_descriptor
470
+ # @return [::Google::Api::BatchingDescriptorProto]
471
+ # The request and response fields used in batching.
472
+ class BatchingConfigProto
473
+ include ::Google::Protobuf::MessageExts
474
+ extend ::Google::Protobuf::MessageExts::ClassMethods
475
+ end
476
+
477
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
478
+ # which acts as a trigger to send a batch of messages as a request. At least
479
+ # one threshold must be positive nonzero.
480
+ # @!attribute [rw] element_count_threshold
481
+ # @return [::Integer]
482
+ # The number of elements of a field collected into a batch which, if
483
+ # exceeded, causes the batch to be sent.
484
+ # @!attribute [rw] request_byte_threshold
485
+ # @return [::Integer]
486
+ # The aggregated size of the batched field which, if exceeded, causes the
487
+ # batch to be sent. This size is computed by aggregating the sizes of the
488
+ # request field to be batched, not of the entire request message.
489
+ # @!attribute [rw] delay_threshold
490
+ # @return [::Google::Protobuf::Duration]
491
+ # The duration after which a batch should be sent, starting from the addition
492
+ # of the first message to that batch.
493
+ # @!attribute [rw] element_count_limit
494
+ # @return [::Integer]
495
+ # The maximum number of elements collected in a batch that could be accepted
496
+ # by server.
497
+ # @!attribute [rw] request_byte_limit
498
+ # @return [::Integer]
499
+ # The maximum size of the request that could be accepted by server.
500
+ # @!attribute [rw] flow_control_element_limit
501
+ # @return [::Integer]
502
+ # The maximum number of elements allowed by flow control.
503
+ # @!attribute [rw] flow_control_byte_limit
504
+ # @return [::Integer]
505
+ # The maximum size of data allowed by flow control.
506
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
507
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
508
+ # The behavior to take when the flow control limit is exceeded.
509
+ class BatchingSettingsProto
510
+ include ::Google::Protobuf::MessageExts
511
+ extend ::Google::Protobuf::MessageExts::ClassMethods
512
+ end
513
+
514
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
515
+ # used for batching, and, optionally, the fields of the response message to be
516
+ # used for demultiplexing.
517
+ # @!attribute [rw] batched_field
518
+ # @return [::String]
519
+ # The repeated field in the request message to be aggregated by batching.
520
+ # @!attribute [rw] discriminator_fields
521
+ # @return [::Array<::String>]
522
+ # A list of the fields in the request message. Two requests will be batched
523
+ # together only if the values of every field specified in
524
+ # `request_discriminator_fields` is equal between the two requests.
525
+ # @!attribute [rw] subresponse_field
526
+ # @return [::String]
527
+ # Optional. When present, indicates the field in the response message to be
528
+ # used to demultiplex the response into multiple response messages, in
529
+ # correspondence with the multiple request messages originally batched
530
+ # together.
531
+ class BatchingDescriptorProto
532
+ include ::Google::Protobuf::MessageExts
533
+ extend ::Google::Protobuf::MessageExts::ClassMethods
534
+ end
535
+
431
536
  # The organization for which the client libraries are being published.
432
537
  # Affects the url where generated docs are published, etc.
433
538
  module ClientLibraryOrganization
@@ -469,5 +574,20 @@ module Google
469
574
  # Publish the library to package managers like nuget.org and npmjs.com.
470
575
  PACKAGE_MANAGER = 20
471
576
  end
577
+
578
+ # The behavior to take when the flow control limit is exceeded.
579
+ module FlowControlLimitExceededBehaviorProto
580
+ # Default behavior, system-defined.
581
+ UNSET_BEHAVIOR = 0
582
+
583
+ # Stop operation, raise error.
584
+ THROW_EXCEPTION = 1
585
+
586
+ # Pause operation until limit clears.
587
+ BLOCK = 2
588
+
589
+ # Continue operation, disregard limit.
590
+ IGNORE = 3
591
+ end
472
592
  end
473
593
  end
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module V2
24
+ # Spec of CES app that the generator can choose from.
25
+ # @!attribute [rw] ces_app
26
+ # @return [::String]
27
+ # Optional. Format: `projects/<Project ID>/locations/<Location ID>/apps/<app
28
+ # ID>`.
29
+ # @!attribute [rw] confirmation_requirement
30
+ # @return [::Google::Cloud::Dialogflow::V2::Tool::ConfirmationRequirement]
31
+ # Optional. Indicates whether the app requires human confirmation.
32
+ class CesAppSpec
33
+ include ::Google::Protobuf::MessageExts
34
+ extend ::Google::Protobuf::MessageExts::ClassMethods
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module V2
24
+ # Spec of CES tool that the generator can choose from.
25
+ # @!attribute [rw] ces_tool
26
+ # @return [::String]
27
+ # Optional. Format: `projects/<Project ID>/locations/<Location ID>/apps/<app
28
+ # ID>/tools/<tool ID>`.
29
+ # @!attribute [rw] confirmation_requirement
30
+ # @return [::Google::Cloud::Dialogflow::V2::Tool::ConfirmationRequirement]
31
+ # Optional. Indicates whether the tool requires human confirmation.
32
+ class CesToolSpec
33
+ include ::Google::Protobuf::MessageExts
34
+ extend ::Google::Protobuf::MessageExts::ClassMethods
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end