google-apis-dialogflow_v2beta1 0.91.0 → 0.92.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_v2beta1/classes.rb +535 -480
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +184 -292
- data/lib/google/apis/dialogflow_v2beta1/service.rb +181 -10
- 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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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
|
@@ -7968,7 +7726,7 @@ module Google
|
|
7968
7726
|
end
|
7969
7727
|
end
|
7970
7728
|
|
7971
|
-
# Metadata for a
|
7729
|
+
# Metadata for a ConversationProfiles.ClearSuggestionFeatureConfig operation.
|
7972
7730
|
class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
|
7973
7731
|
include Google::Apis::Core::Hashable
|
7974
7732
|
|
@@ -8149,6 +7907,20 @@ module Google
|
|
8149
7907
|
# @return [String]
|
8150
7908
|
attr_accessor :name
|
8151
7909
|
|
7910
|
+
# Output only. A read only boolean field reflecting Zone Isolation status of the
|
7911
|
+
# model.
|
7912
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
7913
|
+
# @return [Boolean]
|
7914
|
+
attr_accessor :satisfies_pzi
|
7915
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
7916
|
+
|
7917
|
+
# Output only. A read only boolean field reflecting Zone Separation status of
|
7918
|
+
# the model.
|
7919
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
7920
|
+
# @return [Boolean]
|
7921
|
+
attr_accessor :satisfies_pzs
|
7922
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
7923
|
+
|
8152
7924
|
# Metadata for smart reply models.
|
8153
7925
|
# Corresponds to the JSON property `smartReplyModelMetadata`
|
8154
7926
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SmartReplyModelMetadata]
|
@@ -8172,12 +7944,14 @@ module Google
|
|
8172
7944
|
@display_name = args[:display_name] if args.key?(:display_name)
|
8173
7945
|
@language_code = args[:language_code] if args.key?(:language_code)
|
8174
7946
|
@name = args[:name] if args.key?(:name)
|
7947
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
7948
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
8175
7949
|
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
|
8176
7950
|
@state = args[:state] if args.key?(:state)
|
8177
7951
|
end
|
8178
7952
|
end
|
8179
7953
|
|
8180
|
-
# Metadata for
|
7954
|
+
# Metadata for CreateConversationDataset.
|
8181
7955
|
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
|
8182
7956
|
include Google::Apis::Core::Hashable
|
8183
7957
|
|
@@ -8270,7 +8044,7 @@ module Google
|
|
8270
8044
|
end
|
8271
8045
|
end
|
8272
8046
|
|
8273
|
-
# Metadata for
|
8047
|
+
# Metadata for DeleteConversationDataset.
|
8274
8048
|
class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
|
8275
8049
|
include Google::Apis::Core::Hashable
|
8276
8050
|
|
@@ -10159,6 +9933,11 @@ module Google
|
|
10159
9933
|
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
10160
9934
|
include Google::Apis::Core::Hashable
|
10161
9935
|
|
9936
|
+
# Metadata of the document.
|
9937
|
+
# Corresponds to the JSON property `metadata`
|
9938
|
+
# @return [Hash<String,Object>]
|
9939
|
+
attr_accessor :metadata
|
9940
|
+
|
10162
9941
|
# Text taken from that URI.
|
10163
9942
|
# Corresponds to the JSON property `text`
|
10164
9943
|
# @return [String]
|
@@ -10180,6 +9959,7 @@ module Google
|
|
10180
9959
|
|
10181
9960
|
# Update properties of this object
|
10182
9961
|
def update!(**args)
|
9962
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
10183
9963
|
@text = args[:text] if args.key?(:text)
|
10184
9964
|
@title = args[:title] if args.key?(:title)
|
10185
9965
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -10284,12 +10064,11 @@ module Google
|
|
10284
10064
|
|
10285
10065
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
10286
10066
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
10287
|
-
# attitude as positive, negative, or neutral. For
|
10288
|
-
#
|
10289
|
-
#
|
10290
|
-
#
|
10291
|
-
#
|
10292
|
-
# ConversationProfile.human_agent_assistant_config
|
10067
|
+
# attitude as positive, negative, or neutral. For DetectIntent, it needs to be
|
10068
|
+
# configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
|
10069
|
+
# needs to be configured in StreamingDetectIntentRequest.query_params. And for
|
10070
|
+
# Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
|
10071
|
+
# to be configured in ConversationProfile.human_agent_assistant_config
|
10293
10072
|
# Corresponds to the JSON property `sentimentAnalysis`
|
10294
10073
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
|
10295
10074
|
attr_accessor :sentiment_analysis
|
@@ -10486,12 +10265,11 @@ module Google
|
|
10486
10265
|
|
10487
10266
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
10488
10267
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
10489
|
-
# attitude as positive, negative, or neutral. For
|
10490
|
-
#
|
10491
|
-
#
|
10492
|
-
#
|
10493
|
-
#
|
10494
|
-
# ConversationProfile.human_agent_assistant_config
|
10268
|
+
# attitude as positive, negative, or neutral. For DetectIntent, it needs to be
|
10269
|
+
# configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
|
10270
|
+
# needs to be configured in StreamingDetectIntentRequest.query_params. And for
|
10271
|
+
# Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
|
10272
|
+
# to be configured in ConversationProfile.human_agent_assistant_config
|
10495
10273
|
# Corresponds to the JSON property `sentimentAnalysisResult`
|
10496
10274
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
|
10497
10275
|
attr_accessor :sentiment_analysis_result
|
@@ -10575,12 +10353,11 @@ module Google
|
|
10575
10353
|
|
10576
10354
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
10577
10355
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
10578
|
-
# attitude as positive, negative, or neutral. For
|
10579
|
-
#
|
10580
|
-
#
|
10581
|
-
#
|
10582
|
-
#
|
10583
|
-
# ConversationProfile.human_agent_assistant_config
|
10356
|
+
# attitude as positive, negative, or neutral. For DetectIntent, it needs to be
|
10357
|
+
# configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
|
10358
|
+
# needs to be configured in StreamingDetectIntentRequest.query_params. And for
|
10359
|
+
# Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
|
10360
|
+
# to be configured in ConversationProfile.human_agent_assistant_config
|
10584
10361
|
class GoogleCloudDialogflowV2SentimentAnalysisResult
|
10585
10362
|
include Google::Apis::Core::Hashable
|
10586
10363
|
|
@@ -10645,7 +10422,7 @@ module Google
|
|
10645
10422
|
end
|
10646
10423
|
end
|
10647
10424
|
|
10648
|
-
# Metadata for a
|
10425
|
+
# Metadata for a ConversationProfiles.SetSuggestionFeatureConfig operation.
|
10649
10426
|
class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
|
10650
10427
|
include Google::Apis::Core::Hashable
|
10651
10428
|
|
@@ -12396,39 +12173,101 @@ module Google
|
|
12396
12173
|
end
|
12397
12174
|
end
|
12398
12175
|
|
12399
|
-
#
|
12400
|
-
|
12401
|
-
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
12402
|
-
# like that, it needs to be provided with context in order to correctly match an
|
12403
|
-
# intent. Using contexts, you can control the flow of a conversation. You can
|
12404
|
-
# configure contexts for an intent by setting input and output contexts, which
|
12405
|
-
# are identified by string names. When an intent is matched, any configured
|
12406
|
-
# output contexts for that intent become active. While any contexts are active,
|
12407
|
-
# Dialogflow is more likely to match intents that are configured with input
|
12408
|
-
# contexts that correspond to the currently active contexts. For more
|
12409
|
-
# information about context, see the [Contexts guide](https://cloud.google.com/
|
12410
|
-
# dialogflow/docs/contexts-overview).
|
12411
|
-
class GoogleCloudDialogflowV2beta1Context
|
12176
|
+
# Represents a connection for SIP Trunk.
|
12177
|
+
class GoogleCloudDialogflowV2beta1Connection
|
12412
12178
|
include Google::Apis::Core::Hashable
|
12413
12179
|
|
12414
|
-
#
|
12415
|
-
#
|
12416
|
-
#
|
12417
|
-
|
12418
|
-
# Corresponds to the JSON property `lifespanCount`
|
12419
|
-
# @return [Fixnum]
|
12420
|
-
attr_accessor :lifespan_count
|
12180
|
+
# Output only. The unique identifier of the SIP Trunk connection.
|
12181
|
+
# Corresponds to the JSON property `connectionId`
|
12182
|
+
# @return [String]
|
12183
|
+
attr_accessor :connection_id
|
12421
12184
|
|
12422
|
-
#
|
12423
|
-
#
|
12424
|
-
#
|
12425
|
-
|
12426
|
-
|
12427
|
-
#
|
12428
|
-
#
|
12429
|
-
#
|
12430
|
-
|
12431
|
-
|
12185
|
+
# The error details of Sip Trunk connection authentication.
|
12186
|
+
# Corresponds to the JSON property `errorDetails`
|
12187
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConnectionErrorDetails]
|
12188
|
+
attr_accessor :error_details
|
12189
|
+
|
12190
|
+
# Output only. State of the connection.
|
12191
|
+
# Corresponds to the JSON property `state`
|
12192
|
+
# @return [String]
|
12193
|
+
attr_accessor :state
|
12194
|
+
|
12195
|
+
# Output only. When the connection status changed.
|
12196
|
+
# Corresponds to the JSON property `updateTime`
|
12197
|
+
# @return [String]
|
12198
|
+
attr_accessor :update_time
|
12199
|
+
|
12200
|
+
def initialize(**args)
|
12201
|
+
update!(**args)
|
12202
|
+
end
|
12203
|
+
|
12204
|
+
# Update properties of this object
|
12205
|
+
def update!(**args)
|
12206
|
+
@connection_id = args[:connection_id] if args.key?(:connection_id)
|
12207
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
12208
|
+
@state = args[:state] if args.key?(:state)
|
12209
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
12210
|
+
end
|
12211
|
+
end
|
12212
|
+
|
12213
|
+
# The error details of Sip Trunk connection authentication.
|
12214
|
+
class GoogleCloudDialogflowV2beta1ConnectionErrorDetails
|
12215
|
+
include Google::Apis::Core::Hashable
|
12216
|
+
|
12217
|
+
# Output only. The status of the certificate authentication.
|
12218
|
+
# Corresponds to the JSON property `certificateState`
|
12219
|
+
# @return [String]
|
12220
|
+
attr_accessor :certificate_state
|
12221
|
+
|
12222
|
+
# The error message provided from SIP trunking auth service
|
12223
|
+
# Corresponds to the JSON property `errorMessage`
|
12224
|
+
# @return [String]
|
12225
|
+
attr_accessor :error_message
|
12226
|
+
|
12227
|
+
def initialize(**args)
|
12228
|
+
update!(**args)
|
12229
|
+
end
|
12230
|
+
|
12231
|
+
# Update properties of this object
|
12232
|
+
def update!(**args)
|
12233
|
+
@certificate_state = args[:certificate_state] if args.key?(:certificate_state)
|
12234
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
12235
|
+
end
|
12236
|
+
end
|
12237
|
+
|
12238
|
+
# Dialogflow contexts are similar to natural language context. If a person says
|
12239
|
+
# to you "they are orange", you need context in order to understand what "they"
|
12240
|
+
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
12241
|
+
# like that, it needs to be provided with context in order to correctly match an
|
12242
|
+
# intent. Using contexts, you can control the flow of a conversation. You can
|
12243
|
+
# configure contexts for an intent by setting input and output contexts, which
|
12244
|
+
# are identified by string names. When an intent is matched, any configured
|
12245
|
+
# output contexts for that intent become active. While any contexts are active,
|
12246
|
+
# Dialogflow is more likely to match intents that are configured with input
|
12247
|
+
# contexts that correspond to the currently active contexts. For more
|
12248
|
+
# information about context, see the [Contexts guide](https://cloud.google.com/
|
12249
|
+
# dialogflow/docs/contexts-overview).
|
12250
|
+
class GoogleCloudDialogflowV2beta1Context
|
12251
|
+
include Google::Apis::Core::Hashable
|
12252
|
+
|
12253
|
+
# Optional. The number of conversational query requests after which the context
|
12254
|
+
# expires. The default is `0`. If set to `0`, the context expires immediately.
|
12255
|
+
# Contexts expire automatically after 20 minutes if there are no matching
|
12256
|
+
# queries.
|
12257
|
+
# Corresponds to the JSON property `lifespanCount`
|
12258
|
+
# @return [Fixnum]
|
12259
|
+
attr_accessor :lifespan_count
|
12260
|
+
|
12261
|
+
# Required. The unique identifier of the context. Supported formats: - `projects/
|
12262
|
+
# /agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`
|
12263
|
+
# , - `projects//agent/environments//users//sessions//contexts/`, - `projects//
|
12264
|
+
# locations//agent/environments//users//sessions//contexts/`, The `Context ID`
|
12265
|
+
# is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%`
|
12266
|
+
# and may be at most 250 bytes long. If `Environment ID` is not specified, we
|
12267
|
+
# assume default 'draft' environment. If `User ID` is not specified, we assume
|
12268
|
+
# default '-' user. The following context names are reserved for internal use by
|
12269
|
+
# Dialogflow. You should not use these contexts or create contexts with these
|
12270
|
+
# names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
|
12432
12271
|
# Corresponds to the JSON property `name`
|
12433
12272
|
# @return [String]
|
12434
12273
|
attr_accessor :name
|
@@ -13522,7 +13361,7 @@ module Google
|
|
13522
13361
|
end
|
13523
13362
|
|
13524
13363
|
# Providing examples in the generator (i.e. building a few-shot generator) helps
|
13525
|
-
# convey the desired format of the LLM response.
|
13364
|
+
# convey the desired format of the LLM response.
|
13526
13365
|
class GoogleCloudDialogflowV2beta1FewShotExample
|
13527
13366
|
include Google::Apis::Core::Hashable
|
13528
13367
|
|
@@ -14315,6 +14154,12 @@ module Google
|
|
14315
14154
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings]
|
14316
14155
|
attr_accessor :context_filter_settings
|
14317
14156
|
|
14157
|
+
# Optional. The number of recent messages to include in the context. Supported
|
14158
|
+
# features: KNOWLEDGE_ASSIST.
|
14159
|
+
# Corresponds to the JSON property `contextSize`
|
14160
|
+
# @return [Fixnum]
|
14161
|
+
attr_accessor :context_size
|
14162
|
+
|
14318
14163
|
# Dialogflow source setting. Supported feature: DIALOGFLOW_ASSIST,
|
14319
14164
|
# ENTITY_EXTRACTION.
|
14320
14165
|
# Corresponds to the JSON property `dialogflowQuerySource`
|
@@ -14352,6 +14197,7 @@ module Google
|
|
14352
14197
|
def update!(**args)
|
14353
14198
|
@confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
|
14354
14199
|
@context_filter_settings = args[:context_filter_settings] if args.key?(:context_filter_settings)
|
14200
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
14355
14201
|
@dialogflow_query_source = args[:dialogflow_query_source] if args.key?(:dialogflow_query_source)
|
14356
14202
|
@document_query_source = args[:document_query_source] if args.key?(:document_query_source)
|
14357
14203
|
@knowledge_base_query_source = args[:knowledge_base_query_source] if args.key?(:knowledge_base_query_source)
|
@@ -14971,6 +14817,11 @@ module Google
|
|
14971
14817
|
# @return [Array<String>]
|
14972
14818
|
attr_accessor :phrase_hints
|
14973
14819
|
|
14820
|
+
# A collection of phrase set resources to use for speech adaptation.
|
14821
|
+
# Corresponds to the JSON property `phraseSets`
|
14822
|
+
# @return [Array<String>]
|
14823
|
+
attr_accessor :phrase_sets
|
14824
|
+
|
14974
14825
|
# Required. Sample rate (in Hertz) of the audio content sent in the query. Refer
|
14975
14826
|
# to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/
|
14976
14827
|
# docs/basics) for more details.
|
@@ -15015,6 +14866,7 @@ module Google
|
|
15015
14866
|
@model_variant = args[:model_variant] if args.key?(:model_variant)
|
15016
14867
|
@opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
|
15017
14868
|
@phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
|
14869
|
+
@phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets)
|
15018
14870
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
15019
14871
|
@single_utterance = args[:single_utterance] if args.key?(:single_utterance)
|
15020
14872
|
@speech_contexts = args[:speech_contexts] if args.key?(:speech_contexts)
|
@@ -17007,6 +16859,11 @@ module Google
|
|
17007
16859
|
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
17008
16860
|
include Google::Apis::Core::Hashable
|
17009
16861
|
|
16862
|
+
# Metadata of the document.
|
16863
|
+
# Corresponds to the JSON property `metadata`
|
16864
|
+
# @return [Hash<String,Object>]
|
16865
|
+
attr_accessor :metadata
|
16866
|
+
|
17010
16867
|
# Text taken from that URI.
|
17011
16868
|
# Corresponds to the JSON property `text`
|
17012
16869
|
# @return [String]
|
@@ -17028,6 +16885,7 @@ module Google
|
|
17028
16885
|
|
17029
16886
|
# Update properties of this object
|
17030
16887
|
def update!(**args)
|
16888
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
17031
16889
|
@text = args[:text] if args.key?(:text)
|
17032
16890
|
@title = args[:title] if args.key?(:title)
|
17033
16891
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -17475,6 +17333,32 @@ module Google
|
|
17475
17333
|
end
|
17476
17334
|
end
|
17477
17335
|
|
17336
|
+
# The response message for SipTrunks.ListSipTrunks.
|
17337
|
+
class GoogleCloudDialogflowV2beta1ListSipTrunksResponse
|
17338
|
+
include Google::Apis::Core::Hashable
|
17339
|
+
|
17340
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
17341
|
+
# results in the list.
|
17342
|
+
# Corresponds to the JSON property `nextPageToken`
|
17343
|
+
# @return [String]
|
17344
|
+
attr_accessor :next_page_token
|
17345
|
+
|
17346
|
+
# The list of SIP trunks.
|
17347
|
+
# Corresponds to the JSON property `sipTrunks`
|
17348
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk>]
|
17349
|
+
attr_accessor :sip_trunks
|
17350
|
+
|
17351
|
+
def initialize(**args)
|
17352
|
+
update!(**args)
|
17353
|
+
end
|
17354
|
+
|
17355
|
+
# Update properties of this object
|
17356
|
+
def update!(**args)
|
17357
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
17358
|
+
@sip_trunks = args[:sip_trunks] if args.key?(:sip_trunks)
|
17359
|
+
end
|
17360
|
+
end
|
17361
|
+
|
17478
17362
|
# The response message for Participants.ListSuggestions.
|
17479
17363
|
class GoogleCloudDialogflowV2beta1ListSuggestionsResponse
|
17480
17364
|
include Google::Apis::Core::Hashable
|
@@ -18423,7 +18307,8 @@ module Google
|
|
18423
18307
|
class GoogleCloudDialogflowV2beta1ResponseMessageText
|
18424
18308
|
include Google::Apis::Core::Hashable
|
18425
18309
|
|
18426
|
-
# A collection of text
|
18310
|
+
# A collection of text response variants. If multiple variants are defined, only
|
18311
|
+
# one text response variant is returned at runtime.
|
18427
18312
|
# Corresponds to the JSON property `text`
|
18428
18313
|
# @return [Array<String>]
|
18429
18314
|
attr_accessor :text
|
@@ -18538,6 +18423,11 @@ module Google
|
|
18538
18423
|
class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource
|
18539
18424
|
include Google::Apis::Core::Hashable
|
18540
18425
|
|
18426
|
+
# Metadata associated with the article.
|
18427
|
+
# Corresponds to the JSON property `metadata`
|
18428
|
+
# @return [Hash<String,Object>]
|
18429
|
+
attr_accessor :metadata
|
18430
|
+
|
18541
18431
|
# The relevant snippet of the article.
|
18542
18432
|
# Corresponds to the JSON property `snippet`
|
18543
18433
|
# @return [String]
|
@@ -18559,6 +18449,7 @@ module Google
|
|
18559
18449
|
|
18560
18450
|
# Update properties of this object
|
18561
18451
|
def update!(**args)
|
18452
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
18562
18453
|
@snippet = args[:snippet] if args.key?(:snippet)
|
18563
18454
|
@title = args[:title] if args.key?(:title)
|
18564
18455
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -18581,6 +18472,22 @@ module Google
|
|
18581
18472
|
# @return [String]
|
18582
18473
|
attr_accessor :conversation_profile
|
18583
18474
|
|
18475
|
+
# Optional. Information about the end-user to improve the relevance and accuracy
|
18476
|
+
# of generative answers. This will be interpreted and used by a language model,
|
18477
|
+
# so, for good results, the data should be self-descriptive, and in a simple
|
18478
|
+
# structure. Example: ```json ` "subscription plan": "Business Premium Plus", "
|
18479
|
+
# devices owned": [ `"model": "Google Pixel 7"`, `"model": "Google Pixel Tablet"`
|
18480
|
+
# ] ` ```
|
18481
|
+
# Corresponds to the JSON property `endUserMetadata`
|
18482
|
+
# @return [Hash<String,Object>]
|
18483
|
+
attr_accessor :end_user_metadata
|
18484
|
+
|
18485
|
+
# Optional. Whether to search the query exactly without query rewrite.
|
18486
|
+
# Corresponds to the JSON property `exactSearch`
|
18487
|
+
# @return [Boolean]
|
18488
|
+
attr_accessor :exact_search
|
18489
|
+
alias_method :exact_search?, :exact_search
|
18490
|
+
|
18584
18491
|
# Optional. The name of the latest conversation message when the request is
|
18585
18492
|
# triggered. Format: `projects//locations//conversations//messages/`.
|
18586
18493
|
# Corresponds to the JSON property `latestMessage`
|
@@ -18598,7 +18505,17 @@ module Google
|
|
18598
18505
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput]
|
18599
18506
|
attr_accessor :query
|
18600
18507
|
|
18601
|
-
# Optional. The
|
18508
|
+
# Optional. The source of the query in the request.
|
18509
|
+
# Corresponds to the JSON property `querySource`
|
18510
|
+
# @return [String]
|
18511
|
+
attr_accessor :query_source
|
18512
|
+
|
18513
|
+
# Configuration specific to search queries with data stores.
|
18514
|
+
# Corresponds to the JSON property `searchConfig`
|
18515
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig]
|
18516
|
+
attr_accessor :search_config
|
18517
|
+
|
18518
|
+
# Required. The ID of the search session. The session_id can be combined with
|
18602
18519
|
# Dialogflow V3 Agent ID retrieved from conversation profile or on its own to
|
18603
18520
|
# identify a search session. The search history of the same session will impact
|
18604
18521
|
# the search result. It's up to the API caller to choose an appropriate `Session
|
@@ -18616,13 +18533,248 @@ module Google
|
|
18616
18533
|
def update!(**args)
|
18617
18534
|
@conversation = args[:conversation] if args.key?(:conversation)
|
18618
18535
|
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
18536
|
+
@end_user_metadata = args[:end_user_metadata] if args.key?(:end_user_metadata)
|
18537
|
+
@exact_search = args[:exact_search] if args.key?(:exact_search)
|
18619
18538
|
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
18620
18539
|
@parent = args[:parent] if args.key?(:parent)
|
18621
18540
|
@query = args[:query] if args.key?(:query)
|
18541
|
+
@query_source = args[:query_source] if args.key?(:query_source)
|
18542
|
+
@search_config = args[:search_config] if args.key?(:search_config)
|
18622
18543
|
@session_id = args[:session_id] if args.key?(:session_id)
|
18623
18544
|
end
|
18624
18545
|
end
|
18625
18546
|
|
18547
|
+
# Configuration specific to search queries with data stores.
|
18548
|
+
class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig
|
18549
|
+
include Google::Apis::Core::Hashable
|
18550
|
+
|
18551
|
+
# Optional. Boost specifications for data stores.
|
18552
|
+
# Corresponds to the JSON property `boostSpecs`
|
18553
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs>]
|
18554
|
+
attr_accessor :boost_specs
|
18555
|
+
|
18556
|
+
# Optional. Filter specification for data store queries.
|
18557
|
+
# Corresponds to the JSON property `filterSpecs`
|
18558
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs>]
|
18559
|
+
attr_accessor :filter_specs
|
18560
|
+
|
18561
|
+
def initialize(**args)
|
18562
|
+
update!(**args)
|
18563
|
+
end
|
18564
|
+
|
18565
|
+
# Update properties of this object
|
18566
|
+
def update!(**args)
|
18567
|
+
@boost_specs = args[:boost_specs] if args.key?(:boost_specs)
|
18568
|
+
@filter_specs = args[:filter_specs] if args.key?(:filter_specs)
|
18569
|
+
end
|
18570
|
+
end
|
18571
|
+
|
18572
|
+
# Boost specifications for data stores.
|
18573
|
+
class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs
|
18574
|
+
include Google::Apis::Core::Hashable
|
18575
|
+
|
18576
|
+
# Optional. Data Stores where the boosting configuration is applied. The full
|
18577
|
+
# names of the referenced data stores. Formats: `projects/`project`/locations/`
|
18578
|
+
# location`/collections/`collection`/dataStores/`data_store`` `projects/`project`
|
18579
|
+
# /locations/`location`/dataStores/`data_store``
|
18580
|
+
# Corresponds to the JSON property `dataStores`
|
18581
|
+
# @return [Array<String>]
|
18582
|
+
attr_accessor :data_stores
|
18583
|
+
|
18584
|
+
# Optional. A list of boosting specifications.
|
18585
|
+
# Corresponds to the JSON property `spec`
|
18586
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec>]
|
18587
|
+
attr_accessor :spec
|
18588
|
+
|
18589
|
+
def initialize(**args)
|
18590
|
+
update!(**args)
|
18591
|
+
end
|
18592
|
+
|
18593
|
+
# Update properties of this object
|
18594
|
+
def update!(**args)
|
18595
|
+
@data_stores = args[:data_stores] if args.key?(:data_stores)
|
18596
|
+
@spec = args[:spec] if args.key?(:spec)
|
18597
|
+
end
|
18598
|
+
end
|
18599
|
+
|
18600
|
+
# Boost specification to boost certain documents. A copy of google.cloud.
|
18601
|
+
# discoveryengine.v1main.BoostSpec, field documentation is available at https://
|
18602
|
+
# cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/
|
18603
|
+
# BoostSpec
|
18604
|
+
class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec
|
18605
|
+
include Google::Apis::Core::Hashable
|
18606
|
+
|
18607
|
+
# Optional. Condition boost specifications. If a document matches multiple
|
18608
|
+
# conditions in the specifictions, boost scores from these specifications are
|
18609
|
+
# all applied and combined in a non-linear way. Maximum number of specifications
|
18610
|
+
# is 20.
|
18611
|
+
# Corresponds to the JSON property `conditionBoostSpecs`
|
18612
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec>]
|
18613
|
+
attr_accessor :condition_boost_specs
|
18614
|
+
|
18615
|
+
def initialize(**args)
|
18616
|
+
update!(**args)
|
18617
|
+
end
|
18618
|
+
|
18619
|
+
# Update properties of this object
|
18620
|
+
def update!(**args)
|
18621
|
+
@condition_boost_specs = args[:condition_boost_specs] if args.key?(:condition_boost_specs)
|
18622
|
+
end
|
18623
|
+
end
|
18624
|
+
|
18625
|
+
# Boost applies to documents which match a condition.
|
18626
|
+
class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec
|
18627
|
+
include Google::Apis::Core::Hashable
|
18628
|
+
|
18629
|
+
# Optional. Strength of the condition boost, which should be in [-1, 1].
|
18630
|
+
# Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the
|
18631
|
+
# document a big promotion. However, it does not necessarily mean that the
|
18632
|
+
# boosted document will be the top result at all times, nor that other documents
|
18633
|
+
# will be excluded. Results could still be shown even when none of them matches
|
18634
|
+
# the condition. And results that are significantly more relevant to the search
|
18635
|
+
# query can still trump your heavily favored but irrelevant documents. Setting
|
18636
|
+
# to -1.0 gives the document a big demotion. However, results that are deeply
|
18637
|
+
# relevant might still be shown. The document will have an upstream battle to
|
18638
|
+
# get a fairly high ranking, but it is not blocked out completely. Setting to 0.
|
18639
|
+
# 0 means no boost applied. The boosting condition is ignored.
|
18640
|
+
# Corresponds to the JSON property `boost`
|
18641
|
+
# @return [Float]
|
18642
|
+
attr_accessor :boost
|
18643
|
+
|
18644
|
+
# Specification for custom ranking based on customer specified attribute value.
|
18645
|
+
# It provides more controls for customized ranking than the simple (condition,
|
18646
|
+
# boost) combination above.
|
18647
|
+
# Corresponds to the JSON property `boostControlSpec`
|
18648
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec]
|
18649
|
+
attr_accessor :boost_control_spec
|
18650
|
+
|
18651
|
+
# Optional. An expression which specifies a boost condition. The syntax and
|
18652
|
+
# supported fields are the same as a filter expression. Examples: * To boost
|
18653
|
+
# documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * (
|
18654
|
+
# id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))
|
18655
|
+
# Corresponds to the JSON property `condition`
|
18656
|
+
# @return [String]
|
18657
|
+
attr_accessor :condition
|
18658
|
+
|
18659
|
+
def initialize(**args)
|
18660
|
+
update!(**args)
|
18661
|
+
end
|
18662
|
+
|
18663
|
+
# Update properties of this object
|
18664
|
+
def update!(**args)
|
18665
|
+
@boost = args[:boost] if args.key?(:boost)
|
18666
|
+
@boost_control_spec = args[:boost_control_spec] if args.key?(:boost_control_spec)
|
18667
|
+
@condition = args[:condition] if args.key?(:condition)
|
18668
|
+
end
|
18669
|
+
end
|
18670
|
+
|
18671
|
+
# Specification for custom ranking based on customer specified attribute value.
|
18672
|
+
# It provides more controls for customized ranking than the simple (condition,
|
18673
|
+
# boost) combination above.
|
18674
|
+
class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec
|
18675
|
+
include Google::Apis::Core::Hashable
|
18676
|
+
|
18677
|
+
# Optional. The attribute type to be used to determine the boost amount. The
|
18678
|
+
# attribute value can be derived from the field value of the specified
|
18679
|
+
# field_name. In the case of numerical it is straightforward i.e.
|
18680
|
+
# attribute_value = numerical_field_value. In the case of freshness however,
|
18681
|
+
# attribute_value = (time.now() - datetime_field_value).
|
18682
|
+
# Corresponds to the JSON property `attributeType`
|
18683
|
+
# @return [String]
|
18684
|
+
attr_accessor :attribute_type
|
18685
|
+
|
18686
|
+
# Optional. The control points used to define the curve. The monotonic function (
|
18687
|
+
# defined through the interpolation_type above) passes through the control
|
18688
|
+
# points listed here.
|
18689
|
+
# Corresponds to the JSON property `controlPoints`
|
18690
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint>]
|
18691
|
+
attr_accessor :control_points
|
18692
|
+
|
18693
|
+
# Optional. The name of the field whose value will be used to determine the
|
18694
|
+
# boost amount.
|
18695
|
+
# Corresponds to the JSON property `fieldName`
|
18696
|
+
# @return [String]
|
18697
|
+
attr_accessor :field_name
|
18698
|
+
|
18699
|
+
# Optional. The interpolation type to be applied to connect the control points
|
18700
|
+
# listed below.
|
18701
|
+
# Corresponds to the JSON property `interpolationType`
|
18702
|
+
# @return [String]
|
18703
|
+
attr_accessor :interpolation_type
|
18704
|
+
|
18705
|
+
def initialize(**args)
|
18706
|
+
update!(**args)
|
18707
|
+
end
|
18708
|
+
|
18709
|
+
# Update properties of this object
|
18710
|
+
def update!(**args)
|
18711
|
+
@attribute_type = args[:attribute_type] if args.key?(:attribute_type)
|
18712
|
+
@control_points = args[:control_points] if args.key?(:control_points)
|
18713
|
+
@field_name = args[:field_name] if args.key?(:field_name)
|
18714
|
+
@interpolation_type = args[:interpolation_type] if args.key?(:interpolation_type)
|
18715
|
+
end
|
18716
|
+
end
|
18717
|
+
|
18718
|
+
# The control points used to define the curve. The curve defined through these
|
18719
|
+
# control points can only be monotonically increasing or decreasing(constant
|
18720
|
+
# values are acceptable).
|
18721
|
+
class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint
|
18722
|
+
include Google::Apis::Core::Hashable
|
18723
|
+
|
18724
|
+
# Optional. Can be one of: 1. The numerical field value. 2. The duration spec
|
18725
|
+
# for freshness: The value must be formatted as an XSD `dayTimeDuration` value (
|
18726
|
+
# a restricted subset of an ISO 8601 duration value). The pattern for this is: `
|
18727
|
+
# nDnM]`.
|
18728
|
+
# Corresponds to the JSON property `attributeValue`
|
18729
|
+
# @return [String]
|
18730
|
+
attr_accessor :attribute_value
|
18731
|
+
|
18732
|
+
# Optional. The value between -1 to 1 by which to boost the score if the
|
18733
|
+
# attribute_value evaluates to the value specified above.
|
18734
|
+
# Corresponds to the JSON property `boostAmount`
|
18735
|
+
# @return [Float]
|
18736
|
+
attr_accessor :boost_amount
|
18737
|
+
|
18738
|
+
def initialize(**args)
|
18739
|
+
update!(**args)
|
18740
|
+
end
|
18741
|
+
|
18742
|
+
# Update properties of this object
|
18743
|
+
def update!(**args)
|
18744
|
+
@attribute_value = args[:attribute_value] if args.key?(:attribute_value)
|
18745
|
+
@boost_amount = args[:boost_amount] if args.key?(:boost_amount)
|
18746
|
+
end
|
18747
|
+
end
|
18748
|
+
|
18749
|
+
# Filter specification for data store queries.
|
18750
|
+
class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs
|
18751
|
+
include Google::Apis::Core::Hashable
|
18752
|
+
|
18753
|
+
# Optional. The data store where the filter configuration is applied. Full
|
18754
|
+
# resource name of data store, such as projects/`project`/locations/`location`/
|
18755
|
+
# collections/`collectionId`/ dataStores/`dataStoreId`.
|
18756
|
+
# Corresponds to the JSON property `dataStores`
|
18757
|
+
# @return [Array<String>]
|
18758
|
+
attr_accessor :data_stores
|
18759
|
+
|
18760
|
+
# Optional. The filter expression to be applied. Expression syntax is documented
|
18761
|
+
# at https://cloud.google.com/generative-ai-app-builder/docs/filter-search-
|
18762
|
+
# metadata#filter-expression-syntax
|
18763
|
+
# Corresponds to the JSON property `filter`
|
18764
|
+
# @return [String]
|
18765
|
+
attr_accessor :filter
|
18766
|
+
|
18767
|
+
def initialize(**args)
|
18768
|
+
update!(**args)
|
18769
|
+
end
|
18770
|
+
|
18771
|
+
# Update properties of this object
|
18772
|
+
def update!(**args)
|
18773
|
+
@data_stores = args[:data_stores] if args.key?(:data_stores)
|
18774
|
+
@filter = args[:filter] if args.key?(:filter)
|
18775
|
+
end
|
18776
|
+
end
|
18777
|
+
|
18626
18778
|
# The response message for Conversations.SearchKnowledge.
|
18627
18779
|
class GoogleCloudDialogflowV2beta1SearchKnowledgeResponse
|
18628
18780
|
include Google::Apis::Core::Hashable
|
@@ -18839,6 +18991,46 @@ module Google
|
|
18839
18991
|
end
|
18840
18992
|
end
|
18841
18993
|
|
18994
|
+
# SipTrunk is the resource that represents a SIP trunk to connect to Google
|
18995
|
+
# Telephony platform SIP trunking service.
|
18996
|
+
class GoogleCloudDialogflowV2beta1SipTrunk
|
18997
|
+
include Google::Apis::Core::Hashable
|
18998
|
+
|
18999
|
+
# Output only. Connections of the SIP trunk.
|
19000
|
+
# Corresponds to the JSON property `connections`
|
19001
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Connection>]
|
19002
|
+
attr_accessor :connections
|
19003
|
+
|
19004
|
+
# Optional. Human readable alias for this trunk.
|
19005
|
+
# Corresponds to the JSON property `displayName`
|
19006
|
+
# @return [String]
|
19007
|
+
attr_accessor :display_name
|
19008
|
+
|
19009
|
+
# Required. The expected hostnames in the peer certificate from partner that is
|
19010
|
+
# used for TLS authentication.
|
19011
|
+
# Corresponds to the JSON property `expectedHostname`
|
19012
|
+
# @return [Array<String>]
|
19013
|
+
attr_accessor :expected_hostname
|
19014
|
+
|
19015
|
+
# Identifier. The unique identifier of the SIP trunk. Format: `projects//
|
19016
|
+
# locations//sipTrunks/`.
|
19017
|
+
# Corresponds to the JSON property `name`
|
19018
|
+
# @return [String]
|
19019
|
+
attr_accessor :name
|
19020
|
+
|
19021
|
+
def initialize(**args)
|
19022
|
+
update!(**args)
|
19023
|
+
end
|
19024
|
+
|
19025
|
+
# Update properties of this object
|
19026
|
+
def update!(**args)
|
19027
|
+
@connections = args[:connections] if args.key?(:connections)
|
19028
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
19029
|
+
@expected_hostname = args[:expected_hostname] if args.key?(:expected_hostname)
|
19030
|
+
@name = args[:name] if args.key?(:name)
|
19031
|
+
end
|
19032
|
+
end
|
19033
|
+
|
18842
19034
|
# Represents a smart reply answer.
|
18843
19035
|
class GoogleCloudDialogflowV2beta1SmartReplyAnswer
|
18844
19036
|
include Google::Apis::Core::Hashable
|
@@ -18913,15 +19105,6 @@ module Google
|
|
18913
19105
|
class GoogleCloudDialogflowV2beta1SpeechToTextConfig
|
18914
19106
|
include Google::Apis::Core::Hashable
|
18915
19107
|
|
18916
|
-
# Defines the list of other language codes in addition to the one provided by
|
18917
|
-
# the conversation profile that may be detected as the language code for the
|
18918
|
-
# utterances over the conversation. See [Language Support](https://cloud.google.
|
18919
|
-
# com/dialogflow/docs/reference/language) for a list of the currently supported
|
18920
|
-
# language codes.
|
18921
|
-
# Corresponds to the JSON property `alternativeLanguageCodes`
|
18922
|
-
# @return [Array<String>]
|
18923
|
-
attr_accessor :alternative_language_codes
|
18924
|
-
|
18925
19108
|
# Audio encoding of the audio content to process.
|
18926
19109
|
# Corresponds to the JSON property `audioEncoding`
|
18927
19110
|
# @return [String]
|
@@ -18961,6 +19144,11 @@ module Google
|
|
18961
19144
|
# @return [String]
|
18962
19145
|
attr_accessor :model
|
18963
19146
|
|
19147
|
+
# List of names of Cloud Speech phrase sets that are used for transcription.
|
19148
|
+
# Corresponds to the JSON property `phraseSets`
|
19149
|
+
# @return [Array<String>]
|
19150
|
+
attr_accessor :phrase_sets
|
19151
|
+
|
18964
19152
|
# Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud
|
18965
19153
|
# Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics)
|
18966
19154
|
# for more details.
|
@@ -18990,11 +19178,11 @@ module Google
|
|
18990
19178
|
|
18991
19179
|
# Update properties of this object
|
18992
19180
|
def update!(**args)
|
18993
|
-
@alternative_language_codes = args[:alternative_language_codes] if args.key?(:alternative_language_codes)
|
18994
19181
|
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
18995
19182
|
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
18996
19183
|
@language_code = args[:language_code] if args.key?(:language_code)
|
18997
19184
|
@model = args[:model] if args.key?(:model)
|
19185
|
+
@phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets)
|
18998
19186
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
18999
19187
|
@speech_model_variant = args[:speech_model_variant] if args.key?(:speech_model_variant)
|
19000
19188
|
@use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
|
@@ -20346,120 +20534,6 @@ module Google
|
|
20346
20534
|
end
|
20347
20535
|
end
|
20348
20536
|
|
20349
|
-
# Metadata for CreateDocument operation.
|
20350
|
-
class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
|
20351
|
-
include Google::Apis::Core::Hashable
|
20352
|
-
|
20353
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
20354
|
-
# Corresponds to the JSON property `genericMetadata`
|
20355
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
20356
|
-
attr_accessor :generic_metadata
|
20357
|
-
|
20358
|
-
def initialize(**args)
|
20359
|
-
update!(**args)
|
20360
|
-
end
|
20361
|
-
|
20362
|
-
# Update properties of this object
|
20363
|
-
def update!(**args)
|
20364
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
20365
|
-
end
|
20366
|
-
end
|
20367
|
-
|
20368
|
-
# Metadata for DeleteDocument operation.
|
20369
|
-
class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata
|
20370
|
-
include Google::Apis::Core::Hashable
|
20371
|
-
|
20372
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
20373
|
-
# Corresponds to the JSON property `genericMetadata`
|
20374
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
20375
|
-
attr_accessor :generic_metadata
|
20376
|
-
|
20377
|
-
def initialize(**args)
|
20378
|
-
update!(**args)
|
20379
|
-
end
|
20380
|
-
|
20381
|
-
# Update properties of this object
|
20382
|
-
def update!(**args)
|
20383
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
20384
|
-
end
|
20385
|
-
end
|
20386
|
-
|
20387
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
20388
|
-
class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata
|
20389
|
-
include Google::Apis::Core::Hashable
|
20390
|
-
|
20391
|
-
# Required. Output only. The current state of this operation.
|
20392
|
-
# Corresponds to the JSON property `state`
|
20393
|
-
# @return [String]
|
20394
|
-
attr_accessor :state
|
20395
|
-
|
20396
|
-
def initialize(**args)
|
20397
|
-
update!(**args)
|
20398
|
-
end
|
20399
|
-
|
20400
|
-
# Update properties of this object
|
20401
|
-
def update!(**args)
|
20402
|
-
@state = args[:state] if args.key?(:state)
|
20403
|
-
end
|
20404
|
-
end
|
20405
|
-
|
20406
|
-
# Metadata for ImportDocuments operation.
|
20407
|
-
class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata
|
20408
|
-
include Google::Apis::Core::Hashable
|
20409
|
-
|
20410
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
20411
|
-
# Corresponds to the JSON property `genericMetadata`
|
20412
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
20413
|
-
attr_accessor :generic_metadata
|
20414
|
-
|
20415
|
-
def initialize(**args)
|
20416
|
-
update!(**args)
|
20417
|
-
end
|
20418
|
-
|
20419
|
-
# Update properties of this object
|
20420
|
-
def update!(**args)
|
20421
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
20422
|
-
end
|
20423
|
-
end
|
20424
|
-
|
20425
|
-
# Response message for Documents.ImportDocuments.
|
20426
|
-
class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse
|
20427
|
-
include Google::Apis::Core::Hashable
|
20428
|
-
|
20429
|
-
# Includes details about skipped documents or any other warnings.
|
20430
|
-
# Corresponds to the JSON property `warnings`
|
20431
|
-
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleRpcStatus>]
|
20432
|
-
attr_accessor :warnings
|
20433
|
-
|
20434
|
-
def initialize(**args)
|
20435
|
-
update!(**args)
|
20436
|
-
end
|
20437
|
-
|
20438
|
-
# Update properties of this object
|
20439
|
-
def update!(**args)
|
20440
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
20441
|
-
end
|
20442
|
-
end
|
20443
|
-
|
20444
|
-
# Metadata for ReloadDocument operation.
|
20445
|
-
class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata
|
20446
|
-
include Google::Apis::Core::Hashable
|
20447
|
-
|
20448
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
20449
|
-
# Corresponds to the JSON property `genericMetadata`
|
20450
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
20451
|
-
attr_accessor :generic_metadata
|
20452
|
-
|
20453
|
-
def initialize(**args)
|
20454
|
-
update!(**args)
|
20455
|
-
end
|
20456
|
-
|
20457
|
-
# Update properties of this object
|
20458
|
-
def update!(**args)
|
20459
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
20460
|
-
end
|
20461
|
-
end
|
20462
|
-
|
20463
20537
|
# Collection of all signals that were extracted for a single turn of the
|
20464
20538
|
# conversation.
|
20465
20539
|
class GoogleCloudDialogflowV3alpha1TurnSignals
|
@@ -20550,25 +20624,6 @@ module Google
|
|
20550
20624
|
end
|
20551
20625
|
end
|
20552
20626
|
|
20553
|
-
# Metadata for UpdateDocument operation.
|
20554
|
-
class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
|
20555
|
-
include Google::Apis::Core::Hashable
|
20556
|
-
|
20557
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
20558
|
-
# Corresponds to the JSON property `genericMetadata`
|
20559
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
20560
|
-
attr_accessor :generic_metadata
|
20561
|
-
|
20562
|
-
def initialize(**args)
|
20563
|
-
update!(**args)
|
20564
|
-
end
|
20565
|
-
|
20566
|
-
# Update properties of this object
|
20567
|
-
def update!(**args)
|
20568
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
20569
|
-
end
|
20570
|
-
end
|
20571
|
-
|
20572
20627
|
# The response message for Locations.ListLocations.
|
20573
20628
|
class GoogleCloudLocationListLocationsResponse
|
20574
20629
|
include Google::Apis::Core::Hashable
|