google-cloud-dialogflow-v2 0.15.0 → 0.15.1
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/agents/client.rb +18 -0
- data/lib/google/cloud/dialogflow/v2/conversation_models/paths.rb +10 -10
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/paths.rb +10 -10
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/v2/agent.rb +18 -0
- data/proto_docs/google/cloud/dialogflow/v2/session.rb +5 -0
- 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: 0de483099dcae1e8b57baf836487a74ddda77d10d4bae0468278511ef60ebad5
|
4
|
+
data.tar.gz: 89e8b14bb31e002b7cd25c30bfaf54856db69f67750d29e59b72950cefaa062c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4981db014bdcf1e6fe09e87cfa57aa31942f09732aa36115cd0cbb44b27b6381292c07de9a26559088b79a050e407451477e66674a5c2435a8bcc7bf808b075
|
7
|
+
data.tar.gz: c58813241f28f467fc3ebc5576e1c1fb8ecb5cd4d0448488639f687e754863662ba639024777a6187818eb5e66c5b7b2da830574499d65354ed8a71e3ff9dae9
|
@@ -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
|
#
|
@@ -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
|
|
@@ -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
|
|
@@ -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.
|
@@ -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
|
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.
|
4
|
+
version: 0.15.1
|
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-
|
11
|
+
date: 2022-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|