google-apis-dialogflow_v2 0.93.0 → 0.94.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 +5 -0
- data/lib/google/apis/dialogflow_v2/classes.rb +404 -460
- data/lib/google/apis/dialogflow_v2/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v2/representations.rb +123 -292
- data/lib/google/apis/dialogflow_v2/service.rb +19 -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
|
@@ -1445,63 +1418,6 @@ module Google
|
|
1445
1418
|
end
|
1446
1419
|
end
|
1447
1420
|
|
1448
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
1449
|
-
class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
|
1450
|
-
include Google::Apis::Core::Hashable
|
1451
|
-
|
1452
|
-
# Required. Output only. The current state of this operation.
|
1453
|
-
# Corresponds to the JSON property `state`
|
1454
|
-
# @return [String]
|
1455
|
-
attr_accessor :state
|
1456
|
-
|
1457
|
-
def initialize(**args)
|
1458
|
-
update!(**args)
|
1459
|
-
end
|
1460
|
-
|
1461
|
-
# Update properties of this object
|
1462
|
-
def update!(**args)
|
1463
|
-
@state = args[:state] if args.key?(:state)
|
1464
|
-
end
|
1465
|
-
end
|
1466
|
-
|
1467
|
-
# Metadata for ImportDocuments operation.
|
1468
|
-
class GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata
|
1469
|
-
include Google::Apis::Core::Hashable
|
1470
|
-
|
1471
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
1472
|
-
# Corresponds to the JSON property `genericMetadata`
|
1473
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
|
1474
|
-
attr_accessor :generic_metadata
|
1475
|
-
|
1476
|
-
def initialize(**args)
|
1477
|
-
update!(**args)
|
1478
|
-
end
|
1479
|
-
|
1480
|
-
# Update properties of this object
|
1481
|
-
def update!(**args)
|
1482
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
1483
|
-
end
|
1484
|
-
end
|
1485
|
-
|
1486
|
-
# Response message for Documents.ImportDocuments.
|
1487
|
-
class GoogleCloudDialogflowCxV3ImportDocumentsResponse
|
1488
|
-
include Google::Apis::Core::Hashable
|
1489
|
-
|
1490
|
-
# Includes details about skipped documents or any other warnings.
|
1491
|
-
# Corresponds to the JSON property `warnings`
|
1492
|
-
# @return [Array<Google::Apis::DialogflowV2::GoogleRpcStatus>]
|
1493
|
-
attr_accessor :warnings
|
1494
|
-
|
1495
|
-
def initialize(**args)
|
1496
|
-
update!(**args)
|
1497
|
-
end
|
1498
|
-
|
1499
|
-
# Update properties of this object
|
1500
|
-
def update!(**args)
|
1501
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
1502
|
-
end
|
1503
|
-
end
|
1504
|
-
|
1505
1421
|
# Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
|
1506
1422
|
class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
|
1507
1423
|
include Google::Apis::Core::Hashable
|
@@ -1741,7 +1657,7 @@ module Google
|
|
1741
1657
|
# utterance has been detected. Note that no-speech event is not expected in this
|
1742
1658
|
# phase. The client provides this configuration in terms of the durations of
|
1743
1659
|
# those two phases. The durations are measured in terms of the audio length from
|
1744
|
-
# the
|
1660
|
+
# the start of the input audio. No-speech event is a response with
|
1745
1661
|
# END_OF_UTTERANCE without any transcript following up.
|
1746
1662
|
# Corresponds to the JSON property `bargeInConfig`
|
1747
1663
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3BargeInConfig]
|
@@ -2414,25 +2330,6 @@ module Google
|
|
2414
2330
|
end
|
2415
2331
|
end
|
2416
2332
|
|
2417
|
-
# Metadata for ReloadDocument operation.
|
2418
|
-
class GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata
|
2419
|
-
include Google::Apis::Core::Hashable
|
2420
|
-
|
2421
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
2422
|
-
# Corresponds to the JSON property `genericMetadata`
|
2423
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
|
2424
|
-
attr_accessor :generic_metadata
|
2425
|
-
|
2426
|
-
def initialize(**args)
|
2427
|
-
update!(**args)
|
2428
|
-
end
|
2429
|
-
|
2430
|
-
# Update properties of this object
|
2431
|
-
def update!(**args)
|
2432
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2433
|
-
end
|
2434
|
-
end
|
2435
|
-
|
2436
2333
|
# Represents a response message that can be returned by a conversational agent.
|
2437
2334
|
# Response messages are also used for output audio synthesis. The approach is as
|
2438
2335
|
# follows: * If at least one OutputAudioText response is present, then all
|
@@ -2788,7 +2685,8 @@ module Google
|
|
2788
2685
|
attr_accessor :allow_playback_interruption
|
2789
2686
|
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
2790
2687
|
|
2791
|
-
# 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.
|
2792
2690
|
# Corresponds to the JSON property `text`
|
2793
2691
|
# @return [Array<String>]
|
2794
2692
|
attr_accessor :text
|
@@ -2929,7 +2827,7 @@ module Google
|
|
2929
2827
|
attr_accessor :last_test_result
|
2930
2828
|
|
2931
2829
|
# The unique identifier of the test case. TestCases.CreateTestCase will populate
|
2932
|
-
# the name automatically. Otherwise use format: `projects//locations//agents
|
2830
|
+
# the name automatically. Otherwise use format: `projects//locations//agents//
|
2933
2831
|
# testCases/`.
|
2934
2832
|
# Corresponds to the JSON property `name`
|
2935
2833
|
# @return [String]
|
@@ -3023,7 +2921,7 @@ module Google
|
|
3023
2921
|
attr_accessor :environment
|
3024
2922
|
|
3025
2923
|
# The resource name for the test case result. Format: `projects//locations//
|
3026
|
-
# agents//testCases
|
2924
|
+
# agents//testCases//results/`.
|
3027
2925
|
# Corresponds to the JSON property `name`
|
3028
2926
|
# @return [String]
|
3029
2927
|
attr_accessor :name
|
@@ -3330,25 +3228,6 @@ module Google
|
|
3330
3228
|
end
|
3331
3229
|
end
|
3332
3230
|
|
3333
|
-
# Metadata for UpdateDocument operation.
|
3334
|
-
class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
|
3335
|
-
include Google::Apis::Core::Hashable
|
3336
|
-
|
3337
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
3338
|
-
# Corresponds to the JSON property `genericMetadata`
|
3339
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
|
3340
|
-
attr_accessor :generic_metadata
|
3341
|
-
|
3342
|
-
def initialize(**args)
|
3343
|
-
update!(**args)
|
3344
|
-
end
|
3345
|
-
|
3346
|
-
# Update properties of this object
|
3347
|
-
def update!(**args)
|
3348
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
3349
|
-
end
|
3350
|
-
end
|
3351
|
-
|
3352
3231
|
# Webhooks host the developer's business logic. During a session, webhooks allow
|
3353
3232
|
# the developer to use the data extracted by Dialogflow's natural language
|
3354
3233
|
# processing to generate dynamic responses, validate collected data, or trigger
|
@@ -3970,13 +3849,21 @@ module Google
|
|
3970
3849
|
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
|
3971
3850
|
include Google::Apis::Core::Hashable
|
3972
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
|
+
|
3973
3860
|
# Enables DF Interaction logging.
|
3974
3861
|
# Corresponds to the JSON property `enableInteractionLogging`
|
3975
3862
|
# @return [Boolean]
|
3976
3863
|
attr_accessor :enable_interaction_logging
|
3977
3864
|
alias_method :enable_interaction_logging?, :enable_interaction_logging
|
3978
3865
|
|
3979
|
-
# Enables
|
3866
|
+
# Enables Google Cloud Logging.
|
3980
3867
|
# Corresponds to the JSON property `enableStackdriverLogging`
|
3981
3868
|
# @return [Boolean]
|
3982
3869
|
attr_accessor :enable_stackdriver_logging
|
@@ -3988,6 +3875,7 @@ module Google
|
|
3988
3875
|
|
3989
3876
|
# Update properties of this object
|
3990
3877
|
def update!(**args)
|
3878
|
+
@enable_consent_based_redaction = args[:enable_consent_based_redaction] if args.key?(:enable_consent_based_redaction)
|
3991
3879
|
@enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
|
3992
3880
|
@enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
|
3993
3881
|
end
|
@@ -4080,7 +3968,7 @@ module Google
|
|
4080
3968
|
# utterance has been detected. Note that no-speech event is not expected in this
|
4081
3969
|
# phase. The client provides this configuration in terms of the durations of
|
4082
3970
|
# those two phases. The durations are measured in terms of the audio length from
|
4083
|
-
# the
|
3971
|
+
# the start of the input audio. No-speech event is a response with
|
4084
3972
|
# END_OF_UTTERANCE without any transcript following up.
|
4085
3973
|
class GoogleCloudDialogflowCxV3beta1BargeInConfig
|
4086
3974
|
include Google::Apis::Core::Hashable
|
@@ -4352,25 +4240,6 @@ module Google
|
|
4352
4240
|
end
|
4353
4241
|
end
|
4354
4242
|
|
4355
|
-
# Metadata for CreateDocument operation.
|
4356
|
-
class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata
|
4357
|
-
include Google::Apis::Core::Hashable
|
4358
|
-
|
4359
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
4360
|
-
# Corresponds to the JSON property `genericMetadata`
|
4361
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
4362
|
-
attr_accessor :generic_metadata
|
4363
|
-
|
4364
|
-
def initialize(**args)
|
4365
|
-
update!(**args)
|
4366
|
-
end
|
4367
|
-
|
4368
|
-
# Update properties of this object
|
4369
|
-
def update!(**args)
|
4370
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
4371
|
-
end
|
4372
|
-
end
|
4373
|
-
|
4374
4243
|
# Metadata associated with the long running operation for Versions.CreateVersion.
|
4375
4244
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
4376
4245
|
include Google::Apis::Core::Hashable
|
@@ -4419,25 +4288,6 @@ module Google
|
|
4419
4288
|
end
|
4420
4289
|
end
|
4421
4290
|
|
4422
|
-
# Metadata for DeleteDocument operation.
|
4423
|
-
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
4424
|
-
include Google::Apis::Core::Hashable
|
4425
|
-
|
4426
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
4427
|
-
# Corresponds to the JSON property `genericMetadata`
|
4428
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
4429
|
-
attr_accessor :generic_metadata
|
4430
|
-
|
4431
|
-
def initialize(**args)
|
4432
|
-
update!(**args)
|
4433
|
-
end
|
4434
|
-
|
4435
|
-
# Update properties of this object
|
4436
|
-
def update!(**args)
|
4437
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
4438
|
-
end
|
4439
|
-
end
|
4440
|
-
|
4441
4291
|
# Metadata returned for the Environments.DeployFlow long running operation.
|
4442
4292
|
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
4443
4293
|
include Google::Apis::Core::Hashable
|
@@ -4599,7 +4449,7 @@ module Google
|
|
4599
4449
|
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
4600
4450
|
|
4601
4451
|
# A list of test case names to run. They should be under the same agent. Format
|
4602
|
-
# of each test case name: `projects//locations
|
4452
|
+
# of each test case name: `projects//locations//agents//testCases/`
|
4603
4453
|
# Corresponds to the JSON property `testCases`
|
4604
4454
|
# @return [Array<String>]
|
4605
4455
|
attr_accessor :test_cases
|
@@ -4620,7 +4470,9 @@ module Google
|
|
4620
4470
|
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
4621
4471
|
include Google::Apis::Core::Hashable
|
4622
4472
|
|
4623
|
-
# 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/.
|
4624
4476
|
# Corresponds to the JSON property `version`
|
4625
4477
|
# @return [String]
|
4626
4478
|
attr_accessor :version
|
@@ -5296,63 +5148,6 @@ module Google
|
|
5296
5148
|
end
|
5297
5149
|
end
|
5298
5150
|
|
5299
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
5300
|
-
class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
|
5301
|
-
include Google::Apis::Core::Hashable
|
5302
|
-
|
5303
|
-
# Required. Output only. The current state of this operation.
|
5304
|
-
# Corresponds to the JSON property `state`
|
5305
|
-
# @return [String]
|
5306
|
-
attr_accessor :state
|
5307
|
-
|
5308
|
-
def initialize(**args)
|
5309
|
-
update!(**args)
|
5310
|
-
end
|
5311
|
-
|
5312
|
-
# Update properties of this object
|
5313
|
-
def update!(**args)
|
5314
|
-
@state = args[:state] if args.key?(:state)
|
5315
|
-
end
|
5316
|
-
end
|
5317
|
-
|
5318
|
-
# Metadata for ImportDocuments operation.
|
5319
|
-
class GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata
|
5320
|
-
include Google::Apis::Core::Hashable
|
5321
|
-
|
5322
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
5323
|
-
# Corresponds to the JSON property `genericMetadata`
|
5324
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
5325
|
-
attr_accessor :generic_metadata
|
5326
|
-
|
5327
|
-
def initialize(**args)
|
5328
|
-
update!(**args)
|
5329
|
-
end
|
5330
|
-
|
5331
|
-
# Update properties of this object
|
5332
|
-
def update!(**args)
|
5333
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
5334
|
-
end
|
5335
|
-
end
|
5336
|
-
|
5337
|
-
# Response message for Documents.ImportDocuments.
|
5338
|
-
class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse
|
5339
|
-
include Google::Apis::Core::Hashable
|
5340
|
-
|
5341
|
-
# Includes details about skipped documents or any other warnings.
|
5342
|
-
# Corresponds to the JSON property `warnings`
|
5343
|
-
# @return [Array<Google::Apis::DialogflowV2::GoogleRpcStatus>]
|
5344
|
-
attr_accessor :warnings
|
5345
|
-
|
5346
|
-
def initialize(**args)
|
5347
|
-
update!(**args)
|
5348
|
-
end
|
5349
|
-
|
5350
|
-
# Update properties of this object
|
5351
|
-
def update!(**args)
|
5352
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
5353
|
-
end
|
5354
|
-
end
|
5355
|
-
|
5356
5151
|
# Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
|
5357
5152
|
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
|
5358
5153
|
include Google::Apis::Core::Hashable
|
@@ -5592,7 +5387,7 @@ module Google
|
|
5592
5387
|
# utterance has been detected. Note that no-speech event is not expected in this
|
5593
5388
|
# phase. The client provides this configuration in terms of the durations of
|
5594
5389
|
# those two phases. The durations are measured in terms of the audio length from
|
5595
|
-
# the
|
5390
|
+
# the start of the input audio. No-speech event is a response with
|
5596
5391
|
# END_OF_UTTERANCE without any transcript following up.
|
5597
5392
|
# Corresponds to the JSON property `bargeInConfig`
|
5598
5393
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1BargeInConfig]
|
@@ -6271,25 +6066,6 @@ module Google
|
|
6271
6066
|
end
|
6272
6067
|
end
|
6273
6068
|
|
6274
|
-
# Metadata for ReloadDocument operation.
|
6275
|
-
class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata
|
6276
|
-
include Google::Apis::Core::Hashable
|
6277
|
-
|
6278
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
6279
|
-
# Corresponds to the JSON property `genericMetadata`
|
6280
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
6281
|
-
attr_accessor :generic_metadata
|
6282
|
-
|
6283
|
-
def initialize(**args)
|
6284
|
-
update!(**args)
|
6285
|
-
end
|
6286
|
-
|
6287
|
-
# Update properties of this object
|
6288
|
-
def update!(**args)
|
6289
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
6290
|
-
end
|
6291
|
-
end
|
6292
|
-
|
6293
6069
|
# Represents a response message that can be returned by a conversational agent.
|
6294
6070
|
# Response messages are also used for output audio synthesis. The approach is as
|
6295
6071
|
# follows: * If at least one OutputAudioText response is present, then all
|
@@ -6645,7 +6421,8 @@ module Google
|
|
6645
6421
|
attr_accessor :allow_playback_interruption
|
6646
6422
|
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
6647
6423
|
|
6648
|
-
# 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.
|
6649
6426
|
# Corresponds to the JSON property `text`
|
6650
6427
|
# @return [Array<String>]
|
6651
6428
|
attr_accessor :text
|
@@ -6786,7 +6563,7 @@ module Google
|
|
6786
6563
|
attr_accessor :last_test_result
|
6787
6564
|
|
6788
6565
|
# The unique identifier of the test case. TestCases.CreateTestCase will populate
|
6789
|
-
# the name automatically. Otherwise use format: `projects//locations//agents
|
6566
|
+
# the name automatically. Otherwise use format: `projects//locations//agents//
|
6790
6567
|
# testCases/`.
|
6791
6568
|
# Corresponds to the JSON property `name`
|
6792
6569
|
# @return [String]
|
@@ -6880,7 +6657,7 @@ module Google
|
|
6880
6657
|
attr_accessor :environment
|
6881
6658
|
|
6882
6659
|
# The resource name for the test case result. Format: `projects//locations//
|
6883
|
-
# agents//testCases
|
6660
|
+
# agents//testCases//results/`.
|
6884
6661
|
# Corresponds to the JSON property `name`
|
6885
6662
|
# @return [String]
|
6886
6663
|
attr_accessor :name
|
@@ -7276,25 +7053,6 @@ module Google
|
|
7276
7053
|
end
|
7277
7054
|
end
|
7278
7055
|
|
7279
|
-
# Metadata for UpdateDocument operation.
|
7280
|
-
class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
|
7281
|
-
include Google::Apis::Core::Hashable
|
7282
|
-
|
7283
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
7284
|
-
# Corresponds to the JSON property `genericMetadata`
|
7285
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
7286
|
-
attr_accessor :generic_metadata
|
7287
|
-
|
7288
|
-
def initialize(**args)
|
7289
|
-
update!(**args)
|
7290
|
-
end
|
7291
|
-
|
7292
|
-
# Update properties of this object
|
7293
|
-
def update!(**args)
|
7294
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
7295
|
-
end
|
7296
|
-
end
|
7297
|
-
|
7298
7056
|
# Webhooks host the developer's business logic. During a session, webhooks allow
|
7299
7057
|
# the developer to use the data extracted by Dialogflow's natural language
|
7300
7058
|
# processing to generate dynamic responses, validate collected data, or trigger
|
@@ -8353,8 +8111,9 @@ module Google
|
|
8353
8111
|
# A typical workflow for customers provide feedback to an answer is: 1. For
|
8354
8112
|
# human agent assistant, customers get suggestion via ListSuggestions API.
|
8355
8113
|
# Together with the answers, AnswerRecord.name are returned to the customers. 2.
|
8356
|
-
# The customer uses the AnswerRecord.name to call the
|
8357
|
-
# 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.
|
8358
8117
|
class GoogleCloudDialogflowV2AnswerRecord
|
8359
8118
|
include Google::Apis::Core::Hashable
|
8360
8119
|
|
@@ -8822,7 +8581,7 @@ module Google
|
|
8822
8581
|
end
|
8823
8582
|
end
|
8824
8583
|
|
8825
|
-
# Metadata for a
|
8584
|
+
# Metadata for a ConversationProfiles.ClearSuggestionFeatureConfig operation.
|
8826
8585
|
class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
|
8827
8586
|
include Google::Apis::Core::Hashable
|
8828
8587
|
|
@@ -8861,7 +8620,7 @@ module Google
|
|
8861
8620
|
end
|
8862
8621
|
end
|
8863
8622
|
|
8864
|
-
# The request message for ConversationProfiles.
|
8623
|
+
# The request message for ConversationProfiles.ClearSuggestionFeatureConfig.
|
8865
8624
|
class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest
|
8866
8625
|
include Google::Apis::Core::Hashable
|
8867
8626
|
|
@@ -9093,6 +8852,20 @@ module Google
|
|
9093
8852
|
# @return [String]
|
9094
8853
|
attr_accessor :name
|
9095
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
|
+
|
9096
8869
|
def initialize(**args)
|
9097
8870
|
update!(**args)
|
9098
8871
|
end
|
@@ -9106,6 +8879,8 @@ module Google
|
|
9106
8879
|
@display_name = args[:display_name] if args.key?(:display_name)
|
9107
8880
|
@input_config = args[:input_config] if args.key?(:input_config)
|
9108
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)
|
9109
8884
|
end
|
9110
8885
|
end
|
9111
8886
|
|
@@ -9211,6 +8986,20 @@ module Google
|
|
9211
8986
|
# @return [String]
|
9212
8987
|
attr_accessor :name
|
9213
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
|
+
|
9214
9003
|
# Metadata for smart reply models.
|
9215
9004
|
# Corresponds to the JSON property `smartReplyModelMetadata`
|
9216
9005
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyModelMetadata]
|
@@ -9234,6 +9023,8 @@ module Google
|
|
9234
9023
|
@display_name = args[:display_name] if args.key?(:display_name)
|
9235
9024
|
@language_code = args[:language_code] if args.key?(:language_code)
|
9236
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)
|
9237
9028
|
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
|
9238
9029
|
@state = args[:state] if args.key?(:state)
|
9239
9030
|
end
|
@@ -9432,7 +9223,7 @@ module Google
|
|
9432
9223
|
end
|
9433
9224
|
end
|
9434
9225
|
|
9435
|
-
# Metadata for
|
9226
|
+
# Metadata for CreateConversationDataset.
|
9436
9227
|
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
|
9437
9228
|
include Google::Apis::Core::Hashable
|
9438
9229
|
|
@@ -9544,7 +9335,7 @@ module Google
|
|
9544
9335
|
end
|
9545
9336
|
end
|
9546
9337
|
|
9547
|
-
# Metadata for
|
9338
|
+
# Metadata for DeleteConversationDataset.
|
9548
9339
|
class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
|
9549
9340
|
include Google::Apis::Core::Hashable
|
9550
9341
|
|
@@ -10499,7 +10290,7 @@ module Google
|
|
10499
10290
|
end
|
10500
10291
|
|
10501
10292
|
# Providing examples in the generator (i.e. building a few-shot generator) helps
|
10502
|
-
# convey the desired format of the LLM response.
|
10293
|
+
# convey the desired format of the LLM response.
|
10503
10294
|
class GoogleCloudDialogflowV2FewShotExample
|
10504
10295
|
include Google::Apis::Core::Hashable
|
10505
10296
|
|
@@ -10837,10 +10628,10 @@ module Google
|
|
10837
10628
|
class GoogleCloudDialogflowV2GenerateStatelessSummaryResponse
|
10838
10629
|
include Google::Apis::Core::Hashable
|
10839
10630
|
|
10840
|
-
# Number of messages prior to and including
|
10841
|
-
#
|
10842
|
-
#
|
10843
|
-
#
|
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.
|
10844
10635
|
# Corresponds to the JSON property `contextSize`
|
10845
10636
|
# @return [Fixnum]
|
10846
10637
|
attr_accessor :context_size
|
@@ -11272,6 +11063,12 @@ module Google
|
|
11272
11063
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings]
|
11273
11064
|
attr_accessor :context_filter_settings
|
11274
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
|
+
|
11275
11072
|
# Dialogflow source setting. Supported feature: DIALOGFLOW_ASSIST.
|
11276
11073
|
# Corresponds to the JSON property `dialogflowQuerySource`
|
11277
11074
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource]
|
@@ -11308,6 +11105,7 @@ module Google
|
|
11308
11105
|
def update!(**args)
|
11309
11106
|
@confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
|
11310
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)
|
11311
11109
|
@dialogflow_query_source = args[:dialogflow_query_source] if args.key?(:dialogflow_query_source)
|
11312
11110
|
@document_query_source = args[:document_query_source] if args.key?(:document_query_source)
|
11313
11111
|
@knowledge_base_query_source = args[:knowledge_base_query_source] if args.key?(:knowledge_base_query_source)
|
@@ -11974,6 +11772,11 @@ module Google
|
|
11974
11772
|
# @return [Array<String>]
|
11975
11773
|
attr_accessor :phrase_hints
|
11976
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
|
+
|
11977
11780
|
# Required. Sample rate (in Hertz) of the audio content sent in the query. Refer
|
11978
11781
|
# to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/
|
11979
11782
|
# docs/basics) for more details.
|
@@ -12016,6 +11819,7 @@ module Google
|
|
12016
11819
|
@model_variant = args[:model_variant] if args.key?(:model_variant)
|
12017
11820
|
@opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
|
12018
11821
|
@phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
|
11822
|
+
@phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets)
|
12019
11823
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
12020
11824
|
@single_utterance = args[:single_utterance] if args.key?(:single_utterance)
|
12021
11825
|
@speech_contexts = args[:speech_contexts] if args.key?(:speech_contexts)
|
@@ -13472,6 +13276,11 @@ module Google
|
|
13472
13276
|
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
13473
13277
|
include Google::Apis::Core::Hashable
|
13474
13278
|
|
13279
|
+
# Metadata of the document.
|
13280
|
+
# Corresponds to the JSON property `metadata`
|
13281
|
+
# @return [Hash<String,Object>]
|
13282
|
+
attr_accessor :metadata
|
13283
|
+
|
13475
13284
|
# Text taken from that URI.
|
13476
13285
|
# Corresponds to the JSON property `text`
|
13477
13286
|
# @return [String]
|
@@ -13493,6 +13302,7 @@ module Google
|
|
13493
13302
|
|
13494
13303
|
# Update properties of this object
|
13495
13304
|
def update!(**args)
|
13305
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
13496
13306
|
@text = args[:text] if args.key?(:text)
|
13497
13307
|
@title = args[:title] if args.key?(:title)
|
13498
13308
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -14114,12 +13924,11 @@ module Google
|
|
14114
13924
|
|
14115
13925
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
14116
13926
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
14117
|
-
# attitude as positive, negative, or neutral. For
|
14118
|
-
#
|
14119
|
-
#
|
14120
|
-
#
|
14121
|
-
#
|
14122
|
-
# 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
|
14123
13932
|
# Corresponds to the JSON property `sentimentAnalysis`
|
14124
13933
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult]
|
14125
13934
|
attr_accessor :sentiment_analysis
|
@@ -14642,12 +14451,11 @@ module Google
|
|
14642
14451
|
|
14643
14452
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
14644
14453
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
14645
|
-
# attitude as positive, negative, or neutral. For
|
14646
|
-
#
|
14647
|
-
#
|
14648
|
-
#
|
14649
|
-
#
|
14650
|
-
# 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
|
14651
14459
|
# Corresponds to the JSON property `sentimentAnalysisResult`
|
14652
14460
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult]
|
14653
14461
|
attr_accessor :sentiment_analysis_result
|
@@ -14837,6 +14645,11 @@ module Google
|
|
14837
14645
|
class GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource
|
14838
14646
|
include Google::Apis::Core::Hashable
|
14839
14647
|
|
14648
|
+
# Metadata associated with the article.
|
14649
|
+
# Corresponds to the JSON property `metadata`
|
14650
|
+
# @return [Hash<String,Object>]
|
14651
|
+
attr_accessor :metadata
|
14652
|
+
|
14840
14653
|
# The relevant snippet of the article.
|
14841
14654
|
# Corresponds to the JSON property `snippet`
|
14842
14655
|
# @return [String]
|
@@ -14858,6 +14671,7 @@ module Google
|
|
14858
14671
|
|
14859
14672
|
# Update properties of this object
|
14860
14673
|
def update!(**args)
|
14674
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
14861
14675
|
@snippet = args[:snippet] if args.key?(:snippet)
|
14862
14676
|
@title = args[:title] if args.key?(:title)
|
14863
14677
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -14880,6 +14694,22 @@ module Google
|
|
14880
14694
|
# @return [String]
|
14881
14695
|
attr_accessor :conversation_profile
|
14882
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
|
+
|
14883
14713
|
# Optional. The name of the latest conversation message when the request is
|
14884
14714
|
# triggered. Format: `projects//locations//conversations//messages/`.
|
14885
14715
|
# Corresponds to the JSON property `latestMessage`
|
@@ -14897,7 +14727,17 @@ module Google
|
|
14897
14727
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput]
|
14898
14728
|
attr_accessor :query
|
14899
14729
|
|
14900
|
-
# 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
|
14901
14741
|
# Dialogflow V3 Agent ID retrieved from conversation profile or on its own to
|
14902
14742
|
# identify a search session. The search history of the same session will impact
|
14903
14743
|
# the search result. It's up to the API caller to choose an appropriate `Session
|
@@ -14915,13 +14755,248 @@ module Google
|
|
14915
14755
|
def update!(**args)
|
14916
14756
|
@conversation = args[:conversation] if args.key?(:conversation)
|
14917
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)
|
14918
14760
|
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
14919
14761
|
@parent = args[:parent] if args.key?(:parent)
|
14920
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)
|
14921
14765
|
@session_id = args[:session_id] if args.key?(:session_id)
|
14922
14766
|
end
|
14923
14767
|
end
|
14924
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
|
+
|
14925
15000
|
# The response message for Conversations.SearchKnowledge.
|
14926
15001
|
class GoogleCloudDialogflowV2SearchKnowledgeResponse
|
14927
15002
|
include Google::Apis::Core::Hashable
|
@@ -15000,12 +15075,11 @@ module Google
|
|
15000
15075
|
|
15001
15076
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
15002
15077
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
15003
|
-
# attitude as positive, negative, or neutral. For
|
15004
|
-
#
|
15005
|
-
#
|
15006
|
-
#
|
15007
|
-
#
|
15008
|
-
# 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
|
15009
15083
|
class GoogleCloudDialogflowV2SentimentAnalysisResult
|
15010
15084
|
include Google::Apis::Core::Hashable
|
15011
15085
|
|
@@ -15070,7 +15144,7 @@ module Google
|
|
15070
15144
|
end
|
15071
15145
|
end
|
15072
15146
|
|
15073
|
-
# Metadata for a
|
15147
|
+
# Metadata for a ConversationProfiles.SetSuggestionFeatureConfig operation.
|
15074
15148
|
class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
|
15075
15149
|
include Google::Apis::Core::Hashable
|
15076
15150
|
|
@@ -15109,7 +15183,7 @@ module Google
|
|
15109
15183
|
end
|
15110
15184
|
end
|
15111
15185
|
|
15112
|
-
# The request message for ConversationProfiles.
|
15186
|
+
# The request message for ConversationProfiles.SetSuggestionFeatureConfig.
|
15113
15187
|
class GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest
|
15114
15188
|
include Google::Apis::Core::Hashable
|
15115
15189
|
|
@@ -15290,15 +15364,6 @@ module Google
|
|
15290
15364
|
class GoogleCloudDialogflowV2SpeechToTextConfig
|
15291
15365
|
include Google::Apis::Core::Hashable
|
15292
15366
|
|
15293
|
-
# Defines the list of other language codes in addition to the one provided by
|
15294
|
-
# the conversation profile that may be detected as the language code for the
|
15295
|
-
# utterances over the conversation. See [Language Support](https://cloud.google.
|
15296
|
-
# com/dialogflow/docs/reference/language) for a list of the currently supported
|
15297
|
-
# language codes.
|
15298
|
-
# Corresponds to the JSON property `alternativeLanguageCodes`
|
15299
|
-
# @return [Array<String>]
|
15300
|
-
attr_accessor :alternative_language_codes
|
15301
|
-
|
15302
15367
|
# Audio encoding of the audio content to process.
|
15303
15368
|
# Corresponds to the JSON property `audioEncoding`
|
15304
15369
|
# @return [String]
|
@@ -15338,6 +15403,11 @@ module Google
|
|
15338
15403
|
# @return [String]
|
15339
15404
|
attr_accessor :model
|
15340
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
|
+
|
15341
15411
|
# Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud
|
15342
15412
|
# Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics)
|
15343
15413
|
# for more details.
|
@@ -15367,11 +15437,11 @@ module Google
|
|
15367
15437
|
|
15368
15438
|
# Update properties of this object
|
15369
15439
|
def update!(**args)
|
15370
|
-
@alternative_language_codes = args[:alternative_language_codes] if args.key?(:alternative_language_codes)
|
15371
15440
|
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
15372
15441
|
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
15373
15442
|
@language_code = args[:language_code] if args.key?(:language_code)
|
15374
15443
|
@model = args[:model] if args.key?(:model)
|
15444
|
+
@phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets)
|
15375
15445
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
15376
15446
|
@speech_model_variant = args[:speech_model_variant] if args.key?(:speech_model_variant)
|
15377
15447
|
@use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
|
@@ -15484,8 +15554,8 @@ module Google
|
|
15484
15554
|
class GoogleCloudDialogflowV2SuggestConversationSummaryResponse
|
15485
15555
|
include Google::Apis::Core::Hashable
|
15486
15556
|
|
15487
|
-
# Number of messages prior to and including
|
15488
|
-
#
|
15557
|
+
# Number of messages prior to and including latest_message used to compile the
|
15558
|
+
# suggestion. It may be smaller than the SuggestConversationSummaryRequest.
|
15489
15559
|
# context_size field in the request if there weren't that many messages in the
|
15490
15560
|
# conversation.
|
15491
15561
|
# Corresponds to the JSON property `contextSize`
|
@@ -19069,6 +19139,11 @@ module Google
|
|
19069
19139
|
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
19070
19140
|
include Google::Apis::Core::Hashable
|
19071
19141
|
|
19142
|
+
# Metadata of the document.
|
19143
|
+
# Corresponds to the JSON property `metadata`
|
19144
|
+
# @return [Hash<String,Object>]
|
19145
|
+
attr_accessor :metadata
|
19146
|
+
|
19072
19147
|
# Text taken from that URI.
|
19073
19148
|
# Corresponds to the JSON property `text`
|
19074
19149
|
# @return [String]
|
@@ -19090,6 +19165,7 @@ module Google
|
|
19090
19165
|
|
19091
19166
|
# Update properties of this object
|
19092
19167
|
def update!(**args)
|
19168
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
19093
19169
|
@text = args[:text] if args.key?(:text)
|
19094
19170
|
@title = args[:title] if args.key?(:title)
|
19095
19171
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -19648,7 +19724,8 @@ module Google
|
|
19648
19724
|
class GoogleCloudDialogflowV2beta1ResponseMessageText
|
19649
19725
|
include Google::Apis::Core::Hashable
|
19650
19726
|
|
19651
|
-
# A collection of text
|
19727
|
+
# A collection of text response variants. If multiple variants are defined, only
|
19728
|
+
# one text response variant is returned at runtime.
|
19652
19729
|
# Corresponds to the JSON property `text`
|
19653
19730
|
# @return [Array<String>]
|
19654
19731
|
attr_accessor :text
|
@@ -20250,120 +20327,6 @@ module Google
|
|
20250
20327
|
end
|
20251
20328
|
end
|
20252
20329
|
|
20253
|
-
# Metadata for CreateDocument operation.
|
20254
|
-
class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
|
20255
|
-
include Google::Apis::Core::Hashable
|
20256
|
-
|
20257
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
20258
|
-
# Corresponds to the JSON property `genericMetadata`
|
20259
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
20260
|
-
attr_accessor :generic_metadata
|
20261
|
-
|
20262
|
-
def initialize(**args)
|
20263
|
-
update!(**args)
|
20264
|
-
end
|
20265
|
-
|
20266
|
-
# Update properties of this object
|
20267
|
-
def update!(**args)
|
20268
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
20269
|
-
end
|
20270
|
-
end
|
20271
|
-
|
20272
|
-
# Metadata for DeleteDocument operation.
|
20273
|
-
class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata
|
20274
|
-
include Google::Apis::Core::Hashable
|
20275
|
-
|
20276
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
20277
|
-
# Corresponds to the JSON property `genericMetadata`
|
20278
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
20279
|
-
attr_accessor :generic_metadata
|
20280
|
-
|
20281
|
-
def initialize(**args)
|
20282
|
-
update!(**args)
|
20283
|
-
end
|
20284
|
-
|
20285
|
-
# Update properties of this object
|
20286
|
-
def update!(**args)
|
20287
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
20288
|
-
end
|
20289
|
-
end
|
20290
|
-
|
20291
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
20292
|
-
class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata
|
20293
|
-
include Google::Apis::Core::Hashable
|
20294
|
-
|
20295
|
-
# Required. Output only. The current state of this operation.
|
20296
|
-
# Corresponds to the JSON property `state`
|
20297
|
-
# @return [String]
|
20298
|
-
attr_accessor :state
|
20299
|
-
|
20300
|
-
def initialize(**args)
|
20301
|
-
update!(**args)
|
20302
|
-
end
|
20303
|
-
|
20304
|
-
# Update properties of this object
|
20305
|
-
def update!(**args)
|
20306
|
-
@state = args[:state] if args.key?(:state)
|
20307
|
-
end
|
20308
|
-
end
|
20309
|
-
|
20310
|
-
# Metadata for ImportDocuments operation.
|
20311
|
-
class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata
|
20312
|
-
include Google::Apis::Core::Hashable
|
20313
|
-
|
20314
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
20315
|
-
# Corresponds to the JSON property `genericMetadata`
|
20316
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
20317
|
-
attr_accessor :generic_metadata
|
20318
|
-
|
20319
|
-
def initialize(**args)
|
20320
|
-
update!(**args)
|
20321
|
-
end
|
20322
|
-
|
20323
|
-
# Update properties of this object
|
20324
|
-
def update!(**args)
|
20325
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
20326
|
-
end
|
20327
|
-
end
|
20328
|
-
|
20329
|
-
# Response message for Documents.ImportDocuments.
|
20330
|
-
class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse
|
20331
|
-
include Google::Apis::Core::Hashable
|
20332
|
-
|
20333
|
-
# Includes details about skipped documents or any other warnings.
|
20334
|
-
# Corresponds to the JSON property `warnings`
|
20335
|
-
# @return [Array<Google::Apis::DialogflowV2::GoogleRpcStatus>]
|
20336
|
-
attr_accessor :warnings
|
20337
|
-
|
20338
|
-
def initialize(**args)
|
20339
|
-
update!(**args)
|
20340
|
-
end
|
20341
|
-
|
20342
|
-
# Update properties of this object
|
20343
|
-
def update!(**args)
|
20344
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
20345
|
-
end
|
20346
|
-
end
|
20347
|
-
|
20348
|
-
# Metadata for ReloadDocument operation.
|
20349
|
-
class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata
|
20350
|
-
include Google::Apis::Core::Hashable
|
20351
|
-
|
20352
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
20353
|
-
# Corresponds to the JSON property `genericMetadata`
|
20354
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
20355
|
-
attr_accessor :generic_metadata
|
20356
|
-
|
20357
|
-
def initialize(**args)
|
20358
|
-
update!(**args)
|
20359
|
-
end
|
20360
|
-
|
20361
|
-
# Update properties of this object
|
20362
|
-
def update!(**args)
|
20363
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
20364
|
-
end
|
20365
|
-
end
|
20366
|
-
|
20367
20330
|
# Collection of all signals that were extracted for a single turn of the
|
20368
20331
|
# conversation.
|
20369
20332
|
class GoogleCloudDialogflowV3alpha1TurnSignals
|
@@ -20454,25 +20417,6 @@ module Google
|
|
20454
20417
|
end
|
20455
20418
|
end
|
20456
20419
|
|
20457
|
-
# Metadata for UpdateDocument operation.
|
20458
|
-
class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
|
20459
|
-
include Google::Apis::Core::Hashable
|
20460
|
-
|
20461
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
20462
|
-
# Corresponds to the JSON property `genericMetadata`
|
20463
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
20464
|
-
attr_accessor :generic_metadata
|
20465
|
-
|
20466
|
-
def initialize(**args)
|
20467
|
-
update!(**args)
|
20468
|
-
end
|
20469
|
-
|
20470
|
-
# Update properties of this object
|
20471
|
-
def update!(**args)
|
20472
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
20473
|
-
end
|
20474
|
-
end
|
20475
|
-
|
20476
20420
|
# The response message for Locations.ListLocations.
|
20477
20421
|
class GoogleCloudLocationListLocationsResponse
|
20478
20422
|
include Google::Apis::Core::Hashable
|