google-cloud-dialogflow-v2 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/v2/agent_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/agents/client.rb +18 -0
- data/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/audio_config_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/context_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/conversation_dataset_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/conversation_event_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/conversation_model_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/conversation_models/paths.rb +22 -18
- data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/paths.rb +10 -10
- data/lib/google/cloud/dialogflow/v2/document_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/entity_type_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/environment_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/fulfillment_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/gcs_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/human_agent_assistant_event_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/intent_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/knowledge_base_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/participant_pb.rb +3 -1
- data/lib/google/cloud/dialogflow/v2/participants/client.rb +8 -1
- data/lib/google/cloud/dialogflow/v2/session_entity_type_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/session_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/version_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/webhook_pb.rb +2 -1
- data/proto_docs/google/cloud/dialogflow/v2/agent.rb +18 -0
- data/proto_docs/google/cloud/dialogflow/v2/fulfillment.rb +3 -0
- data/proto_docs/google/cloud/dialogflow/v2/participant.rb +18 -0
- data/proto_docs/google/cloud/dialogflow/v2/session.rb +5 -0
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/struct.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 249c379f5cf6395ebb4123b5631a2031f1e834cc90a3b257a3dd22afcaf32c76
|
4
|
+
data.tar.gz: 41a23cb47a7c96b38730e03f297ba86f21f937542133a5200e19f1af4725cb26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
@@ -671,6 +671,12 @@ module Google
|
|
671
671
|
# The format of this URI must be `gs://<bucket-name>/<object-name>`.
|
672
672
|
# If left unspecified, the serialized agent is returned inline.
|
673
673
|
#
|
674
|
+
# Dialogflow performs a write operation for the Cloud Storage object
|
675
|
+
# on the caller's behalf, so your request authentication must
|
676
|
+
# have write permissions for the object. For more information, see
|
677
|
+
# [Dialogflow access
|
678
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
679
|
+
#
|
674
680
|
# @yield [response, operation] Access the result along with the RPC operation
|
675
681
|
# @yieldparam response [::Gapic::Operation]
|
676
682
|
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
@@ -791,6 +797,12 @@ module Google
|
|
791
797
|
# @param agent_uri [::String]
|
792
798
|
# The URI to a Google Cloud Storage file containing the agent to import.
|
793
799
|
# Note: The URI must start with "gs://".
|
800
|
+
#
|
801
|
+
# Dialogflow performs a read operation for the Cloud Storage object
|
802
|
+
# on the caller's behalf, so your request authentication must
|
803
|
+
# have read permissions for the object. For more information, see
|
804
|
+
# [Dialogflow access
|
805
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
794
806
|
# @param agent_content [::String]
|
795
807
|
# Zip compressed raw byte content for agent.
|
796
808
|
#
|
@@ -913,6 +925,12 @@ module Google
|
|
913
925
|
# @param agent_uri [::String]
|
914
926
|
# The URI to a Google Cloud Storage file containing the agent to restore.
|
915
927
|
# Note: The URI must start with "gs://".
|
928
|
+
#
|
929
|
+
# Dialogflow performs a read operation for the Cloud Storage object
|
930
|
+
# on the caller's behalf, so your request authentication must
|
931
|
+
# have read permissions for the object. For more information, see
|
932
|
+
# [Dialogflow access
|
933
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
916
934
|
# @param agent_content [::String]
|
917
935
|
# Zip compressed raw byte content for agent.
|
918
936
|
#
|
@@ -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
|
@@ -46,36 +46,36 @@ module Google
|
|
46
46
|
##
|
47
47
|
# Create a fully-qualified ConversationModel resource string.
|
48
48
|
#
|
49
|
-
# @overload conversation_model_path(project:, conversation_model:)
|
49
|
+
# @overload conversation_model_path(project:, location:, conversation_model:)
|
50
50
|
# The resource will be in the following format:
|
51
51
|
#
|
52
|
-
# `projects/{project}/conversationModels/{conversation_model}`
|
52
|
+
# `projects/{project}/locations/{location}/conversationModels/{conversation_model}`
|
53
53
|
#
|
54
54
|
# @param project [String]
|
55
|
+
# @param location [String]
|
55
56
|
# @param conversation_model [String]
|
56
57
|
#
|
57
|
-
# @overload conversation_model_path(project:,
|
58
|
+
# @overload conversation_model_path(project:, conversation_model:)
|
58
59
|
# The resource will be in the following format:
|
59
60
|
#
|
60
|
-
# `projects/{project}/
|
61
|
+
# `projects/{project}/conversationModels/{conversation_model}`
|
61
62
|
#
|
62
63
|
# @param project [String]
|
63
|
-
# @param location [String]
|
64
64
|
# @param conversation_model [String]
|
65
65
|
#
|
66
66
|
# @return [::String]
|
67
67
|
def conversation_model_path **args
|
68
68
|
resources = {
|
69
|
-
"conversation_model:project" => (proc do |project:, conversation_model:|
|
70
|
-
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
71
|
-
|
72
|
-
"projects/#{project}/conversationModels/#{conversation_model}"
|
73
|
-
end),
|
74
69
|
"conversation_model:location:project" => (proc do |project:, location:, conversation_model:|
|
75
70
|
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
76
71
|
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
77
72
|
|
78
73
|
"projects/#{project}/locations/#{location}/conversationModels/#{conversation_model}"
|
74
|
+
end),
|
75
|
+
"conversation_model:project" => (proc do |project:, conversation_model:|
|
76
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
77
|
+
|
78
|
+
"projects/#{project}/conversationModels/#{conversation_model}"
|
79
79
|
end)
|
80
80
|
}
|
81
81
|
|
@@ -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
|
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
|
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
|
@@ -82,36 +82,36 @@ module Google
|
|
82
82
|
##
|
83
83
|
# Create a fully-qualified ConversationModel resource string.
|
84
84
|
#
|
85
|
-
# @overload conversation_model_path(project:, conversation_model:)
|
85
|
+
# @overload conversation_model_path(project:, location:, conversation_model:)
|
86
86
|
# The resource will be in the following format:
|
87
87
|
#
|
88
|
-
# `projects/{project}/conversationModels/{conversation_model}`
|
88
|
+
# `projects/{project}/locations/{location}/conversationModels/{conversation_model}`
|
89
89
|
#
|
90
90
|
# @param project [String]
|
91
|
+
# @param location [String]
|
91
92
|
# @param conversation_model [String]
|
92
93
|
#
|
93
|
-
# @overload conversation_model_path(project:,
|
94
|
+
# @overload conversation_model_path(project:, conversation_model:)
|
94
95
|
# The resource will be in the following format:
|
95
96
|
#
|
96
|
-
# `projects/{project}/
|
97
|
+
# `projects/{project}/conversationModels/{conversation_model}`
|
97
98
|
#
|
98
99
|
# @param project [String]
|
99
|
-
# @param location [String]
|
100
100
|
# @param conversation_model [String]
|
101
101
|
#
|
102
102
|
# @return [::String]
|
103
103
|
def conversation_model_path **args
|
104
104
|
resources = {
|
105
|
-
"conversation_model:project" => (proc do |project:, conversation_model:|
|
106
|
-
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
107
|
-
|
108
|
-
"projects/#{project}/conversationModels/#{conversation_model}"
|
109
|
-
end),
|
110
105
|
"conversation_model:location:project" => (proc do |project:, location:, conversation_model:|
|
111
106
|
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
112
107
|
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
113
108
|
|
114
109
|
"projects/#{project}/locations/#{location}/conversationModels/#{conversation_model}"
|
110
|
+
end),
|
111
|
+
"conversation_model:project" => (proc do |project:, conversation_model:|
|
112
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
113
|
+
|
114
|
+
"projects/#{project}/conversationModels/#{conversation_model}"
|
115
115
|
end)
|
116
116
|
}
|
117
117
|
|
@@ -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
|
@@ -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
|
@@ -222,6 +222,12 @@ module Google
|
|
222
222
|
# URI to export the agent to.
|
223
223
|
# The format of this URI must be `gs://<bucket-name>/<object-name>`.
|
224
224
|
# If left unspecified, the serialized agent is returned inline.
|
225
|
+
#
|
226
|
+
# Dialogflow performs a write operation for the Cloud Storage object
|
227
|
+
# on the caller's behalf, so your request authentication must
|
228
|
+
# have write permissions for the object. For more information, see
|
229
|
+
# [Dialogflow access
|
230
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
225
231
|
class ExportAgentRequest
|
226
232
|
include ::Google::Protobuf::MessageExts
|
227
233
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -249,6 +255,12 @@ module Google
|
|
249
255
|
# @return [::String]
|
250
256
|
# The URI to a Google Cloud Storage file containing the agent to import.
|
251
257
|
# Note: The URI must start with "gs://".
|
258
|
+
#
|
259
|
+
# Dialogflow performs a read operation for the Cloud Storage object
|
260
|
+
# on the caller's behalf, so your request authentication must
|
261
|
+
# have read permissions for the object. For more information, see
|
262
|
+
# [Dialogflow access
|
263
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
252
264
|
# @!attribute [rw] agent_content
|
253
265
|
# @return [::String]
|
254
266
|
# Zip compressed raw byte content for agent.
|
@@ -266,6 +278,12 @@ module Google
|
|
266
278
|
# @return [::String]
|
267
279
|
# The URI to a Google Cloud Storage file containing the agent to restore.
|
268
280
|
# Note: The URI must start with "gs://".
|
281
|
+
#
|
282
|
+
# Dialogflow performs a read operation for the Cloud Storage object
|
283
|
+
# on the caller's behalf, so your request authentication must
|
284
|
+
# have read permissions for the object. For more information, see
|
285
|
+
# [Dialogflow access
|
286
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
269
287
|
# @!attribute [rw] agent_content
|
270
288
|
# @return [::String]
|
271
289
|
# Zip compressed raw byte content for agent.
|
@@ -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.
|
@@ -267,11 +275,21 @@ module Google
|
|
267
275
|
# The suggestions for most recent human agent. The order is the same as
|
268
276
|
# {::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionConfig#feature_configs HumanAgentAssistantConfig.SuggestionConfig.feature_configs} of
|
269
277
|
# {::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig#human_agent_suggestion_config HumanAgentAssistantConfig.human_agent_suggestion_config}.
|
278
|
+
#
|
279
|
+
# Note that any failure of Agent Assist features will not lead to the overall
|
280
|
+
# failure of an AnalyzeContent API call. Instead, the features will
|
281
|
+
# fail silently with the error field set in the corresponding
|
282
|
+
# SuggestionResult.
|
270
283
|
# @!attribute [rw] end_user_suggestion_results
|
271
284
|
# @return [::Array<::Google::Cloud::Dialogflow::V2::SuggestionResult>]
|
272
285
|
# The suggestions for end user. The order is the same as
|
273
286
|
# {::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionConfig#feature_configs HumanAgentAssistantConfig.SuggestionConfig.feature_configs} of
|
274
287
|
# {::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig#end_user_suggestion_config HumanAgentAssistantConfig.end_user_suggestion_config}.
|
288
|
+
#
|
289
|
+
# Same as human_agent_suggestion_results, any failure of Agent Assist
|
290
|
+
# features will not lead to the overall failure of an AnalyzeContent API
|
291
|
+
# call. Instead, the features will fail silently with the error field set in
|
292
|
+
# the corresponding SuggestionResult.
|
275
293
|
# @!attribute [rw] dtmf_parameters
|
276
294
|
# @return [::Google::Cloud::Dialogflow::V2::DtmfParameters]
|
277
295
|
# Indicates the parameters of DTMF.
|
@@ -589,6 +589,11 @@ module Google
|
|
589
589
|
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
590
590
|
# for a list of the currently supported language codes. Note that queries in
|
591
591
|
# the same session do not necessarily need to specify the same language.
|
592
|
+
#
|
593
|
+
# This field is ignored when used in the context of a
|
594
|
+
# {::Google::Cloud::Dialogflow::V2::WebhookResponse#followup_event_input WebhookResponse.followup_event_input} field,
|
595
|
+
# because the language was already defined in the originating detect
|
596
|
+
# intent request.
|
592
597
|
class EventInput
|
593
598
|
include ::Google::Protobuf::MessageExts
|
594
599
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
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
|
-
#
|
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
|
50
|
-
# variants
|
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.
|
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-
|
11
|
+
date: 2022-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|