google-apis-dialogflow_v2 0.19.0 → 0.23.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_v2/classes.rb +421 -9
- data/lib/google/apis/dialogflow_v2/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2/representations.rb +186 -0
- data/lib/google/apis/dialogflow_v2/service.rb +332 -90
- data/lib/google/apis/dialogflow_v2.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: 1497bb317e6cd50b01c54d39e7df5aae07722a202ed8b52032ad6c58b3a3dd3a
|
4
|
+
data.tar.gz: ecc19851b69cea1d05b2f84ab077839c7e2514835d6facf6ac697073c4e626c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e200a84723886f3d0b04ef221c7bd9ce58a3702359e100682f983d52eb73e86ac1520f84a8064e7368f8984194df19089333845dd6fb64d50067e9342411ff21
|
7
|
+
data.tar.gz: 46b26ba0dc1af4c6c6ad1ee6c33c99417f7682335af3b34ff7531352f36706f63d86686465caf051ad68235b41de429456e0e2a4e415997b08137b224dec271b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
2
2
|
|
3
|
+
### v0.23.0 (2021-10-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211015
|
6
|
+
|
7
|
+
### v0.22.0 (2021-09-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210918
|
10
|
+
|
11
|
+
### v0.21.0 (2021-09-11)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210909
|
14
|
+
|
15
|
+
### v0.20.0 (2021-09-01)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210830
|
18
|
+
|
3
19
|
### v0.19.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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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
|
|
@@ -7636,8 +7974,9 @@ module Google
|
|
7636
7974
|
# @return [Array<String>]
|
7637
7975
|
attr_accessor :events
|
7638
7976
|
|
7639
|
-
# Read-only. Information about all followup intents that have this
|
7640
|
-
# direct or indirect parent. We populate this field only in the
|
7977
|
+
# Output only. Read-only. Information about all followup intents that have this
|
7978
|
+
# intent as a direct or indirect parent. We populate this field only in the
|
7979
|
+
# output.
|
7641
7980
|
# Corresponds to the JSON property `followupIntentInfo`
|
7642
7981
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentFollowupIntentInfo>]
|
7643
7982
|
attr_accessor :followup_intent_info
|
@@ -7722,9 +8061,10 @@ module Google
|
|
7722
8061
|
attr_accessor :reset_contexts
|
7723
8062
|
alias_method :reset_contexts?, :reset_contexts
|
7724
8063
|
|
7725
|
-
# Read-only. The unique identifier of the root intent in the chain
|
7726
|
-
# intents. It identifies the correct followup intents chain for this
|
7727
|
-
# populate this field only in the output. Format: `projects//agent/
|
8064
|
+
# Output only. Read-only. The unique identifier of the root intent in the chain
|
8065
|
+
# of followup intents. It identifies the correct followup intents chain for this
|
8066
|
+
# intent. We populate this field only in the output. Format: `projects//agent/
|
8067
|
+
# intents/`.
|
7728
8068
|
# Corresponds to the JSON property `rootFollowupIntentName`
|
7729
8069
|
# @return [String]
|
7730
8070
|
attr_accessor :root_followup_intent_name
|
@@ -13871,6 +14211,78 @@ module Google
|
|
13871
14211
|
end
|
13872
14212
|
end
|
13873
14213
|
|
14214
|
+
# The response message for Locations.ListLocations.
|
14215
|
+
class GoogleCloudLocationListLocationsResponse
|
14216
|
+
include Google::Apis::Core::Hashable
|
14217
|
+
|
14218
|
+
# A list of locations that matches the specified filter in the request.
|
14219
|
+
# Corresponds to the JSON property `locations`
|
14220
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudLocationLocation>]
|
14221
|
+
attr_accessor :locations
|
14222
|
+
|
14223
|
+
# The standard List next-page token.
|
14224
|
+
# Corresponds to the JSON property `nextPageToken`
|
14225
|
+
# @return [String]
|
14226
|
+
attr_accessor :next_page_token
|
14227
|
+
|
14228
|
+
def initialize(**args)
|
14229
|
+
update!(**args)
|
14230
|
+
end
|
14231
|
+
|
14232
|
+
# Update properties of this object
|
14233
|
+
def update!(**args)
|
14234
|
+
@locations = args[:locations] if args.key?(:locations)
|
14235
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
14236
|
+
end
|
14237
|
+
end
|
14238
|
+
|
14239
|
+
# A resource that represents Google Cloud Platform location.
|
14240
|
+
class GoogleCloudLocationLocation
|
14241
|
+
include Google::Apis::Core::Hashable
|
14242
|
+
|
14243
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
14244
|
+
# "Tokyo".
|
14245
|
+
# Corresponds to the JSON property `displayName`
|
14246
|
+
# @return [String]
|
14247
|
+
attr_accessor :display_name
|
14248
|
+
|
14249
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
14250
|
+
# region": "us-east1"`
|
14251
|
+
# Corresponds to the JSON property `labels`
|
14252
|
+
# @return [Hash<String,String>]
|
14253
|
+
attr_accessor :labels
|
14254
|
+
|
14255
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
14256
|
+
# Corresponds to the JSON property `locationId`
|
14257
|
+
# @return [String]
|
14258
|
+
attr_accessor :location_id
|
14259
|
+
|
14260
|
+
# Service-specific metadata. For example the available capacity at the given
|
14261
|
+
# location.
|
14262
|
+
# Corresponds to the JSON property `metadata`
|
14263
|
+
# @return [Hash<String,Object>]
|
14264
|
+
attr_accessor :metadata
|
14265
|
+
|
14266
|
+
# Resource name for the location, which may vary between implementations. For
|
14267
|
+
# example: `"projects/example-project/locations/us-east1"`
|
14268
|
+
# Corresponds to the JSON property `name`
|
14269
|
+
# @return [String]
|
14270
|
+
attr_accessor :name
|
14271
|
+
|
14272
|
+
def initialize(**args)
|
14273
|
+
update!(**args)
|
14274
|
+
end
|
14275
|
+
|
14276
|
+
# Update properties of this object
|
14277
|
+
def update!(**args)
|
14278
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
14279
|
+
@labels = args[:labels] if args.key?(:labels)
|
14280
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
14281
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
14282
|
+
@name = args[:name] if args.key?(:name)
|
14283
|
+
end
|
14284
|
+
end
|
14285
|
+
|
13874
14286
|
# The response message for Operations.ListOperations.
|
13875
14287
|
class GoogleLongrunningListOperationsResponse
|
13876
14288
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2
|
18
18
|
# Version of the google-apis-dialogflow_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.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
|