google-apis-dialogflow_v2beta1 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dialogflow_v2beta1.rb +1 -1
- data/lib/google/apis/dialogflow_v2beta1/classes.rb +33 -4
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +15 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +6 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 142d5f4a2bbd5e14bfa25907a132a5936db346ea737ed5915a62cf312b276a09
|
4
|
+
data.tar.gz: 93eab5e693d95532037c6dd70e18077d78f92e78605bd8e4d89551dc90625114
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3baf3c554ddfeac1aa91563bdfc70aa956be3149850a959d6687ae3c48f488f0b47de47da841cc4d792d6c4e43d4a4d7e920c22880db96d3f20b0160d0064122
|
7
|
+
data.tar.gz: 4df6842f1d7e434c3592b8982338298558b3df7a182c5f9757e0a18022cf50a4c32b8e16ed8611174011ddf63690cc1d7d9f1816cef51b390949f3839bdb7519
|
data/CHANGELOG.md
CHANGED
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V2beta1'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
|
36
36
|
# View, manage and query your Dialogflow agents
|
@@ -2128,7 +2128,8 @@ module Google
|
|
2128
2128
|
end
|
2129
2129
|
end
|
2130
2130
|
|
2131
|
-
# The request message for a webhook call.
|
2131
|
+
# The request message for a webhook call. The request is sent as a JSON object
|
2132
|
+
# and the field names will be presented in camel cases.
|
2132
2133
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
2133
2134
|
include Google::Apis::Core::Hashable
|
2134
2135
|
|
@@ -4486,7 +4487,8 @@ module Google
|
|
4486
4487
|
end
|
4487
4488
|
end
|
4488
4489
|
|
4489
|
-
# The request message for a webhook call.
|
4490
|
+
# The request message for a webhook call. The request is sent as a JSON object
|
4491
|
+
# and the field names will be presented in camel cases.
|
4490
4492
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
4491
4493
|
include Google::Apis::Core::Hashable
|
4492
4494
|
|
@@ -8974,7 +8976,8 @@ module Google
|
|
8974
8976
|
class GoogleCloudDialogflowV2beta1Fulfillment
|
8975
8977
|
include Google::Apis::Core::Hashable
|
8976
8978
|
|
8977
|
-
# The human-readable name of the fulfillment, unique within the agent.
|
8979
|
+
# The human-readable name of the fulfillment, unique within the agent. This
|
8980
|
+
# field is not used for Fulfillment in an Environment.
|
8978
8981
|
# Corresponds to the JSON property `displayName`
|
8979
8982
|
# @return [String]
|
8980
8983
|
attr_accessor :display_name
|
@@ -9000,7 +9003,8 @@ module Google
|
|
9000
9003
|
attr_accessor :generic_web_service
|
9001
9004
|
|
9002
9005
|
# Required. The unique identifier of the fulfillment. Supported formats: - `
|
9003
|
-
# projects//agent/fulfillment` - `projects//locations//agent/fulfillment`
|
9006
|
+
# projects//agent/fulfillment` - `projects//locations//agent/fulfillment` This
|
9007
|
+
# field is not used for Fulfillment in an Environment.
|
9004
9008
|
# Corresponds to the JSON property `name`
|
9005
9009
|
# @return [String]
|
9006
9010
|
attr_accessor :name
|
@@ -12287,6 +12291,11 @@ module Google
|
|
12287
12291
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig]
|
12288
12292
|
attr_accessor :audio_config
|
12289
12293
|
|
12294
|
+
# A wrapper of repeated TelephonyDtmf digits.
|
12295
|
+
# Corresponds to the JSON property `dtmf`
|
12296
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents]
|
12297
|
+
attr_accessor :dtmf
|
12298
|
+
|
12290
12299
|
# Events allow for matching intents by event name instead of the natural
|
12291
12300
|
# language input. For instance, input `` can trigger a personalized welcome
|
12292
12301
|
# response. The parameter `name` may be used by the agent in the response: `"
|
@@ -12307,6 +12316,7 @@ module Google
|
|
12307
12316
|
# Update properties of this object
|
12308
12317
|
def update!(**args)
|
12309
12318
|
@audio_config = args[:audio_config] if args.key?(:audio_config)
|
12319
|
+
@dtmf = args[:dtmf] if args.key?(:dtmf)
|
12310
12320
|
@event = args[:event] if args.key?(:event)
|
12311
12321
|
@text = args[:text] if args.key?(:text)
|
12312
12322
|
end
|
@@ -13452,6 +13462,25 @@ module Google
|
|
13452
13462
|
end
|
13453
13463
|
end
|
13454
13464
|
|
13465
|
+
# A wrapper of repeated TelephonyDtmf digits.
|
13466
|
+
class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
|
13467
|
+
include Google::Apis::Core::Hashable
|
13468
|
+
|
13469
|
+
# A sequence of TelephonyDtmf digits.
|
13470
|
+
# Corresponds to the JSON property `dtmfEvents`
|
13471
|
+
# @return [Array<String>]
|
13472
|
+
attr_accessor :dtmf_events
|
13473
|
+
|
13474
|
+
def initialize(**args)
|
13475
|
+
update!(**args)
|
13476
|
+
end
|
13477
|
+
|
13478
|
+
# Update properties of this object
|
13479
|
+
def update!(**args)
|
13480
|
+
@dtmf_events = args[:dtmf_events] if args.key?(:dtmf_events)
|
13481
|
+
end
|
13482
|
+
end
|
13483
|
+
|
13455
13484
|
# Represents the natural language text to be processed.
|
13456
13485
|
class GoogleCloudDialogflowV2beta1TextInput
|
13457
13486
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2beta1
|
18
18
|
# Version of the google-apis-dialogflow_v2beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210320"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2206,6 +2206,12 @@ module Google
|
|
2206
2206
|
include Google::Apis::Core::JsonObjectSupport
|
2207
2207
|
end
|
2208
2208
|
|
2209
|
+
class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
|
2210
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2211
|
+
|
2212
|
+
include Google::Apis::Core::JsonObjectSupport
|
2213
|
+
end
|
2214
|
+
|
2209
2215
|
class GoogleCloudDialogflowV2beta1TextInput
|
2210
2216
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2211
2217
|
|
@@ -5711,6 +5717,8 @@ module Google
|
|
5711
5717
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5712
5718
|
property :audio_config, as: 'audioConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig::Representation
|
5713
5719
|
|
5720
|
+
property :dtmf, as: 'dtmf', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents::Representation
|
5721
|
+
|
5714
5722
|
property :event, as: 'event', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput::Representation
|
5715
5723
|
|
5716
5724
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput::Representation
|
@@ -6015,6 +6023,13 @@ module Google
|
|
6015
6023
|
end
|
6016
6024
|
end
|
6017
6025
|
|
6026
|
+
class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
|
6027
|
+
# @private
|
6028
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6029
|
+
collection :dtmf_events, as: 'dtmfEvents'
|
6030
|
+
end
|
6031
|
+
end
|
6032
|
+
|
6018
6033
|
class GoogleCloudDialogflowV2beta1TextInput
|
6019
6034
|
# @private
|
6020
6035
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -414,7 +414,8 @@ module Google
|
|
414
414
|
# Updates the fulfillment.
|
415
415
|
# @param [String] name
|
416
416
|
# Required. The unique identifier of the fulfillment. Supported formats: - `
|
417
|
-
# projects//agent/fulfillment` - `projects//locations//agent/fulfillment`
|
417
|
+
# projects//agent/fulfillment` - `projects//locations//agent/fulfillment` This
|
418
|
+
# field is not used for Fulfillment in an Environment.
|
418
419
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] google_cloud_dialogflow_v2beta1_fulfillment_object
|
419
420
|
# @param [String] update_mask
|
420
421
|
# Required. The mask to control which fields get updated. If the mask is not
|
@@ -3137,7 +3138,7 @@ module Google
|
|
3137
3138
|
# Adds a text (chat, for example), or audio (phone recording, for example)
|
3138
3139
|
# message from a participant into the conversation. Note: Always use agent
|
3139
3140
|
# versions for production traffic sent to virtual agents. See [Versions and
|
3140
|
-
# environments(https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
3141
|
+
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
3141
3142
|
# @param [String] participant
|
3142
3143
|
# Required. The name of the participant this text comes from. Format: `projects//
|
3143
3144
|
# locations//conversations//participants/`.
|
@@ -4345,7 +4346,8 @@ module Google
|
|
4345
4346
|
# Updates the fulfillment.
|
4346
4347
|
# @param [String] name
|
4347
4348
|
# Required. The unique identifier of the fulfillment. Supported formats: - `
|
4348
|
-
# projects//agent/fulfillment` - `projects//locations//agent/fulfillment`
|
4349
|
+
# projects//agent/fulfillment` - `projects//locations//agent/fulfillment` This
|
4350
|
+
# field is not used for Fulfillment in an Environment.
|
4349
4351
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] google_cloud_dialogflow_v2beta1_fulfillment_object
|
4350
4352
|
# @param [String] update_mask
|
4351
4353
|
# Required. The mask to control which fields get updated. If the mask is not
|
@@ -6586,7 +6588,7 @@ module Google
|
|
6586
6588
|
# Adds a text (chat, for example), or audio (phone recording, for example)
|
6587
6589
|
# message from a participant into the conversation. Note: Always use agent
|
6588
6590
|
# versions for production traffic sent to virtual agents. See [Versions and
|
6589
|
-
# environments(https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
6591
|
+
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
6590
6592
|
# @param [String] participant
|
6591
6593
|
# Required. The name of the participant this text comes from. Format: `projects//
|
6592
6594
|
# locations//conversations//participants/`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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: 2021-03-
|
11
|
+
date: 2021-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.9.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|