google-apis-dialogflow_v2beta1 0.20.0 → 0.24.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 +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/dialogflow_v2beta1/classes.rb +478 -0
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +220 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +24 -12
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17f17433c1a203e5888b913c660699f61dd6e83ac34709ea4a443d1e408df690
|
4
|
+
data.tar.gz: 92b6062e79b03134f85c2d33d67ec9ac55a7ba119aff69d9986016b2abc47aed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a6d099cd69cbf8f7772c2889f585d6b60e68c9597489b9110eac7b8187e56d1d81dc44bfa968336552f32d54e8de02279f46f059e998a04893a24f502aaaabb
|
7
|
+
data.tar.gz: 62f1e8eef778f75b66de013ff680b06ffcd287c1ad1a15b4f496b7e46c342d44a40b46d55a562d68f65574aed1332ba1b0530de3b302519a8b4bc7c80ae55027
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2beta1
|
2
2
|
|
3
|
+
### v0.24.0 (2021-12-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211201
|
6
|
+
|
7
|
+
### v0.23.0 (2021-10-28)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211022
|
10
|
+
|
11
|
+
### v0.22.0 (2021-10-21)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211015
|
14
|
+
|
15
|
+
### v0.21.0 (2021-09-24)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210918
|
18
|
+
|
3
19
|
### v0.20.0 (2021-09-11)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210909
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Dialogflow service in particular.)
|
67
67
|
|
@@ -335,6 +335,57 @@ module Google
|
|
335
335
|
end
|
336
336
|
end
|
337
337
|
|
338
|
+
# Metadata returned for the Environments.DeployFlow long running operation.
|
339
|
+
class GoogleCloudDialogflowCxV3DeployFlowMetadata
|
340
|
+
include Google::Apis::Core::Hashable
|
341
|
+
|
342
|
+
# Errors of running deployment tests.
|
343
|
+
# Corresponds to the JSON property `testErrors`
|
344
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestError>]
|
345
|
+
attr_accessor :test_errors
|
346
|
+
|
347
|
+
def initialize(**args)
|
348
|
+
update!(**args)
|
349
|
+
end
|
350
|
+
|
351
|
+
# Update properties of this object
|
352
|
+
def update!(**args)
|
353
|
+
@test_errors = args[:test_errors] if args.key?(:test_errors)
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
# The response message for Environments.DeployFlow.
|
358
|
+
class GoogleCloudDialogflowCxV3DeployFlowResponse
|
359
|
+
include Google::Apis::Core::Hashable
|
360
|
+
|
361
|
+
# The name of the flow version Deployment. Format: `projects//locations//agents//
|
362
|
+
# environments//deployments/`.
|
363
|
+
# Corresponds to the JSON property `deployment`
|
364
|
+
# @return [String]
|
365
|
+
attr_accessor :deployment
|
366
|
+
|
367
|
+
# Represents an environment for an agent. You can create multiple versions of
|
368
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
369
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
370
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
371
|
+
# the draft agent, it is published to the default environment. When you create
|
372
|
+
# agent versions, you can publish them to custom environments. You can create a
|
373
|
+
# variety of custom environments for testing, development, production, etc.
|
374
|
+
# Corresponds to the JSON property `environment`
|
375
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Environment]
|
376
|
+
attr_accessor :environment
|
377
|
+
|
378
|
+
def initialize(**args)
|
379
|
+
update!(**args)
|
380
|
+
end
|
381
|
+
|
382
|
+
# Update properties of this object
|
383
|
+
def update!(**args)
|
384
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
385
|
+
@environment = args[:environment] if args.key?(:environment)
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
338
389
|
# Represents the input for dtmf event.
|
339
390
|
class GoogleCloudDialogflowCxV3DtmfInput
|
340
391
|
include Google::Apis::Core::Hashable
|
@@ -360,6 +411,121 @@ module Google
|
|
360
411
|
end
|
361
412
|
end
|
362
413
|
|
414
|
+
# Represents an environment for an agent. You can create multiple versions of
|
415
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
416
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
417
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
418
|
+
# the draft agent, it is published to the default environment. When you create
|
419
|
+
# agent versions, you can publish them to custom environments. You can create a
|
420
|
+
# variety of custom environments for testing, development, production, etc.
|
421
|
+
class GoogleCloudDialogflowCxV3Environment
|
422
|
+
include Google::Apis::Core::Hashable
|
423
|
+
|
424
|
+
# The human-readable description of the environment. The maximum length is 500
|
425
|
+
# characters. If exceeded, the request is rejected.
|
426
|
+
# Corresponds to the JSON property `description`
|
427
|
+
# @return [String]
|
428
|
+
attr_accessor :description
|
429
|
+
|
430
|
+
# Required. The human-readable name of the environment (unique in an agent).
|
431
|
+
# Limit of 64 characters.
|
432
|
+
# Corresponds to the JSON property `displayName`
|
433
|
+
# @return [String]
|
434
|
+
attr_accessor :display_name
|
435
|
+
|
436
|
+
# The name of the environment. Format: `projects//locations//agents//
|
437
|
+
# environments/`.
|
438
|
+
# Corresponds to the JSON property `name`
|
439
|
+
# @return [String]
|
440
|
+
attr_accessor :name
|
441
|
+
|
442
|
+
# The configuration for continuous tests.
|
443
|
+
# Corresponds to the JSON property `testCasesConfig`
|
444
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig]
|
445
|
+
attr_accessor :test_cases_config
|
446
|
+
|
447
|
+
# Output only. Update time of this environment.
|
448
|
+
# Corresponds to the JSON property `updateTime`
|
449
|
+
# @return [String]
|
450
|
+
attr_accessor :update_time
|
451
|
+
|
452
|
+
# Required. A list of configurations for flow versions. You should include
|
453
|
+
# version configs for all flows that are reachable from `Start Flow` in the
|
454
|
+
# agent. Otherwise, an error will be returned.
|
455
|
+
# Corresponds to the JSON property `versionConfigs`
|
456
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig>]
|
457
|
+
attr_accessor :version_configs
|
458
|
+
|
459
|
+
def initialize(**args)
|
460
|
+
update!(**args)
|
461
|
+
end
|
462
|
+
|
463
|
+
# Update properties of this object
|
464
|
+
def update!(**args)
|
465
|
+
@description = args[:description] if args.key?(:description)
|
466
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
467
|
+
@name = args[:name] if args.key?(:name)
|
468
|
+
@test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
|
469
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
470
|
+
@version_configs = args[:version_configs] if args.key?(:version_configs)
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
474
|
+
# The configuration for continuous tests.
|
475
|
+
class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
|
476
|
+
include Google::Apis::Core::Hashable
|
477
|
+
|
478
|
+
# Whether to run test cases in TestCasesConfig.test_cases periodically. Default
|
479
|
+
# false. If set to ture, run once a day.
|
480
|
+
# Corresponds to the JSON property `enableContinuousRun`
|
481
|
+
# @return [Boolean]
|
482
|
+
attr_accessor :enable_continuous_run
|
483
|
+
alias_method :enable_continuous_run?, :enable_continuous_run
|
484
|
+
|
485
|
+
# Whether to run test cases in TestCasesConfig.test_cases before deploying a
|
486
|
+
# flow version to the environment. Default false.
|
487
|
+
# Corresponds to the JSON property `enablePredeploymentRun`
|
488
|
+
# @return [Boolean]
|
489
|
+
attr_accessor :enable_predeployment_run
|
490
|
+
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
491
|
+
|
492
|
+
# A list of test case names to run. They should be under the same agent. Format
|
493
|
+
# of each test case name: `projects//locations/ /agents//testCases/`
|
494
|
+
# Corresponds to the JSON property `testCases`
|
495
|
+
# @return [Array<String>]
|
496
|
+
attr_accessor :test_cases
|
497
|
+
|
498
|
+
def initialize(**args)
|
499
|
+
update!(**args)
|
500
|
+
end
|
501
|
+
|
502
|
+
# Update properties of this object
|
503
|
+
def update!(**args)
|
504
|
+
@enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
|
505
|
+
@enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
|
506
|
+
@test_cases = args[:test_cases] if args.key?(:test_cases)
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
# Configuration for the version.
|
511
|
+
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
|
512
|
+
include Google::Apis::Core::Hashable
|
513
|
+
|
514
|
+
# Required. Format: projects//locations//agents//flows//versions/.
|
515
|
+
# Corresponds to the JSON property `version`
|
516
|
+
# @return [String]
|
517
|
+
attr_accessor :version
|
518
|
+
|
519
|
+
def initialize(**args)
|
520
|
+
update!(**args)
|
521
|
+
end
|
522
|
+
|
523
|
+
# Update properties of this object
|
524
|
+
def update!(**args)
|
525
|
+
@version = args[:version] if args.key?(:version)
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
363
529
|
# An event handler specifies an event that can be handled during a session. When
|
364
530
|
# the specified event happens, the following actions are taken in order: * If
|
365
531
|
# there is a `trigger_fulfillment` associated with the event, it will be called.
|
@@ -1594,6 +1760,12 @@ module Google
|
|
1594
1760
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
|
1595
1761
|
attr_accessor :play_audio
|
1596
1762
|
|
1763
|
+
# Represents the signal that telles the client to transfer the phone call
|
1764
|
+
# connected to the agent to a third-party endpoint.
|
1765
|
+
# Corresponds to the JSON property `telephonyTransferCall`
|
1766
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall]
|
1767
|
+
attr_accessor :telephony_transfer_call
|
1768
|
+
|
1597
1769
|
# The text response message.
|
1598
1770
|
# Corresponds to the JSON property `text`
|
1599
1771
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText]
|
@@ -1612,6 +1784,7 @@ module Google
|
|
1612
1784
|
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
|
1613
1785
|
@payload = args[:payload] if args.key?(:payload)
|
1614
1786
|
@play_audio = args[:play_audio] if args.key?(:play_audio)
|
1787
|
+
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
1615
1788
|
@text = args[:text] if args.key?(:text)
|
1616
1789
|
end
|
1617
1790
|
end
|
@@ -1804,6 +1977,27 @@ module Google
|
|
1804
1977
|
end
|
1805
1978
|
end
|
1806
1979
|
|
1980
|
+
# Represents the signal that telles the client to transfer the phone call
|
1981
|
+
# connected to the agent to a third-party endpoint.
|
1982
|
+
class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
|
1983
|
+
include Google::Apis::Core::Hashable
|
1984
|
+
|
1985
|
+
# Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
|
1986
|
+
# wiki/E.164).
|
1987
|
+
# Corresponds to the JSON property `phoneNumber`
|
1988
|
+
# @return [String]
|
1989
|
+
attr_accessor :phone_number
|
1990
|
+
|
1991
|
+
def initialize(**args)
|
1992
|
+
update!(**args)
|
1993
|
+
end
|
1994
|
+
|
1995
|
+
# Update properties of this object
|
1996
|
+
def update!(**args)
|
1997
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
1998
|
+
end
|
1999
|
+
end
|
2000
|
+
|
1807
2001
|
# The text response message.
|
1808
2002
|
class GoogleCloudDialogflowCxV3ResponseMessageText
|
1809
2003
|
include Google::Apis::Core::Hashable
|
@@ -2876,6 +3070,57 @@ module Google
|
|
2876
3070
|
end
|
2877
3071
|
end
|
2878
3072
|
|
3073
|
+
# Metadata returned for the Environments.DeployFlow long running operation.
|
3074
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
3075
|
+
include Google::Apis::Core::Hashable
|
3076
|
+
|
3077
|
+
# Errors of running deployment tests.
|
3078
|
+
# Corresponds to the JSON property `testErrors`
|
3079
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestError>]
|
3080
|
+
attr_accessor :test_errors
|
3081
|
+
|
3082
|
+
def initialize(**args)
|
3083
|
+
update!(**args)
|
3084
|
+
end
|
3085
|
+
|
3086
|
+
# Update properties of this object
|
3087
|
+
def update!(**args)
|
3088
|
+
@test_errors = args[:test_errors] if args.key?(:test_errors)
|
3089
|
+
end
|
3090
|
+
end
|
3091
|
+
|
3092
|
+
# The response message for Environments.DeployFlow.
|
3093
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
3094
|
+
include Google::Apis::Core::Hashable
|
3095
|
+
|
3096
|
+
# The name of the flow version deployment. Format: `projects//locations//agents//
|
3097
|
+
# environments//deployments/`.
|
3098
|
+
# Corresponds to the JSON property `deployment`
|
3099
|
+
# @return [String]
|
3100
|
+
attr_accessor :deployment
|
3101
|
+
|
3102
|
+
# Represents an environment for an agent. You can create multiple versions of
|
3103
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
3104
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
3105
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
3106
|
+
# the draft agent, it is published to the default environment. When you create
|
3107
|
+
# agent versions, you can publish them to custom environments. You can create a
|
3108
|
+
# variety of custom environments for testing, development, production, etc.
|
3109
|
+
# Corresponds to the JSON property `environment`
|
3110
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Environment]
|
3111
|
+
attr_accessor :environment
|
3112
|
+
|
3113
|
+
def initialize(**args)
|
3114
|
+
update!(**args)
|
3115
|
+
end
|
3116
|
+
|
3117
|
+
# Update properties of this object
|
3118
|
+
def update!(**args)
|
3119
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
3120
|
+
@environment = args[:environment] if args.key?(:environment)
|
3121
|
+
end
|
3122
|
+
end
|
3123
|
+
|
2879
3124
|
# Represents the input for dtmf event.
|
2880
3125
|
class GoogleCloudDialogflowCxV3beta1DtmfInput
|
2881
3126
|
include Google::Apis::Core::Hashable
|
@@ -2901,6 +3146,121 @@ module Google
|
|
2901
3146
|
end
|
2902
3147
|
end
|
2903
3148
|
|
3149
|
+
# Represents an environment for an agent. You can create multiple versions of
|
3150
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
3151
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
3152
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
3153
|
+
# the draft agent, it is published to the default environment. When you create
|
3154
|
+
# agent versions, you can publish them to custom environments. You can create a
|
3155
|
+
# variety of custom environments for testing, development, production, etc.
|
3156
|
+
class GoogleCloudDialogflowCxV3beta1Environment
|
3157
|
+
include Google::Apis::Core::Hashable
|
3158
|
+
|
3159
|
+
# The human-readable description of the environment. The maximum length is 500
|
3160
|
+
# characters. If exceeded, the request is rejected.
|
3161
|
+
# Corresponds to the JSON property `description`
|
3162
|
+
# @return [String]
|
3163
|
+
attr_accessor :description
|
3164
|
+
|
3165
|
+
# Required. The human-readable name of the environment (unique in an agent).
|
3166
|
+
# Limit of 64 characters.
|
3167
|
+
# Corresponds to the JSON property `displayName`
|
3168
|
+
# @return [String]
|
3169
|
+
attr_accessor :display_name
|
3170
|
+
|
3171
|
+
# The name of the environment. Format: `projects//locations//agents//
|
3172
|
+
# environments/`.
|
3173
|
+
# Corresponds to the JSON property `name`
|
3174
|
+
# @return [String]
|
3175
|
+
attr_accessor :name
|
3176
|
+
|
3177
|
+
# The configuration for continuous tests.
|
3178
|
+
# Corresponds to the JSON property `testCasesConfig`
|
3179
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig]
|
3180
|
+
attr_accessor :test_cases_config
|
3181
|
+
|
3182
|
+
# Output only. Update time of this environment.
|
3183
|
+
# Corresponds to the JSON property `updateTime`
|
3184
|
+
# @return [String]
|
3185
|
+
attr_accessor :update_time
|
3186
|
+
|
3187
|
+
# Required. A list of configurations for flow versions. You should include
|
3188
|
+
# version configs for all flows that are reachable from `Start Flow` in the
|
3189
|
+
# agent. Otherwise, an error will be returned.
|
3190
|
+
# Corresponds to the JSON property `versionConfigs`
|
3191
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig>]
|
3192
|
+
attr_accessor :version_configs
|
3193
|
+
|
3194
|
+
def initialize(**args)
|
3195
|
+
update!(**args)
|
3196
|
+
end
|
3197
|
+
|
3198
|
+
# Update properties of this object
|
3199
|
+
def update!(**args)
|
3200
|
+
@description = args[:description] if args.key?(:description)
|
3201
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3202
|
+
@name = args[:name] if args.key?(:name)
|
3203
|
+
@test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
|
3204
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3205
|
+
@version_configs = args[:version_configs] if args.key?(:version_configs)
|
3206
|
+
end
|
3207
|
+
end
|
3208
|
+
|
3209
|
+
# The configuration for continuous tests.
|
3210
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
3211
|
+
include Google::Apis::Core::Hashable
|
3212
|
+
|
3213
|
+
# Whether to run test cases in TestCasesConfig.test_cases periodically. Default
|
3214
|
+
# false. If set to true, run once a day.
|
3215
|
+
# Corresponds to the JSON property `enableContinuousRun`
|
3216
|
+
# @return [Boolean]
|
3217
|
+
attr_accessor :enable_continuous_run
|
3218
|
+
alias_method :enable_continuous_run?, :enable_continuous_run
|
3219
|
+
|
3220
|
+
# Whether to run test cases in TestCasesConfig.test_cases before deploying a
|
3221
|
+
# flow version to the environment. Default false.
|
3222
|
+
# Corresponds to the JSON property `enablePredeploymentRun`
|
3223
|
+
# @return [Boolean]
|
3224
|
+
attr_accessor :enable_predeployment_run
|
3225
|
+
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
3226
|
+
|
3227
|
+
# A list of test case names to run. They should be under the same agent. Format
|
3228
|
+
# of each test case name: `projects//locations/ /agents//testCases/`
|
3229
|
+
# Corresponds to the JSON property `testCases`
|
3230
|
+
# @return [Array<String>]
|
3231
|
+
attr_accessor :test_cases
|
3232
|
+
|
3233
|
+
def initialize(**args)
|
3234
|
+
update!(**args)
|
3235
|
+
end
|
3236
|
+
|
3237
|
+
# Update properties of this object
|
3238
|
+
def update!(**args)
|
3239
|
+
@enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
|
3240
|
+
@enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
|
3241
|
+
@test_cases = args[:test_cases] if args.key?(:test_cases)
|
3242
|
+
end
|
3243
|
+
end
|
3244
|
+
|
3245
|
+
# Configuration for the version.
|
3246
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
3247
|
+
include Google::Apis::Core::Hashable
|
3248
|
+
|
3249
|
+
# Required. Format: projects//locations//agents//flows//versions/.
|
3250
|
+
# Corresponds to the JSON property `version`
|
3251
|
+
# @return [String]
|
3252
|
+
attr_accessor :version
|
3253
|
+
|
3254
|
+
def initialize(**args)
|
3255
|
+
update!(**args)
|
3256
|
+
end
|
3257
|
+
|
3258
|
+
# Update properties of this object
|
3259
|
+
def update!(**args)
|
3260
|
+
@version = args[:version] if args.key?(:version)
|
3261
|
+
end
|
3262
|
+
end
|
3263
|
+
|
2904
3264
|
# An event handler specifies an event that can be handled during a session. When
|
2905
3265
|
# the specified event happens, the following actions are taken in order: * If
|
2906
3266
|
# there is a `trigger_fulfillment` associated with the event, it will be called.
|
@@ -4135,6 +4495,12 @@ module Google
|
|
4135
4495
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]
|
4136
4496
|
attr_accessor :play_audio
|
4137
4497
|
|
4498
|
+
# Represents the signal that telles the client to transfer the phone call
|
4499
|
+
# connected to the agent to a third-party endpoint.
|
4500
|
+
# Corresponds to the JSON property `telephonyTransferCall`
|
4501
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall]
|
4502
|
+
attr_accessor :telephony_transfer_call
|
4503
|
+
|
4138
4504
|
# The text response message.
|
4139
4505
|
# Corresponds to the JSON property `text`
|
4140
4506
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
|
@@ -4153,6 +4519,7 @@ module Google
|
|
4153
4519
|
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
|
4154
4520
|
@payload = args[:payload] if args.key?(:payload)
|
4155
4521
|
@play_audio = args[:play_audio] if args.key?(:play_audio)
|
4522
|
+
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
4156
4523
|
@text = args[:text] if args.key?(:text)
|
4157
4524
|
end
|
4158
4525
|
end
|
@@ -4345,6 +4712,27 @@ module Google
|
|
4345
4712
|
end
|
4346
4713
|
end
|
4347
4714
|
|
4715
|
+
# Represents the signal that telles the client to transfer the phone call
|
4716
|
+
# connected to the agent to a third-party endpoint.
|
4717
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
|
4718
|
+
include Google::Apis::Core::Hashable
|
4719
|
+
|
4720
|
+
# Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
|
4721
|
+
# wiki/E.164).
|
4722
|
+
# Corresponds to the JSON property `phoneNumber`
|
4723
|
+
# @return [String]
|
4724
|
+
attr_accessor :phone_number
|
4725
|
+
|
4726
|
+
def initialize(**args)
|
4727
|
+
update!(**args)
|
4728
|
+
end
|
4729
|
+
|
4730
|
+
# Update properties of this object
|
4731
|
+
def update!(**args)
|
4732
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
4733
|
+
end
|
4734
|
+
end
|
4735
|
+
|
4348
4736
|
# The text response message.
|
4349
4737
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
4350
4738
|
include Google::Apis::Core::Hashable
|
@@ -7692,6 +8080,11 @@ module Google
|
|
7692
8080
|
class GoogleCloudDialogflowV2beta1AnalyzeContentRequest
|
7693
8081
|
include Google::Apis::Core::Hashable
|
7694
8082
|
|
8083
|
+
# Represents the parameters of human assist query.
|
8084
|
+
# Corresponds to the JSON property `assistQueryParams`
|
8085
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
|
8086
|
+
attr_accessor :assist_query_params
|
8087
|
+
|
7695
8088
|
# Events allow for matching intents by event name instead of the natural
|
7696
8089
|
# language input. For instance, input `` can trigger a personalized welcome
|
7697
8090
|
# response. The parameter `name` may be used by the agent in the response: `"
|
@@ -7743,6 +8136,7 @@ module Google
|
|
7743
8136
|
|
7744
8137
|
# Update properties of this object
|
7745
8138
|
def update!(**args)
|
8139
|
+
@assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
|
7746
8140
|
@event_input = args[:event_input] if args.key?(:event_input)
|
7747
8141
|
@message_send_time = args[:message_send_time] if args.key?(:message_send_time)
|
7748
8142
|
@query_params = args[:query_params] if args.key?(:query_params)
|
@@ -7993,6 +8387,31 @@ module Google
|
|
7993
8387
|
end
|
7994
8388
|
end
|
7995
8389
|
|
8390
|
+
# Represents the parameters of human assist query.
|
8391
|
+
class GoogleCloudDialogflowV2beta1AssistQueryParameters
|
8392
|
+
include Google::Apis::Core::Hashable
|
8393
|
+
|
8394
|
+
# Key-value filters on the metadata of documents returned by article suggestion.
|
8395
|
+
# If specified, article suggestion only returns suggested documents that match
|
8396
|
+
# all filters in their Document.metadata. Multiple values for a metadata key
|
8397
|
+
# should be concatenated by comma. For example, filters to match all documents
|
8398
|
+
# that have 'US' or 'CA' in their market metadata values and 'agent' in their
|
8399
|
+
# user metadata values will be ``` documents_metadata_filters ` key: "market"
|
8400
|
+
# value: "US,CA" ` documents_metadata_filters ` key: "user" value: "agent" ` ```
|
8401
|
+
# Corresponds to the JSON property `documentsMetadataFilters`
|
8402
|
+
# @return [Hash<String,String>]
|
8403
|
+
attr_accessor :documents_metadata_filters
|
8404
|
+
|
8405
|
+
def initialize(**args)
|
8406
|
+
update!(**args)
|
8407
|
+
end
|
8408
|
+
|
8409
|
+
# Update properties of this object
|
8410
|
+
def update!(**args)
|
8411
|
+
@documents_metadata_filters = args[:documents_metadata_filters] if args.key?(:documents_metadata_filters)
|
8412
|
+
end
|
8413
|
+
end
|
8414
|
+
|
7996
8415
|
# Defines the Automated Agent to connect to a conversation.
|
7997
8416
|
class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
|
7998
8417
|
include Google::Apis::Core::Hashable
|
@@ -12881,6 +13300,18 @@ module Google
|
|
12881
13300
|
class GoogleCloudDialogflowV2beta1Participant
|
12882
13301
|
include Google::Apis::Core::Hashable
|
12883
13302
|
|
13303
|
+
# Optional. Key-value filters on the metadata of documents returned by article
|
13304
|
+
# suggestion. If specified, article suggestion only returns suggested documents
|
13305
|
+
# that match all filters in their Document.metadata. Multiple values for a
|
13306
|
+
# metadata key should be concatenated by comma. For example, filters to match
|
13307
|
+
# all documents that have 'US' or 'CA' in their market metadata values and '
|
13308
|
+
# agent' in their user metadata values will be ``` documents_metadata_filters `
|
13309
|
+
# key: "market" value: "US,CA" ` documents_metadata_filters ` key: "user" value:
|
13310
|
+
# "agent" ` ```
|
13311
|
+
# Corresponds to the JSON property `documentsMetadataFilters`
|
13312
|
+
# @return [Hash<String,String>]
|
13313
|
+
attr_accessor :documents_metadata_filters
|
13314
|
+
|
12884
13315
|
# Optional. The unique identifier of this participant. Format: `projects//
|
12885
13316
|
# locations//conversations//participants/`.
|
12886
13317
|
# Corresponds to the JSON property `name`
|
@@ -12917,6 +13348,7 @@ module Google
|
|
12917
13348
|
|
12918
13349
|
# Update properties of this object
|
12919
13350
|
def update!(**args)
|
13351
|
+
@documents_metadata_filters = args[:documents_metadata_filters] if args.key?(:documents_metadata_filters)
|
12920
13352
|
@name = args[:name] if args.key?(:name)
|
12921
13353
|
@obfuscated_external_user_id = args[:obfuscated_external_user_id] if args.key?(:obfuscated_external_user_id)
|
12922
13354
|
@role = args[:role] if args.key?(:role)
|
@@ -13283,6 +13715,12 @@ module Google
|
|
13283
13715
|
# @return [Hash<String,Object>]
|
13284
13716
|
attr_accessor :payload
|
13285
13717
|
|
13718
|
+
# Represents the signal that telles the client to transfer the phone call
|
13719
|
+
# connected to the agent to a third-party endpoint.
|
13720
|
+
# Corresponds to the JSON property `telephonyTransferCall`
|
13721
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall]
|
13722
|
+
attr_accessor :telephony_transfer_call
|
13723
|
+
|
13286
13724
|
# The text response message.
|
13287
13725
|
# Corresponds to the JSON property `text`
|
13288
13726
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageText]
|
@@ -13297,6 +13735,7 @@ module Google
|
|
13297
13735
|
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
13298
13736
|
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
13299
13737
|
@payload = args[:payload] if args.key?(:payload)
|
13738
|
+
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
13300
13739
|
@text = args[:text] if args.key?(:text)
|
13301
13740
|
end
|
13302
13741
|
end
|
@@ -13340,6 +13779,33 @@ module Google
|
|
13340
13779
|
end
|
13341
13780
|
end
|
13342
13781
|
|
13782
|
+
# Represents the signal that telles the client to transfer the phone call
|
13783
|
+
# connected to the agent to a third-party endpoint.
|
13784
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
|
13785
|
+
include Google::Apis::Core::Hashable
|
13786
|
+
|
13787
|
+
# Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
|
13788
|
+
# wiki/E.164).
|
13789
|
+
# Corresponds to the JSON property `phoneNumber`
|
13790
|
+
# @return [String]
|
13791
|
+
attr_accessor :phone_number
|
13792
|
+
|
13793
|
+
# Transfer the call to a SIP endpoint.
|
13794
|
+
# Corresponds to the JSON property `sipUri`
|
13795
|
+
# @return [String]
|
13796
|
+
attr_accessor :sip_uri
|
13797
|
+
|
13798
|
+
def initialize(**args)
|
13799
|
+
update!(**args)
|
13800
|
+
end
|
13801
|
+
|
13802
|
+
# Update properties of this object
|
13803
|
+
def update!(**args)
|
13804
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
13805
|
+
@sip_uri = args[:sip_uri] if args.key?(:sip_uri)
|
13806
|
+
end
|
13807
|
+
end
|
13808
|
+
|
13343
13809
|
# The text response message.
|
13344
13810
|
class GoogleCloudDialogflowV2beta1ResponseMessageText
|
13345
13811
|
include Google::Apis::Core::Hashable
|
@@ -13658,6 +14124,11 @@ module Google
|
|
13658
14124
|
class GoogleCloudDialogflowV2beta1SuggestArticlesRequest
|
13659
14125
|
include Google::Apis::Core::Hashable
|
13660
14126
|
|
14127
|
+
# Represents the parameters of human assist query.
|
14128
|
+
# Corresponds to the JSON property `assistQueryParams`
|
14129
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
|
14130
|
+
attr_accessor :assist_query_params
|
14131
|
+
|
13661
14132
|
# Optional. Max number of messages prior to and including latest_message to use
|
13662
14133
|
# as context when compiling the suggestion. By default 20 and at most 50.
|
13663
14134
|
# Corresponds to the JSON property `contextSize`
|
@@ -13677,6 +14148,7 @@ module Google
|
|
13677
14148
|
|
13678
14149
|
# Update properties of this object
|
13679
14150
|
def update!(**args)
|
14151
|
+
@assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
|
13680
14152
|
@context_size = args[:context_size] if args.key?(:context_size)
|
13681
14153
|
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
13682
14154
|
end
|
@@ -13720,6 +14192,11 @@ module Google
|
|
13720
14192
|
class GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest
|
13721
14193
|
include Google::Apis::Core::Hashable
|
13722
14194
|
|
14195
|
+
# Represents the parameters of human assist query.
|
14196
|
+
# Corresponds to the JSON property `assistQueryParams`
|
14197
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
|
14198
|
+
attr_accessor :assist_query_params
|
14199
|
+
|
13723
14200
|
# Optional. Max number of messages prior to and including [latest_message] to
|
13724
14201
|
# use as context when compiling the suggestion. By default 20 and at most 50.
|
13725
14202
|
# Corresponds to the JSON property `contextSize`
|
@@ -13739,6 +14216,7 @@ module Google
|
|
13739
14216
|
|
13740
14217
|
# Update properties of this object
|
13741
14218
|
def update!(**args)
|
14219
|
+
@assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
|
13742
14220
|
@context_size = args[:context_size] if args.key?(:context_size)
|
13743
14221
|
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
13744
14222
|
end
|
@@ -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.24.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211201"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,12 +82,42 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class GoogleCloudDialogflowCxV3DeployFlowMetadata
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudDialogflowCxV3DeployFlowResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
85
97
|
class GoogleCloudDialogflowCxV3DtmfInput
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
99
|
|
88
100
|
include Google::Apis::Core::JsonObjectSupport
|
89
101
|
end
|
90
102
|
|
103
|
+
class GoogleCloudDialogflowCxV3Environment
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
91
121
|
class GoogleCloudDialogflowCxV3EventHandler
|
92
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
123
|
|
@@ -328,6 +358,12 @@ module Google
|
|
328
358
|
include Google::Apis::Core::JsonObjectSupport
|
329
359
|
end
|
330
360
|
|
361
|
+
class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
331
367
|
class GoogleCloudDialogflowCxV3ResponseMessageText
|
332
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
369
|
|
@@ -520,12 +556,42 @@ module Google
|
|
520
556
|
include Google::Apis::Core::JsonObjectSupport
|
521
557
|
end
|
522
558
|
|
559
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
|
+
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
563
|
+
end
|
564
|
+
|
565
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
566
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
|
+
|
568
|
+
include Google::Apis::Core::JsonObjectSupport
|
569
|
+
end
|
570
|
+
|
523
571
|
class GoogleCloudDialogflowCxV3beta1DtmfInput
|
524
572
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
573
|
|
526
574
|
include Google::Apis::Core::JsonObjectSupport
|
527
575
|
end
|
528
576
|
|
577
|
+
class GoogleCloudDialogflowCxV3beta1Environment
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
583
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
|
+
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
587
|
+
end
|
588
|
+
|
589
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
+
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
593
|
+
end
|
594
|
+
|
529
595
|
class GoogleCloudDialogflowCxV3beta1EventHandler
|
530
596
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
597
|
|
@@ -766,6 +832,12 @@ module Google
|
|
766
832
|
include Google::Apis::Core::JsonObjectSupport
|
767
833
|
end
|
768
834
|
|
835
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
|
836
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
837
|
+
|
838
|
+
include Google::Apis::Core::JsonObjectSupport
|
839
|
+
end
|
840
|
+
|
769
841
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
770
842
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
771
843
|
|
@@ -1306,6 +1378,12 @@ module Google
|
|
1306
1378
|
include Google::Apis::Core::JsonObjectSupport
|
1307
1379
|
end
|
1308
1380
|
|
1381
|
+
class GoogleCloudDialogflowV2beta1AssistQueryParameters
|
1382
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1383
|
+
|
1384
|
+
include Google::Apis::Core::JsonObjectSupport
|
1385
|
+
end
|
1386
|
+
|
1309
1387
|
class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
|
1310
1388
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1311
1389
|
|
@@ -2164,6 +2242,12 @@ module Google
|
|
2164
2242
|
include Google::Apis::Core::JsonObjectSupport
|
2165
2243
|
end
|
2166
2244
|
|
2245
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
|
2246
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2247
|
+
|
2248
|
+
include Google::Apis::Core::JsonObjectSupport
|
2249
|
+
end
|
2250
|
+
|
2167
2251
|
class GoogleCloudDialogflowV2beta1ResponseMessageText
|
2168
2252
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2169
2253
|
|
@@ -2543,6 +2627,23 @@ module Google
|
|
2543
2627
|
end
|
2544
2628
|
end
|
2545
2629
|
|
2630
|
+
class GoogleCloudDialogflowCxV3DeployFlowMetadata
|
2631
|
+
# @private
|
2632
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2633
|
+
collection :test_errors, as: 'testErrors', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestError::Representation
|
2634
|
+
|
2635
|
+
end
|
2636
|
+
end
|
2637
|
+
|
2638
|
+
class GoogleCloudDialogflowCxV3DeployFlowResponse
|
2639
|
+
# @private
|
2640
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2641
|
+
property :deployment, as: 'deployment'
|
2642
|
+
property :environment, as: 'environment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Environment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Environment::Representation
|
2643
|
+
|
2644
|
+
end
|
2645
|
+
end
|
2646
|
+
|
2546
2647
|
class GoogleCloudDialogflowCxV3DtmfInput
|
2547
2648
|
# @private
|
2548
2649
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2551,6 +2652,36 @@ module Google
|
|
2551
2652
|
end
|
2552
2653
|
end
|
2553
2654
|
|
2655
|
+
class GoogleCloudDialogflowCxV3Environment
|
2656
|
+
# @private
|
2657
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2658
|
+
property :description, as: 'description'
|
2659
|
+
property :display_name, as: 'displayName'
|
2660
|
+
property :name, as: 'name'
|
2661
|
+
property :test_cases_config, as: 'testCasesConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig::Representation
|
2662
|
+
|
2663
|
+
property :update_time, as: 'updateTime'
|
2664
|
+
collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig::Representation
|
2665
|
+
|
2666
|
+
end
|
2667
|
+
end
|
2668
|
+
|
2669
|
+
class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
|
2670
|
+
# @private
|
2671
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2672
|
+
property :enable_continuous_run, as: 'enableContinuousRun'
|
2673
|
+
property :enable_predeployment_run, as: 'enablePredeploymentRun'
|
2674
|
+
collection :test_cases, as: 'testCases'
|
2675
|
+
end
|
2676
|
+
end
|
2677
|
+
|
2678
|
+
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
|
2679
|
+
# @private
|
2680
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2681
|
+
property :version, as: 'version'
|
2682
|
+
end
|
2683
|
+
end
|
2684
|
+
|
2554
2685
|
class GoogleCloudDialogflowCxV3EventHandler
|
2555
2686
|
# @private
|
2556
2687
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2877,6 +3008,8 @@ module Google
|
|
2877
3008
|
hash :payload, as: 'payload'
|
2878
3009
|
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
|
2879
3010
|
|
3011
|
+
property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall::Representation
|
3012
|
+
|
2880
3013
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
|
2881
3014
|
|
2882
3015
|
end
|
@@ -2936,6 +3069,13 @@ module Google
|
|
2936
3069
|
end
|
2937
3070
|
end
|
2938
3071
|
|
3072
|
+
class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
|
3073
|
+
# @private
|
3074
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3075
|
+
property :phone_number, as: 'phoneNumber'
|
3076
|
+
end
|
3077
|
+
end
|
3078
|
+
|
2939
3079
|
class GoogleCloudDialogflowCxV3ResponseMessageText
|
2940
3080
|
# @private
|
2941
3081
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3255,6 +3395,23 @@ module Google
|
|
3255
3395
|
end
|
3256
3396
|
end
|
3257
3397
|
|
3398
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
3399
|
+
# @private
|
3400
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3401
|
+
collection :test_errors, as: 'testErrors', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestError::Representation
|
3402
|
+
|
3403
|
+
end
|
3404
|
+
end
|
3405
|
+
|
3406
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
3407
|
+
# @private
|
3408
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3409
|
+
property :deployment, as: 'deployment'
|
3410
|
+
property :environment, as: 'environment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Environment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Environment::Representation
|
3411
|
+
|
3412
|
+
end
|
3413
|
+
end
|
3414
|
+
|
3258
3415
|
class GoogleCloudDialogflowCxV3beta1DtmfInput
|
3259
3416
|
# @private
|
3260
3417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3263,6 +3420,36 @@ module Google
|
|
3263
3420
|
end
|
3264
3421
|
end
|
3265
3422
|
|
3423
|
+
class GoogleCloudDialogflowCxV3beta1Environment
|
3424
|
+
# @private
|
3425
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3426
|
+
property :description, as: 'description'
|
3427
|
+
property :display_name, as: 'displayName'
|
3428
|
+
property :name, as: 'name'
|
3429
|
+
property :test_cases_config, as: 'testCasesConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig::Representation
|
3430
|
+
|
3431
|
+
property :update_time, as: 'updateTime'
|
3432
|
+
collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig::Representation
|
3433
|
+
|
3434
|
+
end
|
3435
|
+
end
|
3436
|
+
|
3437
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
3438
|
+
# @private
|
3439
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3440
|
+
property :enable_continuous_run, as: 'enableContinuousRun'
|
3441
|
+
property :enable_predeployment_run, as: 'enablePredeploymentRun'
|
3442
|
+
collection :test_cases, as: 'testCases'
|
3443
|
+
end
|
3444
|
+
end
|
3445
|
+
|
3446
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
3447
|
+
# @private
|
3448
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3449
|
+
property :version, as: 'version'
|
3450
|
+
end
|
3451
|
+
end
|
3452
|
+
|
3266
3453
|
class GoogleCloudDialogflowCxV3beta1EventHandler
|
3267
3454
|
# @private
|
3268
3455
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3589,6 +3776,8 @@ module Google
|
|
3589
3776
|
hash :payload, as: 'payload'
|
3590
3777
|
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
|
3591
3778
|
|
3779
|
+
property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall::Representation
|
3780
|
+
|
3592
3781
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
|
3593
3782
|
|
3594
3783
|
end
|
@@ -3648,6 +3837,13 @@ module Google
|
|
3648
3837
|
end
|
3649
3838
|
end
|
3650
3839
|
|
3840
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
|
3841
|
+
# @private
|
3842
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3843
|
+
property :phone_number, as: 'phoneNumber'
|
3844
|
+
end
|
3845
|
+
end
|
3846
|
+
|
3651
3847
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
3652
3848
|
# @private
|
3653
3849
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4552,6 +4748,8 @@ module Google
|
|
4552
4748
|
class GoogleCloudDialogflowV2beta1AnalyzeContentRequest
|
4553
4749
|
# @private
|
4554
4750
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4751
|
+
property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters::Representation
|
4752
|
+
|
4555
4753
|
property :event_input, as: 'eventInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput::Representation
|
4556
4754
|
|
4557
4755
|
property :message_send_time, as: 'messageSendTime'
|
@@ -4628,6 +4826,13 @@ module Google
|
|
4628
4826
|
end
|
4629
4827
|
end
|
4630
4828
|
|
4829
|
+
class GoogleCloudDialogflowV2beta1AssistQueryParameters
|
4830
|
+
# @private
|
4831
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4832
|
+
hash :documents_metadata_filters, as: 'documentsMetadataFilters'
|
4833
|
+
end
|
4834
|
+
end
|
4835
|
+
|
4631
4836
|
class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
|
4632
4837
|
# @private
|
4633
4838
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5993,6 +6198,7 @@ module Google
|
|
5993
6198
|
class GoogleCloudDialogflowV2beta1Participant
|
5994
6199
|
# @private
|
5995
6200
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6201
|
+
hash :documents_metadata_filters, as: 'documentsMetadataFilters'
|
5996
6202
|
property :name, as: 'name'
|
5997
6203
|
property :obfuscated_external_user_id, as: 'obfuscatedExternalUserId'
|
5998
6204
|
property :role, as: 'role'
|
@@ -6079,6 +6285,8 @@ module Google
|
|
6079
6285
|
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff::Representation
|
6080
6286
|
|
6081
6287
|
hash :payload, as: 'payload'
|
6288
|
+
property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall::Representation
|
6289
|
+
|
6082
6290
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageText::Representation
|
6083
6291
|
|
6084
6292
|
end
|
@@ -6097,6 +6305,14 @@ module Google
|
|
6097
6305
|
end
|
6098
6306
|
end
|
6099
6307
|
|
6308
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
|
6309
|
+
# @private
|
6310
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6311
|
+
property :phone_number, as: 'phoneNumber'
|
6312
|
+
property :sip_uri, as: 'sipUri'
|
6313
|
+
end
|
6314
|
+
end
|
6315
|
+
|
6100
6316
|
class GoogleCloudDialogflowV2beta1ResponseMessageText
|
6101
6317
|
# @private
|
6102
6318
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6189,6 +6405,8 @@ module Google
|
|
6189
6405
|
class GoogleCloudDialogflowV2beta1SuggestArticlesRequest
|
6190
6406
|
# @private
|
6191
6407
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6408
|
+
property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters::Representation
|
6409
|
+
|
6192
6410
|
property :context_size, as: 'contextSize'
|
6193
6411
|
property :latest_message, as: 'latestMessage'
|
6194
6412
|
end
|
@@ -6207,6 +6425,8 @@ module Google
|
|
6207
6425
|
class GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest
|
6208
6426
|
# @private
|
6209
6427
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6428
|
+
property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters::Representation
|
6429
|
+
|
6210
6430
|
property :context_size, as: 'contextSize'
|
6211
6431
|
property :latest_message, as: 'latestMessage'
|
6212
6432
|
end
|
@@ -1210,9 +1210,12 @@ module Google
|
|
1210
1210
|
# Processes a natural language query and returns structured, actionable data as
|
1211
1211
|
# a result. This method is not idempotent, because it may cause contexts and
|
1212
1212
|
# session entity types to be updated, which in turn might affect results of
|
1213
|
-
# future queries.
|
1214
|
-
#
|
1215
|
-
#
|
1213
|
+
# future queries. If you might use [Agent Assist](https://cloud.google.com/
|
1214
|
+
# dialogflow/docs/#aa) or other CCAI products now or in the future, consider
|
1215
|
+
# using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
|
1216
|
+
# additional functionality for Agent Assist and other CCAI products. Note:
|
1217
|
+
# Always use agent versions for production traffic. See [Versions and
|
1218
|
+
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
1216
1219
|
# @param [String] session
|
1217
1220
|
# Required. The name of the session this query is sent to. Supported formats: - `
|
1218
1221
|
# projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `
|
@@ -2453,9 +2456,12 @@ module Google
|
|
2453
2456
|
# Processes a natural language query and returns structured, actionable data as
|
2454
2457
|
# a result. This method is not idempotent, because it may cause contexts and
|
2455
2458
|
# session entity types to be updated, which in turn might affect results of
|
2456
|
-
# future queries.
|
2457
|
-
#
|
2458
|
-
#
|
2459
|
+
# future queries. If you might use [Agent Assist](https://cloud.google.com/
|
2460
|
+
# dialogflow/docs/#aa) or other CCAI products now or in the future, consider
|
2461
|
+
# using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
|
2462
|
+
# additional functionality for Agent Assist and other CCAI products. Note:
|
2463
|
+
# Always use agent versions for production traffic. See [Versions and
|
2464
|
+
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
2459
2465
|
# @param [String] session
|
2460
2466
|
# Required. The name of the session this query is sent to. Supported formats: - `
|
2461
2467
|
# projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `
|
@@ -5714,9 +5720,12 @@ module Google
|
|
5714
5720
|
# Processes a natural language query and returns structured, actionable data as
|
5715
5721
|
# a result. This method is not idempotent, because it may cause contexts and
|
5716
5722
|
# session entity types to be updated, which in turn might affect results of
|
5717
|
-
# future queries.
|
5718
|
-
#
|
5719
|
-
#
|
5723
|
+
# future queries. If you might use [Agent Assist](https://cloud.google.com/
|
5724
|
+
# dialogflow/docs/#aa) or other CCAI products now or in the future, consider
|
5725
|
+
# using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
|
5726
|
+
# additional functionality for Agent Assist and other CCAI products. Note:
|
5727
|
+
# Always use agent versions for production traffic. See [Versions and
|
5728
|
+
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
5720
5729
|
# @param [String] session
|
5721
5730
|
# Required. The name of the session this query is sent to. Supported formats: - `
|
5722
5731
|
# projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `
|
@@ -6507,9 +6516,12 @@ module Google
|
|
6507
6516
|
# Processes a natural language query and returns structured, actionable data as
|
6508
6517
|
# a result. This method is not idempotent, because it may cause contexts and
|
6509
6518
|
# session entity types to be updated, which in turn might affect results of
|
6510
|
-
# future queries.
|
6511
|
-
#
|
6512
|
-
#
|
6519
|
+
# future queries. If you might use [Agent Assist](https://cloud.google.com/
|
6520
|
+
# dialogflow/docs/#aa) or other CCAI products now or in the future, consider
|
6521
|
+
# using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
|
6522
|
+
# additional functionality for Agent Assist and other CCAI products. Note:
|
6523
|
+
# Always use agent versions for production traffic. See [Versions and
|
6524
|
+
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
6513
6525
|
# @param [String] session
|
6514
6526
|
# Required. The name of the session this query is sent to. Supported formats: - `
|
6515
6527
|
# projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `
|
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.24.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-
|
11
|
+
date: 2021-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.24.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|