google-apis-dialogflow_v2beta1 0.18.0 → 0.22.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 +455 -9
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +202 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +364 -105
- data/lib/google/apis/dialogflow_v2beta1.rb +1 -1
- 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: 9f7aa99a87143ee79376f5ee700cbd2109652fc9ba1297aa290f829db17c5f7a
|
4
|
+
data.tar.gz: 050520b6c2827ea5f893276330cfa76b82cf59a3c077876c03a4c04cc3cfb160
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ed388affac83d60eb7aabf2aaf611afec252c395139a48b236c594b29a3f47a4c8a2ca7afcd84f0eef85965d3654f242451785422b12c3ecbd423f6bf73998d
|
7
|
+
data.tar.gz: ad8047b840bda74273e69c53f8e6eedc08f068f3678ac8f9b368fdc2f5e5d4a7595a6e1072c8e1d53341113080c0cc343db7fc30ea5042db499c31e792bf1493
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2beta1
|
2
2
|
|
3
|
+
### v0.22.0 (2021-10-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211015
|
6
|
+
|
7
|
+
### v0.21.0 (2021-09-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210918
|
10
|
+
|
11
|
+
### v0.20.0 (2021-09-11)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210909
|
14
|
+
|
15
|
+
### v0.19.0 (2021-09-01)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210830
|
18
|
+
|
3
19
|
### v0.18.0 (2021-07-30)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210727
|
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
|
|
@@ -221,7 +221,8 @@ module Google
|
|
221
221
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Page]
|
222
222
|
attr_accessor :current_page
|
223
223
|
|
224
|
-
# Required. Input only. The diagnostic info output for the turn.
|
224
|
+
# Required. Input only. The diagnostic info output for the turn. Required to
|
225
|
+
# calculate the testing coverage.
|
225
226
|
# Corresponds to the JSON property `diagnosticInfo`
|
226
227
|
# @return [Hash<String,Object>]
|
227
228
|
attr_accessor :diagnostic_info
|
@@ -334,6 +335,57 @@ module Google
|
|
334
335
|
end
|
335
336
|
end
|
336
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
|
+
|
337
389
|
# Represents the input for dtmf event.
|
338
390
|
class GoogleCloudDialogflowCxV3DtmfInput
|
339
391
|
include Google::Apis::Core::Hashable
|
@@ -359,6 +411,121 @@ module Google
|
|
359
411
|
end
|
360
412
|
end
|
361
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
|
+
|
362
529
|
# An event handler specifies an event that can be handled during a session. When
|
363
530
|
# the specified event happens, the following actions are taken in order: * If
|
364
531
|
# there is a `trigger_fulfillment` associated with the event, it will be called.
|
@@ -489,6 +656,7 @@ module Google
|
|
489
656
|
end
|
490
657
|
|
491
658
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
659
|
+
# This message currently has no fields.
|
492
660
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
493
661
|
include Google::Apis::Core::Hashable
|
494
662
|
|
@@ -1868,7 +2036,8 @@ module Google
|
|
1868
2036
|
end
|
1869
2037
|
end
|
1870
2038
|
|
1871
|
-
# Metadata returned for the TestCases.RunTestCase long running operation.
|
2039
|
+
# Metadata returned for the TestCases.RunTestCase long running operation. This
|
2040
|
+
# message currently has no fields.
|
1872
2041
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
1873
2042
|
include Google::Apis::Core::Hashable
|
1874
2043
|
|
@@ -2759,7 +2928,8 @@ module Google
|
|
2759
2928
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Page]
|
2760
2929
|
attr_accessor :current_page
|
2761
2930
|
|
2762
|
-
# Required. Input only. The diagnostic info output for the turn.
|
2931
|
+
# Required. Input only. The diagnostic info output for the turn. Required to
|
2932
|
+
# calculate the testing coverage.
|
2763
2933
|
# Corresponds to the JSON property `diagnosticInfo`
|
2764
2934
|
# @return [Hash<String,Object>]
|
2765
2935
|
attr_accessor :diagnostic_info
|
@@ -2872,6 +3042,57 @@ module Google
|
|
2872
3042
|
end
|
2873
3043
|
end
|
2874
3044
|
|
3045
|
+
# Metadata returned for the Environments.DeployFlow long running operation.
|
3046
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
3047
|
+
include Google::Apis::Core::Hashable
|
3048
|
+
|
3049
|
+
# Errors of running deployment tests.
|
3050
|
+
# Corresponds to the JSON property `testErrors`
|
3051
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestError>]
|
3052
|
+
attr_accessor :test_errors
|
3053
|
+
|
3054
|
+
def initialize(**args)
|
3055
|
+
update!(**args)
|
3056
|
+
end
|
3057
|
+
|
3058
|
+
# Update properties of this object
|
3059
|
+
def update!(**args)
|
3060
|
+
@test_errors = args[:test_errors] if args.key?(:test_errors)
|
3061
|
+
end
|
3062
|
+
end
|
3063
|
+
|
3064
|
+
# The response message for Environments.DeployFlow.
|
3065
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
3066
|
+
include Google::Apis::Core::Hashable
|
3067
|
+
|
3068
|
+
# The name of the flow version deployment. Format: `projects//locations//agents//
|
3069
|
+
# environments//deployments/`.
|
3070
|
+
# Corresponds to the JSON property `deployment`
|
3071
|
+
# @return [String]
|
3072
|
+
attr_accessor :deployment
|
3073
|
+
|
3074
|
+
# Represents an environment for an agent. You can create multiple versions of
|
3075
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
3076
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
3077
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
3078
|
+
# the draft agent, it is published to the default environment. When you create
|
3079
|
+
# agent versions, you can publish them to custom environments. You can create a
|
3080
|
+
# variety of custom environments for testing, development, production, etc.
|
3081
|
+
# Corresponds to the JSON property `environment`
|
3082
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Environment]
|
3083
|
+
attr_accessor :environment
|
3084
|
+
|
3085
|
+
def initialize(**args)
|
3086
|
+
update!(**args)
|
3087
|
+
end
|
3088
|
+
|
3089
|
+
# Update properties of this object
|
3090
|
+
def update!(**args)
|
3091
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
3092
|
+
@environment = args[:environment] if args.key?(:environment)
|
3093
|
+
end
|
3094
|
+
end
|
3095
|
+
|
2875
3096
|
# Represents the input for dtmf event.
|
2876
3097
|
class GoogleCloudDialogflowCxV3beta1DtmfInput
|
2877
3098
|
include Google::Apis::Core::Hashable
|
@@ -2897,6 +3118,121 @@ module Google
|
|
2897
3118
|
end
|
2898
3119
|
end
|
2899
3120
|
|
3121
|
+
# Represents an environment for an agent. You can create multiple versions of
|
3122
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
3123
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
3124
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
3125
|
+
# the draft agent, it is published to the default environment. When you create
|
3126
|
+
# agent versions, you can publish them to custom environments. You can create a
|
3127
|
+
# variety of custom environments for testing, development, production, etc.
|
3128
|
+
class GoogleCloudDialogflowCxV3beta1Environment
|
3129
|
+
include Google::Apis::Core::Hashable
|
3130
|
+
|
3131
|
+
# The human-readable description of the environment. The maximum length is 500
|
3132
|
+
# characters. If exceeded, the request is rejected.
|
3133
|
+
# Corresponds to the JSON property `description`
|
3134
|
+
# @return [String]
|
3135
|
+
attr_accessor :description
|
3136
|
+
|
3137
|
+
# Required. The human-readable name of the environment (unique in an agent).
|
3138
|
+
# Limit of 64 characters.
|
3139
|
+
# Corresponds to the JSON property `displayName`
|
3140
|
+
# @return [String]
|
3141
|
+
attr_accessor :display_name
|
3142
|
+
|
3143
|
+
# The name of the environment. Format: `projects//locations//agents//
|
3144
|
+
# environments/`.
|
3145
|
+
# Corresponds to the JSON property `name`
|
3146
|
+
# @return [String]
|
3147
|
+
attr_accessor :name
|
3148
|
+
|
3149
|
+
# The configuration for continuous tests.
|
3150
|
+
# Corresponds to the JSON property `testCasesConfig`
|
3151
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig]
|
3152
|
+
attr_accessor :test_cases_config
|
3153
|
+
|
3154
|
+
# Output only. Update time of this environment.
|
3155
|
+
# Corresponds to the JSON property `updateTime`
|
3156
|
+
# @return [String]
|
3157
|
+
attr_accessor :update_time
|
3158
|
+
|
3159
|
+
# Required. A list of configurations for flow versions. You should include
|
3160
|
+
# version configs for all flows that are reachable from `Start Flow` in the
|
3161
|
+
# agent. Otherwise, an error will be returned.
|
3162
|
+
# Corresponds to the JSON property `versionConfigs`
|
3163
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig>]
|
3164
|
+
attr_accessor :version_configs
|
3165
|
+
|
3166
|
+
def initialize(**args)
|
3167
|
+
update!(**args)
|
3168
|
+
end
|
3169
|
+
|
3170
|
+
# Update properties of this object
|
3171
|
+
def update!(**args)
|
3172
|
+
@description = args[:description] if args.key?(:description)
|
3173
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3174
|
+
@name = args[:name] if args.key?(:name)
|
3175
|
+
@test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
|
3176
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3177
|
+
@version_configs = args[:version_configs] if args.key?(:version_configs)
|
3178
|
+
end
|
3179
|
+
end
|
3180
|
+
|
3181
|
+
# The configuration for continuous tests.
|
3182
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
3183
|
+
include Google::Apis::Core::Hashable
|
3184
|
+
|
3185
|
+
# Whether to run test cases in TestCasesConfig.test_cases periodically. Default
|
3186
|
+
# false. If set to ture, run once a day.
|
3187
|
+
# Corresponds to the JSON property `enableContinuousRun`
|
3188
|
+
# @return [Boolean]
|
3189
|
+
attr_accessor :enable_continuous_run
|
3190
|
+
alias_method :enable_continuous_run?, :enable_continuous_run
|
3191
|
+
|
3192
|
+
# Whether to run test cases in TestCasesConfig.test_cases before deploying a
|
3193
|
+
# flow version to the environment. Default false.
|
3194
|
+
# Corresponds to the JSON property `enablePredeploymentRun`
|
3195
|
+
# @return [Boolean]
|
3196
|
+
attr_accessor :enable_predeployment_run
|
3197
|
+
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
3198
|
+
|
3199
|
+
# A list of test case names to run. They should be under the same agent. Format
|
3200
|
+
# of each test case name: `projects//locations/ /agents//testCases/`
|
3201
|
+
# Corresponds to the JSON property `testCases`
|
3202
|
+
# @return [Array<String>]
|
3203
|
+
attr_accessor :test_cases
|
3204
|
+
|
3205
|
+
def initialize(**args)
|
3206
|
+
update!(**args)
|
3207
|
+
end
|
3208
|
+
|
3209
|
+
# Update properties of this object
|
3210
|
+
def update!(**args)
|
3211
|
+
@enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
|
3212
|
+
@enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
|
3213
|
+
@test_cases = args[:test_cases] if args.key?(:test_cases)
|
3214
|
+
end
|
3215
|
+
end
|
3216
|
+
|
3217
|
+
# Configuration for the version.
|
3218
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
3219
|
+
include Google::Apis::Core::Hashable
|
3220
|
+
|
3221
|
+
# Required. Format: projects//locations//agents//flows//versions/.
|
3222
|
+
# Corresponds to the JSON property `version`
|
3223
|
+
# @return [String]
|
3224
|
+
attr_accessor :version
|
3225
|
+
|
3226
|
+
def initialize(**args)
|
3227
|
+
update!(**args)
|
3228
|
+
end
|
3229
|
+
|
3230
|
+
# Update properties of this object
|
3231
|
+
def update!(**args)
|
3232
|
+
@version = args[:version] if args.key?(:version)
|
3233
|
+
end
|
3234
|
+
end
|
3235
|
+
|
2900
3236
|
# An event handler specifies an event that can be handled during a session. When
|
2901
3237
|
# the specified event happens, the following actions are taken in order: * If
|
2902
3238
|
# there is a `trigger_fulfillment` associated with the event, it will be called.
|
@@ -3027,6 +3363,7 @@ module Google
|
|
3027
3363
|
end
|
3028
3364
|
|
3029
3365
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
3366
|
+
# This message currently has no fields.
|
3030
3367
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
3031
3368
|
include Google::Apis::Core::Hashable
|
3032
3369
|
|
@@ -4406,7 +4743,8 @@ module Google
|
|
4406
4743
|
end
|
4407
4744
|
end
|
4408
4745
|
|
4409
|
-
# Metadata returned for the TestCases.RunTestCase long running operation.
|
4746
|
+
# Metadata returned for the TestCases.RunTestCase long running operation. This
|
4747
|
+
# message currently has no fields.
|
4410
4748
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
4411
4749
|
include Google::Apis::Core::Hashable
|
4412
4750
|
|
@@ -5627,8 +5965,9 @@ module Google
|
|
5627
5965
|
# @return [Array<String>]
|
5628
5966
|
attr_accessor :events
|
5629
5967
|
|
5630
|
-
# Read-only. Information about all followup intents that have this
|
5631
|
-
# direct or indirect parent. We populate this field only in the
|
5968
|
+
# Output only. Read-only. Information about all followup intents that have this
|
5969
|
+
# intent as a direct or indirect parent. We populate this field only in the
|
5970
|
+
# output.
|
5632
5971
|
# Corresponds to the JSON property `followupIntentInfo`
|
5633
5972
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentFollowupIntentInfo>]
|
5634
5973
|
attr_accessor :followup_intent_info
|
@@ -5713,9 +6052,10 @@ module Google
|
|
5713
6052
|
attr_accessor :reset_contexts
|
5714
6053
|
alias_method :reset_contexts?, :reset_contexts
|
5715
6054
|
|
5716
|
-
# Read-only. The unique identifier of the root intent in the chain
|
5717
|
-
# intents. It identifies the correct followup intents chain for this
|
5718
|
-
# populate this field only in the output. Format: `projects//agent/
|
6055
|
+
# Output only. Read-only. The unique identifier of the root intent in the chain
|
6056
|
+
# of followup intents. It identifies the correct followup intents chain for this
|
6057
|
+
# intent. We populate this field only in the output. Format: `projects//agent/
|
6058
|
+
# intents/`.
|
5719
6059
|
# Corresponds to the JSON property `rootFollowupIntentName`
|
5720
6060
|
# @return [String]
|
5721
6061
|
attr_accessor :root_followup_intent_name
|
@@ -13275,6 +13615,12 @@ module Google
|
|
13275
13615
|
# @return [Hash<String,Object>]
|
13276
13616
|
attr_accessor :payload
|
13277
13617
|
|
13618
|
+
# Represents the signal that telles the client to transfer the phone call
|
13619
|
+
# connected to the agent to a third-party endpoint.
|
13620
|
+
# Corresponds to the JSON property `telephonyTransferCall`
|
13621
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall]
|
13622
|
+
attr_accessor :telephony_transfer_call
|
13623
|
+
|
13278
13624
|
# The text response message.
|
13279
13625
|
# Corresponds to the JSON property `text`
|
13280
13626
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageText]
|
@@ -13289,6 +13635,7 @@ module Google
|
|
13289
13635
|
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
13290
13636
|
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
13291
13637
|
@payload = args[:payload] if args.key?(:payload)
|
13638
|
+
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
13292
13639
|
@text = args[:text] if args.key?(:text)
|
13293
13640
|
end
|
13294
13641
|
end
|
@@ -13332,6 +13679,33 @@ module Google
|
|
13332
13679
|
end
|
13333
13680
|
end
|
13334
13681
|
|
13682
|
+
# Represents the signal that telles the client to transfer the phone call
|
13683
|
+
# connected to the agent to a third-party endpoint.
|
13684
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
|
13685
|
+
include Google::Apis::Core::Hashable
|
13686
|
+
|
13687
|
+
# Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
|
13688
|
+
# wiki/E.164).
|
13689
|
+
# Corresponds to the JSON property `phoneNumber`
|
13690
|
+
# @return [String]
|
13691
|
+
attr_accessor :phone_number
|
13692
|
+
|
13693
|
+
# Transfer the call to a SIP endpoint.
|
13694
|
+
# Corresponds to the JSON property `sipUri`
|
13695
|
+
# @return [String]
|
13696
|
+
attr_accessor :sip_uri
|
13697
|
+
|
13698
|
+
def initialize(**args)
|
13699
|
+
update!(**args)
|
13700
|
+
end
|
13701
|
+
|
13702
|
+
# Update properties of this object
|
13703
|
+
def update!(**args)
|
13704
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
13705
|
+
@sip_uri = args[:sip_uri] if args.key?(:sip_uri)
|
13706
|
+
end
|
13707
|
+
end
|
13708
|
+
|
13335
13709
|
# The text response message.
|
13336
13710
|
class GoogleCloudDialogflowV2beta1ResponseMessageText
|
13337
13711
|
include Google::Apis::Core::Hashable
|
@@ -14640,6 +15014,78 @@ module Google
|
|
14640
15014
|
end
|
14641
15015
|
end
|
14642
15016
|
|
15017
|
+
# The response message for Locations.ListLocations.
|
15018
|
+
class GoogleCloudLocationListLocationsResponse
|
15019
|
+
include Google::Apis::Core::Hashable
|
15020
|
+
|
15021
|
+
# A list of locations that matches the specified filter in the request.
|
15022
|
+
# Corresponds to the JSON property `locations`
|
15023
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation>]
|
15024
|
+
attr_accessor :locations
|
15025
|
+
|
15026
|
+
# The standard List next-page token.
|
15027
|
+
# Corresponds to the JSON property `nextPageToken`
|
15028
|
+
# @return [String]
|
15029
|
+
attr_accessor :next_page_token
|
15030
|
+
|
15031
|
+
def initialize(**args)
|
15032
|
+
update!(**args)
|
15033
|
+
end
|
15034
|
+
|
15035
|
+
# Update properties of this object
|
15036
|
+
def update!(**args)
|
15037
|
+
@locations = args[:locations] if args.key?(:locations)
|
15038
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
15039
|
+
end
|
15040
|
+
end
|
15041
|
+
|
15042
|
+
# A resource that represents Google Cloud Platform location.
|
15043
|
+
class GoogleCloudLocationLocation
|
15044
|
+
include Google::Apis::Core::Hashable
|
15045
|
+
|
15046
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
15047
|
+
# "Tokyo".
|
15048
|
+
# Corresponds to the JSON property `displayName`
|
15049
|
+
# @return [String]
|
15050
|
+
attr_accessor :display_name
|
15051
|
+
|
15052
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
15053
|
+
# region": "us-east1"`
|
15054
|
+
# Corresponds to the JSON property `labels`
|
15055
|
+
# @return [Hash<String,String>]
|
15056
|
+
attr_accessor :labels
|
15057
|
+
|
15058
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
15059
|
+
# Corresponds to the JSON property `locationId`
|
15060
|
+
# @return [String]
|
15061
|
+
attr_accessor :location_id
|
15062
|
+
|
15063
|
+
# Service-specific metadata. For example the available capacity at the given
|
15064
|
+
# location.
|
15065
|
+
# Corresponds to the JSON property `metadata`
|
15066
|
+
# @return [Hash<String,Object>]
|
15067
|
+
attr_accessor :metadata
|
15068
|
+
|
15069
|
+
# Resource name for the location, which may vary between implementations. For
|
15070
|
+
# example: `"projects/example-project/locations/us-east1"`
|
15071
|
+
# Corresponds to the JSON property `name`
|
15072
|
+
# @return [String]
|
15073
|
+
attr_accessor :name
|
15074
|
+
|
15075
|
+
def initialize(**args)
|
15076
|
+
update!(**args)
|
15077
|
+
end
|
15078
|
+
|
15079
|
+
# Update properties of this object
|
15080
|
+
def update!(**args)
|
15081
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
15082
|
+
@labels = args[:labels] if args.key?(:labels)
|
15083
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
15084
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
15085
|
+
@name = args[:name] if args.key?(:name)
|
15086
|
+
end
|
15087
|
+
end
|
15088
|
+
|
14643
15089
|
# The response message for Operations.ListOperations.
|
14644
15090
|
class GoogleLongrunningListOperationsResponse
|
14645
15091
|
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.22.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 = "20211015"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|