google-cloud-dialogflow-v2 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/v2/agent_pb.rb +2 -1
  3. data/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +2 -1
  4. data/lib/google/cloud/dialogflow/v2/audio_config_pb.rb +2 -1
  5. data/lib/google/cloud/dialogflow/v2/context_pb.rb +2 -1
  6. data/lib/google/cloud/dialogflow/v2/conversation_dataset_pb.rb +2 -1
  7. data/lib/google/cloud/dialogflow/v2/conversation_event_pb.rb +2 -1
  8. data/lib/google/cloud/dialogflow/v2/conversation_model_pb.rb +2 -1
  9. data/lib/google/cloud/dialogflow/v2/conversation_models/paths.rb +12 -8
  10. data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +2 -1
  11. data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +2 -1
  12. data/lib/google/cloud/dialogflow/v2/document_pb.rb +2 -1
  13. data/lib/google/cloud/dialogflow/v2/entity_type_pb.rb +2 -1
  14. data/lib/google/cloud/dialogflow/v2/environment_pb.rb +2 -1
  15. data/lib/google/cloud/dialogflow/v2/fulfillment_pb.rb +2 -1
  16. data/lib/google/cloud/dialogflow/v2/gcs_pb.rb +2 -1
  17. data/lib/google/cloud/dialogflow/v2/human_agent_assistant_event_pb.rb +2 -1
  18. data/lib/google/cloud/dialogflow/v2/intent_pb.rb +2 -1
  19. data/lib/google/cloud/dialogflow/v2/knowledge_base_pb.rb +2 -1
  20. data/lib/google/cloud/dialogflow/v2/participant_pb.rb +3 -1
  21. data/lib/google/cloud/dialogflow/v2/participants/client.rb +8 -1
  22. data/lib/google/cloud/dialogflow/v2/session_entity_type_pb.rb +2 -1
  23. data/lib/google/cloud/dialogflow/v2/session_pb.rb +2 -1
  24. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  25. data/lib/google/cloud/dialogflow/v2/version_pb.rb +2 -1
  26. data/lib/google/cloud/dialogflow/v2/webhook_pb.rb +2 -1
  27. data/proto_docs/google/cloud/dialogflow/v2/fulfillment.rb +3 -0
  28. data/proto_docs/google/cloud/dialogflow/v2/participant.rb +8 -0
  29. data/proto_docs/google/protobuf/any.rb +3 -3
  30. data/proto_docs/google/protobuf/struct.rb +2 -2
  31. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cc8560e58b306c85dec129c49446f00cdadb4800a13469460de0c50eea3388f
4
- data.tar.gz: dd9c62ead69962d384db40f17d9c2aa4d6527d0e414f7d168265664ec22397d7
3
+ metadata.gz: 249c379f5cf6395ebb4123b5631a2031f1e834cc90a3b257a3dd22afcaf32c76
4
+ data.tar.gz: 41a23cb47a7c96b38730e03f297ba86f21f937542133a5200e19f1af4725cb26
5
5
  SHA512:
6
- metadata.gz: af82b0ebc3dffe804d83febb03d9ea25d35406fa1730d29cf39e36290cea2da872c1132df0e4dd0accb2e348ac939669f981d1359ba3a1769d32a83de51dfe30
7
- data.tar.gz: e41f94edb9743ef679bfb0f66d787de82b5e95d70061b390de397b3f5baf9075349c05944c711391a339b847b2e2daa9ee263ef05599560eea52bd558431dfa0
6
+ metadata.gz: 7252f30beb1f8e3c7ec6ac257c75dfb12d118c070c08b45a106ebc3de3c03e41dd1a640431cfdc91b2cdd76a97330166b6310e3df1c6d689d211ca42a94f255d
7
+ data.tar.gz: 3d43f4e0153be01deb6309a89e91632d900f3941d5873adc6a2aeee99c1bfd02427924bb5e0432baa685a604b8c97ea3b9ec42622936fc005488e98c6b1cec7e
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/agent.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -9,7 +11,6 @@ require 'google/cloud/dialogflow/v2/validation_result_pb'
9
11
  require 'google/longrunning/operations_pb'
10
12
  require 'google/protobuf/empty_pb'
11
13
  require 'google/protobuf/field_mask_pb'
12
- require 'google/protobuf'
13
14
 
14
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
16
  add_file("google/cloud/dialogflow/v2/agent.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/answer_record.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -8,7 +10,6 @@ require 'google/api/resource_pb'
8
10
  require 'google/cloud/dialogflow/v2/participant_pb'
9
11
  require 'google/protobuf/field_mask_pb'
10
12
  require 'google/protobuf/timestamp_pb'
11
- require 'google/protobuf'
12
13
 
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("google/cloud/dialogflow/v2/answer_record.proto", :syntax => :proto3) do
@@ -1,10 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/audio_config.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
8
  require 'google/protobuf/duration_pb'
7
- require 'google/protobuf'
8
9
 
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_file("google/cloud/dialogflow/v2/audio_config.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/context.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -8,7 +10,6 @@ require 'google/api/resource_pb'
8
10
  require 'google/protobuf/empty_pb'
9
11
  require 'google/protobuf/field_mask_pb'
10
12
  require 'google/protobuf/struct_pb'
11
- require 'google/protobuf'
12
13
 
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("google/cloud/dialogflow/v2/context.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/conversation_dataset.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -9,7 +11,6 @@ require 'google/cloud/dialogflow/v2/gcs_pb'
9
11
  require 'google/longrunning/operations_pb'
10
12
  require 'google/protobuf/timestamp_pb'
11
13
  require 'google/rpc/status_pb'
12
- require 'google/protobuf'
13
14
 
14
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
16
  add_file("google/cloud/dialogflow/v2/conversation_dataset.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/conversation_event.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/cloud/dialogflow/v2/participant_pb'
5
7
  require 'google/rpc/status_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/dialogflow/v2/conversation_event.proto", :syntax => :proto3) do
@@ -1,13 +1,14 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/conversation_model.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
7
9
  require 'google/api/resource_pb'
8
10
  require 'google/longrunning/operations_pb'
9
11
  require 'google/protobuf/timestamp_pb'
10
- require 'google/protobuf'
11
12
 
12
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
14
  add_file("google/cloud/dialogflow/v2/conversation_model.proto", :syntax => :proto3) do
@@ -87,36 +87,40 @@ module Google
87
87
  ##
88
88
  # Create a fully-qualified ConversationModelEvaluation resource string.
89
89
  #
90
- # @overload conversation_model_evaluation_path(project:, conversation_model:)
90
+ # @overload conversation_model_evaluation_path(project:, conversation_model:, evaluation:)
91
91
  # The resource will be in the following format:
92
92
  #
93
- # `projects/{project}/conversationModels/{conversation_model}/evaluations/evaluation`
93
+ # `projects/{project}/conversationModels/{conversation_model}/evaluations/{evaluation}`
94
94
  #
95
95
  # @param project [String]
96
96
  # @param conversation_model [String]
97
+ # @param evaluation [String]
97
98
  #
98
- # @overload conversation_model_evaluation_path(project:, location:, conversation_model:)
99
+ # @overload conversation_model_evaluation_path(project:, location:, conversation_model:, evaluation:)
99
100
  # The resource will be in the following format:
100
101
  #
101
- # `projects/{project}/locations/{location}/conversationModels/{conversation_model}/evaluations/evaluation`
102
+ # `projects/{project}/locations/{location}/conversationModels/{conversation_model}/evaluations/{evaluation}`
102
103
  #
103
104
  # @param project [String]
104
105
  # @param location [String]
105
106
  # @param conversation_model [String]
107
+ # @param evaluation [String]
106
108
  #
107
109
  # @return [::String]
108
110
  def conversation_model_evaluation_path **args
109
111
  resources = {
110
- "conversation_model:project" => (proc do |project:, conversation_model:|
112
+ "conversation_model:evaluation:project" => (proc do |project:, conversation_model:, evaluation:|
111
113
  raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
114
+ raise ::ArgumentError, "conversation_model cannot contain /" if conversation_model.to_s.include? "/"
112
115
 
113
- "projects/#{project}/conversationModels/#{conversation_model}/evaluations/evaluation"
116
+ "projects/#{project}/conversationModels/#{conversation_model}/evaluations/#{evaluation}"
114
117
  end),
115
- "conversation_model:location:project" => (proc do |project:, location:, conversation_model:|
118
+ "conversation_model:evaluation:location:project" => (proc do |project:, location:, conversation_model:, evaluation:|
116
119
  raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
117
120
  raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
121
+ raise ::ArgumentError, "conversation_model cannot contain /" if conversation_model.to_s.include? "/"
118
122
 
119
- "projects/#{project}/locations/#{location}/conversationModels/#{conversation_model}/evaluations/evaluation"
123
+ "projects/#{project}/locations/#{location}/conversationModels/#{conversation_model}/evaluations/#{evaluation}"
120
124
  end)
121
125
  }
122
126
 
@@ -1,13 +1,14 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/conversation.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
7
9
  require 'google/api/resource_pb'
8
10
  require 'google/cloud/dialogflow/v2/participant_pb'
9
11
  require 'google/protobuf/timestamp_pb'
10
- require 'google/protobuf'
11
12
 
12
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
14
  add_file("google/cloud/dialogflow/v2/conversation.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/conversation_profile.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -11,7 +13,6 @@ require 'google/longrunning/operations_pb'
11
13
  require 'google/protobuf/empty_pb'
12
14
  require 'google/protobuf/field_mask_pb'
13
15
  require 'google/protobuf/timestamp_pb'
14
- require 'google/protobuf'
15
16
 
16
17
  Google::Protobuf::DescriptorPool.generated_pool.build do
17
18
  add_file("google/cloud/dialogflow/v2/conversation_profile.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/document.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -10,7 +12,6 @@ require 'google/longrunning/operations_pb'
10
12
  require 'google/protobuf/field_mask_pb'
11
13
  require 'google/protobuf/timestamp_pb'
12
14
  require 'google/rpc/status_pb'
13
- require 'google/protobuf'
14
15
 
15
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
17
  add_file("google/cloud/dialogflow/v2/document.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/entity_type.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -8,7 +10,6 @@ require 'google/api/resource_pb'
8
10
  require 'google/longrunning/operations_pb'
9
11
  require 'google/protobuf/empty_pb'
10
12
  require 'google/protobuf/field_mask_pb'
11
- require 'google/protobuf'
12
13
 
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("google/cloud/dialogflow/v2/entity_type.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/environment.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -10,7 +12,6 @@ require 'google/cloud/dialogflow/v2/fulfillment_pb'
10
12
  require 'google/protobuf/empty_pb'
11
13
  require 'google/protobuf/field_mask_pb'
12
14
  require 'google/protobuf/timestamp_pb'
13
- require 'google/protobuf'
14
15
 
15
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
17
  add_file("google/cloud/dialogflow/v2/environment.proto", :syntax => :proto3) do
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/fulfillment.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
7
9
  require 'google/api/resource_pb'
8
10
  require 'google/protobuf/field_mask_pb'
9
- require 'google/protobuf'
10
11
 
11
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
13
  add_file("google/cloud/dialogflow/v2/fulfillment.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/gcs.proto
3
3
 
4
- require 'google/api/field_behavior_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/api/field_behavior_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/cloud/dialogflow/v2/gcs.proto", :syntax => :proto3) do
9
10
  add_message "google.cloud.dialogflow.v2.GcsSources" do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/human_agent_assistant_event.proto
3
3
 
4
- require 'google/cloud/dialogflow/v2/participant_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/cloud/dialogflow/v2/participant_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/cloud/dialogflow/v2/human_agent_assistant_event.proto", :syntax => :proto3) do
9
10
  add_message "google.cloud.dialogflow.v2.HumanAgentAssistantEvent" do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/intent.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -10,7 +12,6 @@ require 'google/longrunning/operations_pb'
10
12
  require 'google/protobuf/empty_pb'
11
13
  require 'google/protobuf/field_mask_pb'
12
14
  require 'google/protobuf/struct_pb'
13
- require 'google/protobuf'
14
15
 
15
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
17
  add_file("google/cloud/dialogflow/v2/intent.proto", :syntax => :proto3) do
@@ -1,13 +1,14 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/knowledge_base.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
7
9
  require 'google/api/resource_pb'
8
10
  require 'google/protobuf/empty_pb'
9
11
  require 'google/protobuf/field_mask_pb'
10
- require 'google/protobuf'
11
12
 
12
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
14
  add_file("google/cloud/dialogflow/v2/knowledge_base.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/participant.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -11,7 +13,6 @@ require 'google/protobuf/field_mask_pb'
11
13
  require 'google/protobuf/struct_pb'
12
14
  require 'google/protobuf/timestamp_pb'
13
15
  require 'google/rpc/status_pb'
14
- require 'google/protobuf'
15
16
 
16
17
  Google::Protobuf::DescriptorPool.generated_pool.build do
17
18
  add_file("google/cloud/dialogflow/v2/participant.proto", :syntax => :proto3) do
@@ -63,6 +64,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
63
64
  optional :reply_audio_config, :message, 5, "google.cloud.dialogflow.v2.OutputAudioConfig"
64
65
  optional :query_params, :message, 9, "google.cloud.dialogflow.v2.QueryParameters"
65
66
  optional :assist_query_params, :message, 14, "google.cloud.dialogflow.v2.AssistQueryParameters"
67
+ optional :cx_parameters, :message, 18, "google.protobuf.Struct"
66
68
  optional :request_id, :string, 11
67
69
  oneof :input do
68
70
  optional :text_input, :message, 6, "google.cloud.dialogflow.v2.TextInput"
@@ -534,7 +534,7 @@ module Google
534
534
  # @param options [::Gapic::CallOptions, ::Hash]
535
535
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
536
536
  #
537
- # @overload analyze_content(participant: nil, text_input: nil, event_input: nil, reply_audio_config: nil, query_params: nil, assist_query_params: nil, request_id: nil)
537
+ # @overload analyze_content(participant: nil, text_input: nil, event_input: nil, reply_audio_config: nil, query_params: nil, assist_query_params: nil, cx_parameters: nil, request_id: nil)
538
538
  # Pass arguments to `analyze_content` via keyword arguments. Note that at
539
539
  # least one keyword argument is required. To specify no parameters, or to keep all
540
540
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -557,6 +557,13 @@ module Google
557
557
  # Parameters for a Dialogflow virtual-agent query.
558
558
  # @param assist_query_params [::Google::Cloud::Dialogflow::V2::AssistQueryParameters, ::Hash]
559
559
  # Parameters for a human assist query.
560
+ # @param cx_parameters [::Google::Protobuf::Struct, ::Hash]
561
+ # Additional parameters to be put into Dialogflow CX session parameters. To
562
+ # remove a parameter from the session, clients should explicitly set the
563
+ # parameter value to null.
564
+ #
565
+ # Note: this field should only be used if you are connecting to a Dialogflow
566
+ # CX agent.
560
567
  # @param request_id [::String]
561
568
  # A unique identifier for this request. Restricted to 36 ASCII characters.
562
569
  # A random UUID is recommended.
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/session_entity_type.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -8,7 +10,6 @@ require 'google/api/resource_pb'
8
10
  require 'google/cloud/dialogflow/v2/entity_type_pb'
9
11
  require 'google/protobuf/empty_pb'
10
12
  require 'google/protobuf/field_mask_pb'
11
- require 'google/protobuf'
12
13
 
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("google/cloud/dialogflow/v2/session_entity_type.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/session.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -14,7 +16,6 @@ require 'google/protobuf/field_mask_pb'
14
16
  require 'google/protobuf/struct_pb'
15
17
  require 'google/rpc/status_pb'
16
18
  require 'google/type/latlng_pb'
17
- require 'google/protobuf'
18
19
 
19
20
  Google::Protobuf::DescriptorPool.generated_pool.build do
20
21
  add_file("google/cloud/dialogflow/v2/session.proto", :syntax => :proto3) do
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module V2
24
- VERSION = "0.15.2"
24
+ VERSION = "0.16.0"
25
25
  end
26
26
  end
27
27
  end
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/version.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -8,7 +10,6 @@ require 'google/api/resource_pb'
8
10
  require 'google/protobuf/empty_pb'
9
11
  require 'google/protobuf/field_mask_pb'
10
12
  require 'google/protobuf/timestamp_pb'
11
- require 'google/protobuf'
12
13
 
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("google/cloud/dialogflow/v2/version.proto", :syntax => :proto3) do
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/webhook.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/cloud/dialogflow/v2/context_pb'
5
7
  require 'google/cloud/dialogflow/v2/intent_pb'
6
8
  require 'google/cloud/dialogflow/v2/session_pb'
7
9
  require 'google/cloud/dialogflow/v2/session_entity_type_pb'
8
10
  require 'google/protobuf/struct_pb'
9
- require 'google/protobuf'
10
11
 
11
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
13
  add_file("google/cloud/dialogflow/v2/webhook.proto", :syntax => :proto3) do
@@ -35,6 +35,7 @@ module Google
35
35
  # @return [::String]
36
36
  # Required. The unique identifier of the fulfillment.
37
37
  # Supported formats:
38
+ #
38
39
  # - `projects/<Project ID>/agent/fulfillment`
39
40
  # - `projects/<Project ID>/locations/<Location ID>/agent/fulfillment`
40
41
  #
@@ -59,8 +60,10 @@ module Google
59
60
 
60
61
  # Represents configuration for a generic web service.
61
62
  # Dialogflow supports two mechanisms for authentications:
63
+ #
62
64
  # - Basic authentication with username and password.
63
65
  # - Authentication with additional authentication headers.
66
+ #
64
67
  # More information could be found at:
65
68
  # https://cloud.google.com/dialogflow/docs/fulfillment-configure.
66
69
  # @!attribute [rw] uri
@@ -215,6 +215,14 @@ module Google
215
215
  # @!attribute [rw] assist_query_params
216
216
  # @return [::Google::Cloud::Dialogflow::V2::AssistQueryParameters]
217
217
  # Parameters for a human assist query.
218
+ # @!attribute [rw] cx_parameters
219
+ # @return [::Google::Protobuf::Struct]
220
+ # Additional parameters to be put into Dialogflow CX session parameters. To
221
+ # remove a parameter from the session, clients should explicitly set the
222
+ # parameter value to null.
223
+ #
224
+ # Note: this field should only be used if you are connecting to a Dialogflow
225
+ # CX agent.
218
226
  # @!attribute [rw] request_id
219
227
  # @return [::String]
220
228
  # A unique identifier for this request. Restricted to 36 ASCII characters.
@@ -44,7 +44,7 @@ module Google
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
46
  #
47
- # Example 3: Pack and unpack a message in Python.
47
+ # Example 3: Pack and unpack a message in Python.
48
48
  #
49
49
  # foo = Foo(...)
50
50
  # any = Any()
@@ -54,7 +54,7 @@ module Google
54
54
  # any.Unpack(foo)
55
55
  # ...
56
56
  #
57
- # Example 4: Pack and unpack a message in Go
57
+ # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
60
  # any, err := anypb.New(foo)
@@ -75,7 +75,7 @@ module Google
75
75
  #
76
76
  #
77
77
  # JSON
78
- # ====
78
+ #
79
79
  # The JSON representation of an `Any` value uses the regular
80
80
  # representation of the deserialized, embedded message, with an
81
81
  # additional field `@type` which contains the type URL. Example:
@@ -46,8 +46,8 @@ module Google
46
46
 
47
47
  # `Value` represents a dynamically typed value which can be either
48
48
  # null, a number, a string, a boolean, a recursive struct value, or a
49
- # list of values. A producer of value is expected to set one of that
50
- # variants, absence of any variant indicates an error.
49
+ # list of values. A producer of value is expected to set one of these
50
+ # variants. Absence of any variant indicates an error.
51
51
  #
52
52
  # The JSON representation for `Value` is JSON value.
53
53
  # @!attribute [rw] null_value
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dialogflow-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.2
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-31 00:00:00.000000000 Z
11
+ date: 2022-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common