google-apis-dialogflow_v2 0.92.0 → 0.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/dialogflow_v2/classes.rb +760 -459
- data/lib/google/apis/dialogflow_v2/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v2/representations.rb +295 -272
- data/lib/google/apis/dialogflow_v2/service.rb +87 -19
- metadata +4 -4
@@ -119,13 +119,21 @@ module Google
|
|
119
119
|
class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
|
120
120
|
include Google::Apis::Core::Hashable
|
121
121
|
|
122
|
+
# Enables consent-based end-user input redaction, if true, a pre-defined session
|
123
|
+
# parameter `$session.params.conversation-redaction` will be used to determine
|
124
|
+
# if the utterance should be redacted.
|
125
|
+
# Corresponds to the JSON property `enableConsentBasedRedaction`
|
126
|
+
# @return [Boolean]
|
127
|
+
attr_accessor :enable_consent_based_redaction
|
128
|
+
alias_method :enable_consent_based_redaction?, :enable_consent_based_redaction
|
129
|
+
|
122
130
|
# Enables DF Interaction logging.
|
123
131
|
# Corresponds to the JSON property `enableInteractionLogging`
|
124
132
|
# @return [Boolean]
|
125
133
|
attr_accessor :enable_interaction_logging
|
126
134
|
alias_method :enable_interaction_logging?, :enable_interaction_logging
|
127
135
|
|
128
|
-
# Enables
|
136
|
+
# Enables Google Cloud Logging.
|
129
137
|
# Corresponds to the JSON property `enableStackdriverLogging`
|
130
138
|
# @return [Boolean]
|
131
139
|
attr_accessor :enable_stackdriver_logging
|
@@ -137,6 +145,7 @@ module Google
|
|
137
145
|
|
138
146
|
# Update properties of this object
|
139
147
|
def update!(**args)
|
148
|
+
@enable_consent_based_redaction = args[:enable_consent_based_redaction] if args.key?(:enable_consent_based_redaction)
|
140
149
|
@enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
|
141
150
|
@enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
|
142
151
|
end
|
@@ -229,7 +238,7 @@ module Google
|
|
229
238
|
# utterance has been detected. Note that no-speech event is not expected in this
|
230
239
|
# phase. The client provides this configuration in terms of the durations of
|
231
240
|
# those two phases. The durations are measured in terms of the audio length from
|
232
|
-
# the
|
241
|
+
# the start of the input audio. No-speech event is a response with
|
233
242
|
# END_OF_UTTERANCE without any transcript following up.
|
234
243
|
class GoogleCloudDialogflowCxV3BargeInConfig
|
235
244
|
include Google::Apis::Core::Hashable
|
@@ -501,25 +510,6 @@ module Google
|
|
501
510
|
end
|
502
511
|
end
|
503
512
|
|
504
|
-
# Metadata for CreateDocument operation.
|
505
|
-
class GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata
|
506
|
-
include Google::Apis::Core::Hashable
|
507
|
-
|
508
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
509
|
-
# Corresponds to the JSON property `genericMetadata`
|
510
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
|
511
|
-
attr_accessor :generic_metadata
|
512
|
-
|
513
|
-
def initialize(**args)
|
514
|
-
update!(**args)
|
515
|
-
end
|
516
|
-
|
517
|
-
# Update properties of this object
|
518
|
-
def update!(**args)
|
519
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
520
|
-
end
|
521
|
-
end
|
522
|
-
|
523
513
|
# Metadata associated with the long running operation for Versions.CreateVersion.
|
524
514
|
class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata
|
525
515
|
include Google::Apis::Core::Hashable
|
@@ -568,25 +558,6 @@ module Google
|
|
568
558
|
end
|
569
559
|
end
|
570
560
|
|
571
|
-
# Metadata for DeleteDocument operation.
|
572
|
-
class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
|
573
|
-
include Google::Apis::Core::Hashable
|
574
|
-
|
575
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
576
|
-
# Corresponds to the JSON property `genericMetadata`
|
577
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
|
578
|
-
attr_accessor :generic_metadata
|
579
|
-
|
580
|
-
def initialize(**args)
|
581
|
-
update!(**args)
|
582
|
-
end
|
583
|
-
|
584
|
-
# Update properties of this object
|
585
|
-
def update!(**args)
|
586
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
587
|
-
end
|
588
|
-
end
|
589
|
-
|
590
561
|
# Metadata returned for the Environments.DeployFlow long running operation.
|
591
562
|
class GoogleCloudDialogflowCxV3DeployFlowMetadata
|
592
563
|
include Google::Apis::Core::Hashable
|
@@ -748,7 +719,7 @@ module Google
|
|
748
719
|
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
749
720
|
|
750
721
|
# A list of test case names to run. They should be under the same agent. Format
|
751
|
-
# of each test case name: `projects//locations
|
722
|
+
# of each test case name: `projects//locations//agents//testCases/`
|
752
723
|
# Corresponds to the JSON property `testCases`
|
753
724
|
# @return [Array<String>]
|
754
725
|
attr_accessor :test_cases
|
@@ -769,7 +740,9 @@ module Google
|
|
769
740
|
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
|
770
741
|
include Google::Apis::Core::Hashable
|
771
742
|
|
772
|
-
# Required. Format
|
743
|
+
# Required. Both flow and playbook versions are supported. Format for flow
|
744
|
+
# version: projects//locations//agents//flows//versions/. Format for playbook
|
745
|
+
# version: projects//locations//agents//playbooks//versions/.
|
773
746
|
# Corresponds to the JSON property `version`
|
774
747
|
# @return [String]
|
775
748
|
attr_accessor :version
|
@@ -836,6 +809,12 @@ module Google
|
|
836
809
|
# @return [String]
|
837
810
|
attr_accessor :target_page
|
838
811
|
|
812
|
+
# The target playbook to transition to. Format: `projects//locations//agents//
|
813
|
+
# playbooks/`.
|
814
|
+
# Corresponds to the JSON property `targetPlaybook`
|
815
|
+
# @return [String]
|
816
|
+
attr_accessor :target_playbook
|
817
|
+
|
839
818
|
# A fulfillment can do one or more of the following actions at the same time: *
|
840
819
|
# Generate rich message responses. * Set parameter values. * Call the webhook.
|
841
820
|
# Fulfillments can be called at various stages in the Page or Form lifecycle.
|
@@ -857,6 +836,7 @@ module Google
|
|
857
836
|
@name = args[:name] if args.key?(:name)
|
858
837
|
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
859
838
|
@target_page = args[:target_page] if args.key?(:target_page)
|
839
|
+
@target_playbook = args[:target_playbook] if args.key?(:target_playbook)
|
860
840
|
@trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
|
861
841
|
end
|
862
842
|
end
|
@@ -1438,63 +1418,6 @@ module Google
|
|
1438
1418
|
end
|
1439
1419
|
end
|
1440
1420
|
|
1441
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
1442
|
-
class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
|
1443
|
-
include Google::Apis::Core::Hashable
|
1444
|
-
|
1445
|
-
# Required. Output only. The current state of this operation.
|
1446
|
-
# Corresponds to the JSON property `state`
|
1447
|
-
# @return [String]
|
1448
|
-
attr_accessor :state
|
1449
|
-
|
1450
|
-
def initialize(**args)
|
1451
|
-
update!(**args)
|
1452
|
-
end
|
1453
|
-
|
1454
|
-
# Update properties of this object
|
1455
|
-
def update!(**args)
|
1456
|
-
@state = args[:state] if args.key?(:state)
|
1457
|
-
end
|
1458
|
-
end
|
1459
|
-
|
1460
|
-
# Metadata for ImportDocuments operation.
|
1461
|
-
class GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata
|
1462
|
-
include Google::Apis::Core::Hashable
|
1463
|
-
|
1464
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
1465
|
-
# Corresponds to the JSON property `genericMetadata`
|
1466
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
|
1467
|
-
attr_accessor :generic_metadata
|
1468
|
-
|
1469
|
-
def initialize(**args)
|
1470
|
-
update!(**args)
|
1471
|
-
end
|
1472
|
-
|
1473
|
-
# Update properties of this object
|
1474
|
-
def update!(**args)
|
1475
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
1476
|
-
end
|
1477
|
-
end
|
1478
|
-
|
1479
|
-
# Response message for Documents.ImportDocuments.
|
1480
|
-
class GoogleCloudDialogflowCxV3ImportDocumentsResponse
|
1481
|
-
include Google::Apis::Core::Hashable
|
1482
|
-
|
1483
|
-
# Includes details about skipped documents or any other warnings.
|
1484
|
-
# Corresponds to the JSON property `warnings`
|
1485
|
-
# @return [Array<Google::Apis::DialogflowV2::GoogleRpcStatus>]
|
1486
|
-
attr_accessor :warnings
|
1487
|
-
|
1488
|
-
def initialize(**args)
|
1489
|
-
update!(**args)
|
1490
|
-
end
|
1491
|
-
|
1492
|
-
# Update properties of this object
|
1493
|
-
def update!(**args)
|
1494
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
1495
|
-
end
|
1496
|
-
end
|
1497
|
-
|
1498
1421
|
# Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
|
1499
1422
|
class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
|
1500
1423
|
include Google::Apis::Core::Hashable
|
@@ -1734,7 +1657,7 @@ module Google
|
|
1734
1657
|
# utterance has been detected. Note that no-speech event is not expected in this
|
1735
1658
|
# phase. The client provides this configuration in terms of the durations of
|
1736
1659
|
# those two phases. The durations are measured in terms of the audio length from
|
1737
|
-
# the
|
1660
|
+
# the start of the input audio. No-speech event is a response with
|
1738
1661
|
# END_OF_UTTERANCE without any transcript following up.
|
1739
1662
|
# Corresponds to the JSON property `bargeInConfig`
|
1740
1663
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3BargeInConfig]
|
@@ -2407,25 +2330,6 @@ module Google
|
|
2407
2330
|
end
|
2408
2331
|
end
|
2409
2332
|
|
2410
|
-
# Metadata for ReloadDocument operation.
|
2411
|
-
class GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata
|
2412
|
-
include Google::Apis::Core::Hashable
|
2413
|
-
|
2414
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
2415
|
-
# Corresponds to the JSON property `genericMetadata`
|
2416
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
|
2417
|
-
attr_accessor :generic_metadata
|
2418
|
-
|
2419
|
-
def initialize(**args)
|
2420
|
-
update!(**args)
|
2421
|
-
end
|
2422
|
-
|
2423
|
-
# Update properties of this object
|
2424
|
-
def update!(**args)
|
2425
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2426
|
-
end
|
2427
|
-
end
|
2428
|
-
|
2429
2333
|
# Represents a response message that can be returned by a conversational agent.
|
2430
2334
|
# Response messages are also used for output audio synthesis. The approach is as
|
2431
2335
|
# follows: * If at least one OutputAudioText response is present, then all
|
@@ -2781,7 +2685,8 @@ module Google
|
|
2781
2685
|
attr_accessor :allow_playback_interruption
|
2782
2686
|
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
2783
2687
|
|
2784
|
-
# Required. A collection of text
|
2688
|
+
# Required. A collection of text response variants. If multiple variants are
|
2689
|
+
# defined, only one text response variant is returned at runtime.
|
2785
2690
|
# Corresponds to the JSON property `text`
|
2786
2691
|
# @return [Array<String>]
|
2787
2692
|
attr_accessor :text
|
@@ -2922,7 +2827,7 @@ module Google
|
|
2922
2827
|
attr_accessor :last_test_result
|
2923
2828
|
|
2924
2829
|
# The unique identifier of the test case. TestCases.CreateTestCase will populate
|
2925
|
-
# the name automatically. Otherwise use format: `projects//locations//agents
|
2830
|
+
# the name automatically. Otherwise use format: `projects//locations//agents//
|
2926
2831
|
# testCases/`.
|
2927
2832
|
# Corresponds to the JSON property `name`
|
2928
2833
|
# @return [String]
|
@@ -3016,7 +2921,7 @@ module Google
|
|
3016
2921
|
attr_accessor :environment
|
3017
2922
|
|
3018
2923
|
# The resource name for the test case result. Format: `projects//locations//
|
3019
|
-
# agents//testCases
|
2924
|
+
# agents//testCases//results/`.
|
3020
2925
|
# Corresponds to the JSON property `name`
|
3021
2926
|
# @return [String]
|
3022
2927
|
attr_accessor :name
|
@@ -3323,25 +3228,6 @@ module Google
|
|
3323
3228
|
end
|
3324
3229
|
end
|
3325
3230
|
|
3326
|
-
# Metadata for UpdateDocument operation.
|
3327
|
-
class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
|
3328
|
-
include Google::Apis::Core::Hashable
|
3329
|
-
|
3330
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
3331
|
-
# Corresponds to the JSON property `genericMetadata`
|
3332
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
|
3333
|
-
attr_accessor :generic_metadata
|
3334
|
-
|
3335
|
-
def initialize(**args)
|
3336
|
-
update!(**args)
|
3337
|
-
end
|
3338
|
-
|
3339
|
-
# Update properties of this object
|
3340
|
-
def update!(**args)
|
3341
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
3342
|
-
end
|
3343
|
-
end
|
3344
|
-
|
3345
3231
|
# Webhooks host the developer's business logic. During a session, webhooks allow
|
3346
3232
|
# the developer to use the data extracted by Dialogflow's natural language
|
3347
3233
|
# processing to generate dynamic responses, validate collected data, or trigger
|
@@ -3963,13 +3849,21 @@ module Google
|
|
3963
3849
|
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
|
3964
3850
|
include Google::Apis::Core::Hashable
|
3965
3851
|
|
3852
|
+
# Enables consent-based end-user input redaction, if true, a pre-defined session
|
3853
|
+
# parameter `$session.params.conversation-redaction` will be used to determine
|
3854
|
+
# if the utterance should be redacted.
|
3855
|
+
# Corresponds to the JSON property `enableConsentBasedRedaction`
|
3856
|
+
# @return [Boolean]
|
3857
|
+
attr_accessor :enable_consent_based_redaction
|
3858
|
+
alias_method :enable_consent_based_redaction?, :enable_consent_based_redaction
|
3859
|
+
|
3966
3860
|
# Enables DF Interaction logging.
|
3967
3861
|
# Corresponds to the JSON property `enableInteractionLogging`
|
3968
3862
|
# @return [Boolean]
|
3969
3863
|
attr_accessor :enable_interaction_logging
|
3970
3864
|
alias_method :enable_interaction_logging?, :enable_interaction_logging
|
3971
3865
|
|
3972
|
-
# Enables
|
3866
|
+
# Enables Google Cloud Logging.
|
3973
3867
|
# Corresponds to the JSON property `enableStackdriverLogging`
|
3974
3868
|
# @return [Boolean]
|
3975
3869
|
attr_accessor :enable_stackdriver_logging
|
@@ -3981,6 +3875,7 @@ module Google
|
|
3981
3875
|
|
3982
3876
|
# Update properties of this object
|
3983
3877
|
def update!(**args)
|
3878
|
+
@enable_consent_based_redaction = args[:enable_consent_based_redaction] if args.key?(:enable_consent_based_redaction)
|
3984
3879
|
@enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
|
3985
3880
|
@enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
|
3986
3881
|
end
|
@@ -4073,7 +3968,7 @@ module Google
|
|
4073
3968
|
# utterance has been detected. Note that no-speech event is not expected in this
|
4074
3969
|
# phase. The client provides this configuration in terms of the durations of
|
4075
3970
|
# those two phases. The durations are measured in terms of the audio length from
|
4076
|
-
# the
|
3971
|
+
# the start of the input audio. No-speech event is a response with
|
4077
3972
|
# END_OF_UTTERANCE without any transcript following up.
|
4078
3973
|
class GoogleCloudDialogflowCxV3beta1BargeInConfig
|
4079
3974
|
include Google::Apis::Core::Hashable
|
@@ -4345,25 +4240,6 @@ module Google
|
|
4345
4240
|
end
|
4346
4241
|
end
|
4347
4242
|
|
4348
|
-
# Metadata for CreateDocument operation.
|
4349
|
-
class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata
|
4350
|
-
include Google::Apis::Core::Hashable
|
4351
|
-
|
4352
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
4353
|
-
# Corresponds to the JSON property `genericMetadata`
|
4354
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
4355
|
-
attr_accessor :generic_metadata
|
4356
|
-
|
4357
|
-
def initialize(**args)
|
4358
|
-
update!(**args)
|
4359
|
-
end
|
4360
|
-
|
4361
|
-
# Update properties of this object
|
4362
|
-
def update!(**args)
|
4363
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
4364
|
-
end
|
4365
|
-
end
|
4366
|
-
|
4367
4243
|
# Metadata associated with the long running operation for Versions.CreateVersion.
|
4368
4244
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
4369
4245
|
include Google::Apis::Core::Hashable
|
@@ -4412,25 +4288,6 @@ module Google
|
|
4412
4288
|
end
|
4413
4289
|
end
|
4414
4290
|
|
4415
|
-
# Metadata for DeleteDocument operation.
|
4416
|
-
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
4417
|
-
include Google::Apis::Core::Hashable
|
4418
|
-
|
4419
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
4420
|
-
# Corresponds to the JSON property `genericMetadata`
|
4421
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
4422
|
-
attr_accessor :generic_metadata
|
4423
|
-
|
4424
|
-
def initialize(**args)
|
4425
|
-
update!(**args)
|
4426
|
-
end
|
4427
|
-
|
4428
|
-
# Update properties of this object
|
4429
|
-
def update!(**args)
|
4430
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
4431
|
-
end
|
4432
|
-
end
|
4433
|
-
|
4434
4291
|
# Metadata returned for the Environments.DeployFlow long running operation.
|
4435
4292
|
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
4436
4293
|
include Google::Apis::Core::Hashable
|
@@ -4592,7 +4449,7 @@ module Google
|
|
4592
4449
|
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
4593
4450
|
|
4594
4451
|
# A list of test case names to run. They should be under the same agent. Format
|
4595
|
-
# of each test case name: `projects//locations
|
4452
|
+
# of each test case name: `projects//locations//agents//testCases/`
|
4596
4453
|
# Corresponds to the JSON property `testCases`
|
4597
4454
|
# @return [Array<String>]
|
4598
4455
|
attr_accessor :test_cases
|
@@ -4613,7 +4470,9 @@ module Google
|
|
4613
4470
|
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
4614
4471
|
include Google::Apis::Core::Hashable
|
4615
4472
|
|
4616
|
-
# Required. Format
|
4473
|
+
# Required. Both flow and playbook versions are supported. Format for flow
|
4474
|
+
# version: projects//locations//agents//flows//versions/. Format for playbook
|
4475
|
+
# version: projects//locations//agents//playbooks//versions/.
|
4617
4476
|
# Corresponds to the JSON property `version`
|
4618
4477
|
# @return [String]
|
4619
4478
|
attr_accessor :version
|
@@ -4680,6 +4539,12 @@ module Google
|
|
4680
4539
|
# @return [String]
|
4681
4540
|
attr_accessor :target_page
|
4682
4541
|
|
4542
|
+
# The target playbook to transition to. Format: `projects//locations//agents//
|
4543
|
+
# playbooks/`.
|
4544
|
+
# Corresponds to the JSON property `targetPlaybook`
|
4545
|
+
# @return [String]
|
4546
|
+
attr_accessor :target_playbook
|
4547
|
+
|
4683
4548
|
# A fulfillment can do one or more of the following actions at the same time: *
|
4684
4549
|
# Generate rich message responses. * Set parameter values. * Call the webhook.
|
4685
4550
|
# Fulfillments can be called at various stages in the Page or Form lifecycle.
|
@@ -4701,6 +4566,7 @@ module Google
|
|
4701
4566
|
@name = args[:name] if args.key?(:name)
|
4702
4567
|
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
4703
4568
|
@target_page = args[:target_page] if args.key?(:target_page)
|
4569
|
+
@target_playbook = args[:target_playbook] if args.key?(:target_playbook)
|
4704
4570
|
@trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
|
4705
4571
|
end
|
4706
4572
|
end
|
@@ -5282,63 +5148,6 @@ module Google
|
|
5282
5148
|
end
|
5283
5149
|
end
|
5284
5150
|
|
5285
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
5286
|
-
class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
|
5287
|
-
include Google::Apis::Core::Hashable
|
5288
|
-
|
5289
|
-
# Required. Output only. The current state of this operation.
|
5290
|
-
# Corresponds to the JSON property `state`
|
5291
|
-
# @return [String]
|
5292
|
-
attr_accessor :state
|
5293
|
-
|
5294
|
-
def initialize(**args)
|
5295
|
-
update!(**args)
|
5296
|
-
end
|
5297
|
-
|
5298
|
-
# Update properties of this object
|
5299
|
-
def update!(**args)
|
5300
|
-
@state = args[:state] if args.key?(:state)
|
5301
|
-
end
|
5302
|
-
end
|
5303
|
-
|
5304
|
-
# Metadata for ImportDocuments operation.
|
5305
|
-
class GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata
|
5306
|
-
include Google::Apis::Core::Hashable
|
5307
|
-
|
5308
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
5309
|
-
# Corresponds to the JSON property `genericMetadata`
|
5310
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
5311
|
-
attr_accessor :generic_metadata
|
5312
|
-
|
5313
|
-
def initialize(**args)
|
5314
|
-
update!(**args)
|
5315
|
-
end
|
5316
|
-
|
5317
|
-
# Update properties of this object
|
5318
|
-
def update!(**args)
|
5319
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
5320
|
-
end
|
5321
|
-
end
|
5322
|
-
|
5323
|
-
# Response message for Documents.ImportDocuments.
|
5324
|
-
class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse
|
5325
|
-
include Google::Apis::Core::Hashable
|
5326
|
-
|
5327
|
-
# Includes details about skipped documents or any other warnings.
|
5328
|
-
# Corresponds to the JSON property `warnings`
|
5329
|
-
# @return [Array<Google::Apis::DialogflowV2::GoogleRpcStatus>]
|
5330
|
-
attr_accessor :warnings
|
5331
|
-
|
5332
|
-
def initialize(**args)
|
5333
|
-
update!(**args)
|
5334
|
-
end
|
5335
|
-
|
5336
|
-
# Update properties of this object
|
5337
|
-
def update!(**args)
|
5338
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
5339
|
-
end
|
5340
|
-
end
|
5341
|
-
|
5342
5151
|
# Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
|
5343
5152
|
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
|
5344
5153
|
include Google::Apis::Core::Hashable
|
@@ -5578,7 +5387,7 @@ module Google
|
|
5578
5387
|
# utterance has been detected. Note that no-speech event is not expected in this
|
5579
5388
|
# phase. The client provides this configuration in terms of the durations of
|
5580
5389
|
# those two phases. The durations are measured in terms of the audio length from
|
5581
|
-
# the
|
5390
|
+
# the start of the input audio. No-speech event is a response with
|
5582
5391
|
# END_OF_UTTERANCE without any transcript following up.
|
5583
5392
|
# Corresponds to the JSON property `bargeInConfig`
|
5584
5393
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1BargeInConfig]
|
@@ -6257,25 +6066,6 @@ module Google
|
|
6257
6066
|
end
|
6258
6067
|
end
|
6259
6068
|
|
6260
|
-
# Metadata for ReloadDocument operation.
|
6261
|
-
class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata
|
6262
|
-
include Google::Apis::Core::Hashable
|
6263
|
-
|
6264
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
6265
|
-
# Corresponds to the JSON property `genericMetadata`
|
6266
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
6267
|
-
attr_accessor :generic_metadata
|
6268
|
-
|
6269
|
-
def initialize(**args)
|
6270
|
-
update!(**args)
|
6271
|
-
end
|
6272
|
-
|
6273
|
-
# Update properties of this object
|
6274
|
-
def update!(**args)
|
6275
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
6276
|
-
end
|
6277
|
-
end
|
6278
|
-
|
6279
6069
|
# Represents a response message that can be returned by a conversational agent.
|
6280
6070
|
# Response messages are also used for output audio synthesis. The approach is as
|
6281
6071
|
# follows: * If at least one OutputAudioText response is present, then all
|
@@ -6631,7 +6421,8 @@ module Google
|
|
6631
6421
|
attr_accessor :allow_playback_interruption
|
6632
6422
|
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
6633
6423
|
|
6634
|
-
# Required. A collection of text
|
6424
|
+
# Required. A collection of text response variants. If multiple variants are
|
6425
|
+
# defined, only one text response variant is returned at runtime.
|
6635
6426
|
# Corresponds to the JSON property `text`
|
6636
6427
|
# @return [Array<String>]
|
6637
6428
|
attr_accessor :text
|
@@ -6772,7 +6563,7 @@ module Google
|
|
6772
6563
|
attr_accessor :last_test_result
|
6773
6564
|
|
6774
6565
|
# The unique identifier of the test case. TestCases.CreateTestCase will populate
|
6775
|
-
# the name automatically. Otherwise use format: `projects//locations//agents
|
6566
|
+
# the name automatically. Otherwise use format: `projects//locations//agents//
|
6776
6567
|
# testCases/`.
|
6777
6568
|
# Corresponds to the JSON property `name`
|
6778
6569
|
# @return [String]
|
@@ -6866,7 +6657,7 @@ module Google
|
|
6866
6657
|
attr_accessor :environment
|
6867
6658
|
|
6868
6659
|
# The resource name for the test case result. Format: `projects//locations//
|
6869
|
-
# agents//testCases
|
6660
|
+
# agents//testCases//results/`.
|
6870
6661
|
# Corresponds to the JSON property `name`
|
6871
6662
|
# @return [String]
|
6872
6663
|
attr_accessor :name
|
@@ -7262,25 +7053,6 @@ module Google
|
|
7262
7053
|
end
|
7263
7054
|
end
|
7264
7055
|
|
7265
|
-
# Metadata for UpdateDocument operation.
|
7266
|
-
class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
|
7267
|
-
include Google::Apis::Core::Hashable
|
7268
|
-
|
7269
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
7270
|
-
# Corresponds to the JSON property `genericMetadata`
|
7271
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
7272
|
-
attr_accessor :generic_metadata
|
7273
|
-
|
7274
|
-
def initialize(**args)
|
7275
|
-
update!(**args)
|
7276
|
-
end
|
7277
|
-
|
7278
|
-
# Update properties of this object
|
7279
|
-
def update!(**args)
|
7280
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
7281
|
-
end
|
7282
|
-
end
|
7283
|
-
|
7284
7056
|
# Webhooks host the developer's business logic. During a session, webhooks allow
|
7285
7057
|
# the developer to use the data extracted by Dialogflow's natural language
|
7286
7058
|
# processing to generate dynamic responses, validate collected data, or trigger
|
@@ -8339,8 +8111,9 @@ module Google
|
|
8339
8111
|
# A typical workflow for customers provide feedback to an answer is: 1. For
|
8340
8112
|
# human agent assistant, customers get suggestion via ListSuggestions API.
|
8341
8113
|
# Together with the answers, AnswerRecord.name are returned to the customers. 2.
|
8342
|
-
# The customer uses the AnswerRecord.name to call the
|
8343
|
-
# to send feedback about a specific answer that they
|
8114
|
+
# The customer uses the AnswerRecord.name to call the AnswerRecords.
|
8115
|
+
# UpdateAnswerRecord method to send feedback about a specific answer that they
|
8116
|
+
# believe is wrong.
|
8344
8117
|
class GoogleCloudDialogflowV2AnswerRecord
|
8345
8118
|
include Google::Apis::Core::Hashable
|
8346
8119
|
|
@@ -8808,7 +8581,7 @@ module Google
|
|
8808
8581
|
end
|
8809
8582
|
end
|
8810
8583
|
|
8811
|
-
# Metadata for a
|
8584
|
+
# Metadata for a ConversationProfiles.ClearSuggestionFeatureConfig operation.
|
8812
8585
|
class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
|
8813
8586
|
include Google::Apis::Core::Hashable
|
8814
8587
|
|
@@ -8847,7 +8620,7 @@ module Google
|
|
8847
8620
|
end
|
8848
8621
|
end
|
8849
8622
|
|
8850
|
-
# The request message for ConversationProfiles.
|
8623
|
+
# The request message for ConversationProfiles.ClearSuggestionFeatureConfig.
|
8851
8624
|
class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest
|
8852
8625
|
include Google::Apis::Core::Hashable
|
8853
8626
|
|
@@ -9079,6 +8852,20 @@ module Google
|
|
9079
8852
|
# @return [String]
|
9080
8853
|
attr_accessor :name
|
9081
8854
|
|
8855
|
+
# Output only. A read only boolean field reflecting Zone Isolation status of the
|
8856
|
+
# dataset.
|
8857
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
8858
|
+
# @return [Boolean]
|
8859
|
+
attr_accessor :satisfies_pzi
|
8860
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
8861
|
+
|
8862
|
+
# Output only. A read only boolean field reflecting Zone Separation status of
|
8863
|
+
# the dataset.
|
8864
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
8865
|
+
# @return [Boolean]
|
8866
|
+
attr_accessor :satisfies_pzs
|
8867
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
8868
|
+
|
9082
8869
|
def initialize(**args)
|
9083
8870
|
update!(**args)
|
9084
8871
|
end
|
@@ -9092,6 +8879,8 @@ module Google
|
|
9092
8879
|
@display_name = args[:display_name] if args.key?(:display_name)
|
9093
8880
|
@input_config = args[:input_config] if args.key?(:input_config)
|
9094
8881
|
@name = args[:name] if args.key?(:name)
|
8882
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
8883
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
9095
8884
|
end
|
9096
8885
|
end
|
9097
8886
|
|
@@ -9197,6 +8986,20 @@ module Google
|
|
9197
8986
|
# @return [String]
|
9198
8987
|
attr_accessor :name
|
9199
8988
|
|
8989
|
+
# Output only. A read only boolean field reflecting Zone Isolation status of the
|
8990
|
+
# model.
|
8991
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
8992
|
+
# @return [Boolean]
|
8993
|
+
attr_accessor :satisfies_pzi
|
8994
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
8995
|
+
|
8996
|
+
# Output only. A read only boolean field reflecting Zone Separation status of
|
8997
|
+
# the model.
|
8998
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
8999
|
+
# @return [Boolean]
|
9000
|
+
attr_accessor :satisfies_pzs
|
9001
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
9002
|
+
|
9200
9003
|
# Metadata for smart reply models.
|
9201
9004
|
# Corresponds to the JSON property `smartReplyModelMetadata`
|
9202
9005
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyModelMetadata]
|
@@ -9220,6 +9023,8 @@ module Google
|
|
9220
9023
|
@display_name = args[:display_name] if args.key?(:display_name)
|
9221
9024
|
@language_code = args[:language_code] if args.key?(:language_code)
|
9222
9025
|
@name = args[:name] if args.key?(:name)
|
9026
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
9027
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
9223
9028
|
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
|
9224
9029
|
@state = args[:state] if args.key?(:state)
|
9225
9030
|
end
|
@@ -9418,7 +9223,7 @@ module Google
|
|
9418
9223
|
end
|
9419
9224
|
end
|
9420
9225
|
|
9421
|
-
# Metadata for
|
9226
|
+
# Metadata for CreateConversationDataset.
|
9422
9227
|
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
|
9423
9228
|
include Google::Apis::Core::Hashable
|
9424
9229
|
|
@@ -9530,7 +9335,7 @@ module Google
|
|
9530
9335
|
end
|
9531
9336
|
end
|
9532
9337
|
|
9533
|
-
# Metadata for
|
9338
|
+
# Metadata for DeleteConversationDataset.
|
9534
9339
|
class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
|
9535
9340
|
include Google::Apis::Core::Hashable
|
9536
9341
|
|
@@ -9905,6 +9710,37 @@ module Google
|
|
9905
9710
|
end
|
9906
9711
|
end
|
9907
9712
|
|
9713
|
+
# A customer-managed encryption key specification that can be applied to all
|
9714
|
+
# created resources (e.g. Conversation).
|
9715
|
+
class GoogleCloudDialogflowV2EncryptionSpec
|
9716
|
+
include Google::Apis::Core::Hashable
|
9717
|
+
|
9718
|
+
# Required. The name of customer-managed encryption key that is used to secure a
|
9719
|
+
# resource and its sub-resources. If empty, the resource is secured by the
|
9720
|
+
# default Google encryption key. Only the key in the same location as this
|
9721
|
+
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
9722
|
+
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
9723
|
+
# Corresponds to the JSON property `kmsKey`
|
9724
|
+
# @return [String]
|
9725
|
+
attr_accessor :kms_key
|
9726
|
+
|
9727
|
+
# Immutable. The resource name of the encryption key specification resource.
|
9728
|
+
# Format: projects/`project`/locations/`location`/encryptionSpec
|
9729
|
+
# Corresponds to the JSON property `name`
|
9730
|
+
# @return [String]
|
9731
|
+
attr_accessor :name
|
9732
|
+
|
9733
|
+
def initialize(**args)
|
9734
|
+
update!(**args)
|
9735
|
+
end
|
9736
|
+
|
9737
|
+
# Update properties of this object
|
9738
|
+
def update!(**args)
|
9739
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
9740
|
+
@name = args[:name] if args.key?(:name)
|
9741
|
+
end
|
9742
|
+
end
|
9743
|
+
|
9908
9744
|
# Each intent parameter has a type, called the entity type, which dictates
|
9909
9745
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
9910
9746
|
# predefined system entities that can match many common types of data. For
|
@@ -10454,7 +10290,7 @@ module Google
|
|
10454
10290
|
end
|
10455
10291
|
|
10456
10292
|
# Providing examples in the generator (i.e. building a few-shot generator) helps
|
10457
|
-
# convey the desired format of the LLM response.
|
10293
|
+
# convey the desired format of the LLM response.
|
10458
10294
|
class GoogleCloudDialogflowV2FewShotExample
|
10459
10295
|
include Google::Apis::Core::Hashable
|
10460
10296
|
|
@@ -10792,10 +10628,10 @@ module Google
|
|
10792
10628
|
class GoogleCloudDialogflowV2GenerateStatelessSummaryResponse
|
10793
10629
|
include Google::Apis::Core::Hashable
|
10794
10630
|
|
10795
|
-
# Number of messages prior to and including
|
10796
|
-
#
|
10797
|
-
#
|
10798
|
-
#
|
10631
|
+
# Number of messages prior to and including latest_message used to compile the
|
10632
|
+
# suggestion. It may be smaller than the GenerateStatelessSummaryRequest.
|
10633
|
+
# max_context_size field in the request if there weren't that many messages in
|
10634
|
+
# the conversation.
|
10799
10635
|
# Corresponds to the JSON property `contextSize`
|
10800
10636
|
# @return [Fixnum]
|
10801
10637
|
attr_accessor :context_size
|
@@ -11227,6 +11063,12 @@ module Google
|
|
11227
11063
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings]
|
11228
11064
|
attr_accessor :context_filter_settings
|
11229
11065
|
|
11066
|
+
# Optional. The number of recent messages to include in the context. Supported
|
11067
|
+
# features: KNOWLEDGE_ASSIST.
|
11068
|
+
# Corresponds to the JSON property `contextSize`
|
11069
|
+
# @return [Fixnum]
|
11070
|
+
attr_accessor :context_size
|
11071
|
+
|
11230
11072
|
# Dialogflow source setting. Supported feature: DIALOGFLOW_ASSIST.
|
11231
11073
|
# Corresponds to the JSON property `dialogflowQuerySource`
|
11232
11074
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource]
|
@@ -11263,6 +11105,7 @@ module Google
|
|
11263
11105
|
def update!(**args)
|
11264
11106
|
@confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
|
11265
11107
|
@context_filter_settings = args[:context_filter_settings] if args.key?(:context_filter_settings)
|
11108
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
11266
11109
|
@dialogflow_query_source = args[:dialogflow_query_source] if args.key?(:dialogflow_query_source)
|
11267
11110
|
@document_query_source = args[:document_query_source] if args.key?(:document_query_source)
|
11268
11111
|
@knowledge_base_query_source = args[:knowledge_base_query_source] if args.key?(:knowledge_base_query_source)
|
@@ -11818,6 +11661,45 @@ module Google
|
|
11818
11661
|
end
|
11819
11662
|
end
|
11820
11663
|
|
11664
|
+
# Metadata for initializing a location-level encryption specification.
|
11665
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
11666
|
+
include Google::Apis::Core::Hashable
|
11667
|
+
|
11668
|
+
# The request to initialize a location-level encryption specification.
|
11669
|
+
# Corresponds to the JSON property `request`
|
11670
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
|
11671
|
+
attr_accessor :request
|
11672
|
+
|
11673
|
+
def initialize(**args)
|
11674
|
+
update!(**args)
|
11675
|
+
end
|
11676
|
+
|
11677
|
+
# Update properties of this object
|
11678
|
+
def update!(**args)
|
11679
|
+
@request = args[:request] if args.key?(:request)
|
11680
|
+
end
|
11681
|
+
end
|
11682
|
+
|
11683
|
+
# The request to initialize a location-level encryption specification.
|
11684
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
11685
|
+
include Google::Apis::Core::Hashable
|
11686
|
+
|
11687
|
+
# A customer-managed encryption key specification that can be applied to all
|
11688
|
+
# created resources (e.g. Conversation).
|
11689
|
+
# Corresponds to the JSON property `encryptionSpec`
|
11690
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec]
|
11691
|
+
attr_accessor :encryption_spec
|
11692
|
+
|
11693
|
+
def initialize(**args)
|
11694
|
+
update!(**args)
|
11695
|
+
end
|
11696
|
+
|
11697
|
+
# Update properties of this object
|
11698
|
+
def update!(**args)
|
11699
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
11700
|
+
end
|
11701
|
+
end
|
11702
|
+
|
11821
11703
|
# Instructs the speech recognizer how to process the audio content.
|
11822
11704
|
class GoogleCloudDialogflowV2InputAudioConfig
|
11823
11705
|
include Google::Apis::Core::Hashable
|
@@ -11890,6 +11772,11 @@ module Google
|
|
11890
11772
|
# @return [Array<String>]
|
11891
11773
|
attr_accessor :phrase_hints
|
11892
11774
|
|
11775
|
+
# A collection of phrase set resources to use for speech adaptation.
|
11776
|
+
# Corresponds to the JSON property `phraseSets`
|
11777
|
+
# @return [Array<String>]
|
11778
|
+
attr_accessor :phrase_sets
|
11779
|
+
|
11893
11780
|
# Required. Sample rate (in Hertz) of the audio content sent in the query. Refer
|
11894
11781
|
# to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/
|
11895
11782
|
# docs/basics) for more details.
|
@@ -11932,6 +11819,7 @@ module Google
|
|
11932
11819
|
@model_variant = args[:model_variant] if args.key?(:model_variant)
|
11933
11820
|
@opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
|
11934
11821
|
@phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
|
11822
|
+
@phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets)
|
11935
11823
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
11936
11824
|
@single_utterance = args[:single_utterance] if args.key?(:single_utterance)
|
11937
11825
|
@speech_contexts = args[:speech_contexts] if args.key?(:speech_contexts)
|
@@ -13388,6 +13276,11 @@ module Google
|
|
13388
13276
|
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
13389
13277
|
include Google::Apis::Core::Hashable
|
13390
13278
|
|
13279
|
+
# Metadata of the document.
|
13280
|
+
# Corresponds to the JSON property `metadata`
|
13281
|
+
# @return [Hash<String,Object>]
|
13282
|
+
attr_accessor :metadata
|
13283
|
+
|
13391
13284
|
# Text taken from that URI.
|
13392
13285
|
# Corresponds to the JSON property `text`
|
13393
13286
|
# @return [String]
|
@@ -13409,6 +13302,7 @@ module Google
|
|
13409
13302
|
|
13410
13303
|
# Update properties of this object
|
13411
13304
|
def update!(**args)
|
13305
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
13412
13306
|
@text = args[:text] if args.key?(:text)
|
13413
13307
|
@title = args[:title] if args.key?(:title)
|
13414
13308
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -14030,12 +13924,11 @@ module Google
|
|
14030
13924
|
|
14031
13925
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
14032
13926
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
14033
|
-
# attitude as positive, negative, or neutral. For
|
14034
|
-
#
|
14035
|
-
#
|
14036
|
-
#
|
14037
|
-
#
|
14038
|
-
# ConversationProfile.human_agent_assistant_config
|
13927
|
+
# attitude as positive, negative, or neutral. For DetectIntent, it needs to be
|
13928
|
+
# configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
|
13929
|
+
# needs to be configured in StreamingDetectIntentRequest.query_params. And for
|
13930
|
+
# Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
|
13931
|
+
# to be configured in ConversationProfile.human_agent_assistant_config
|
14039
13932
|
# Corresponds to the JSON property `sentimentAnalysis`
|
14040
13933
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult]
|
14041
13934
|
attr_accessor :sentiment_analysis
|
@@ -14558,12 +14451,11 @@ module Google
|
|
14558
14451
|
|
14559
14452
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
14560
14453
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
14561
|
-
# attitude as positive, negative, or neutral. For
|
14562
|
-
#
|
14563
|
-
#
|
14564
|
-
#
|
14565
|
-
#
|
14566
|
-
# ConversationProfile.human_agent_assistant_config
|
14454
|
+
# attitude as positive, negative, or neutral. For DetectIntent, it needs to be
|
14455
|
+
# configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
|
14456
|
+
# needs to be configured in StreamingDetectIntentRequest.query_params. And for
|
14457
|
+
# Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
|
14458
|
+
# to be configured in ConversationProfile.human_agent_assistant_config
|
14567
14459
|
# Corresponds to the JSON property `sentimentAnalysisResult`
|
14568
14460
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult]
|
14569
14461
|
attr_accessor :sentiment_analysis_result
|
@@ -14753,6 +14645,11 @@ module Google
|
|
14753
14645
|
class GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource
|
14754
14646
|
include Google::Apis::Core::Hashable
|
14755
14647
|
|
14648
|
+
# Metadata associated with the article.
|
14649
|
+
# Corresponds to the JSON property `metadata`
|
14650
|
+
# @return [Hash<String,Object>]
|
14651
|
+
attr_accessor :metadata
|
14652
|
+
|
14756
14653
|
# The relevant snippet of the article.
|
14757
14654
|
# Corresponds to the JSON property `snippet`
|
14758
14655
|
# @return [String]
|
@@ -14774,6 +14671,7 @@ module Google
|
|
14774
14671
|
|
14775
14672
|
# Update properties of this object
|
14776
14673
|
def update!(**args)
|
14674
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
14777
14675
|
@snippet = args[:snippet] if args.key?(:snippet)
|
14778
14676
|
@title = args[:title] if args.key?(:title)
|
14779
14677
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -14796,6 +14694,22 @@ module Google
|
|
14796
14694
|
# @return [String]
|
14797
14695
|
attr_accessor :conversation_profile
|
14798
14696
|
|
14697
|
+
# Optional. Information about the end-user to improve the relevance and accuracy
|
14698
|
+
# of generative answers. This will be interpreted and used by a language model,
|
14699
|
+
# so, for good results, the data should be self-descriptive, and in a simple
|
14700
|
+
# structure. Example: ```json ` "subscription plan": "Business Premium Plus", "
|
14701
|
+
# devices owned": [ `"model": "Google Pixel 7"`, `"model": "Google Pixel Tablet"`
|
14702
|
+
# ] ` ```
|
14703
|
+
# Corresponds to the JSON property `endUserMetadata`
|
14704
|
+
# @return [Hash<String,Object>]
|
14705
|
+
attr_accessor :end_user_metadata
|
14706
|
+
|
14707
|
+
# Optional. Whether to search the query exactly without query rewrite.
|
14708
|
+
# Corresponds to the JSON property `exactSearch`
|
14709
|
+
# @return [Boolean]
|
14710
|
+
attr_accessor :exact_search
|
14711
|
+
alias_method :exact_search?, :exact_search
|
14712
|
+
|
14799
14713
|
# Optional. The name of the latest conversation message when the request is
|
14800
14714
|
# triggered. Format: `projects//locations//conversations//messages/`.
|
14801
14715
|
# Corresponds to the JSON property `latestMessage`
|
@@ -14813,7 +14727,17 @@ module Google
|
|
14813
14727
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput]
|
14814
14728
|
attr_accessor :query
|
14815
14729
|
|
14816
|
-
# Optional. The
|
14730
|
+
# Optional. The source of the query in the request.
|
14731
|
+
# Corresponds to the JSON property `querySource`
|
14732
|
+
# @return [String]
|
14733
|
+
attr_accessor :query_source
|
14734
|
+
|
14735
|
+
# Configuration specific to search queries with data stores.
|
14736
|
+
# Corresponds to the JSON property `searchConfig`
|
14737
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig]
|
14738
|
+
attr_accessor :search_config
|
14739
|
+
|
14740
|
+
# Required. The ID of the search session. The session_id can be combined with
|
14817
14741
|
# Dialogflow V3 Agent ID retrieved from conversation profile or on its own to
|
14818
14742
|
# identify a search session. The search history of the same session will impact
|
14819
14743
|
# the search result. It's up to the API caller to choose an appropriate `Session
|
@@ -14831,13 +14755,248 @@ module Google
|
|
14831
14755
|
def update!(**args)
|
14832
14756
|
@conversation = args[:conversation] if args.key?(:conversation)
|
14833
14757
|
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
14758
|
+
@end_user_metadata = args[:end_user_metadata] if args.key?(:end_user_metadata)
|
14759
|
+
@exact_search = args[:exact_search] if args.key?(:exact_search)
|
14834
14760
|
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
14835
14761
|
@parent = args[:parent] if args.key?(:parent)
|
14836
14762
|
@query = args[:query] if args.key?(:query)
|
14763
|
+
@query_source = args[:query_source] if args.key?(:query_source)
|
14764
|
+
@search_config = args[:search_config] if args.key?(:search_config)
|
14837
14765
|
@session_id = args[:session_id] if args.key?(:session_id)
|
14838
14766
|
end
|
14839
14767
|
end
|
14840
14768
|
|
14769
|
+
# Configuration specific to search queries with data stores.
|
14770
|
+
class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig
|
14771
|
+
include Google::Apis::Core::Hashable
|
14772
|
+
|
14773
|
+
# Optional. Boost specifications for data stores.
|
14774
|
+
# Corresponds to the JSON property `boostSpecs`
|
14775
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs>]
|
14776
|
+
attr_accessor :boost_specs
|
14777
|
+
|
14778
|
+
# Optional. Filter specification for data store queries.
|
14779
|
+
# Corresponds to the JSON property `filterSpecs`
|
14780
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs>]
|
14781
|
+
attr_accessor :filter_specs
|
14782
|
+
|
14783
|
+
def initialize(**args)
|
14784
|
+
update!(**args)
|
14785
|
+
end
|
14786
|
+
|
14787
|
+
# Update properties of this object
|
14788
|
+
def update!(**args)
|
14789
|
+
@boost_specs = args[:boost_specs] if args.key?(:boost_specs)
|
14790
|
+
@filter_specs = args[:filter_specs] if args.key?(:filter_specs)
|
14791
|
+
end
|
14792
|
+
end
|
14793
|
+
|
14794
|
+
# Boost specifications for data stores.
|
14795
|
+
class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs
|
14796
|
+
include Google::Apis::Core::Hashable
|
14797
|
+
|
14798
|
+
# Optional. Data Stores where the boosting configuration is applied. The full
|
14799
|
+
# names of the referenced data stores. Formats: `projects/`project`/locations/`
|
14800
|
+
# location`/collections/`collection`/dataStores/`data_store`` `projects/`project`
|
14801
|
+
# /locations/`location`/dataStores/`data_store``
|
14802
|
+
# Corresponds to the JSON property `dataStores`
|
14803
|
+
# @return [Array<String>]
|
14804
|
+
attr_accessor :data_stores
|
14805
|
+
|
14806
|
+
# Optional. A list of boosting specifications.
|
14807
|
+
# Corresponds to the JSON property `spec`
|
14808
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec>]
|
14809
|
+
attr_accessor :spec
|
14810
|
+
|
14811
|
+
def initialize(**args)
|
14812
|
+
update!(**args)
|
14813
|
+
end
|
14814
|
+
|
14815
|
+
# Update properties of this object
|
14816
|
+
def update!(**args)
|
14817
|
+
@data_stores = args[:data_stores] if args.key?(:data_stores)
|
14818
|
+
@spec = args[:spec] if args.key?(:spec)
|
14819
|
+
end
|
14820
|
+
end
|
14821
|
+
|
14822
|
+
# Boost specification to boost certain documents. A copy of google.cloud.
|
14823
|
+
# discoveryengine.v1main.BoostSpec, field documentation is available at https://
|
14824
|
+
# cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/
|
14825
|
+
# BoostSpec
|
14826
|
+
class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec
|
14827
|
+
include Google::Apis::Core::Hashable
|
14828
|
+
|
14829
|
+
# Optional. Condition boost specifications. If a document matches multiple
|
14830
|
+
# conditions in the specifictions, boost scores from these specifications are
|
14831
|
+
# all applied and combined in a non-linear way. Maximum number of specifications
|
14832
|
+
# is 20.
|
14833
|
+
# Corresponds to the JSON property `conditionBoostSpecs`
|
14834
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec>]
|
14835
|
+
attr_accessor :condition_boost_specs
|
14836
|
+
|
14837
|
+
def initialize(**args)
|
14838
|
+
update!(**args)
|
14839
|
+
end
|
14840
|
+
|
14841
|
+
# Update properties of this object
|
14842
|
+
def update!(**args)
|
14843
|
+
@condition_boost_specs = args[:condition_boost_specs] if args.key?(:condition_boost_specs)
|
14844
|
+
end
|
14845
|
+
end
|
14846
|
+
|
14847
|
+
# Boost applies to documents which match a condition.
|
14848
|
+
class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec
|
14849
|
+
include Google::Apis::Core::Hashable
|
14850
|
+
|
14851
|
+
# Optional. Strength of the condition boost, which should be in [-1, 1].
|
14852
|
+
# Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the
|
14853
|
+
# document a big promotion. However, it does not necessarily mean that the
|
14854
|
+
# boosted document will be the top result at all times, nor that other documents
|
14855
|
+
# will be excluded. Results could still be shown even when none of them matches
|
14856
|
+
# the condition. And results that are significantly more relevant to the search
|
14857
|
+
# query can still trump your heavily favored but irrelevant documents. Setting
|
14858
|
+
# to -1.0 gives the document a big demotion. However, results that are deeply
|
14859
|
+
# relevant might still be shown. The document will have an upstream battle to
|
14860
|
+
# get a fairly high ranking, but it is not blocked out completely. Setting to 0.
|
14861
|
+
# 0 means no boost applied. The boosting condition is ignored.
|
14862
|
+
# Corresponds to the JSON property `boost`
|
14863
|
+
# @return [Float]
|
14864
|
+
attr_accessor :boost
|
14865
|
+
|
14866
|
+
# Specification for custom ranking based on customer specified attribute value.
|
14867
|
+
# It provides more controls for customized ranking than the simple (condition,
|
14868
|
+
# boost) combination above.
|
14869
|
+
# Corresponds to the JSON property `boostControlSpec`
|
14870
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec]
|
14871
|
+
attr_accessor :boost_control_spec
|
14872
|
+
|
14873
|
+
# Optional. An expression which specifies a boost condition. The syntax and
|
14874
|
+
# supported fields are the same as a filter expression. Examples: * To boost
|
14875
|
+
# documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * (
|
14876
|
+
# id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))
|
14877
|
+
# Corresponds to the JSON property `condition`
|
14878
|
+
# @return [String]
|
14879
|
+
attr_accessor :condition
|
14880
|
+
|
14881
|
+
def initialize(**args)
|
14882
|
+
update!(**args)
|
14883
|
+
end
|
14884
|
+
|
14885
|
+
# Update properties of this object
|
14886
|
+
def update!(**args)
|
14887
|
+
@boost = args[:boost] if args.key?(:boost)
|
14888
|
+
@boost_control_spec = args[:boost_control_spec] if args.key?(:boost_control_spec)
|
14889
|
+
@condition = args[:condition] if args.key?(:condition)
|
14890
|
+
end
|
14891
|
+
end
|
14892
|
+
|
14893
|
+
# Specification for custom ranking based on customer specified attribute value.
|
14894
|
+
# It provides more controls for customized ranking than the simple (condition,
|
14895
|
+
# boost) combination above.
|
14896
|
+
class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec
|
14897
|
+
include Google::Apis::Core::Hashable
|
14898
|
+
|
14899
|
+
# Optional. The attribute type to be used to determine the boost amount. The
|
14900
|
+
# attribute value can be derived from the field value of the specified
|
14901
|
+
# field_name. In the case of numerical it is straightforward i.e.
|
14902
|
+
# attribute_value = numerical_field_value. In the case of freshness however,
|
14903
|
+
# attribute_value = (time.now() - datetime_field_value).
|
14904
|
+
# Corresponds to the JSON property `attributeType`
|
14905
|
+
# @return [String]
|
14906
|
+
attr_accessor :attribute_type
|
14907
|
+
|
14908
|
+
# Optional. The control points used to define the curve. The monotonic function (
|
14909
|
+
# defined through the interpolation_type above) passes through the control
|
14910
|
+
# points listed here.
|
14911
|
+
# Corresponds to the JSON property `controlPoints`
|
14912
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint>]
|
14913
|
+
attr_accessor :control_points
|
14914
|
+
|
14915
|
+
# Optional. The name of the field whose value will be used to determine the
|
14916
|
+
# boost amount.
|
14917
|
+
# Corresponds to the JSON property `fieldName`
|
14918
|
+
# @return [String]
|
14919
|
+
attr_accessor :field_name
|
14920
|
+
|
14921
|
+
# Optional. The interpolation type to be applied to connect the control points
|
14922
|
+
# listed below.
|
14923
|
+
# Corresponds to the JSON property `interpolationType`
|
14924
|
+
# @return [String]
|
14925
|
+
attr_accessor :interpolation_type
|
14926
|
+
|
14927
|
+
def initialize(**args)
|
14928
|
+
update!(**args)
|
14929
|
+
end
|
14930
|
+
|
14931
|
+
# Update properties of this object
|
14932
|
+
def update!(**args)
|
14933
|
+
@attribute_type = args[:attribute_type] if args.key?(:attribute_type)
|
14934
|
+
@control_points = args[:control_points] if args.key?(:control_points)
|
14935
|
+
@field_name = args[:field_name] if args.key?(:field_name)
|
14936
|
+
@interpolation_type = args[:interpolation_type] if args.key?(:interpolation_type)
|
14937
|
+
end
|
14938
|
+
end
|
14939
|
+
|
14940
|
+
# The control points used to define the curve. The curve defined through these
|
14941
|
+
# control points can only be monotonically increasing or decreasing(constant
|
14942
|
+
# values are acceptable).
|
14943
|
+
class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint
|
14944
|
+
include Google::Apis::Core::Hashable
|
14945
|
+
|
14946
|
+
# Optional. Can be one of: 1. The numerical field value. 2. The duration spec
|
14947
|
+
# for freshness: The value must be formatted as an XSD `dayTimeDuration` value (
|
14948
|
+
# a restricted subset of an ISO 8601 duration value). The pattern for this is: `
|
14949
|
+
# nDnM]`.
|
14950
|
+
# Corresponds to the JSON property `attributeValue`
|
14951
|
+
# @return [String]
|
14952
|
+
attr_accessor :attribute_value
|
14953
|
+
|
14954
|
+
# Optional. The value between -1 to 1 by which to boost the score if the
|
14955
|
+
# attribute_value evaluates to the value specified above.
|
14956
|
+
# Corresponds to the JSON property `boostAmount`
|
14957
|
+
# @return [Float]
|
14958
|
+
attr_accessor :boost_amount
|
14959
|
+
|
14960
|
+
def initialize(**args)
|
14961
|
+
update!(**args)
|
14962
|
+
end
|
14963
|
+
|
14964
|
+
# Update properties of this object
|
14965
|
+
def update!(**args)
|
14966
|
+
@attribute_value = args[:attribute_value] if args.key?(:attribute_value)
|
14967
|
+
@boost_amount = args[:boost_amount] if args.key?(:boost_amount)
|
14968
|
+
end
|
14969
|
+
end
|
14970
|
+
|
14971
|
+
# Filter specification for data store queries.
|
14972
|
+
class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs
|
14973
|
+
include Google::Apis::Core::Hashable
|
14974
|
+
|
14975
|
+
# Optional. The data store where the filter configuration is applied. Full
|
14976
|
+
# resource name of data store, such as projects/`project`/locations/`location`/
|
14977
|
+
# collections/`collectionId`/ dataStores/`dataStoreId`.
|
14978
|
+
# Corresponds to the JSON property `dataStores`
|
14979
|
+
# @return [Array<String>]
|
14980
|
+
attr_accessor :data_stores
|
14981
|
+
|
14982
|
+
# Optional. The filter expression to be applied. Expression syntax is documented
|
14983
|
+
# at https://cloud.google.com/generative-ai-app-builder/docs/filter-search-
|
14984
|
+
# metadata#filter-expression-syntax
|
14985
|
+
# Corresponds to the JSON property `filter`
|
14986
|
+
# @return [String]
|
14987
|
+
attr_accessor :filter
|
14988
|
+
|
14989
|
+
def initialize(**args)
|
14990
|
+
update!(**args)
|
14991
|
+
end
|
14992
|
+
|
14993
|
+
# Update properties of this object
|
14994
|
+
def update!(**args)
|
14995
|
+
@data_stores = args[:data_stores] if args.key?(:data_stores)
|
14996
|
+
@filter = args[:filter] if args.key?(:filter)
|
14997
|
+
end
|
14998
|
+
end
|
14999
|
+
|
14841
15000
|
# The response message for Conversations.SearchKnowledge.
|
14842
15001
|
class GoogleCloudDialogflowV2SearchKnowledgeResponse
|
14843
15002
|
include Google::Apis::Core::Hashable
|
@@ -14916,12 +15075,11 @@ module Google
|
|
14916
15075
|
|
14917
15076
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
14918
15077
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
14919
|
-
# attitude as positive, negative, or neutral. For
|
14920
|
-
#
|
14921
|
-
#
|
14922
|
-
#
|
14923
|
-
#
|
14924
|
-
# ConversationProfile.human_agent_assistant_config
|
15078
|
+
# attitude as positive, negative, or neutral. For DetectIntent, it needs to be
|
15079
|
+
# configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
|
15080
|
+
# needs to be configured in StreamingDetectIntentRequest.query_params. And for
|
15081
|
+
# Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
|
15082
|
+
# to be configured in ConversationProfile.human_agent_assistant_config
|
14925
15083
|
class GoogleCloudDialogflowV2SentimentAnalysisResult
|
14926
15084
|
include Google::Apis::Core::Hashable
|
14927
15085
|
|
@@ -14986,7 +15144,7 @@ module Google
|
|
14986
15144
|
end
|
14987
15145
|
end
|
14988
15146
|
|
14989
|
-
# Metadata for a
|
15147
|
+
# Metadata for a ConversationProfiles.SetSuggestionFeatureConfig operation.
|
14990
15148
|
class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
|
14991
15149
|
include Google::Apis::Core::Hashable
|
14992
15150
|
|
@@ -15025,7 +15183,7 @@ module Google
|
|
15025
15183
|
end
|
15026
15184
|
end
|
15027
15185
|
|
15028
|
-
# The request message for ConversationProfiles.
|
15186
|
+
# The request message for ConversationProfiles.SetSuggestionFeatureConfig.
|
15029
15187
|
class GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest
|
15030
15188
|
include Google::Apis::Core::Hashable
|
15031
15189
|
|
@@ -15206,15 +15364,6 @@ module Google
|
|
15206
15364
|
class GoogleCloudDialogflowV2SpeechToTextConfig
|
15207
15365
|
include Google::Apis::Core::Hashable
|
15208
15366
|
|
15209
|
-
# Defines the list of other language codes in addition to the one provided by
|
15210
|
-
# the conversation profile that may be detected as the language code for the
|
15211
|
-
# utterances over the conversation. See [Language Support](https://cloud.google.
|
15212
|
-
# com/dialogflow/docs/reference/language) for a list of the currently supported
|
15213
|
-
# language codes.
|
15214
|
-
# Corresponds to the JSON property `alternativeLanguageCodes`
|
15215
|
-
# @return [Array<String>]
|
15216
|
-
attr_accessor :alternative_language_codes
|
15217
|
-
|
15218
15367
|
# Audio encoding of the audio content to process.
|
15219
15368
|
# Corresponds to the JSON property `audioEncoding`
|
15220
15369
|
# @return [String]
|
@@ -15254,6 +15403,11 @@ module Google
|
|
15254
15403
|
# @return [String]
|
15255
15404
|
attr_accessor :model
|
15256
15405
|
|
15406
|
+
# List of names of Cloud Speech phrase sets that are used for transcription.
|
15407
|
+
# Corresponds to the JSON property `phraseSets`
|
15408
|
+
# @return [Array<String>]
|
15409
|
+
attr_accessor :phrase_sets
|
15410
|
+
|
15257
15411
|
# Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud
|
15258
15412
|
# Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics)
|
15259
15413
|
# for more details.
|
@@ -15283,11 +15437,11 @@ module Google
|
|
15283
15437
|
|
15284
15438
|
# Update properties of this object
|
15285
15439
|
def update!(**args)
|
15286
|
-
@alternative_language_codes = args[:alternative_language_codes] if args.key?(:alternative_language_codes)
|
15287
15440
|
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
15288
15441
|
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
15289
15442
|
@language_code = args[:language_code] if args.key?(:language_code)
|
15290
15443
|
@model = args[:model] if args.key?(:model)
|
15444
|
+
@phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets)
|
15291
15445
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
15292
15446
|
@speech_model_variant = args[:speech_model_variant] if args.key?(:speech_model_variant)
|
15293
15447
|
@use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
|
@@ -15400,8 +15554,8 @@ module Google
|
|
15400
15554
|
class GoogleCloudDialogflowV2SuggestConversationSummaryResponse
|
15401
15555
|
include Google::Apis::Core::Hashable
|
15402
15556
|
|
15403
|
-
# Number of messages prior to and including
|
15404
|
-
#
|
15557
|
+
# Number of messages prior to and including latest_message used to compile the
|
15558
|
+
# suggestion. It may be smaller than the SuggestConversationSummaryRequest.
|
15405
15559
|
# context_size field in the request if there weren't that many messages in the
|
15406
15560
|
# conversation.
|
15407
15561
|
# Corresponds to the JSON property `contextSize`
|
@@ -16659,6 +16813,37 @@ module Google
|
|
16659
16813
|
end
|
16660
16814
|
end
|
16661
16815
|
|
16816
|
+
# A customer-managed encryption key specification that can be applied to all
|
16817
|
+
# created resources (e.g. Conversation).
|
16818
|
+
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
16819
|
+
include Google::Apis::Core::Hashable
|
16820
|
+
|
16821
|
+
# Required. The name of customer-managed encryption key that is used to secure a
|
16822
|
+
# resource and its sub-resources. If empty, the resource is secured by the
|
16823
|
+
# default Google encryption key. Only the key in the same location as this
|
16824
|
+
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
16825
|
+
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
16826
|
+
# Corresponds to the JSON property `kmsKey`
|
16827
|
+
# @return [String]
|
16828
|
+
attr_accessor :kms_key
|
16829
|
+
|
16830
|
+
# Immutable. The resource name of the encryption key specification resource.
|
16831
|
+
# Format: projects/`project`/locations/`location`/encryptionSpec
|
16832
|
+
# Corresponds to the JSON property `name`
|
16833
|
+
# @return [String]
|
16834
|
+
attr_accessor :name
|
16835
|
+
|
16836
|
+
def initialize(**args)
|
16837
|
+
update!(**args)
|
16838
|
+
end
|
16839
|
+
|
16840
|
+
# Update properties of this object
|
16841
|
+
def update!(**args)
|
16842
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
16843
|
+
@name = args[:name] if args.key?(:name)
|
16844
|
+
end
|
16845
|
+
end
|
16846
|
+
|
16662
16847
|
# Each intent parameter has a type, called the entity type, which dictates
|
16663
16848
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
16664
16849
|
# predefined system entities that can match many common types of data. For
|
@@ -16977,6 +17162,45 @@ module Google
|
|
16977
17162
|
end
|
16978
17163
|
end
|
16979
17164
|
|
17165
|
+
# Metadata for initializing a location-level encryption specification.
|
17166
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
17167
|
+
include Google::Apis::Core::Hashable
|
17168
|
+
|
17169
|
+
# The request to initialize a location-level encryption specification.
|
17170
|
+
# Corresponds to the JSON property `request`
|
17171
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
|
17172
|
+
attr_accessor :request
|
17173
|
+
|
17174
|
+
def initialize(**args)
|
17175
|
+
update!(**args)
|
17176
|
+
end
|
17177
|
+
|
17178
|
+
# Update properties of this object
|
17179
|
+
def update!(**args)
|
17180
|
+
@request = args[:request] if args.key?(:request)
|
17181
|
+
end
|
17182
|
+
end
|
17183
|
+
|
17184
|
+
# The request to initialize a location-level encryption specification.
|
17185
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
17186
|
+
include Google::Apis::Core::Hashable
|
17187
|
+
|
17188
|
+
# A customer-managed encryption key specification that can be applied to all
|
17189
|
+
# created resources (e.g. Conversation).
|
17190
|
+
# Corresponds to the JSON property `encryptionSpec`
|
17191
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EncryptionSpec]
|
17192
|
+
attr_accessor :encryption_spec
|
17193
|
+
|
17194
|
+
def initialize(**args)
|
17195
|
+
update!(**args)
|
17196
|
+
end
|
17197
|
+
|
17198
|
+
# Update properties of this object
|
17199
|
+
def update!(**args)
|
17200
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
17201
|
+
end
|
17202
|
+
end
|
17203
|
+
|
16980
17204
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
16981
17205
|
# each agent, you define many intents, where your combined intents can handle a
|
16982
17206
|
# complete conversation. When an end-user writes or says something, referred to
|
@@ -18915,6 +19139,11 @@ module Google
|
|
18915
19139
|
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
18916
19140
|
include Google::Apis::Core::Hashable
|
18917
19141
|
|
19142
|
+
# Metadata of the document.
|
19143
|
+
# Corresponds to the JSON property `metadata`
|
19144
|
+
# @return [Hash<String,Object>]
|
19145
|
+
attr_accessor :metadata
|
19146
|
+
|
18918
19147
|
# Text taken from that URI.
|
18919
19148
|
# Corresponds to the JSON property `text`
|
18920
19149
|
# @return [String]
|
@@ -18936,6 +19165,7 @@ module Google
|
|
18936
19165
|
|
18937
19166
|
# Update properties of this object
|
18938
19167
|
def update!(**args)
|
19168
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
18939
19169
|
@text = args[:text] if args.key?(:text)
|
18940
19170
|
@title = args[:title] if args.key?(:title)
|
18941
19171
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -19033,6 +19263,11 @@ module Google
|
|
19033
19263
|
# @return [String]
|
19034
19264
|
attr_accessor :participant_role
|
19035
19265
|
|
19266
|
+
# Optional. Automated agent responses.
|
19267
|
+
# Corresponds to the JSON property `responseMessages`
|
19268
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessage>]
|
19269
|
+
attr_accessor :response_messages
|
19270
|
+
|
19036
19271
|
# Optional. The time when the message was sent.
|
19037
19272
|
# Corresponds to the JSON property `sendTime`
|
19038
19273
|
# @return [String]
|
@@ -19063,6 +19298,7 @@ module Google
|
|
19063
19298
|
@name = args[:name] if args.key?(:name)
|
19064
19299
|
@participant = args[:participant] if args.key?(:participant)
|
19065
19300
|
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
19301
|
+
@response_messages = args[:response_messages] if args.key?(:response_messages)
|
19066
19302
|
@send_time = args[:send_time] if args.key?(:send_time)
|
19067
19303
|
@sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
|
19068
19304
|
end
|
@@ -19306,6 +19542,204 @@ module Google
|
|
19306
19542
|
end
|
19307
19543
|
end
|
19308
19544
|
|
19545
|
+
# Response messages from an automated agent.
|
19546
|
+
class GoogleCloudDialogflowV2beta1ResponseMessage
|
19547
|
+
include Google::Apis::Core::Hashable
|
19548
|
+
|
19549
|
+
# Indicates that interaction with the Dialogflow agent has ended.
|
19550
|
+
# Corresponds to the JSON property `endInteraction`
|
19551
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction]
|
19552
|
+
attr_accessor :end_interaction
|
19553
|
+
|
19554
|
+
# Indicates that the conversation should be handed off to a human agent.
|
19555
|
+
# Dialogflow only uses this to determine which conversations were handed off to
|
19556
|
+
# a human agent for measurement purposes. What else to do with this signal is up
|
19557
|
+
# to you and your handoff procedures. You may set this, for example: * In the
|
19558
|
+
# entry fulfillment of a CX Page if entering the page indicates something went
|
19559
|
+
# extremely wrong in the conversation. * In a webhook response when you
|
19560
|
+
# determine that the customer issue can only be handled by a human.
|
19561
|
+
# Corresponds to the JSON property `liveAgentHandoff`
|
19562
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff]
|
19563
|
+
attr_accessor :live_agent_handoff
|
19564
|
+
|
19565
|
+
# Represents an audio message that is composed of both segments synthesized from
|
19566
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
19567
|
+
# Corresponds to the JSON property `mixedAudio`
|
19568
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio]
|
19569
|
+
attr_accessor :mixed_audio
|
19570
|
+
|
19571
|
+
# Returns a response containing a custom, platform-specific payload.
|
19572
|
+
# Corresponds to the JSON property `payload`
|
19573
|
+
# @return [Hash<String,Object>]
|
19574
|
+
attr_accessor :payload
|
19575
|
+
|
19576
|
+
# Represents the signal that telles the client to transfer the phone call
|
19577
|
+
# connected to the agent to a third-party endpoint.
|
19578
|
+
# Corresponds to the JSON property `telephonyTransferCall`
|
19579
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall]
|
19580
|
+
attr_accessor :telephony_transfer_call
|
19581
|
+
|
19582
|
+
# The text response message.
|
19583
|
+
# Corresponds to the JSON property `text`
|
19584
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageText]
|
19585
|
+
attr_accessor :text
|
19586
|
+
|
19587
|
+
def initialize(**args)
|
19588
|
+
update!(**args)
|
19589
|
+
end
|
19590
|
+
|
19591
|
+
# Update properties of this object
|
19592
|
+
def update!(**args)
|
19593
|
+
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
19594
|
+
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
19595
|
+
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
19596
|
+
@payload = args[:payload] if args.key?(:payload)
|
19597
|
+
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
19598
|
+
@text = args[:text] if args.key?(:text)
|
19599
|
+
end
|
19600
|
+
end
|
19601
|
+
|
19602
|
+
# Indicates that interaction with the Dialogflow agent has ended.
|
19603
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
|
19604
|
+
include Google::Apis::Core::Hashable
|
19605
|
+
|
19606
|
+
def initialize(**args)
|
19607
|
+
update!(**args)
|
19608
|
+
end
|
19609
|
+
|
19610
|
+
# Update properties of this object
|
19611
|
+
def update!(**args)
|
19612
|
+
end
|
19613
|
+
end
|
19614
|
+
|
19615
|
+
# Indicates that the conversation should be handed off to a human agent.
|
19616
|
+
# Dialogflow only uses this to determine which conversations were handed off to
|
19617
|
+
# a human agent for measurement purposes. What else to do with this signal is up
|
19618
|
+
# to you and your handoff procedures. You may set this, for example: * In the
|
19619
|
+
# entry fulfillment of a CX Page if entering the page indicates something went
|
19620
|
+
# extremely wrong in the conversation. * In a webhook response when you
|
19621
|
+
# determine that the customer issue can only be handled by a human.
|
19622
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
|
19623
|
+
include Google::Apis::Core::Hashable
|
19624
|
+
|
19625
|
+
# Custom metadata for your handoff procedure. Dialogflow doesn't impose any
|
19626
|
+
# structure on this.
|
19627
|
+
# Corresponds to the JSON property `metadata`
|
19628
|
+
# @return [Hash<String,Object>]
|
19629
|
+
attr_accessor :metadata
|
19630
|
+
|
19631
|
+
def initialize(**args)
|
19632
|
+
update!(**args)
|
19633
|
+
end
|
19634
|
+
|
19635
|
+
# Update properties of this object
|
19636
|
+
def update!(**args)
|
19637
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
19638
|
+
end
|
19639
|
+
end
|
19640
|
+
|
19641
|
+
# Represents an audio message that is composed of both segments synthesized from
|
19642
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
19643
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
|
19644
|
+
include Google::Apis::Core::Hashable
|
19645
|
+
|
19646
|
+
# Segments this audio response is composed of.
|
19647
|
+
# Corresponds to the JSON property `segments`
|
19648
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment>]
|
19649
|
+
attr_accessor :segments
|
19650
|
+
|
19651
|
+
def initialize(**args)
|
19652
|
+
update!(**args)
|
19653
|
+
end
|
19654
|
+
|
19655
|
+
# Update properties of this object
|
19656
|
+
def update!(**args)
|
19657
|
+
@segments = args[:segments] if args.key?(:segments)
|
19658
|
+
end
|
19659
|
+
end
|
19660
|
+
|
19661
|
+
# Represents one segment of audio.
|
19662
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
|
19663
|
+
include Google::Apis::Core::Hashable
|
19664
|
+
|
19665
|
+
# Whether the playback of this segment can be interrupted by the end user's
|
19666
|
+
# speech and the client should then start the next Dialogflow request.
|
19667
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
19668
|
+
# @return [Boolean]
|
19669
|
+
attr_accessor :allow_playback_interruption
|
19670
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
19671
|
+
|
19672
|
+
# Raw audio synthesized from the Dialogflow agent's response using the output
|
19673
|
+
# config specified in the request.
|
19674
|
+
# Corresponds to the JSON property `audio`
|
19675
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
19676
|
+
# @return [String]
|
19677
|
+
attr_accessor :audio
|
19678
|
+
|
19679
|
+
# Client-specific URI that points to an audio clip accessible to the client.
|
19680
|
+
# Corresponds to the JSON property `uri`
|
19681
|
+
# @return [String]
|
19682
|
+
attr_accessor :uri
|
19683
|
+
|
19684
|
+
def initialize(**args)
|
19685
|
+
update!(**args)
|
19686
|
+
end
|
19687
|
+
|
19688
|
+
# Update properties of this object
|
19689
|
+
def update!(**args)
|
19690
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
19691
|
+
@audio = args[:audio] if args.key?(:audio)
|
19692
|
+
@uri = args[:uri] if args.key?(:uri)
|
19693
|
+
end
|
19694
|
+
end
|
19695
|
+
|
19696
|
+
# Represents the signal that telles the client to transfer the phone call
|
19697
|
+
# connected to the agent to a third-party endpoint.
|
19698
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
|
19699
|
+
include Google::Apis::Core::Hashable
|
19700
|
+
|
19701
|
+
# Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
|
19702
|
+
# wiki/E.164).
|
19703
|
+
# Corresponds to the JSON property `phoneNumber`
|
19704
|
+
# @return [String]
|
19705
|
+
attr_accessor :phone_number
|
19706
|
+
|
19707
|
+
# Transfer the call to a SIP endpoint.
|
19708
|
+
# Corresponds to the JSON property `sipUri`
|
19709
|
+
# @return [String]
|
19710
|
+
attr_accessor :sip_uri
|
19711
|
+
|
19712
|
+
def initialize(**args)
|
19713
|
+
update!(**args)
|
19714
|
+
end
|
19715
|
+
|
19716
|
+
# Update properties of this object
|
19717
|
+
def update!(**args)
|
19718
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
19719
|
+
@sip_uri = args[:sip_uri] if args.key?(:sip_uri)
|
19720
|
+
end
|
19721
|
+
end
|
19722
|
+
|
19723
|
+
# The text response message.
|
19724
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageText
|
19725
|
+
include Google::Apis::Core::Hashable
|
19726
|
+
|
19727
|
+
# A collection of text response variants. If multiple variants are defined, only
|
19728
|
+
# one text response variant is returned at runtime.
|
19729
|
+
# Corresponds to the JSON property `text`
|
19730
|
+
# @return [Array<String>]
|
19731
|
+
attr_accessor :text
|
19732
|
+
|
19733
|
+
def initialize(**args)
|
19734
|
+
update!(**args)
|
19735
|
+
end
|
19736
|
+
|
19737
|
+
# Update properties of this object
|
19738
|
+
def update!(**args)
|
19739
|
+
@text = args[:text] if args.key?(:text)
|
19740
|
+
end
|
19741
|
+
end
|
19742
|
+
|
19309
19743
|
# The sentiment, such as positive/negative feeling or association, for a unit of
|
19310
19744
|
# analysis, such as the query text. See: https://cloud.google.com/natural-
|
19311
19745
|
# language/docs/basics#interpreting_sentiment_analysis_values for how to
|
@@ -19893,120 +20327,6 @@ module Google
|
|
19893
20327
|
end
|
19894
20328
|
end
|
19895
20329
|
|
19896
|
-
# Metadata for CreateDocument operation.
|
19897
|
-
class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
|
19898
|
-
include Google::Apis::Core::Hashable
|
19899
|
-
|
19900
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
19901
|
-
# Corresponds to the JSON property `genericMetadata`
|
19902
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
19903
|
-
attr_accessor :generic_metadata
|
19904
|
-
|
19905
|
-
def initialize(**args)
|
19906
|
-
update!(**args)
|
19907
|
-
end
|
19908
|
-
|
19909
|
-
# Update properties of this object
|
19910
|
-
def update!(**args)
|
19911
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
19912
|
-
end
|
19913
|
-
end
|
19914
|
-
|
19915
|
-
# Metadata for DeleteDocument operation.
|
19916
|
-
class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata
|
19917
|
-
include Google::Apis::Core::Hashable
|
19918
|
-
|
19919
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
19920
|
-
# Corresponds to the JSON property `genericMetadata`
|
19921
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
19922
|
-
attr_accessor :generic_metadata
|
19923
|
-
|
19924
|
-
def initialize(**args)
|
19925
|
-
update!(**args)
|
19926
|
-
end
|
19927
|
-
|
19928
|
-
# Update properties of this object
|
19929
|
-
def update!(**args)
|
19930
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
19931
|
-
end
|
19932
|
-
end
|
19933
|
-
|
19934
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
19935
|
-
class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata
|
19936
|
-
include Google::Apis::Core::Hashable
|
19937
|
-
|
19938
|
-
# Required. Output only. The current state of this operation.
|
19939
|
-
# Corresponds to the JSON property `state`
|
19940
|
-
# @return [String]
|
19941
|
-
attr_accessor :state
|
19942
|
-
|
19943
|
-
def initialize(**args)
|
19944
|
-
update!(**args)
|
19945
|
-
end
|
19946
|
-
|
19947
|
-
# Update properties of this object
|
19948
|
-
def update!(**args)
|
19949
|
-
@state = args[:state] if args.key?(:state)
|
19950
|
-
end
|
19951
|
-
end
|
19952
|
-
|
19953
|
-
# Metadata for ImportDocuments operation.
|
19954
|
-
class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata
|
19955
|
-
include Google::Apis::Core::Hashable
|
19956
|
-
|
19957
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
19958
|
-
# Corresponds to the JSON property `genericMetadata`
|
19959
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
19960
|
-
attr_accessor :generic_metadata
|
19961
|
-
|
19962
|
-
def initialize(**args)
|
19963
|
-
update!(**args)
|
19964
|
-
end
|
19965
|
-
|
19966
|
-
# Update properties of this object
|
19967
|
-
def update!(**args)
|
19968
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
19969
|
-
end
|
19970
|
-
end
|
19971
|
-
|
19972
|
-
# Response message for Documents.ImportDocuments.
|
19973
|
-
class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse
|
19974
|
-
include Google::Apis::Core::Hashable
|
19975
|
-
|
19976
|
-
# Includes details about skipped documents or any other warnings.
|
19977
|
-
# Corresponds to the JSON property `warnings`
|
19978
|
-
# @return [Array<Google::Apis::DialogflowV2::GoogleRpcStatus>]
|
19979
|
-
attr_accessor :warnings
|
19980
|
-
|
19981
|
-
def initialize(**args)
|
19982
|
-
update!(**args)
|
19983
|
-
end
|
19984
|
-
|
19985
|
-
# Update properties of this object
|
19986
|
-
def update!(**args)
|
19987
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
19988
|
-
end
|
19989
|
-
end
|
19990
|
-
|
19991
|
-
# Metadata for ReloadDocument operation.
|
19992
|
-
class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata
|
19993
|
-
include Google::Apis::Core::Hashable
|
19994
|
-
|
19995
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
19996
|
-
# Corresponds to the JSON property `genericMetadata`
|
19997
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
19998
|
-
attr_accessor :generic_metadata
|
19999
|
-
|
20000
|
-
def initialize(**args)
|
20001
|
-
update!(**args)
|
20002
|
-
end
|
20003
|
-
|
20004
|
-
# Update properties of this object
|
20005
|
-
def update!(**args)
|
20006
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
20007
|
-
end
|
20008
|
-
end
|
20009
|
-
|
20010
20330
|
# Collection of all signals that were extracted for a single turn of the
|
20011
20331
|
# conversation.
|
20012
20332
|
class GoogleCloudDialogflowV3alpha1TurnSignals
|
@@ -20097,25 +20417,6 @@ module Google
|
|
20097
20417
|
end
|
20098
20418
|
end
|
20099
20419
|
|
20100
|
-
# Metadata for UpdateDocument operation.
|
20101
|
-
class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
|
20102
|
-
include Google::Apis::Core::Hashable
|
20103
|
-
|
20104
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
20105
|
-
# Corresponds to the JSON property `genericMetadata`
|
20106
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
20107
|
-
attr_accessor :generic_metadata
|
20108
|
-
|
20109
|
-
def initialize(**args)
|
20110
|
-
update!(**args)
|
20111
|
-
end
|
20112
|
-
|
20113
|
-
# Update properties of this object
|
20114
|
-
def update!(**args)
|
20115
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
20116
|
-
end
|
20117
|
-
end
|
20118
|
-
|
20119
20420
|
# The response message for Locations.ListLocations.
|
20120
20421
|
class GoogleCloudLocationListLocationsResponse
|
20121
20422
|
include Google::Apis::Core::Hashable
|