google-cloud-dialogflow-v2 0.16.0 → 0.17.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.
- checksums.yaml +4 -4
- data/README.md +10 -5
- data/lib/google/cloud/dialogflow/v2/agents/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/agents/operations.rb +3 -0
- data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +17 -3
- data/lib/google/cloud/dialogflow/v2/contexts/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb +3 -0
- data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/conversation_models/operations.rb +3 -0
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb +3 -0
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/documents/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/documents/operations.rb +3 -0
- data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +3 -0
- data/lib/google/cloud/dialogflow/v2/environments/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/intents/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/intents/operations.rb +3 -0
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/participants/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/sessions/client.rb +14 -0
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/versions/client.rb +14 -0
- data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +3 -3
- data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +2 -1
- data/proto_docs/google/cloud/dialogflow/v2/session.rb +5 -1
- metadata +32 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '00067869e005bf56e1e22e2548cd088e1b3080b061bb3daae56b3c506aa58994'
|
4
|
+
data.tar.gz: b2cea0735bb44c5ad8e97bbdcc2be24aab4e3c5bb14b1b13529aaed3a1982dff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d76af6676a88377f46bf9eea4b5702b34193d7033cdb9cb640fda232fc2e79f96885267700cdb8fd5f61ae2e143999eced598234c416c3237bd88eae3e42622c
|
7
|
+
data.tar.gz: 25d540069bcc237f7fa2801a572be60d36e1dc48e7833635557acaecaaa9236ca10cf5726afaf93aadb70ace5dc034e2305c1c717be5e0ce250d4ff6a4f133d1
|
data/README.md
CHANGED
@@ -69,16 +69,21 @@ module GRPC
|
|
69
69
|
end
|
70
70
|
```
|
71
71
|
|
72
|
+
|
73
|
+
## Google Cloud Samples
|
74
|
+
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
|
+
|
72
77
|
## Supported Ruby Versions
|
73
78
|
|
74
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
75
80
|
|
76
81
|
Google provides official support for Ruby versions that are actively supported
|
77
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life.
|
79
|
-
|
80
|
-
|
81
|
-
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
84
|
+
still work, but are unsupported and not recommended. See
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
86
|
+
support schedule.
|
82
87
|
|
83
88
|
## Which client should I use?
|
84
89
|
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/agent_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -144,6 +145,12 @@ module Google
|
|
144
145
|
config.endpoint = @config.endpoint
|
145
146
|
end
|
146
147
|
|
148
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
149
|
+
config.credentials = credentials
|
150
|
+
config.quota_project = @quota_project_id
|
151
|
+
config.endpoint = @config.endpoint
|
152
|
+
end
|
153
|
+
|
147
154
|
@agents_stub = ::Gapic::ServiceStub.new(
|
148
155
|
::Google::Cloud::Dialogflow::V2::Agents::Stub,
|
149
156
|
credentials: credentials,
|
@@ -160,6 +167,13 @@ module Google
|
|
160
167
|
#
|
161
168
|
attr_reader :operations_client
|
162
169
|
|
170
|
+
##
|
171
|
+
# Get the associated client for mix-in of the Locations.
|
172
|
+
#
|
173
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
174
|
+
#
|
175
|
+
attr_reader :location_client
|
176
|
+
|
163
177
|
# Service calls
|
164
178
|
|
165
179
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/answer_record_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -138,6 +139,12 @@ module Google
|
|
138
139
|
@quota_project_id = @config.quota_project
|
139
140
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
140
141
|
|
142
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
143
|
+
config.credentials = credentials
|
144
|
+
config.quota_project = @quota_project_id
|
145
|
+
config.endpoint = @config.endpoint
|
146
|
+
end
|
147
|
+
|
141
148
|
@answer_records_stub = ::Gapic::ServiceStub.new(
|
142
149
|
::Google::Cloud::Dialogflow::V2::AnswerRecords::Stub,
|
143
150
|
credentials: credentials,
|
@@ -147,6 +154,13 @@ module Google
|
|
147
154
|
)
|
148
155
|
end
|
149
156
|
|
157
|
+
##
|
158
|
+
# Get the associated client for mix-in of the Locations.
|
159
|
+
#
|
160
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
161
|
+
#
|
162
|
+
attr_reader :location_client
|
163
|
+
|
150
164
|
# Service calls
|
151
165
|
|
152
166
|
##
|
@@ -173,9 +187,9 @@ module Google
|
|
173
187
|
# chronological order. Format: `projects/<Project ID>/locations/<Location
|
174
188
|
# ID>`.
|
175
189
|
# @param filter [::String]
|
176
|
-
#
|
177
|
-
#
|
178
|
-
#
|
190
|
+
# Optional. Filters to restrict results to specific answer records.
|
191
|
+
#
|
192
|
+
# Marked deprecated as it hasn't been, and isn't currently, supported.
|
179
193
|
#
|
180
194
|
# For more information about filtering, see
|
181
195
|
# [API Filtering](https://aip.dev/160).
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/context_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -138,6 +139,12 @@ module Google
|
|
138
139
|
@quota_project_id = @config.quota_project
|
139
140
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
140
141
|
|
142
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
143
|
+
config.credentials = credentials
|
144
|
+
config.quota_project = @quota_project_id
|
145
|
+
config.endpoint = @config.endpoint
|
146
|
+
end
|
147
|
+
|
141
148
|
@contexts_stub = ::Gapic::ServiceStub.new(
|
142
149
|
::Google::Cloud::Dialogflow::V2::Contexts::Stub,
|
143
150
|
credentials: credentials,
|
@@ -147,6 +154,13 @@ module Google
|
|
147
154
|
)
|
148
155
|
end
|
149
156
|
|
157
|
+
##
|
158
|
+
# Get the associated client for mix-in of the Locations.
|
159
|
+
#
|
160
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
161
|
+
#
|
162
|
+
attr_reader :location_client
|
163
|
+
|
150
164
|
# Service calls
|
151
165
|
|
152
166
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/conversation_dataset_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -147,6 +148,12 @@ module Google
|
|
147
148
|
config.endpoint = @config.endpoint
|
148
149
|
end
|
149
150
|
|
151
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
152
|
+
config.credentials = credentials
|
153
|
+
config.quota_project = @quota_project_id
|
154
|
+
config.endpoint = @config.endpoint
|
155
|
+
end
|
156
|
+
|
150
157
|
@conversation_datasets_stub = ::Gapic::ServiceStub.new(
|
151
158
|
::Google::Cloud::Dialogflow::V2::ConversationDatasets::Stub,
|
152
159
|
credentials: credentials,
|
@@ -163,6 +170,13 @@ module Google
|
|
163
170
|
#
|
164
171
|
attr_reader :operations_client
|
165
172
|
|
173
|
+
##
|
174
|
+
# Get the associated client for mix-in of the Locations.
|
175
|
+
#
|
176
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
177
|
+
#
|
178
|
+
attr_reader :location_client
|
179
|
+
|
166
180
|
# Service calls
|
167
181
|
|
168
182
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/conversation_model_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -144,6 +145,12 @@ module Google
|
|
144
145
|
config.endpoint = @config.endpoint
|
145
146
|
end
|
146
147
|
|
148
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
149
|
+
config.credentials = credentials
|
150
|
+
config.quota_project = @quota_project_id
|
151
|
+
config.endpoint = @config.endpoint
|
152
|
+
end
|
153
|
+
|
147
154
|
@conversation_models_stub = ::Gapic::ServiceStub.new(
|
148
155
|
::Google::Cloud::Dialogflow::V2::ConversationModels::Stub,
|
149
156
|
credentials: credentials,
|
@@ -160,6 +167,13 @@ module Google
|
|
160
167
|
#
|
161
168
|
attr_reader :operations_client
|
162
169
|
|
170
|
+
##
|
171
|
+
# Get the associated client for mix-in of the Locations.
|
172
|
+
#
|
173
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
174
|
+
#
|
175
|
+
attr_reader :location_client
|
176
|
+
|
163
177
|
# Service calls
|
164
178
|
|
165
179
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/conversation_profile_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -144,6 +145,12 @@ module Google
|
|
144
145
|
config.endpoint = @config.endpoint
|
145
146
|
end
|
146
147
|
|
148
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
149
|
+
config.credentials = credentials
|
150
|
+
config.quota_project = @quota_project_id
|
151
|
+
config.endpoint = @config.endpoint
|
152
|
+
end
|
153
|
+
|
147
154
|
@conversation_profiles_stub = ::Gapic::ServiceStub.new(
|
148
155
|
::Google::Cloud::Dialogflow::V2::ConversationProfiles::Stub,
|
149
156
|
credentials: credentials,
|
@@ -160,6 +167,13 @@ module Google
|
|
160
167
|
#
|
161
168
|
attr_reader :operations_client
|
162
169
|
|
170
|
+
##
|
171
|
+
# Get the associated client for mix-in of the Locations.
|
172
|
+
#
|
173
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
174
|
+
#
|
175
|
+
attr_reader :location_client
|
176
|
+
|
163
177
|
# Service calls
|
164
178
|
|
165
179
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/conversation_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -138,6 +139,12 @@ module Google
|
|
138
139
|
@quota_project_id = @config.quota_project
|
139
140
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
140
141
|
|
142
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
143
|
+
config.credentials = credentials
|
144
|
+
config.quota_project = @quota_project_id
|
145
|
+
config.endpoint = @config.endpoint
|
146
|
+
end
|
147
|
+
|
141
148
|
@conversations_stub = ::Gapic::ServiceStub.new(
|
142
149
|
::Google::Cloud::Dialogflow::V2::Conversations::Stub,
|
143
150
|
credentials: credentials,
|
@@ -147,6 +154,13 @@ module Google
|
|
147
154
|
)
|
148
155
|
end
|
149
156
|
|
157
|
+
##
|
158
|
+
# Get the associated client for mix-in of the Locations.
|
159
|
+
#
|
160
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
161
|
+
#
|
162
|
+
attr_reader :location_client
|
163
|
+
|
150
164
|
# Service calls
|
151
165
|
|
152
166
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/document_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -144,6 +145,12 @@ module Google
|
|
144
145
|
config.endpoint = @config.endpoint
|
145
146
|
end
|
146
147
|
|
148
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
149
|
+
config.credentials = credentials
|
150
|
+
config.quota_project = @quota_project_id
|
151
|
+
config.endpoint = @config.endpoint
|
152
|
+
end
|
153
|
+
|
147
154
|
@documents_stub = ::Gapic::ServiceStub.new(
|
148
155
|
::Google::Cloud::Dialogflow::V2::Documents::Stub,
|
149
156
|
credentials: credentials,
|
@@ -160,6 +167,13 @@ module Google
|
|
160
167
|
#
|
161
168
|
attr_reader :operations_client
|
162
169
|
|
170
|
+
##
|
171
|
+
# Get the associated client for mix-in of the Locations.
|
172
|
+
#
|
173
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
174
|
+
#
|
175
|
+
attr_reader :location_client
|
176
|
+
|
163
177
|
# Service calls
|
164
178
|
|
165
179
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/entity_type_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -144,6 +145,12 @@ module Google
|
|
144
145
|
config.endpoint = @config.endpoint
|
145
146
|
end
|
146
147
|
|
148
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
149
|
+
config.credentials = credentials
|
150
|
+
config.quota_project = @quota_project_id
|
151
|
+
config.endpoint = @config.endpoint
|
152
|
+
end
|
153
|
+
|
147
154
|
@entity_types_stub = ::Gapic::ServiceStub.new(
|
148
155
|
::Google::Cloud::Dialogflow::V2::EntityTypes::Stub,
|
149
156
|
credentials: credentials,
|
@@ -160,6 +167,13 @@ module Google
|
|
160
167
|
#
|
161
168
|
attr_reader :operations_client
|
162
169
|
|
170
|
+
##
|
171
|
+
# Get the associated client for mix-in of the Locations.
|
172
|
+
#
|
173
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
174
|
+
#
|
175
|
+
attr_reader :location_client
|
176
|
+
|
163
177
|
# Service calls
|
164
178
|
|
165
179
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/environment_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -138,6 +139,12 @@ module Google
|
|
138
139
|
@quota_project_id = @config.quota_project
|
139
140
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
140
141
|
|
142
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
143
|
+
config.credentials = credentials
|
144
|
+
config.quota_project = @quota_project_id
|
145
|
+
config.endpoint = @config.endpoint
|
146
|
+
end
|
147
|
+
|
141
148
|
@environments_stub = ::Gapic::ServiceStub.new(
|
142
149
|
::Google::Cloud::Dialogflow::V2::Environments::Stub,
|
143
150
|
credentials: credentials,
|
@@ -147,6 +154,13 @@ module Google
|
|
147
154
|
)
|
148
155
|
end
|
149
156
|
|
157
|
+
##
|
158
|
+
# Get the associated client for mix-in of the Locations.
|
159
|
+
#
|
160
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
161
|
+
#
|
162
|
+
attr_reader :location_client
|
163
|
+
|
150
164
|
# Service calls
|
151
165
|
|
152
166
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/fulfillment_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -138,6 +139,12 @@ module Google
|
|
138
139
|
@quota_project_id = @config.quota_project
|
139
140
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
140
141
|
|
142
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
143
|
+
config.credentials = credentials
|
144
|
+
config.quota_project = @quota_project_id
|
145
|
+
config.endpoint = @config.endpoint
|
146
|
+
end
|
147
|
+
|
141
148
|
@fulfillments_stub = ::Gapic::ServiceStub.new(
|
142
149
|
::Google::Cloud::Dialogflow::V2::Fulfillments::Stub,
|
143
150
|
credentials: credentials,
|
@@ -147,6 +154,13 @@ module Google
|
|
147
154
|
)
|
148
155
|
end
|
149
156
|
|
157
|
+
##
|
158
|
+
# Get the associated client for mix-in of the Locations.
|
159
|
+
#
|
160
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
161
|
+
#
|
162
|
+
attr_reader :location_client
|
163
|
+
|
150
164
|
# Service calls
|
151
165
|
|
152
166
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/intent_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -144,6 +145,12 @@ module Google
|
|
144
145
|
config.endpoint = @config.endpoint
|
145
146
|
end
|
146
147
|
|
148
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
149
|
+
config.credentials = credentials
|
150
|
+
config.quota_project = @quota_project_id
|
151
|
+
config.endpoint = @config.endpoint
|
152
|
+
end
|
153
|
+
|
147
154
|
@intents_stub = ::Gapic::ServiceStub.new(
|
148
155
|
::Google::Cloud::Dialogflow::V2::Intents::Stub,
|
149
156
|
credentials: credentials,
|
@@ -160,6 +167,13 @@ module Google
|
|
160
167
|
#
|
161
168
|
attr_reader :operations_client
|
162
169
|
|
170
|
+
##
|
171
|
+
# Get the associated client for mix-in of the Locations.
|
172
|
+
#
|
173
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
174
|
+
#
|
175
|
+
attr_reader :location_client
|
176
|
+
|
163
177
|
# Service calls
|
164
178
|
|
165
179
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/knowledge_base_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -138,6 +139,12 @@ module Google
|
|
138
139
|
@quota_project_id = @config.quota_project
|
139
140
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
140
141
|
|
142
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
143
|
+
config.credentials = credentials
|
144
|
+
config.quota_project = @quota_project_id
|
145
|
+
config.endpoint = @config.endpoint
|
146
|
+
end
|
147
|
+
|
141
148
|
@knowledge_bases_stub = ::Gapic::ServiceStub.new(
|
142
149
|
::Google::Cloud::Dialogflow::V2::KnowledgeBases::Stub,
|
143
150
|
credentials: credentials,
|
@@ -147,6 +154,13 @@ module Google
|
|
147
154
|
)
|
148
155
|
end
|
149
156
|
|
157
|
+
##
|
158
|
+
# Get the associated client for mix-in of the Locations.
|
159
|
+
#
|
160
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
161
|
+
#
|
162
|
+
attr_reader :location_client
|
163
|
+
|
150
164
|
# Service calls
|
151
165
|
|
152
166
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/participant_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -143,6 +144,12 @@ module Google
|
|
143
144
|
@quota_project_id = @config.quota_project
|
144
145
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
145
146
|
|
147
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
148
|
+
config.credentials = credentials
|
149
|
+
config.quota_project = @quota_project_id
|
150
|
+
config.endpoint = @config.endpoint
|
151
|
+
end
|
152
|
+
|
146
153
|
@participants_stub = ::Gapic::ServiceStub.new(
|
147
154
|
::Google::Cloud::Dialogflow::V2::Participants::Stub,
|
148
155
|
credentials: credentials,
|
@@ -152,6 +159,13 @@ module Google
|
|
152
159
|
)
|
153
160
|
end
|
154
161
|
|
162
|
+
##
|
163
|
+
# Get the associated client for mix-in of the Locations.
|
164
|
+
#
|
165
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
166
|
+
#
|
167
|
+
attr_reader :location_client
|
168
|
+
|
155
169
|
# Service calls
|
156
170
|
|
157
171
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/session_entity_type_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -138,6 +139,12 @@ module Google
|
|
138
139
|
@quota_project_id = @config.quota_project
|
139
140
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
140
141
|
|
142
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
143
|
+
config.credentials = credentials
|
144
|
+
config.quota_project = @quota_project_id
|
145
|
+
config.endpoint = @config.endpoint
|
146
|
+
end
|
147
|
+
|
141
148
|
@session_entity_types_stub = ::Gapic::ServiceStub.new(
|
142
149
|
::Google::Cloud::Dialogflow::V2::SessionEntityTypes::Stub,
|
143
150
|
credentials: credentials,
|
@@ -147,6 +154,13 @@ module Google
|
|
147
154
|
)
|
148
155
|
end
|
149
156
|
|
157
|
+
##
|
158
|
+
# Get the associated client for mix-in of the Locations.
|
159
|
+
#
|
160
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
161
|
+
#
|
162
|
+
attr_reader :location_client
|
163
|
+
|
150
164
|
# Service calls
|
151
165
|
|
152
166
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/session_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -148,6 +149,12 @@ module Google
|
|
148
149
|
@quota_project_id = @config.quota_project
|
149
150
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
150
151
|
|
152
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
153
|
+
config.credentials = credentials
|
154
|
+
config.quota_project = @quota_project_id
|
155
|
+
config.endpoint = @config.endpoint
|
156
|
+
end
|
157
|
+
|
151
158
|
@sessions_stub = ::Gapic::ServiceStub.new(
|
152
159
|
::Google::Cloud::Dialogflow::V2::Sessions::Stub,
|
153
160
|
credentials: credentials,
|
@@ -157,6 +164,13 @@ module Google
|
|
157
164
|
)
|
158
165
|
end
|
159
166
|
|
167
|
+
##
|
168
|
+
# Get the associated client for mix-in of the Locations.
|
169
|
+
#
|
170
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
171
|
+
#
|
172
|
+
attr_reader :location_client
|
173
|
+
|
160
174
|
# Service calls
|
161
175
|
|
162
176
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/v2/version_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -138,6 +139,12 @@ module Google
|
|
138
139
|
@quota_project_id = @config.quota_project
|
139
140
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
140
141
|
|
142
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
143
|
+
config.credentials = credentials
|
144
|
+
config.quota_project = @quota_project_id
|
145
|
+
config.endpoint = @config.endpoint
|
146
|
+
end
|
147
|
+
|
141
148
|
@versions_stub = ::Gapic::ServiceStub.new(
|
142
149
|
::Google::Cloud::Dialogflow::V2::Versions::Stub,
|
143
150
|
credentials: credentials,
|
@@ -147,6 +154,13 @@ module Google
|
|
147
154
|
)
|
148
155
|
end
|
149
156
|
|
157
|
+
##
|
158
|
+
# Get the associated client for mix-in of the Locations.
|
159
|
+
#
|
160
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
161
|
+
#
|
162
|
+
attr_reader :location_client
|
163
|
+
|
150
164
|
# Service calls
|
151
165
|
|
152
166
|
##
|
@@ -73,9 +73,9 @@ module Google
|
|
73
73
|
# ID>`.
|
74
74
|
# @!attribute [rw] filter
|
75
75
|
# @return [::String]
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
76
|
+
# Optional. Filters to restrict results to specific answer records.
|
77
|
+
#
|
78
|
+
# Marked deprecated as it hasn't been, and isn't currently, supported.
|
79
79
|
#
|
80
80
|
# For more information about filtering, see
|
81
81
|
# [API Filtering](https://aip.dev/160).
|
@@ -380,7 +380,8 @@ module Google
|
|
380
380
|
|
381
381
|
# Custom conversation models used in agent assist feature.
|
382
382
|
#
|
383
|
-
# Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY
|
383
|
+
# Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY,
|
384
|
+
# CONVERSATION_SUMMARIZATION.
|
384
385
|
# @!attribute [rw] model
|
385
386
|
# @return [::String]
|
386
387
|
# Conversation model resource name. Format: `projects/<Project
|
@@ -251,7 +251,8 @@ module Google
|
|
251
251
|
# @!attribute [rw] cancels_slot_filling
|
252
252
|
# @return [::Boolean]
|
253
253
|
# Indicates whether the conversational query triggers a cancellation for slot
|
254
|
-
# filling.
|
254
|
+
# filling. For more information, see the [cancel slot filling
|
255
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/intents-actions-parameters#cancel).
|
255
256
|
# @!attribute [rw] fulfillment_text
|
256
257
|
# @return [::String]
|
257
258
|
# The text to be pronounced to the user or shown on the screen.
|
@@ -541,6 +542,9 @@ module Google
|
|
541
542
|
end
|
542
543
|
end
|
543
544
|
|
545
|
+
# ============================================================================
|
546
|
+
# Auxiliary proto messages.
|
547
|
+
#
|
544
548
|
# Represents the natural language text to be processed.
|
545
549
|
# @!attribute [rw] text
|
546
550
|
# @return [::String]
|
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.17.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-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.10'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.10'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -44,34 +44,54 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.0'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.0'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
47
67
|
- !ruby/object:Gem::Dependency
|
48
68
|
name: google-style
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|
50
70
|
requirements:
|
51
71
|
- - "~>"
|
52
72
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
73
|
+
version: 1.26.1
|
54
74
|
type: :development
|
55
75
|
prerelease: false
|
56
76
|
version_requirements: !ruby/object:Gem::Requirement
|
57
77
|
requirements:
|
58
78
|
- - "~>"
|
59
79
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.
|
80
|
+
version: 1.26.1
|
61
81
|
- !ruby/object:Gem::Dependency
|
62
82
|
name: minitest
|
63
83
|
requirement: !ruby/object:Gem::Requirement
|
64
84
|
requirements:
|
65
85
|
- - "~>"
|
66
86
|
- !ruby/object:Gem::Version
|
67
|
-
version: '5.
|
87
|
+
version: '5.16'
|
68
88
|
type: :development
|
69
89
|
prerelease: false
|
70
90
|
version_requirements: !ruby/object:Gem::Requirement
|
71
91
|
requirements:
|
72
92
|
- - "~>"
|
73
93
|
- !ruby/object:Gem::Version
|
74
|
-
version: '5.
|
94
|
+
version: '5.16'
|
75
95
|
- !ruby/object:Gem::Dependency
|
76
96
|
name: minitest-focus
|
77
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +126,14 @@ dependencies:
|
|
106
126
|
requirements:
|
107
127
|
- - ">="
|
108
128
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
129
|
+
version: '13.0'
|
110
130
|
type: :development
|
111
131
|
prerelease: false
|
112
132
|
version_requirements: !ruby/object:Gem::Requirement
|
113
133
|
requirements:
|
114
134
|
- - ">="
|
115
135
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
136
|
+
version: '13.0'
|
117
137
|
- !ruby/object:Gem::Dependency
|
118
138
|
name: redcarpet
|
119
139
|
requirement: !ruby/object:Gem::Requirement
|
@@ -338,14 +358,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
338
358
|
requirements:
|
339
359
|
- - ">="
|
340
360
|
- !ruby/object:Gem::Version
|
341
|
-
version: '2.
|
361
|
+
version: '2.6'
|
342
362
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
343
363
|
requirements:
|
344
364
|
- - ">="
|
345
365
|
- !ruby/object:Gem::Version
|
346
366
|
version: '0'
|
347
367
|
requirements: []
|
348
|
-
rubygems_version: 3.3.
|
368
|
+
rubygems_version: 3.3.14
|
349
369
|
signing_key:
|
350
370
|
specification_version: 4
|
351
371
|
summary: API Client library for the Dialogflow V2 API
|