google-apis-dialogflow_v2beta1 0.90.0 → 0.92.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 StackDriver logging.
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 the start of the input audio. No-speech event is a response with
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/ /agents//testCases/`
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: projects//locations//agents//flows//versions/.
743
+ # Required. Both flow and playbook versions are supported. Format for flow
744
+ # version: projects//locations//agents//flows//versions/. Format for playbook
745
+ # version: projects//locations//agents//playbooks//versions/.
773
746
  # Corresponds to the JSON property `version`
774
747
  # @return [String]
775
748
  attr_accessor :version
@@ -836,6 +809,12 @@ module Google
836
809
  # @return [String]
837
810
  attr_accessor :target_page
838
811
 
812
+ # The target playbook to transition to. Format: `projects//locations//agents//
813
+ # playbooks/`.
814
+ # Corresponds to the JSON property `targetPlaybook`
815
+ # @return [String]
816
+ attr_accessor :target_playbook
817
+
839
818
  # A fulfillment can do one or more of the following actions at the same time: *
840
819
  # Generate rich message responses. * Set parameter values. * Call the webhook.
841
820
  # Fulfillments can be called at various stages in the Page or Form lifecycle.
@@ -857,6 +836,7 @@ module Google
857
836
  @name = args[:name] if args.key?(:name)
858
837
  @target_flow = args[:target_flow] if args.key?(:target_flow)
859
838
  @target_page = args[:target_page] if args.key?(:target_page)
839
+ @target_playbook = args[:target_playbook] if args.key?(:target_playbook)
860
840
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
861
841
  end
862
842
  end
@@ -1438,63 +1418,6 @@ module Google
1438
1418
  end
1439
1419
  end
1440
1420
 
1441
- # Metadata in google::longrunning::Operation for Knowledge operations.
1442
- class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
1443
- include Google::Apis::Core::Hashable
1444
-
1445
- # Required. Output only. The current state of this operation.
1446
- # Corresponds to the JSON property `state`
1447
- # @return [String]
1448
- attr_accessor :state
1449
-
1450
- def initialize(**args)
1451
- update!(**args)
1452
- end
1453
-
1454
- # Update properties of this object
1455
- def update!(**args)
1456
- @state = args[:state] if args.key?(:state)
1457
- end
1458
- end
1459
-
1460
- # Metadata for ImportDocuments operation.
1461
- class GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata
1462
- include Google::Apis::Core::Hashable
1463
-
1464
- # Metadata in google::longrunning::Operation for Knowledge operations.
1465
- # Corresponds to the JSON property `genericMetadata`
1466
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
1467
- attr_accessor :generic_metadata
1468
-
1469
- def initialize(**args)
1470
- update!(**args)
1471
- end
1472
-
1473
- # Update properties of this object
1474
- def update!(**args)
1475
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
1476
- end
1477
- end
1478
-
1479
- # Response message for Documents.ImportDocuments.
1480
- class GoogleCloudDialogflowCxV3ImportDocumentsResponse
1481
- include Google::Apis::Core::Hashable
1482
-
1483
- # Includes details about skipped documents or any other warnings.
1484
- # Corresponds to the JSON property `warnings`
1485
- # @return [Array<Google::Apis::DialogflowV2beta1::GoogleRpcStatus>]
1486
- attr_accessor :warnings
1487
-
1488
- def initialize(**args)
1489
- update!(**args)
1490
- end
1491
-
1492
- # Update properties of this object
1493
- def update!(**args)
1494
- @warnings = args[:warnings] if args.key?(:warnings)
1495
- end
1496
- end
1497
-
1498
1421
  # Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
1499
1422
  class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
1500
1423
  include Google::Apis::Core::Hashable
@@ -1734,7 +1657,7 @@ module Google
1734
1657
  # utterance has been detected. Note that no-speech event is not expected in this
1735
1658
  # phase. The client provides this configuration in terms of the durations of
1736
1659
  # those two phases. The durations are measured in terms of the audio length from
1737
- # the the start of the input audio. No-speech event is a response with
1660
+ # the start of the input audio. No-speech event is a response with
1738
1661
  # END_OF_UTTERANCE without any transcript following up.
1739
1662
  # Corresponds to the JSON property `bargeInConfig`
1740
1663
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3BargeInConfig]
@@ -2407,25 +2330,6 @@ module Google
2407
2330
  end
2408
2331
  end
2409
2332
 
2410
- # Metadata for ReloadDocument operation.
2411
- class GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata
2412
- include Google::Apis::Core::Hashable
2413
-
2414
- # Metadata in google::longrunning::Operation for Knowledge operations.
2415
- # Corresponds to the JSON property `genericMetadata`
2416
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
2417
- attr_accessor :generic_metadata
2418
-
2419
- def initialize(**args)
2420
- update!(**args)
2421
- end
2422
-
2423
- # Update properties of this object
2424
- def update!(**args)
2425
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
2426
- end
2427
- end
2428
-
2429
2333
  # Represents a response message that can be returned by a conversational agent.
2430
2334
  # Response messages are also used for output audio synthesis. The approach is as
2431
2335
  # follows: * If at least one OutputAudioText response is present, then all
@@ -2781,7 +2685,8 @@ module Google
2781
2685
  attr_accessor :allow_playback_interruption
2782
2686
  alias_method :allow_playback_interruption?, :allow_playback_interruption
2783
2687
 
2784
- # Required. A collection of text responses.
2688
+ # Required. A collection of text response variants. If multiple variants are
2689
+ # defined, only one text response variant is returned at runtime.
2785
2690
  # Corresponds to the JSON property `text`
2786
2691
  # @return [Array<String>]
2787
2692
  attr_accessor :text
@@ -2922,7 +2827,7 @@ module Google
2922
2827
  attr_accessor :last_test_result
2923
2828
 
2924
2829
  # The unique identifier of the test case. TestCases.CreateTestCase will populate
2925
- # the name automatically. Otherwise use format: `projects//locations//agents/ /
2830
+ # the name automatically. Otherwise use format: `projects//locations//agents//
2926
2831
  # testCases/`.
2927
2832
  # Corresponds to the JSON property `name`
2928
2833
  # @return [String]
@@ -3016,7 +2921,7 @@ module Google
3016
2921
  attr_accessor :environment
3017
2922
 
3018
2923
  # The resource name for the test case result. Format: `projects//locations//
3019
- # agents//testCases/ /results/`.
2924
+ # agents//testCases//results/`.
3020
2925
  # Corresponds to the JSON property `name`
3021
2926
  # @return [String]
3022
2927
  attr_accessor :name
@@ -3323,25 +3228,6 @@ module Google
3323
3228
  end
3324
3229
  end
3325
3230
 
3326
- # Metadata for UpdateDocument operation.
3327
- class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
3328
- include Google::Apis::Core::Hashable
3329
-
3330
- # Metadata in google::longrunning::Operation for Knowledge operations.
3331
- # Corresponds to the JSON property `genericMetadata`
3332
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
3333
- attr_accessor :generic_metadata
3334
-
3335
- def initialize(**args)
3336
- update!(**args)
3337
- end
3338
-
3339
- # Update properties of this object
3340
- def update!(**args)
3341
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
3342
- end
3343
- end
3344
-
3345
3231
  # Webhooks host the developer's business logic. During a session, webhooks allow
3346
3232
  # the developer to use the data extracted by Dialogflow's natural language
3347
3233
  # processing to generate dynamic responses, validate collected data, or trigger
@@ -3963,13 +3849,21 @@ module Google
3963
3849
  class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
3964
3850
  include Google::Apis::Core::Hashable
3965
3851
 
3852
+ # Enables consent-based end-user input redaction, if true, a pre-defined session
3853
+ # parameter `$session.params.conversation-redaction` will be used to determine
3854
+ # if the utterance should be redacted.
3855
+ # Corresponds to the JSON property `enableConsentBasedRedaction`
3856
+ # @return [Boolean]
3857
+ attr_accessor :enable_consent_based_redaction
3858
+ alias_method :enable_consent_based_redaction?, :enable_consent_based_redaction
3859
+
3966
3860
  # Enables DF Interaction logging.
3967
3861
  # Corresponds to the JSON property `enableInteractionLogging`
3968
3862
  # @return [Boolean]
3969
3863
  attr_accessor :enable_interaction_logging
3970
3864
  alias_method :enable_interaction_logging?, :enable_interaction_logging
3971
3865
 
3972
- # Enables StackDriver logging.
3866
+ # Enables Google Cloud Logging.
3973
3867
  # Corresponds to the JSON property `enableStackdriverLogging`
3974
3868
  # @return [Boolean]
3975
3869
  attr_accessor :enable_stackdriver_logging
@@ -3981,6 +3875,7 @@ module Google
3981
3875
 
3982
3876
  # Update properties of this object
3983
3877
  def update!(**args)
3878
+ @enable_consent_based_redaction = args[:enable_consent_based_redaction] if args.key?(:enable_consent_based_redaction)
3984
3879
  @enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
3985
3880
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
3986
3881
  end
@@ -4073,7 +3968,7 @@ module Google
4073
3968
  # utterance has been detected. Note that no-speech event is not expected in this
4074
3969
  # phase. The client provides this configuration in terms of the durations of
4075
3970
  # those two phases. The durations are measured in terms of the audio length from
4076
- # the the start of the input audio. No-speech event is a response with
3971
+ # the start of the input audio. No-speech event is a response with
4077
3972
  # END_OF_UTTERANCE without any transcript following up.
4078
3973
  class GoogleCloudDialogflowCxV3beta1BargeInConfig
4079
3974
  include Google::Apis::Core::Hashable
@@ -4345,25 +4240,6 @@ module Google
4345
4240
  end
4346
4241
  end
4347
4242
 
4348
- # Metadata for CreateDocument operation.
4349
- class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata
4350
- include Google::Apis::Core::Hashable
4351
-
4352
- # Metadata in google::longrunning::Operation for Knowledge operations.
4353
- # Corresponds to the JSON property `genericMetadata`
4354
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
4355
- attr_accessor :generic_metadata
4356
-
4357
- def initialize(**args)
4358
- update!(**args)
4359
- end
4360
-
4361
- # Update properties of this object
4362
- def update!(**args)
4363
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
4364
- end
4365
- end
4366
-
4367
4243
  # Metadata associated with the long running operation for Versions.CreateVersion.
4368
4244
  class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
4369
4245
  include Google::Apis::Core::Hashable
@@ -4412,25 +4288,6 @@ module Google
4412
4288
  end
4413
4289
  end
4414
4290
 
4415
- # Metadata for DeleteDocument operation.
4416
- class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
4417
- include Google::Apis::Core::Hashable
4418
-
4419
- # Metadata in google::longrunning::Operation for Knowledge operations.
4420
- # Corresponds to the JSON property `genericMetadata`
4421
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
4422
- attr_accessor :generic_metadata
4423
-
4424
- def initialize(**args)
4425
- update!(**args)
4426
- end
4427
-
4428
- # Update properties of this object
4429
- def update!(**args)
4430
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
4431
- end
4432
- end
4433
-
4434
4291
  # Metadata returned for the Environments.DeployFlow long running operation.
4435
4292
  class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
4436
4293
  include Google::Apis::Core::Hashable
@@ -4592,7 +4449,7 @@ module Google
4592
4449
  alias_method :enable_predeployment_run?, :enable_predeployment_run
4593
4450
 
4594
4451
  # A list of test case names to run. They should be under the same agent. Format
4595
- # of each test case name: `projects//locations/ /agents//testCases/`
4452
+ # of each test case name: `projects//locations//agents//testCases/`
4596
4453
  # Corresponds to the JSON property `testCases`
4597
4454
  # @return [Array<String>]
4598
4455
  attr_accessor :test_cases
@@ -4613,7 +4470,9 @@ module Google
4613
4470
  class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
4614
4471
  include Google::Apis::Core::Hashable
4615
4472
 
4616
- # Required. Format: projects//locations//agents//flows//versions/.
4473
+ # Required. Both flow and playbook versions are supported. Format for flow
4474
+ # version: projects//locations//agents//flows//versions/. Format for playbook
4475
+ # version: projects//locations//agents//playbooks//versions/.
4617
4476
  # Corresponds to the JSON property `version`
4618
4477
  # @return [String]
4619
4478
  attr_accessor :version
@@ -4680,6 +4539,12 @@ module Google
4680
4539
  # @return [String]
4681
4540
  attr_accessor :target_page
4682
4541
 
4542
+ # The target playbook to transition to. Format: `projects//locations//agents//
4543
+ # playbooks/`.
4544
+ # Corresponds to the JSON property `targetPlaybook`
4545
+ # @return [String]
4546
+ attr_accessor :target_playbook
4547
+
4683
4548
  # A fulfillment can do one or more of the following actions at the same time: *
4684
4549
  # Generate rich message responses. * Set parameter values. * Call the webhook.
4685
4550
  # Fulfillments can be called at various stages in the Page or Form lifecycle.
@@ -4701,6 +4566,7 @@ module Google
4701
4566
  @name = args[:name] if args.key?(:name)
4702
4567
  @target_flow = args[:target_flow] if args.key?(:target_flow)
4703
4568
  @target_page = args[:target_page] if args.key?(:target_page)
4569
+ @target_playbook = args[:target_playbook] if args.key?(:target_playbook)
4704
4570
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
4705
4571
  end
4706
4572
  end
@@ -5282,63 +5148,6 @@ module Google
5282
5148
  end
5283
5149
  end
5284
5150
 
5285
- # Metadata in google::longrunning::Operation for Knowledge operations.
5286
- class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
5287
- include Google::Apis::Core::Hashable
5288
-
5289
- # Required. Output only. The current state of this operation.
5290
- # Corresponds to the JSON property `state`
5291
- # @return [String]
5292
- attr_accessor :state
5293
-
5294
- def initialize(**args)
5295
- update!(**args)
5296
- end
5297
-
5298
- # Update properties of this object
5299
- def update!(**args)
5300
- @state = args[:state] if args.key?(:state)
5301
- end
5302
- end
5303
-
5304
- # Metadata for ImportDocuments operation.
5305
- class GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata
5306
- include Google::Apis::Core::Hashable
5307
-
5308
- # Metadata in google::longrunning::Operation for Knowledge operations.
5309
- # Corresponds to the JSON property `genericMetadata`
5310
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
5311
- attr_accessor :generic_metadata
5312
-
5313
- def initialize(**args)
5314
- update!(**args)
5315
- end
5316
-
5317
- # Update properties of this object
5318
- def update!(**args)
5319
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
5320
- end
5321
- end
5322
-
5323
- # Response message for Documents.ImportDocuments.
5324
- class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse
5325
- include Google::Apis::Core::Hashable
5326
-
5327
- # Includes details about skipped documents or any other warnings.
5328
- # Corresponds to the JSON property `warnings`
5329
- # @return [Array<Google::Apis::DialogflowV2beta1::GoogleRpcStatus>]
5330
- attr_accessor :warnings
5331
-
5332
- def initialize(**args)
5333
- update!(**args)
5334
- end
5335
-
5336
- # Update properties of this object
5337
- def update!(**args)
5338
- @warnings = args[:warnings] if args.key?(:warnings)
5339
- end
5340
- end
5341
-
5342
5151
  # Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
5343
5152
  class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
5344
5153
  include Google::Apis::Core::Hashable
@@ -5578,7 +5387,7 @@ module Google
5578
5387
  # utterance has been detected. Note that no-speech event is not expected in this
5579
5388
  # phase. The client provides this configuration in terms of the durations of
5580
5389
  # those two phases. The durations are measured in terms of the audio length from
5581
- # the the start of the input audio. No-speech event is a response with
5390
+ # the start of the input audio. No-speech event is a response with
5582
5391
  # END_OF_UTTERANCE without any transcript following up.
5583
5392
  # Corresponds to the JSON property `bargeInConfig`
5584
5393
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1BargeInConfig]
@@ -6257,25 +6066,6 @@ module Google
6257
6066
  end
6258
6067
  end
6259
6068
 
6260
- # Metadata for ReloadDocument operation.
6261
- class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata
6262
- include Google::Apis::Core::Hashable
6263
-
6264
- # Metadata in google::longrunning::Operation for Knowledge operations.
6265
- # Corresponds to the JSON property `genericMetadata`
6266
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
6267
- attr_accessor :generic_metadata
6268
-
6269
- def initialize(**args)
6270
- update!(**args)
6271
- end
6272
-
6273
- # Update properties of this object
6274
- def update!(**args)
6275
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
6276
- end
6277
- end
6278
-
6279
6069
  # Represents a response message that can be returned by a conversational agent.
6280
6070
  # Response messages are also used for output audio synthesis. The approach is as
6281
6071
  # follows: * If at least one OutputAudioText response is present, then all
@@ -6631,7 +6421,8 @@ module Google
6631
6421
  attr_accessor :allow_playback_interruption
6632
6422
  alias_method :allow_playback_interruption?, :allow_playback_interruption
6633
6423
 
6634
- # Required. A collection of text responses.
6424
+ # Required. A collection of text response variants. If multiple variants are
6425
+ # defined, only one text response variant is returned at runtime.
6635
6426
  # Corresponds to the JSON property `text`
6636
6427
  # @return [Array<String>]
6637
6428
  attr_accessor :text
@@ -6772,7 +6563,7 @@ module Google
6772
6563
  attr_accessor :last_test_result
6773
6564
 
6774
6565
  # The unique identifier of the test case. TestCases.CreateTestCase will populate
6775
- # the name automatically. Otherwise use format: `projects//locations//agents/ /
6566
+ # the name automatically. Otherwise use format: `projects//locations//agents//
6776
6567
  # testCases/`.
6777
6568
  # Corresponds to the JSON property `name`
6778
6569
  # @return [String]
@@ -6866,7 +6657,7 @@ module Google
6866
6657
  attr_accessor :environment
6867
6658
 
6868
6659
  # The resource name for the test case result. Format: `projects//locations//
6869
- # agents//testCases/ /results/`.
6660
+ # agents//testCases//results/`.
6870
6661
  # Corresponds to the JSON property `name`
6871
6662
  # @return [String]
6872
6663
  attr_accessor :name
@@ -7262,25 +7053,6 @@ module Google
7262
7053
  end
7263
7054
  end
7264
7055
 
7265
- # Metadata for UpdateDocument operation.
7266
- class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
7267
- include Google::Apis::Core::Hashable
7268
-
7269
- # Metadata in google::longrunning::Operation for Knowledge operations.
7270
- # Corresponds to the JSON property `genericMetadata`
7271
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
7272
- attr_accessor :generic_metadata
7273
-
7274
- def initialize(**args)
7275
- update!(**args)
7276
- end
7277
-
7278
- # Update properties of this object
7279
- def update!(**args)
7280
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
7281
- end
7282
- end
7283
-
7284
7056
  # Webhooks host the developer's business logic. During a session, webhooks allow
7285
7057
  # the developer to use the data extracted by Dialogflow's natural language
7286
7058
  # processing to generate dynamic responses, validate collected data, or trigger
@@ -7954,7 +7726,7 @@ module Google
7954
7726
  end
7955
7727
  end
7956
7728
 
7957
- # Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
7729
+ # Metadata for a ConversationProfiles.ClearSuggestionFeatureConfig operation.
7958
7730
  class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
7959
7731
  include Google::Apis::Core::Hashable
7960
7732
 
@@ -8135,6 +7907,20 @@ module Google
8135
7907
  # @return [String]
8136
7908
  attr_accessor :name
8137
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
+
8138
7924
  # Metadata for smart reply models.
8139
7925
  # Corresponds to the JSON property `smartReplyModelMetadata`
8140
7926
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SmartReplyModelMetadata]
@@ -8158,12 +7944,14 @@ module Google
8158
7944
  @display_name = args[:display_name] if args.key?(:display_name)
8159
7945
  @language_code = args[:language_code] if args.key?(:language_code)
8160
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)
8161
7949
  @smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
8162
7950
  @state = args[:state] if args.key?(:state)
8163
7951
  end
8164
7952
  end
8165
7953
 
8166
- # Metadata for ConversationDatasets.
7954
+ # Metadata for CreateConversationDataset.
8167
7955
  class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
8168
7956
  include Google::Apis::Core::Hashable
8169
7957
 
@@ -8256,7 +8044,7 @@ module Google
8256
8044
  end
8257
8045
  end
8258
8046
 
8259
- # Metadata for ConversationDatasets.
8047
+ # Metadata for DeleteConversationDataset.
8260
8048
  class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
8261
8049
  include Google::Apis::Core::Hashable
8262
8050
 
@@ -8323,6 +8111,37 @@ module Google
8323
8111
  end
8324
8112
  end
8325
8113
 
8114
+ # A customer-managed encryption key specification that can be applied to all
8115
+ # created resources (e.g. Conversation).
8116
+ class GoogleCloudDialogflowV2EncryptionSpec
8117
+ include Google::Apis::Core::Hashable
8118
+
8119
+ # Required. The name of customer-managed encryption key that is used to secure a
8120
+ # resource and its sub-resources. If empty, the resource is secured by the
8121
+ # default Google encryption key. Only the key in the same location as this
8122
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
8123
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
8124
+ # Corresponds to the JSON property `kmsKey`
8125
+ # @return [String]
8126
+ attr_accessor :kms_key
8127
+
8128
+ # Immutable. The resource name of the encryption key specification resource.
8129
+ # Format: projects/`project`/locations/`location`/encryptionSpec
8130
+ # Corresponds to the JSON property `name`
8131
+ # @return [String]
8132
+ attr_accessor :name
8133
+
8134
+ def initialize(**args)
8135
+ update!(**args)
8136
+ end
8137
+
8138
+ # Update properties of this object
8139
+ def update!(**args)
8140
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
8141
+ @name = args[:name] if args.key?(:name)
8142
+ end
8143
+ end
8144
+
8326
8145
  # Each intent parameter has a type, called the entity type, which dictates
8327
8146
  # exactly how data from an end-user expression is extracted. Dialogflow provides
8328
8147
  # predefined system entities that can match many common types of data. For
@@ -8697,6 +8516,45 @@ module Google
8697
8516
  end
8698
8517
  end
8699
8518
 
8519
+ # Metadata for initializing a location-level encryption specification.
8520
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
8521
+ include Google::Apis::Core::Hashable
8522
+
8523
+ # The request to initialize a location-level encryption specification.
8524
+ # Corresponds to the JSON property `request`
8525
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
8526
+ attr_accessor :request
8527
+
8528
+ def initialize(**args)
8529
+ update!(**args)
8530
+ end
8531
+
8532
+ # Update properties of this object
8533
+ def update!(**args)
8534
+ @request = args[:request] if args.key?(:request)
8535
+ end
8536
+ end
8537
+
8538
+ # The request to initialize a location-level encryption specification.
8539
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
8540
+ include Google::Apis::Core::Hashable
8541
+
8542
+ # A customer-managed encryption key specification that can be applied to all
8543
+ # created resources (e.g. Conversation).
8544
+ # Corresponds to the JSON property `encryptionSpec`
8545
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EncryptionSpec]
8546
+ attr_accessor :encryption_spec
8547
+
8548
+ def initialize(**args)
8549
+ update!(**args)
8550
+ end
8551
+
8552
+ # Update properties of this object
8553
+ def update!(**args)
8554
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
8555
+ end
8556
+ end
8557
+
8700
8558
  # InputDataset used to create model or do evaluation. NextID:5
8701
8559
  class GoogleCloudDialogflowV2InputDataset
8702
8560
  include Google::Apis::Core::Hashable
@@ -10075,6 +9933,11 @@ module Google
10075
9933
  class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
10076
9934
  include Google::Apis::Core::Hashable
10077
9935
 
9936
+ # Metadata of the document.
9937
+ # Corresponds to the JSON property `metadata`
9938
+ # @return [Hash<String,Object>]
9939
+ attr_accessor :metadata
9940
+
10078
9941
  # Text taken from that URI.
10079
9942
  # Corresponds to the JSON property `text`
10080
9943
  # @return [String]
@@ -10096,6 +9959,7 @@ module Google
10096
9959
 
10097
9960
  # Update properties of this object
10098
9961
  def update!(**args)
9962
+ @metadata = args[:metadata] if args.key?(:metadata)
10099
9963
  @text = args[:text] if args.key?(:text)
10100
9964
  @title = args[:title] if args.key?(:title)
10101
9965
  @uri = args[:uri] if args.key?(:uri)
@@ -10200,12 +10064,11 @@ module Google
10200
10064
 
10201
10065
  # The result of sentiment analysis. Sentiment analysis inspects user input and
10202
10066
  # identifies the prevailing subjective opinion, especially to determine a user's
10203
- # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
10204
- # needs to be configured in DetectIntentRequest.query_params. For Participants.
10205
- # StreamingDetectIntent, it needs to be configured in
10206
- # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
10207
- # and Participants.StreamingAnalyzeContent, it needs to be configured in
10208
- # 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
10209
10072
  # Corresponds to the JSON property `sentimentAnalysis`
10210
10073
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
10211
10074
  attr_accessor :sentiment_analysis
@@ -10402,12 +10265,11 @@ module Google
10402
10265
 
10403
10266
  # The result of sentiment analysis. Sentiment analysis inspects user input and
10404
10267
  # identifies the prevailing subjective opinion, especially to determine a user's
10405
- # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
10406
- # needs to be configured in DetectIntentRequest.query_params. For Participants.
10407
- # StreamingDetectIntent, it needs to be configured in
10408
- # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
10409
- # and Participants.StreamingAnalyzeContent, it needs to be configured in
10410
- # 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
10411
10273
  # Corresponds to the JSON property `sentimentAnalysisResult`
10412
10274
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
10413
10275
  attr_accessor :sentiment_analysis_result
@@ -10491,12 +10353,11 @@ module Google
10491
10353
 
10492
10354
  # The result of sentiment analysis. Sentiment analysis inspects user input and
10493
10355
  # identifies the prevailing subjective opinion, especially to determine a user's
10494
- # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
10495
- # needs to be configured in DetectIntentRequest.query_params. For Participants.
10496
- # StreamingDetectIntent, it needs to be configured in
10497
- # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
10498
- # and Participants.StreamingAnalyzeContent, it needs to be configured in
10499
- # 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
10500
10361
  class GoogleCloudDialogflowV2SentimentAnalysisResult
10501
10362
  include Google::Apis::Core::Hashable
10502
10363
 
@@ -10561,7 +10422,7 @@ module Google
10561
10422
  end
10562
10423
  end
10563
10424
 
10564
- # Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
10425
+ # Metadata for a ConversationProfiles.SetSuggestionFeatureConfig operation.
10565
10426
  class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
10566
10427
  include Google::Apis::Core::Hashable
10567
10428
 
@@ -11678,7 +11539,7 @@ module Google
11678
11539
  include Google::Apis::Core::Hashable
11679
11540
 
11680
11541
  # Required. The natural language speech audio to be processed. A single request
11681
- # can contain up to 1 minute of speech audio data. The transcribed text cannot
11542
+ # can contain up to 2 minutes of speech audio data. The transcribed text cannot
11682
11543
  # contain more than 256 bytes for virtual agent interactions.
11683
11544
  # Corresponds to the JSON property `audio`
11684
11545
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -12312,6 +12173,68 @@ module Google
12312
12173
  end
12313
12174
  end
12314
12175
 
12176
+ # Represents a connection for SIP Trunk.
12177
+ class GoogleCloudDialogflowV2beta1Connection
12178
+ include Google::Apis::Core::Hashable
12179
+
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
12184
+
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
+
12315
12238
  # Dialogflow contexts are similar to natural language context. If a person says
12316
12239
  # to you "they are orange", you need context in order to understand what "they"
12317
12240
  # is referring to. Similarly, for Dialogflow to handle an end-user expression
@@ -12980,6 +12903,37 @@ module Google
12980
12903
  end
12981
12904
  end
12982
12905
 
12906
+ # A customer-managed encryption key specification that can be applied to all
12907
+ # created resources (e.g. Conversation).
12908
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
12909
+ include Google::Apis::Core::Hashable
12910
+
12911
+ # Required. The name of customer-managed encryption key that is used to secure a
12912
+ # resource and its sub-resources. If empty, the resource is secured by the
12913
+ # default Google encryption key. Only the key in the same location as this
12914
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
12915
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
12916
+ # Corresponds to the JSON property `kmsKey`
12917
+ # @return [String]
12918
+ attr_accessor :kms_key
12919
+
12920
+ # Immutable. The resource name of the encryption key specification resource.
12921
+ # Format: projects/`project`/locations/`location`/encryptionSpec
12922
+ # Corresponds to the JSON property `name`
12923
+ # @return [String]
12924
+ attr_accessor :name
12925
+
12926
+ def initialize(**args)
12927
+ update!(**args)
12928
+ end
12929
+
12930
+ # Update properties of this object
12931
+ def update!(**args)
12932
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
12933
+ @name = args[:name] if args.key?(:name)
12934
+ end
12935
+ end
12936
+
12983
12937
  # Each intent parameter has a type, called the entity type, which dictates
12984
12938
  # exactly how data from an end-user expression is extracted. Dialogflow provides
12985
12939
  # predefined system entities that can match many common types of data. For
@@ -13407,7 +13361,7 @@ module Google
13407
13361
  end
13408
13362
 
13409
13363
  # Providing examples in the generator (i.e. building a few-shot generator) helps
13410
- # convey the desired format of the LLM response. NEXT_ID: 10
13364
+ # convey the desired format of the LLM response.
13411
13365
  class GoogleCloudDialogflowV2beta1FewShotExample
13412
13366
  include Google::Apis::Core::Hashable
13413
13367
 
@@ -14200,6 +14154,12 @@ module Google
14200
14154
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings]
14201
14155
  attr_accessor :context_filter_settings
14202
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
+
14203
14163
  # Dialogflow source setting. Supported feature: DIALOGFLOW_ASSIST,
14204
14164
  # ENTITY_EXTRACTION.
14205
14165
  # Corresponds to the JSON property `dialogflowQuerySource`
@@ -14237,6 +14197,7 @@ module Google
14237
14197
  def update!(**args)
14238
14198
  @confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
14239
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)
14240
14201
  @dialogflow_query_source = args[:dialogflow_query_source] if args.key?(:dialogflow_query_source)
14241
14202
  @document_query_source = args[:document_query_source] if args.key?(:document_query_source)
14242
14203
  @knowledge_base_query_source = args[:knowledge_base_query_source] if args.key?(:knowledge_base_query_source)
@@ -14716,6 +14677,45 @@ module Google
14716
14677
  end
14717
14678
  end
14718
14679
 
14680
+ # Metadata for initializing a location-level encryption specification.
14681
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
14682
+ include Google::Apis::Core::Hashable
14683
+
14684
+ # The request to initialize a location-level encryption specification.
14685
+ # Corresponds to the JSON property `request`
14686
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
14687
+ attr_accessor :request
14688
+
14689
+ def initialize(**args)
14690
+ update!(**args)
14691
+ end
14692
+
14693
+ # Update properties of this object
14694
+ def update!(**args)
14695
+ @request = args[:request] if args.key?(:request)
14696
+ end
14697
+ end
14698
+
14699
+ # The request to initialize a location-level encryption specification.
14700
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
14701
+ include Google::Apis::Core::Hashable
14702
+
14703
+ # A customer-managed encryption key specification that can be applied to all
14704
+ # created resources (e.g. Conversation).
14705
+ # Corresponds to the JSON property `encryptionSpec`
14706
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec]
14707
+ attr_accessor :encryption_spec
14708
+
14709
+ def initialize(**args)
14710
+ update!(**args)
14711
+ end
14712
+
14713
+ # Update properties of this object
14714
+ def update!(**args)
14715
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
14716
+ end
14717
+ end
14718
+
14719
14719
  # Instructs the speech recognizer on how to process the audio content.
14720
14720
  class GoogleCloudDialogflowV2beta1InputAudioConfig
14721
14721
  include Google::Apis::Core::Hashable
@@ -14817,6 +14817,11 @@ module Google
14817
14817
  # @return [Array<String>]
14818
14818
  attr_accessor :phrase_hints
14819
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
+
14820
14825
  # Required. Sample rate (in Hertz) of the audio content sent in the query. Refer
14821
14826
  # to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/
14822
14827
  # docs/basics) for more details.
@@ -14861,6 +14866,7 @@ module Google
14861
14866
  @model_variant = args[:model_variant] if args.key?(:model_variant)
14862
14867
  @opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
14863
14868
  @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
14869
+ @phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets)
14864
14870
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
14865
14871
  @single_utterance = args[:single_utterance] if args.key?(:single_utterance)
14866
14872
  @speech_contexts = args[:speech_contexts] if args.key?(:speech_contexts)
@@ -16853,6 +16859,11 @@ module Google
16853
16859
  class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
16854
16860
  include Google::Apis::Core::Hashable
16855
16861
 
16862
+ # Metadata of the document.
16863
+ # Corresponds to the JSON property `metadata`
16864
+ # @return [Hash<String,Object>]
16865
+ attr_accessor :metadata
16866
+
16856
16867
  # Text taken from that URI.
16857
16868
  # Corresponds to the JSON property `text`
16858
16869
  # @return [String]
@@ -16874,6 +16885,7 @@ module Google
16874
16885
 
16875
16886
  # Update properties of this object
16876
16887
  def update!(**args)
16888
+ @metadata = args[:metadata] if args.key?(:metadata)
16877
16889
  @text = args[:text] if args.key?(:text)
16878
16890
  @title = args[:title] if args.key?(:title)
16879
16891
  @uri = args[:uri] if args.key?(:uri)
@@ -17321,6 +17333,32 @@ module Google
17321
17333
  end
17322
17334
  end
17323
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
+
17324
17362
  # The response message for Participants.ListSuggestions.
17325
17363
  class GoogleCloudDialogflowV2beta1ListSuggestionsResponse
17326
17364
  include Google::Apis::Core::Hashable
@@ -17438,6 +17476,11 @@ module Google
17438
17476
  # @return [String]
17439
17477
  attr_accessor :participant_role
17440
17478
 
17479
+ # Optional. Automated agent responses.
17480
+ # Corresponds to the JSON property `responseMessages`
17481
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage>]
17482
+ attr_accessor :response_messages
17483
+
17441
17484
  # Optional. The time when the message was sent.
17442
17485
  # Corresponds to the JSON property `sendTime`
17443
17486
  # @return [String]
@@ -17468,6 +17511,7 @@ module Google
17468
17511
  @name = args[:name] if args.key?(:name)
17469
17512
  @participant = args[:participant] if args.key?(:participant)
17470
17513
  @participant_role = args[:participant_role] if args.key?(:participant_role)
17514
+ @response_messages = args[:response_messages] if args.key?(:response_messages)
17471
17515
  @send_time = args[:send_time] if args.key?(:send_time)
17472
17516
  @sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
17473
17517
  end
@@ -18263,7 +18307,8 @@ module Google
18263
18307
  class GoogleCloudDialogflowV2beta1ResponseMessageText
18264
18308
  include Google::Apis::Core::Hashable
18265
18309
 
18266
- # A collection of text responses.
18310
+ # A collection of text response variants. If multiple variants are defined, only
18311
+ # one text response variant is returned at runtime.
18267
18312
  # Corresponds to the JSON property `text`
18268
18313
  # @return [Array<String>]
18269
18314
  attr_accessor :text
@@ -18378,6 +18423,11 @@ module Google
18378
18423
  class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource
18379
18424
  include Google::Apis::Core::Hashable
18380
18425
 
18426
+ # Metadata associated with the article.
18427
+ # Corresponds to the JSON property `metadata`
18428
+ # @return [Hash<String,Object>]
18429
+ attr_accessor :metadata
18430
+
18381
18431
  # The relevant snippet of the article.
18382
18432
  # Corresponds to the JSON property `snippet`
18383
18433
  # @return [String]
@@ -18399,6 +18449,7 @@ module Google
18399
18449
 
18400
18450
  # Update properties of this object
18401
18451
  def update!(**args)
18452
+ @metadata = args[:metadata] if args.key?(:metadata)
18402
18453
  @snippet = args[:snippet] if args.key?(:snippet)
18403
18454
  @title = args[:title] if args.key?(:title)
18404
18455
  @uri = args[:uri] if args.key?(:uri)
@@ -18421,6 +18472,22 @@ module Google
18421
18472
  # @return [String]
18422
18473
  attr_accessor :conversation_profile
18423
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
+
18424
18491
  # Optional. The name of the latest conversation message when the request is
18425
18492
  # triggered. Format: `projects//locations//conversations//messages/`.
18426
18493
  # Corresponds to the JSON property `latestMessage`
@@ -18438,7 +18505,17 @@ module Google
18438
18505
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput]
18439
18506
  attr_accessor :query
18440
18507
 
18441
- # Optional. The ID of the search session. The session_id can be combined with
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
18442
18519
  # Dialogflow V3 Agent ID retrieved from conversation profile or on its own to
18443
18520
  # identify a search session. The search history of the same session will impact
18444
18521
  # the search result. It's up to the API caller to choose an appropriate `Session
@@ -18456,13 +18533,248 @@ module Google
18456
18533
  def update!(**args)
18457
18534
  @conversation = args[:conversation] if args.key?(:conversation)
18458
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)
18459
18538
  @latest_message = args[:latest_message] if args.key?(:latest_message)
18460
18539
  @parent = args[:parent] if args.key?(:parent)
18461
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)
18462
18543
  @session_id = args[:session_id] if args.key?(:session_id)
18463
18544
  end
18464
18545
  end
18465
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
+
18466
18778
  # The response message for Conversations.SearchKnowledge.
18467
18779
  class GoogleCloudDialogflowV2beta1SearchKnowledgeResponse
18468
18780
  include Google::Apis::Core::Hashable
@@ -18679,6 +18991,46 @@ module Google
18679
18991
  end
18680
18992
  end
18681
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
+
18682
19034
  # Represents a smart reply answer.
18683
19035
  class GoogleCloudDialogflowV2beta1SmartReplyAnswer
18684
19036
  include Google::Apis::Core::Hashable
@@ -18753,15 +19105,6 @@ module Google
18753
19105
  class GoogleCloudDialogflowV2beta1SpeechToTextConfig
18754
19106
  include Google::Apis::Core::Hashable
18755
19107
 
18756
- # Defines the list of other language codes in addition to the one provided by
18757
- # the conversation profile that may be detected as the language code for the
18758
- # utterances over the conversation. See [Language Support](https://cloud.google.
18759
- # com/dialogflow/docs/reference/language) for a list of the currently supported
18760
- # language codes.
18761
- # Corresponds to the JSON property `alternativeLanguageCodes`
18762
- # @return [Array<String>]
18763
- attr_accessor :alternative_language_codes
18764
-
18765
19108
  # Audio encoding of the audio content to process.
18766
19109
  # Corresponds to the JSON property `audioEncoding`
18767
19110
  # @return [String]
@@ -18801,6 +19144,11 @@ module Google
18801
19144
  # @return [String]
18802
19145
  attr_accessor :model
18803
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
+
18804
19152
  # Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud
18805
19153
  # Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics)
18806
19154
  # for more details.
@@ -18830,11 +19178,11 @@ module Google
18830
19178
 
18831
19179
  # Update properties of this object
18832
19180
  def update!(**args)
18833
- @alternative_language_codes = args[:alternative_language_codes] if args.key?(:alternative_language_codes)
18834
19181
  @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
18835
19182
  @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
18836
19183
  @language_code = args[:language_code] if args.key?(:language_code)
18837
19184
  @model = args[:model] if args.key?(:model)
19185
+ @phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets)
18838
19186
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
18839
19187
  @speech_model_variant = args[:speech_model_variant] if args.key?(:speech_model_variant)
18840
19188
  @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
@@ -20186,120 +20534,6 @@ module Google
20186
20534
  end
20187
20535
  end
20188
20536
 
20189
- # Metadata for CreateDocument operation.
20190
- class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
20191
- include Google::Apis::Core::Hashable
20192
-
20193
- # Metadata in google::longrunning::Operation for Knowledge operations.
20194
- # Corresponds to the JSON property `genericMetadata`
20195
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
20196
- attr_accessor :generic_metadata
20197
-
20198
- def initialize(**args)
20199
- update!(**args)
20200
- end
20201
-
20202
- # Update properties of this object
20203
- def update!(**args)
20204
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
20205
- end
20206
- end
20207
-
20208
- # Metadata for DeleteDocument operation.
20209
- class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata
20210
- include Google::Apis::Core::Hashable
20211
-
20212
- # Metadata in google::longrunning::Operation for Knowledge operations.
20213
- # Corresponds to the JSON property `genericMetadata`
20214
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
20215
- attr_accessor :generic_metadata
20216
-
20217
- def initialize(**args)
20218
- update!(**args)
20219
- end
20220
-
20221
- # Update properties of this object
20222
- def update!(**args)
20223
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
20224
- end
20225
- end
20226
-
20227
- # Metadata in google::longrunning::Operation for Knowledge operations.
20228
- class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata
20229
- include Google::Apis::Core::Hashable
20230
-
20231
- # Required. Output only. The current state of this operation.
20232
- # Corresponds to the JSON property `state`
20233
- # @return [String]
20234
- attr_accessor :state
20235
-
20236
- def initialize(**args)
20237
- update!(**args)
20238
- end
20239
-
20240
- # Update properties of this object
20241
- def update!(**args)
20242
- @state = args[:state] if args.key?(:state)
20243
- end
20244
- end
20245
-
20246
- # Metadata for ImportDocuments operation.
20247
- class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata
20248
- include Google::Apis::Core::Hashable
20249
-
20250
- # Metadata in google::longrunning::Operation for Knowledge operations.
20251
- # Corresponds to the JSON property `genericMetadata`
20252
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
20253
- attr_accessor :generic_metadata
20254
-
20255
- def initialize(**args)
20256
- update!(**args)
20257
- end
20258
-
20259
- # Update properties of this object
20260
- def update!(**args)
20261
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
20262
- end
20263
- end
20264
-
20265
- # Response message for Documents.ImportDocuments.
20266
- class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse
20267
- include Google::Apis::Core::Hashable
20268
-
20269
- # Includes details about skipped documents or any other warnings.
20270
- # Corresponds to the JSON property `warnings`
20271
- # @return [Array<Google::Apis::DialogflowV2beta1::GoogleRpcStatus>]
20272
- attr_accessor :warnings
20273
-
20274
- def initialize(**args)
20275
- update!(**args)
20276
- end
20277
-
20278
- # Update properties of this object
20279
- def update!(**args)
20280
- @warnings = args[:warnings] if args.key?(:warnings)
20281
- end
20282
- end
20283
-
20284
- # Metadata for ReloadDocument operation.
20285
- class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata
20286
- include Google::Apis::Core::Hashable
20287
-
20288
- # Metadata in google::longrunning::Operation for Knowledge operations.
20289
- # Corresponds to the JSON property `genericMetadata`
20290
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
20291
- attr_accessor :generic_metadata
20292
-
20293
- def initialize(**args)
20294
- update!(**args)
20295
- end
20296
-
20297
- # Update properties of this object
20298
- def update!(**args)
20299
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
20300
- end
20301
- end
20302
-
20303
20537
  # Collection of all signals that were extracted for a single turn of the
20304
20538
  # conversation.
20305
20539
  class GoogleCloudDialogflowV3alpha1TurnSignals
@@ -20390,25 +20624,6 @@ module Google
20390
20624
  end
20391
20625
  end
20392
20626
 
20393
- # Metadata for UpdateDocument operation.
20394
- class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
20395
- include Google::Apis::Core::Hashable
20396
-
20397
- # Metadata in google::longrunning::Operation for Knowledge operations.
20398
- # Corresponds to the JSON property `genericMetadata`
20399
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
20400
- attr_accessor :generic_metadata
20401
-
20402
- def initialize(**args)
20403
- update!(**args)
20404
- end
20405
-
20406
- # Update properties of this object
20407
- def update!(**args)
20408
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
20409
- end
20410
- end
20411
-
20412
20627
  # The response message for Locations.ListLocations.
20413
20628
  class GoogleCloudLocationListLocationsResponse
20414
20629
  include Google::Apis::Core::Hashable