google-cloud-dialogflow-v2 0.4.0 → 0.4.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7b82709afedacbe0f56ca44aa0672e496501f7f577724b4ecd6f254935712ae
4
- data.tar.gz: d2fb17fecc2e54e01e3ab7c0ddc39e298ce4597f088c66e894fec5432230f48b
3
+ metadata.gz: 23f87a6406584a8ce3ed90d891e6a83d834ddbdb2f4ba082a07e0b09aa57d0a5
4
+ data.tar.gz: cc55c08c88c43b5890c964df5b880f57323165a9142a94de8236c05880d4a94b
5
5
  SHA512:
6
- metadata.gz: bf6ae2afc93029fdc525c22c5ef785880c2493bfff9edce2370b65a4d6bb8f9ca6043f14006da9a7b35ebf95b8dfca510778eebdf91edef7143745aa1d6e2e2c
7
- data.tar.gz: e5227e577dc00c5945c161278e54b09ee8895206bb8abd4b4e8d18afed3a52a9fd37edfae9067b0e7757d2d19f58bfeb172ba0d1dac74474baef3396bb412767
6
+ metadata.gz: 523cdda865be782ef149d04931046f9633ad73d74f55c9dc62e33caa0a6d65d546c1a67bcb3090807d50d211e2996ddd83493808a49a851b34a5ea1002536912
7
+ data.tar.gz: b2f2d2c61a972660f885685244cd004e18273d689800b1d55ced22d378b8592e270f4d7c6edced51fb0dd3cf895b958cbcb2549c513f870761e1f68be3c41a1e
@@ -38,7 +38,7 @@ module Google
38
38
  # user in a natural way.
39
39
  #
40
40
  # After you create an agent, you can add {Google::Cloud::Dialogflow::V2::Intents::Client Intents}, {Google::Cloud::Dialogflow::V2::Contexts::Client Contexts},
41
- # [Entity Types][google.cloud.dialogflow.v2.EntityTypes], {Google::Cloud::Dialogflow::V2::WebhookRequest Webhooks}, and so on to
41
+ # {Google::Cloud::Dialogflow::V2::EntityTypes::Client Entity Types}, {Google::Cloud::Dialogflow::V2::WebhookRequest Webhooks}, and so on to
42
42
  # manage the flow of a conversation and match user input to predefined intents
43
43
  # and actions.
44
44
  #
@@ -33,7 +33,7 @@ module Google
33
33
  # user in a natural way.
34
34
  #
35
35
  # After you create an agent, you can add {Google::Cloud::Dialogflow::V2::Intents::Client Intents}, {Google::Cloud::Dialogflow::V2::Contexts::Client Contexts},
36
- # [Entity Types][google.cloud.dialogflow.v2.EntityTypes], {Google::Cloud::Dialogflow::V2::WebhookRequest Webhooks}, and so on to
36
+ # {Google::Cloud::Dialogflow::V2::EntityTypes::Client Entity Types}, {Google::Cloud::Dialogflow::V2::WebhookRequest Webhooks}, and so on to
37
37
  # manage the flow of a conversation and match user input to predefined intents
38
38
  # and actions.
39
39
  #
@@ -219,6 +219,7 @@ module Google
219
219
 
220
220
  @operations_client = Operations.new do |config|
221
221
  config.credentials = credentials
222
+ config.endpoint = @config.endpoint
222
223
  end
223
224
 
224
225
  @agents_stub = Gapic::ServiceStub.new(
@@ -230,6 +231,13 @@ module Google
230
231
  )
231
232
  end
232
233
 
234
+ ##
235
+ # Get the associated client for long-running operations.
236
+ #
237
+ # @return [Google::Cloud::Dialogflow::V2::Agents::Operations]
238
+ #
239
+ attr_reader :operations_client
240
+
233
241
  # Service calls
234
242
 
235
243
  ##
@@ -211,6 +211,7 @@ module Google
211
211
 
212
212
  @operations_client = Operations.new do |config|
213
213
  config.credentials = credentials
214
+ config.endpoint = @config.endpoint
214
215
  end
215
216
 
216
217
  @entity_types_stub = Gapic::ServiceStub.new(
@@ -222,6 +223,13 @@ module Google
222
223
  )
223
224
  end
224
225
 
226
+ ##
227
+ # Get the associated client for long-running operations.
228
+ #
229
+ # @return [Google::Cloud::Dialogflow::V2::EntityTypes::Operations]
230
+ #
231
+ attr_reader :operations_client
232
+
225
233
  # Service calls
226
234
 
227
235
  ##
@@ -203,6 +203,7 @@ module Google
203
203
 
204
204
  @operations_client = Operations.new do |config|
205
205
  config.credentials = credentials
206
+ config.endpoint = @config.endpoint
206
207
  end
207
208
 
208
209
  @intents_stub = Gapic::ServiceStub.new(
@@ -214,6 +215,13 @@ module Google
214
215
  )
215
216
  end
216
217
 
218
+ ##
219
+ # Get the associated client for long-running operations.
220
+ #
221
+ # @return [Google::Cloud::Dialogflow::V2::Intents::Operations]
222
+ #
223
+ attr_reader :operations_client
224
+
217
225
  # Service calls
218
226
 
219
227
  ##
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module V2
24
- VERSION = "0.4.0"
24
+ VERSION = "0.4.1"
25
25
  end
26
26
  end
27
27
  end
@@ -138,7 +138,7 @@ module Google
138
138
  # for more details.
139
139
  # @!attribute [rw] model_variant
140
140
  # @return [Google::Cloud::Dialogflow::V2::SpeechModelVariant]
141
- # Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
141
+ # Which variant of the {Google::Cloud::Dialogflow::V2::InputAudioConfig#model Speech model} to use.
142
142
  # @!attribute [rw] single_utterance
143
143
  # @return [Boolean]
144
144
  # If `false` (default), recognition does not cease until the
@@ -279,7 +279,7 @@ module Google
279
279
  AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7
280
280
  end
281
281
 
282
- # Variant of the specified [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
282
+ # Variant of the specified {Google::Cloud::Dialogflow::V2::InputAudioConfig#model Speech model} to use.
283
283
  #
284
284
  # See the [Cloud Speech
285
285
  # documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
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.0
4
+ version: 0.4.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: 2020-04-13 00:00:00.000000000 Z
11
+ date: 2020-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common