google-apis-dialogflow_v3beta1 0.88.0 → 0.90.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 +9 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +862 -459
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +328 -254
- data/lib/google/apis/dialogflow_v3beta1/service.rb +11 -11
- 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::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
|
578
|
-
attr_accessor :generic_metadata
|
579
|
-
|
580
|
-
def initialize(**args)
|
581
|
-
update!(**args)
|
582
|
-
end
|
583
|
-
|
584
|
-
# Update properties of this object
|
585
|
-
def update!(**args)
|
586
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
587
|
-
end
|
588
|
-
end
|
589
|
-
|
590
561
|
# Metadata returned for the Environments.DeployFlow long running operation.
|
591
562
|
class GoogleCloudDialogflowCxV3DeployFlowMetadata
|
592
563
|
include Google::Apis::Core::Hashable
|
@@ -748,7 +719,7 @@ module Google
|
|
748
719
|
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
749
720
|
|
750
721
|
# A list of test case names to run. They should be under the same agent. Format
|
751
|
-
# of each test case name: `projects//locations
|
722
|
+
# of each test case name: `projects//locations//agents//testCases/`
|
752
723
|
# Corresponds to the JSON property `testCases`
|
753
724
|
# @return [Array<String>]
|
754
725
|
attr_accessor :test_cases
|
@@ -769,7 +740,9 @@ module Google
|
|
769
740
|
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
|
770
741
|
include Google::Apis::Core::Hashable
|
771
742
|
|
772
|
-
# Required. Format
|
743
|
+
# Required. Both flow and playbook versions are supported. Format for flow
|
744
|
+
# version: projects//locations//agents//flows//versions/. Format for playbook
|
745
|
+
# version: projects//locations//agents//playbooks//versions/.
|
773
746
|
# Corresponds to the JSON property `version`
|
774
747
|
# @return [String]
|
775
748
|
attr_accessor :version
|
@@ -836,6 +809,12 @@ module Google
|
|
836
809
|
# @return [String]
|
837
810
|
attr_accessor :target_page
|
838
811
|
|
812
|
+
# The target playbook to transition to. Format: `projects//locations//agents//
|
813
|
+
# playbooks/`.
|
814
|
+
# Corresponds to the JSON property `targetPlaybook`
|
815
|
+
# @return [String]
|
816
|
+
attr_accessor :target_playbook
|
817
|
+
|
839
818
|
# A fulfillment can do one or more of the following actions at the same time: *
|
840
819
|
# Generate rich message responses. * Set parameter values. * Call the webhook.
|
841
820
|
# Fulfillments can be called at various stages in the Page or Form lifecycle.
|
@@ -857,6 +836,7 @@ module Google
|
|
857
836
|
@name = args[:name] if args.key?(:name)
|
858
837
|
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
859
838
|
@target_page = args[:target_page] if args.key?(:target_page)
|
839
|
+
@target_playbook = args[:target_playbook] if args.key?(:target_playbook)
|
860
840
|
@trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
|
861
841
|
end
|
862
842
|
end
|
@@ -1438,63 +1418,6 @@ module Google
|
|
1438
1418
|
end
|
1439
1419
|
end
|
1440
1420
|
|
1441
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
1442
|
-
class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
|
1443
|
-
include Google::Apis::Core::Hashable
|
1444
|
-
|
1445
|
-
# Required. Output only. The current state of this operation.
|
1446
|
-
# Corresponds to the JSON property `state`
|
1447
|
-
# @return [String]
|
1448
|
-
attr_accessor :state
|
1449
|
-
|
1450
|
-
def initialize(**args)
|
1451
|
-
update!(**args)
|
1452
|
-
end
|
1453
|
-
|
1454
|
-
# Update properties of this object
|
1455
|
-
def update!(**args)
|
1456
|
-
@state = args[:state] if args.key?(:state)
|
1457
|
-
end
|
1458
|
-
end
|
1459
|
-
|
1460
|
-
# Metadata for ImportDocuments operation.
|
1461
|
-
class GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata
|
1462
|
-
include Google::Apis::Core::Hashable
|
1463
|
-
|
1464
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
1465
|
-
# Corresponds to the JSON property `genericMetadata`
|
1466
|
-
# @return [Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleRpcStatus>]
|
1486
|
-
attr_accessor :warnings
|
1487
|
-
|
1488
|
-
def initialize(**args)
|
1489
|
-
update!(**args)
|
1490
|
-
end
|
1491
|
-
|
1492
|
-
# Update properties of this object
|
1493
|
-
def update!(**args)
|
1494
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
1495
|
-
end
|
1496
|
-
end
|
1497
|
-
|
1498
1421
|
# Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
|
1499
1422
|
class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
|
1500
1423
|
include Google::Apis::Core::Hashable
|
@@ -1734,7 +1657,7 @@ module Google
|
|
1734
1657
|
# utterance has been detected. Note that no-speech event is not expected in this
|
1735
1658
|
# phase. The client provides this configuration in terms of the durations of
|
1736
1659
|
# those two phases. The durations are measured in terms of the audio length from
|
1737
|
-
# the
|
1660
|
+
# the start of the input audio. No-speech event is a response with
|
1738
1661
|
# END_OF_UTTERANCE without any transcript following up.
|
1739
1662
|
# Corresponds to the JSON property `bargeInConfig`
|
1740
1663
|
# @return [Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
|
2417
|
-
attr_accessor :generic_metadata
|
2418
|
-
|
2419
|
-
def initialize(**args)
|
2420
|
-
update!(**args)
|
2421
|
-
end
|
2422
|
-
|
2423
|
-
# Update properties of this object
|
2424
|
-
def update!(**args)
|
2425
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2426
|
-
end
|
2427
|
-
end
|
2428
|
-
|
2429
2333
|
# Represents a response message that can be returned by a conversational agent.
|
2430
2334
|
# Response messages are also used for output audio synthesis. The approach is as
|
2431
2335
|
# follows: * If at least one OutputAudioText response is present, then all
|
@@ -2781,7 +2685,8 @@ module Google
|
|
2781
2685
|
attr_accessor :allow_playback_interruption
|
2782
2686
|
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
2783
2687
|
|
2784
|
-
# Required. A collection of text
|
2688
|
+
# Required. A collection of text response variants. If multiple variants are
|
2689
|
+
# defined, only one text response variant is returned at runtime.
|
2785
2690
|
# Corresponds to the JSON property `text`
|
2786
2691
|
# @return [Array<String>]
|
2787
2692
|
attr_accessor :text
|
@@ -2922,7 +2827,7 @@ module Google
|
|
2922
2827
|
attr_accessor :last_test_result
|
2923
2828
|
|
2924
2829
|
# The unique identifier of the test case. TestCases.CreateTestCase will populate
|
2925
|
-
# the name automatically. Otherwise use format: `projects//locations//agents
|
2830
|
+
# the name automatically. Otherwise use format: `projects//locations//agents//
|
2926
2831
|
# testCases/`.
|
2927
2832
|
# Corresponds to the JSON property `name`
|
2928
2833
|
# @return [String]
|
@@ -3016,7 +2921,7 @@ module Google
|
|
3016
2921
|
attr_accessor :environment
|
3017
2922
|
|
3018
2923
|
# The resource name for the test case result. Format: `projects//locations//
|
3019
|
-
# agents//testCases
|
2924
|
+
# agents//testCases//results/`.
|
3020
2925
|
# Corresponds to the JSON property `name`
|
3021
2926
|
# @return [String]
|
3022
2927
|
attr_accessor :name
|
@@ -3323,25 +3228,6 @@ module Google
|
|
3323
3228
|
end
|
3324
3229
|
end
|
3325
3230
|
|
3326
|
-
# Metadata for UpdateDocument operation.
|
3327
|
-
class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
|
3328
|
-
include Google::Apis::Core::Hashable
|
3329
|
-
|
3330
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
3331
|
-
# Corresponds to the JSON property `genericMetadata`
|
3332
|
-
# @return [Google::Apis::DialogflowV3beta1::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
|
@@ -3875,12 +3761,12 @@ module Google
|
|
3875
3761
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentUtterance]
|
3876
3762
|
attr_accessor :agent_utterance
|
3877
3763
|
|
3878
|
-
# Stores metadata of the invocation of a CX flow.
|
3764
|
+
# Stores metadata of the invocation of a CX flow.
|
3879
3765
|
# Corresponds to the JSON property `flowInvocation`
|
3880
3766
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowInvocation]
|
3881
3767
|
attr_accessor :flow_invocation
|
3882
3768
|
|
3883
|
-
# Stores metadata of the invocation of a child playbook.
|
3769
|
+
# Stores metadata of the invocation of a child playbook.
|
3884
3770
|
# Corresponds to the JSON property `playbookInvocation`
|
3885
3771
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation]
|
3886
3772
|
attr_accessor :playbook_invocation
|
@@ -4006,13 +3892,21 @@ module Google
|
|
4006
3892
|
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
|
4007
3893
|
include Google::Apis::Core::Hashable
|
4008
3894
|
|
3895
|
+
# Enables consent-based end-user input redaction, if true, a pre-defined session
|
3896
|
+
# parameter `$session.params.conversation-redaction` will be used to determine
|
3897
|
+
# if the utterance should be redacted.
|
3898
|
+
# Corresponds to the JSON property `enableConsentBasedRedaction`
|
3899
|
+
# @return [Boolean]
|
3900
|
+
attr_accessor :enable_consent_based_redaction
|
3901
|
+
alias_method :enable_consent_based_redaction?, :enable_consent_based_redaction
|
3902
|
+
|
4009
3903
|
# Enables DF Interaction logging.
|
4010
3904
|
# Corresponds to the JSON property `enableInteractionLogging`
|
4011
3905
|
# @return [Boolean]
|
4012
3906
|
attr_accessor :enable_interaction_logging
|
4013
3907
|
alias_method :enable_interaction_logging?, :enable_interaction_logging
|
4014
3908
|
|
4015
|
-
# Enables
|
3909
|
+
# Enables Google Cloud Logging.
|
4016
3910
|
# Corresponds to the JSON property `enableStackdriverLogging`
|
4017
3911
|
# @return [Boolean]
|
4018
3912
|
attr_accessor :enable_stackdriver_logging
|
@@ -4024,6 +3918,7 @@ module Google
|
|
4024
3918
|
|
4025
3919
|
# Update properties of this object
|
4026
3920
|
def update!(**args)
|
3921
|
+
@enable_consent_based_redaction = args[:enable_consent_based_redaction] if args.key?(:enable_consent_based_redaction)
|
4027
3922
|
@enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
|
4028
3923
|
@enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
|
4029
3924
|
end
|
@@ -4105,6 +4000,16 @@ module Google
|
|
4105
4000
|
# @return [String]
|
4106
4001
|
attr_accessor :avatar_uri
|
4107
4002
|
|
4003
|
+
# The settings of BigQuery export.
|
4004
|
+
# Corresponds to the JSON property `bigqueryExportSettings`
|
4005
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BigQueryExportSettings]
|
4006
|
+
attr_accessor :bigquery_export_settings
|
4007
|
+
|
4008
|
+
# Settings for custom client certificates.
|
4009
|
+
# Corresponds to the JSON property `clientCertificateSettings`
|
4010
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings]
|
4011
|
+
attr_accessor :client_certificate_settings
|
4012
|
+
|
4108
4013
|
# Required. Immutable. The default language of the agent as a language tag. See [
|
4109
4014
|
# Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/
|
4110
4015
|
# language) for a list of the currently supported language codes. This field
|
@@ -4227,6 +4132,8 @@ module Google
|
|
4227
4132
|
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
4228
4133
|
@answer_feedback_settings = args[:answer_feedback_settings] if args.key?(:answer_feedback_settings)
|
4229
4134
|
@avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri)
|
4135
|
+
@bigquery_export_settings = args[:bigquery_export_settings] if args.key?(:bigquery_export_settings)
|
4136
|
+
@client_certificate_settings = args[:client_certificate_settings] if args.key?(:client_certificate_settings)
|
4230
4137
|
@default_language_code = args[:default_language_code] if args.key?(:default_language_code)
|
4231
4138
|
@description = args[:description] if args.key?(:description)
|
4232
4139
|
@display_name = args[:display_name] if args.key?(:display_name)
|
@@ -4270,6 +4177,42 @@ module Google
|
|
4270
4177
|
end
|
4271
4178
|
end
|
4272
4179
|
|
4180
|
+
# Settings for custom client certificates.
|
4181
|
+
class GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings
|
4182
|
+
include Google::Apis::Core::Hashable
|
4183
|
+
|
4184
|
+
# Optional. The name of the SecretManager secret version resource storing the
|
4185
|
+
# passphrase. 'passphrase' should be left unset if the private key is not
|
4186
|
+
# encrypted. Format: `projects/`project`/secrets/`secret`/versions/`version``
|
4187
|
+
# Corresponds to the JSON property `passphrase`
|
4188
|
+
# @return [String]
|
4189
|
+
attr_accessor :passphrase
|
4190
|
+
|
4191
|
+
# Required. The name of the SecretManager secret version resource storing the
|
4192
|
+
# private key encoded in PEM format. Format: `projects/`project`/secrets/`secret`
|
4193
|
+
# /versions/`version``
|
4194
|
+
# Corresponds to the JSON property `privateKey`
|
4195
|
+
# @return [String]
|
4196
|
+
attr_accessor :private_key
|
4197
|
+
|
4198
|
+
# Required. The ssl certificate encoded in PEM format. This string must include
|
4199
|
+
# the begin header and end footer lines.
|
4200
|
+
# Corresponds to the JSON property `sslCertificate`
|
4201
|
+
# @return [String]
|
4202
|
+
attr_accessor :ssl_certificate
|
4203
|
+
|
4204
|
+
def initialize(**args)
|
4205
|
+
update!(**args)
|
4206
|
+
end
|
4207
|
+
|
4208
|
+
# Update properties of this object
|
4209
|
+
def update!(**args)
|
4210
|
+
@passphrase = args[:passphrase] if args.key?(:passphrase)
|
4211
|
+
@private_key = args[:private_key] if args.key?(:private_key)
|
4212
|
+
@ssl_certificate = args[:ssl_certificate] if args.key?(:ssl_certificate)
|
4213
|
+
end
|
4214
|
+
end
|
4215
|
+
|
4273
4216
|
# Settings for Gen App Builder.
|
4274
4217
|
class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings
|
4275
4218
|
include Google::Apis::Core::Hashable
|
@@ -4526,7 +4469,7 @@ module Google
|
|
4526
4469
|
# utterance has been detected. Note that no-speech event is not expected in this
|
4527
4470
|
# phase. The client provides this configuration in terms of the durations of
|
4528
4471
|
# those two phases. The durations are measured in terms of the audio length from
|
4529
|
-
# the
|
4472
|
+
# the start of the input audio. No-speech event is a response with
|
4530
4473
|
# END_OF_UTTERANCE without any transcript following up.
|
4531
4474
|
class GoogleCloudDialogflowCxV3beta1BargeInConfig
|
4532
4475
|
include Google::Apis::Core::Hashable
|
@@ -4556,8 +4499,7 @@ module Google
|
|
4556
4499
|
class GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest
|
4557
4500
|
include Google::Apis::Core::Hashable
|
4558
4501
|
|
4559
|
-
# Required. Format of test case names: `projects//locations
|
4560
|
-
# .
|
4502
|
+
# Required. Format of test case names: `projects//locations//agents//testCases/`.
|
4561
4503
|
# Corresponds to the JSON property `names`
|
4562
4504
|
# @return [Array<String>]
|
4563
4505
|
attr_accessor :names
|
@@ -4637,6 +4579,32 @@ module Google
|
|
4637
4579
|
end
|
4638
4580
|
end
|
4639
4581
|
|
4582
|
+
# The settings of BigQuery export.
|
4583
|
+
class GoogleCloudDialogflowCxV3beta1BigQueryExportSettings
|
4584
|
+
include Google::Apis::Core::Hashable
|
4585
|
+
|
4586
|
+
# The BigQuery table to export. Format: `projects//datasets//tables/`.
|
4587
|
+
# Corresponds to the JSON property `bigqueryTable`
|
4588
|
+
# @return [String]
|
4589
|
+
attr_accessor :bigquery_table
|
4590
|
+
|
4591
|
+
# The field to indicate whether the BigQuery export is enabled.
|
4592
|
+
# Corresponds to the JSON property `enabled`
|
4593
|
+
# @return [Boolean]
|
4594
|
+
attr_accessor :enabled
|
4595
|
+
alias_method :enabled?, :enabled
|
4596
|
+
|
4597
|
+
def initialize(**args)
|
4598
|
+
update!(**args)
|
4599
|
+
end
|
4600
|
+
|
4601
|
+
# Update properties of this object
|
4602
|
+
def update!(**args)
|
4603
|
+
@bigquery_table = args[:bigquery_table] if args.key?(:bigquery_table)
|
4604
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
4605
|
+
end
|
4606
|
+
end
|
4607
|
+
|
4640
4608
|
# Boost specification to boost certain documents. A copy of google.cloud.
|
4641
4609
|
# discoveryengine.v1main.BoostSpec, field documentation is available at https://
|
4642
4610
|
# cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/
|
@@ -4681,6 +4649,13 @@ module Google
|
|
4681
4649
|
# @return [Float]
|
4682
4650
|
attr_accessor :boost
|
4683
4651
|
|
4652
|
+
# Specification for custom ranking based on customer specified attribute value.
|
4653
|
+
# It provides more controls for customized ranking than the simple (condition,
|
4654
|
+
# boost) combination above.
|
4655
|
+
# Corresponds to the JSON property `boostControlSpec`
|
4656
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec]
|
4657
|
+
attr_accessor :boost_control_spec
|
4658
|
+
|
4684
4659
|
# Optional. An expression which specifies a boost condition. The syntax and
|
4685
4660
|
# supported fields are the same as a filter expression. Examples: * To boost
|
4686
4661
|
# documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * (
|
@@ -4696,10 +4671,89 @@ module Google
|
|
4696
4671
|
# Update properties of this object
|
4697
4672
|
def update!(**args)
|
4698
4673
|
@boost = args[:boost] if args.key?(:boost)
|
4674
|
+
@boost_control_spec = args[:boost_control_spec] if args.key?(:boost_control_spec)
|
4699
4675
|
@condition = args[:condition] if args.key?(:condition)
|
4700
4676
|
end
|
4701
4677
|
end
|
4702
4678
|
|
4679
|
+
# Specification for custom ranking based on customer specified attribute value.
|
4680
|
+
# It provides more controls for customized ranking than the simple (condition,
|
4681
|
+
# boost) combination above.
|
4682
|
+
class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec
|
4683
|
+
include Google::Apis::Core::Hashable
|
4684
|
+
|
4685
|
+
# Optional. The attribute type to be used to determine the boost amount. The
|
4686
|
+
# attribute value can be derived from the field value of the specified
|
4687
|
+
# field_name. In the case of numerical it is straightforward i.e.
|
4688
|
+
# attribute_value = numerical_field_value. In the case of freshness however,
|
4689
|
+
# attribute_value = (time.now() - datetime_field_value).
|
4690
|
+
# Corresponds to the JSON property `attributeType`
|
4691
|
+
# @return [String]
|
4692
|
+
attr_accessor :attribute_type
|
4693
|
+
|
4694
|
+
# Optional. The control points used to define the curve. The monotonic function (
|
4695
|
+
# defined through the interpolation_type above) passes through the control
|
4696
|
+
# points listed here.
|
4697
|
+
# Corresponds to the JSON property `controlPoints`
|
4698
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint>]
|
4699
|
+
attr_accessor :control_points
|
4700
|
+
|
4701
|
+
# Optional. The name of the field whose value will be used to determine the
|
4702
|
+
# boost amount.
|
4703
|
+
# Corresponds to the JSON property `fieldName`
|
4704
|
+
# @return [String]
|
4705
|
+
attr_accessor :field_name
|
4706
|
+
|
4707
|
+
# Optional. The interpolation type to be applied to connect the control points
|
4708
|
+
# listed below.
|
4709
|
+
# Corresponds to the JSON property `interpolationType`
|
4710
|
+
# @return [String]
|
4711
|
+
attr_accessor :interpolation_type
|
4712
|
+
|
4713
|
+
def initialize(**args)
|
4714
|
+
update!(**args)
|
4715
|
+
end
|
4716
|
+
|
4717
|
+
# Update properties of this object
|
4718
|
+
def update!(**args)
|
4719
|
+
@attribute_type = args[:attribute_type] if args.key?(:attribute_type)
|
4720
|
+
@control_points = args[:control_points] if args.key?(:control_points)
|
4721
|
+
@field_name = args[:field_name] if args.key?(:field_name)
|
4722
|
+
@interpolation_type = args[:interpolation_type] if args.key?(:interpolation_type)
|
4723
|
+
end
|
4724
|
+
end
|
4725
|
+
|
4726
|
+
# The control points used to define the curve. The curve defined through these
|
4727
|
+
# control points can only be monotonically increasing or decreasing(constant
|
4728
|
+
# values are acceptable).
|
4729
|
+
class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint
|
4730
|
+
include Google::Apis::Core::Hashable
|
4731
|
+
|
4732
|
+
# Optional. Can be one of: 1. The numerical field value. 2. The duration spec
|
4733
|
+
# for freshness: The value must be formatted as an XSD `dayTimeDuration` value (
|
4734
|
+
# a restricted subset of an ISO 8601 duration value). The pattern for this is: `
|
4735
|
+
# nDnM]`.
|
4736
|
+
# Corresponds to the JSON property `attributeValue`
|
4737
|
+
# @return [String]
|
4738
|
+
attr_accessor :attribute_value
|
4739
|
+
|
4740
|
+
# Optional. The value between -1 to 1 by which to boost the score if the
|
4741
|
+
# attribute_value evaluates to the value specified above.
|
4742
|
+
# Corresponds to the JSON property `boostAmount`
|
4743
|
+
# @return [Float]
|
4744
|
+
attr_accessor :boost_amount
|
4745
|
+
|
4746
|
+
def initialize(**args)
|
4747
|
+
update!(**args)
|
4748
|
+
end
|
4749
|
+
|
4750
|
+
# Update properties of this object
|
4751
|
+
def update!(**args)
|
4752
|
+
@attribute_value = args[:attribute_value] if args.key?(:attribute_value)
|
4753
|
+
@boost_amount = args[:boost_amount] if args.key?(:boost_amount)
|
4754
|
+
end
|
4755
|
+
end
|
4756
|
+
|
4703
4757
|
# Boost specifications for data stores.
|
4704
4758
|
class GoogleCloudDialogflowCxV3beta1BoostSpecs
|
4705
4759
|
include Google::Apis::Core::Hashable
|
@@ -5459,25 +5513,6 @@ module Google
|
|
5459
5513
|
end
|
5460
5514
|
end
|
5461
5515
|
|
5462
|
-
# Metadata for CreateDocument operation.
|
5463
|
-
class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata
|
5464
|
-
include Google::Apis::Core::Hashable
|
5465
|
-
|
5466
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
5467
|
-
# Corresponds to the JSON property `genericMetadata`
|
5468
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
5469
|
-
attr_accessor :generic_metadata
|
5470
|
-
|
5471
|
-
def initialize(**args)
|
5472
|
-
update!(**args)
|
5473
|
-
end
|
5474
|
-
|
5475
|
-
# Update properties of this object
|
5476
|
-
def update!(**args)
|
5477
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
5478
|
-
end
|
5479
|
-
end
|
5480
|
-
|
5481
5516
|
# Metadata associated with the long running operation for Versions.CreateVersion.
|
5482
5517
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
5483
5518
|
include Google::Apis::Core::Hashable
|
@@ -5602,6 +5637,12 @@ module Google
|
|
5602
5637
|
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals
|
5603
5638
|
include Google::Apis::Core::Hashable
|
5604
5639
|
|
5640
|
+
# Name of the generative model. For example, "gemini-ultra", "gemini-pro", "
|
5641
|
+
# gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
|
5642
|
+
# Corresponds to the JSON property `model`
|
5643
|
+
# @return [String]
|
5644
|
+
attr_accessor :model
|
5645
|
+
|
5605
5646
|
# Output of the generative model.
|
5606
5647
|
# Corresponds to the JSON property `modelOutput`
|
5607
5648
|
# @return [String]
|
@@ -5618,6 +5659,7 @@ module Google
|
|
5618
5659
|
|
5619
5660
|
# Update properties of this object
|
5620
5661
|
def update!(**args)
|
5662
|
+
@model = args[:model] if args.key?(:model)
|
5621
5663
|
@model_output = args[:model_output] if args.key?(:model_output)
|
5622
5664
|
@rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
|
5623
5665
|
end
|
@@ -5702,6 +5744,12 @@ module Google
|
|
5702
5744
|
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals
|
5703
5745
|
include Google::Apis::Core::Hashable
|
5704
5746
|
|
5747
|
+
# Name of the generative model. For example, "gemini-ultra", "gemini-pro", "
|
5748
|
+
# gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
|
5749
|
+
# Corresponds to the JSON property `model`
|
5750
|
+
# @return [String]
|
5751
|
+
attr_accessor :model
|
5752
|
+
|
5705
5753
|
# Output of the generative model.
|
5706
5754
|
# Corresponds to the JSON property `modelOutput`
|
5707
5755
|
# @return [String]
|
@@ -5718,6 +5766,7 @@ module Google
|
|
5718
5766
|
|
5719
5767
|
# Update properties of this object
|
5720
5768
|
def update!(**args)
|
5769
|
+
@model = args[:model] if args.key?(:model)
|
5721
5770
|
@model_output = args[:model_output] if args.key?(:model_output)
|
5722
5771
|
@rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
|
5723
5772
|
end
|
@@ -5785,25 +5834,6 @@ module Google
|
|
5785
5834
|
end
|
5786
5835
|
end
|
5787
5836
|
|
5788
|
-
# Metadata for DeleteDocument operation.
|
5789
|
-
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
5790
|
-
include Google::Apis::Core::Hashable
|
5791
|
-
|
5792
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
5793
|
-
# Corresponds to the JSON property `genericMetadata`
|
5794
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
5795
|
-
attr_accessor :generic_metadata
|
5796
|
-
|
5797
|
-
def initialize(**args)
|
5798
|
-
update!(**args)
|
5799
|
-
end
|
5800
|
-
|
5801
|
-
# Update properties of this object
|
5802
|
-
def update!(**args)
|
5803
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
5804
|
-
end
|
5805
|
-
end
|
5806
|
-
|
5807
5837
|
# Metadata returned for the Environments.DeployFlow long running operation.
|
5808
5838
|
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
5809
5839
|
include Google::Apis::Core::Hashable
|
@@ -6315,7 +6345,7 @@ module Google
|
|
6315
6345
|
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
6316
6346
|
|
6317
6347
|
# A list of test case names to run. They should be under the same agent. Format
|
6318
|
-
# of each test case name: `projects//locations
|
6348
|
+
# of each test case name: `projects//locations//agents//testCases/`
|
6319
6349
|
# Corresponds to the JSON property `testCases`
|
6320
6350
|
# @return [Array<String>]
|
6321
6351
|
attr_accessor :test_cases
|
@@ -6336,7 +6366,9 @@ module Google
|
|
6336
6366
|
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
6337
6367
|
include Google::Apis::Core::Hashable
|
6338
6368
|
|
6339
|
-
# Required. Format
|
6369
|
+
# Required. Both flow and playbook versions are supported. Format for flow
|
6370
|
+
# version: projects//locations//agents//flows//versions/. Format for playbook
|
6371
|
+
# version: projects//locations//agents//playbooks//versions/.
|
6340
6372
|
# Corresponds to the JSON property `version`
|
6341
6373
|
# @return [String]
|
6342
6374
|
attr_accessor :version
|
@@ -6403,6 +6435,12 @@ module Google
|
|
6403
6435
|
# @return [String]
|
6404
6436
|
attr_accessor :target_page
|
6405
6437
|
|
6438
|
+
# The target playbook to transition to. Format: `projects//locations//agents//
|
6439
|
+
# playbooks/`.
|
6440
|
+
# Corresponds to the JSON property `targetPlaybook`
|
6441
|
+
# @return [String]
|
6442
|
+
attr_accessor :target_playbook
|
6443
|
+
|
6406
6444
|
# A fulfillment can do one or more of the following actions at the same time: *
|
6407
6445
|
# Generate rich message responses. * Set parameter values. * Call the webhook.
|
6408
6446
|
# Fulfillments can be called at various stages in the Page or Form lifecycle.
|
@@ -6424,6 +6462,7 @@ module Google
|
|
6424
6462
|
@name = args[:name] if args.key?(:name)
|
6425
6463
|
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
6426
6464
|
@target_page = args[:target_page] if args.key?(:target_page)
|
6465
|
+
@target_playbook = args[:target_playbook] if args.key?(:target_playbook)
|
6427
6466
|
@trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
|
6428
6467
|
end
|
6429
6468
|
end
|
@@ -6482,7 +6521,8 @@ module Google
|
|
6482
6521
|
|
6483
6522
|
# Optional. The language code of the example. If not specified, the agent's
|
6484
6523
|
# default language is used. Note: languages must be enabled in the agent before
|
6485
|
-
# they can be used.
|
6524
|
+
# they can be used. Note: example's language code is not currently used in
|
6525
|
+
# dialogflow agents.
|
6486
6526
|
# Corresponds to the JSON property `languageCode`
|
6487
6527
|
# @return [String]
|
6488
6528
|
attr_accessor :language_code
|
@@ -6577,7 +6617,7 @@ module Google
|
|
6577
6617
|
attr_accessor :last_update_time
|
6578
6618
|
|
6579
6619
|
# The name of the experiment. Format: projects//locations//agents//environments//
|
6580
|
-
# experiments
|
6620
|
+
# experiments/.
|
6581
6621
|
# Corresponds to the JSON property `name`
|
6582
6622
|
# @return [String]
|
6583
6623
|
attr_accessor :name
|
@@ -7382,6 +7422,13 @@ module Google
|
|
7382
7422
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings]
|
7383
7423
|
attr_accessor :knowledge_connector_settings
|
7384
7424
|
|
7425
|
+
# Indicates whether the flow is locked for changes. If the flow is locked,
|
7426
|
+
# modifications to the flow will be rejected.
|
7427
|
+
# Corresponds to the JSON property `locked`
|
7428
|
+
# @return [Boolean]
|
7429
|
+
attr_accessor :locked
|
7430
|
+
alias_method :locked?, :locked
|
7431
|
+
|
7385
7432
|
# Settings for multi-lingual agents.
|
7386
7433
|
# Corresponds to the JSON property `multiLanguageSettings`
|
7387
7434
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings]
|
@@ -7432,6 +7479,7 @@ module Google
|
|
7432
7479
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7433
7480
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
7434
7481
|
@knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
|
7482
|
+
@locked = args[:locked] if args.key?(:locked)
|
7435
7483
|
@multi_language_settings = args[:multi_language_settings] if args.key?(:multi_language_settings)
|
7436
7484
|
@name = args[:name] if args.key?(:name)
|
7437
7485
|
@nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings)
|
@@ -7463,12 +7511,12 @@ module Google
|
|
7463
7511
|
end
|
7464
7512
|
end
|
7465
7513
|
|
7466
|
-
# Stores metadata of the invocation of a CX flow.
|
7514
|
+
# Stores metadata of the invocation of a CX flow.
|
7467
7515
|
class GoogleCloudDialogflowCxV3beta1FlowInvocation
|
7468
7516
|
include Google::Apis::Core::Hashable
|
7469
7517
|
|
7470
7518
|
# Required. The unique identifier of the flow. Format: `projects//locations//
|
7471
|
-
# agents/`.
|
7519
|
+
# agents//flows/`.
|
7472
7520
|
# Corresponds to the JSON property `flow`
|
7473
7521
|
# @return [String]
|
7474
7522
|
attr_accessor :flow
|
@@ -8231,6 +8279,11 @@ module Google
|
|
8231
8279
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettings]
|
8232
8280
|
attr_accessor :llm_model_settings
|
8233
8281
|
|
8282
|
+
# Parameters to be passed to the LLM. If not set, default values will be used.
|
8283
|
+
# Corresponds to the JSON property `modelParameter`
|
8284
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GeneratorModelParameter]
|
8285
|
+
attr_accessor :model_parameter
|
8286
|
+
|
8234
8287
|
# The unique identifier of the generator. Must be set for the Generators.
|
8235
8288
|
# UpdateGenerator method. Generators.CreateGenerate populates the name
|
8236
8289
|
# automatically. Format: `projects//locations//agents//generators/`.
|
@@ -8256,12 +8309,57 @@ module Google
|
|
8256
8309
|
def update!(**args)
|
8257
8310
|
@display_name = args[:display_name] if args.key?(:display_name)
|
8258
8311
|
@llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings)
|
8312
|
+
@model_parameter = args[:model_parameter] if args.key?(:model_parameter)
|
8259
8313
|
@name = args[:name] if args.key?(:name)
|
8260
8314
|
@placeholders = args[:placeholders] if args.key?(:placeholders)
|
8261
8315
|
@prompt_text = args[:prompt_text] if args.key?(:prompt_text)
|
8262
8316
|
end
|
8263
8317
|
end
|
8264
8318
|
|
8319
|
+
# Parameters to be passed to the LLM. If not set, default values will be used.
|
8320
|
+
class GoogleCloudDialogflowCxV3beta1GeneratorModelParameter
|
8321
|
+
include Google::Apis::Core::Hashable
|
8322
|
+
|
8323
|
+
# The maximum number of tokens to generate.
|
8324
|
+
# Corresponds to the JSON property `maxDecodeSteps`
|
8325
|
+
# @return [Fixnum]
|
8326
|
+
attr_accessor :max_decode_steps
|
8327
|
+
|
8328
|
+
# The temperature used for sampling. Temperature sampling occurs after both topP
|
8329
|
+
# and topK have been applied. Valid range: [0.0, 1.0] Low temperature = less
|
8330
|
+
# random. High temperature = more random.
|
8331
|
+
# Corresponds to the JSON property `temperature`
|
8332
|
+
# @return [Float]
|
8333
|
+
attr_accessor :temperature
|
8334
|
+
|
8335
|
+
# If set, the sampling process in each step is limited to the top_k tokens with
|
8336
|
+
# highest probabilities. Valid range: [1, 40] or 1000+. Small topK = less random.
|
8337
|
+
# Large topK = more random.
|
8338
|
+
# Corresponds to the JSON property `topK`
|
8339
|
+
# @return [Fixnum]
|
8340
|
+
attr_accessor :top_k
|
8341
|
+
|
8342
|
+
# If set, only the tokens comprising the top top_p probability mass are
|
8343
|
+
# considered. If both top_p and top_k are set, top_p will be used for further
|
8344
|
+
# refining candidates selected with top_k. Valid range: (0.0, 1.0]. Small topP =
|
8345
|
+
# less random. Large topP = more random.
|
8346
|
+
# Corresponds to the JSON property `topP`
|
8347
|
+
# @return [Float]
|
8348
|
+
attr_accessor :top_p
|
8349
|
+
|
8350
|
+
def initialize(**args)
|
8351
|
+
update!(**args)
|
8352
|
+
end
|
8353
|
+
|
8354
|
+
# Update properties of this object
|
8355
|
+
def update!(**args)
|
8356
|
+
@max_decode_steps = args[:max_decode_steps] if args.key?(:max_decode_steps)
|
8357
|
+
@temperature = args[:temperature] if args.key?(:temperature)
|
8358
|
+
@top_k = args[:top_k] if args.key?(:top_k)
|
8359
|
+
@top_p = args[:top_p] if args.key?(:top_p)
|
8360
|
+
end
|
8361
|
+
end
|
8362
|
+
|
8265
8363
|
# Represents a custom placeholder in the prompt text.
|
8266
8364
|
class GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder
|
8267
8365
|
include Google::Apis::Core::Hashable
|
@@ -8287,85 +8385,28 @@ module Google
|
|
8287
8385
|
end
|
8288
8386
|
end
|
8289
8387
|
|
8290
|
-
# Metadata
|
8291
|
-
class
|
8388
|
+
# Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
|
8389
|
+
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
|
8292
8390
|
include Google::Apis::Core::Hashable
|
8293
8391
|
|
8294
|
-
# Required. Output only. The current state of this operation.
|
8295
|
-
# Corresponds to the JSON property `state`
|
8296
|
-
# @return [String]
|
8297
|
-
attr_accessor :state
|
8298
|
-
|
8299
8392
|
def initialize(**args)
|
8300
8393
|
update!(**args)
|
8301
8394
|
end
|
8302
8395
|
|
8303
8396
|
# Update properties of this object
|
8304
8397
|
def update!(**args)
|
8305
|
-
@state = args[:state] if args.key?(:state)
|
8306
8398
|
end
|
8307
8399
|
end
|
8308
8400
|
|
8309
|
-
#
|
8310
|
-
class
|
8401
|
+
# The request message for EntityTypes.ImportEntityTypes.
|
8402
|
+
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest
|
8311
8403
|
include Google::Apis::Core::Hashable
|
8312
8404
|
|
8313
|
-
#
|
8314
|
-
#
|
8315
|
-
#
|
8316
|
-
|
8317
|
-
|
8318
|
-
def initialize(**args)
|
8319
|
-
update!(**args)
|
8320
|
-
end
|
8321
|
-
|
8322
|
-
# Update properties of this object
|
8323
|
-
def update!(**args)
|
8324
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
8325
|
-
end
|
8326
|
-
end
|
8327
|
-
|
8328
|
-
# Response message for Documents.ImportDocuments.
|
8329
|
-
class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse
|
8330
|
-
include Google::Apis::Core::Hashable
|
8331
|
-
|
8332
|
-
# Includes details about skipped documents or any other warnings.
|
8333
|
-
# Corresponds to the JSON property `warnings`
|
8334
|
-
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
|
8335
|
-
attr_accessor :warnings
|
8336
|
-
|
8337
|
-
def initialize(**args)
|
8338
|
-
update!(**args)
|
8339
|
-
end
|
8340
|
-
|
8341
|
-
# Update properties of this object
|
8342
|
-
def update!(**args)
|
8343
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
8344
|
-
end
|
8345
|
-
end
|
8346
|
-
|
8347
|
-
# Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
|
8348
|
-
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
|
8349
|
-
include Google::Apis::Core::Hashable
|
8350
|
-
|
8351
|
-
def initialize(**args)
|
8352
|
-
update!(**args)
|
8353
|
-
end
|
8354
|
-
|
8355
|
-
# Update properties of this object
|
8356
|
-
def update!(**args)
|
8357
|
-
end
|
8358
|
-
end
|
8359
|
-
|
8360
|
-
# The request message for EntityTypes.ImportEntityTypes.
|
8361
|
-
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest
|
8362
|
-
include Google::Apis::Core::Hashable
|
8363
|
-
|
8364
|
-
# Inline source for a Dialogflow operation that reads or imports objects (e.g.
|
8365
|
-
# intents) into Dialogflow.
|
8366
|
-
# Corresponds to the JSON property `entityTypesContent`
|
8367
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource]
|
8368
|
-
attr_accessor :entity_types_content
|
8405
|
+
# Inline source for a Dialogflow operation that reads or imports objects (e.g.
|
8406
|
+
# intents) into Dialogflow.
|
8407
|
+
# Corresponds to the JSON property `entityTypesContent`
|
8408
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource]
|
8409
|
+
attr_accessor :entity_types_content
|
8369
8410
|
|
8370
8411
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
8371
8412
|
# import entity types from. The format of this URI must be `gs:///`. Dialogflow
|
@@ -8720,6 +8761,32 @@ module Google
|
|
8720
8761
|
end
|
8721
8762
|
end
|
8722
8763
|
|
8764
|
+
# A type schema object that's specified inline.
|
8765
|
+
class GoogleCloudDialogflowCxV3beta1InlineSchema
|
8766
|
+
include Google::Apis::Core::Hashable
|
8767
|
+
|
8768
|
+
# Encapsulates different type schema variations: either a reference to an a
|
8769
|
+
# schema that's already defined by a tool, or an inline definition.
|
8770
|
+
# Corresponds to the JSON property `items`
|
8771
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema]
|
8772
|
+
attr_accessor :items
|
8773
|
+
|
8774
|
+
# Data type of the schema.
|
8775
|
+
# Corresponds to the JSON property `type`
|
8776
|
+
# @return [String]
|
8777
|
+
attr_accessor :type
|
8778
|
+
|
8779
|
+
def initialize(**args)
|
8780
|
+
update!(**args)
|
8781
|
+
end
|
8782
|
+
|
8783
|
+
# Update properties of this object
|
8784
|
+
def update!(**args)
|
8785
|
+
@items = args[:items] if args.key?(:items)
|
8786
|
+
@type = args[:type] if args.key?(:type)
|
8787
|
+
end
|
8788
|
+
end
|
8789
|
+
|
8723
8790
|
# Inline source for a Dialogflow operation that reads or imports objects (e.g.
|
8724
8791
|
# intents) into Dialogflow.
|
8725
8792
|
class GoogleCloudDialogflowCxV3beta1InlineSource
|
@@ -8763,7 +8830,7 @@ module Google
|
|
8763
8830
|
# utterance has been detected. Note that no-speech event is not expected in this
|
8764
8831
|
# phase. The client provides this configuration in terms of the durations of
|
8765
8832
|
# those two phases. The durations are measured in terms of the audio length from
|
8766
|
-
# the
|
8833
|
+
# the start of the input audio. No-speech event is a response with
|
8767
8834
|
# END_OF_UTTERANCE without any transcript following up.
|
8768
8835
|
# Corresponds to the JSON property `bargeInConfig`
|
8769
8836
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BargeInConfig]
|
@@ -10076,7 +10143,8 @@ module Google
|
|
10076
10143
|
# classification threshold. If the returned score value is less than the
|
10077
10144
|
# threshold value, then a no-match event will be triggered. The score values
|
10078
10145
|
# range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.
|
10079
|
-
# 0, the default of 0.3 is used.
|
10146
|
+
# 0, the default of 0.3 is used. You can set a separate classification threshold
|
10147
|
+
# for the flow in each language enabled for the agent.
|
10080
10148
|
# Corresponds to the JSON property `classificationThreshold`
|
10081
10149
|
# @return [Float]
|
10082
10150
|
attr_accessor :classification_threshold
|
@@ -10386,11 +10454,17 @@ module Google
|
|
10386
10454
|
# @return [String]
|
10387
10455
|
attr_accessor :name
|
10388
10456
|
|
10389
|
-
#
|
10457
|
+
# Type of parameter.
|
10390
10458
|
# Corresponds to the JSON property `type`
|
10391
10459
|
# @return [String]
|
10392
10460
|
attr_accessor :type
|
10393
10461
|
|
10462
|
+
# Encapsulates different type schema variations: either a reference to an a
|
10463
|
+
# schema that's already defined by a tool, or an inline definition.
|
10464
|
+
# Corresponds to the JSON property `typeSchema`
|
10465
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema]
|
10466
|
+
attr_accessor :type_schema
|
10467
|
+
|
10394
10468
|
def initialize(**args)
|
10395
10469
|
update!(**args)
|
10396
10470
|
end
|
@@ -10400,6 +10474,7 @@ module Google
|
|
10400
10474
|
@description = args[:description] if args.key?(:description)
|
10401
10475
|
@name = args[:name] if args.key?(:name)
|
10402
10476
|
@type = args[:type] if args.key?(:type)
|
10477
|
+
@type_schema = args[:type_schema] if args.key?(:type_schema)
|
10403
10478
|
end
|
10404
10479
|
end
|
10405
10480
|
|
@@ -10569,7 +10644,7 @@ module Google
|
|
10569
10644
|
end
|
10570
10645
|
end
|
10571
10646
|
|
10572
|
-
# Stores metadata of the invocation of a child playbook.
|
10647
|
+
# Stores metadata of the invocation of a child playbook.
|
10573
10648
|
class GoogleCloudDialogflowCxV3beta1PlaybookInvocation
|
10574
10649
|
include Google::Apis::Core::Hashable
|
10575
10650
|
|
@@ -10800,9 +10875,10 @@ module Google
|
|
10800
10875
|
# @return [String]
|
10801
10876
|
attr_accessor :current_page
|
10802
10877
|
|
10803
|
-
# Optional.
|
10804
|
-
#
|
10805
|
-
#
|
10878
|
+
# Optional. The unique identifier of the playbook to start or continue the
|
10879
|
+
# session with. If `current_playbook` is specified, the previous state of the
|
10880
|
+
# session will be ignored by Dialogflow. Format: `projects//locations//agents//
|
10881
|
+
# playbooks/`.
|
10806
10882
|
# Corresponds to the JSON property `currentPlaybook`
|
10807
10883
|
# @return [String]
|
10808
10884
|
attr_accessor :current_playbook
|
@@ -11178,25 +11254,6 @@ module Google
|
|
11178
11254
|
end
|
11179
11255
|
end
|
11180
11256
|
|
11181
|
-
# Metadata for ReloadDocument operation.
|
11182
|
-
class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata
|
11183
|
-
include Google::Apis::Core::Hashable
|
11184
|
-
|
11185
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
11186
|
-
# Corresponds to the JSON property `genericMetadata`
|
11187
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
11188
|
-
attr_accessor :generic_metadata
|
11189
|
-
|
11190
|
-
def initialize(**args)
|
11191
|
-
update!(**args)
|
11192
|
-
end
|
11193
|
-
|
11194
|
-
# Update properties of this object
|
11195
|
-
def update!(**args)
|
11196
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
11197
|
-
end
|
11198
|
-
end
|
11199
|
-
|
11200
11257
|
# Resource name and display name.
|
11201
11258
|
class GoogleCloudDialogflowCxV3beta1ResourceName
|
11202
11259
|
include Google::Apis::Core::Hashable
|
@@ -11577,7 +11634,8 @@ module Google
|
|
11577
11634
|
attr_accessor :allow_playback_interruption
|
11578
11635
|
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
11579
11636
|
|
11580
|
-
# Required. A collection of text
|
11637
|
+
# Required. A collection of text response variants. If multiple variants are
|
11638
|
+
# defined, only one text response variant is returned at runtime.
|
11581
11639
|
# Corresponds to the JSON property `text`
|
11582
11640
|
# @return [Array<String>]
|
11583
11641
|
attr_accessor :text
|
@@ -11872,6 +11930,11 @@ module Google
|
|
11872
11930
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase>]
|
11873
11931
|
attr_accessor :banned_phrases
|
11874
11932
|
|
11933
|
+
# Optional. Default phrase match strategy for banned phrases.
|
11934
|
+
# Corresponds to the JSON property `defaultBannedPhraseMatchStrategy`
|
11935
|
+
# @return [String]
|
11936
|
+
attr_accessor :default_banned_phrase_match_strategy
|
11937
|
+
|
11875
11938
|
def initialize(**args)
|
11876
11939
|
update!(**args)
|
11877
11940
|
end
|
@@ -11879,6 +11942,7 @@ module Google
|
|
11879
11942
|
# Update properties of this object
|
11880
11943
|
def update!(**args)
|
11881
11944
|
@banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
|
11945
|
+
@default_banned_phrase_match_strategy = args[:default_banned_phrase_match_strategy] if args.key?(:default_banned_phrase_match_strategy)
|
11882
11946
|
end
|
11883
11947
|
end
|
11884
11948
|
|
@@ -12374,7 +12438,7 @@ module Google
|
|
12374
12438
|
attr_accessor :last_test_result
|
12375
12439
|
|
12376
12440
|
# The unique identifier of the test case. TestCases.CreateTestCase will populate
|
12377
|
-
# the name automatically. Otherwise use format: `projects//locations//agents
|
12441
|
+
# the name automatically. Otherwise use format: `projects//locations//agents//
|
12378
12442
|
# testCases/`.
|
12379
12443
|
# Corresponds to the JSON property `name`
|
12380
12444
|
# @return [String]
|
@@ -12468,7 +12532,7 @@ module Google
|
|
12468
12532
|
attr_accessor :environment
|
12469
12533
|
|
12470
12534
|
# The resource name for the test case result. Format: `projects//locations//
|
12471
|
-
# agents//testCases
|
12535
|
+
# agents//testCases//results/`.
|
12472
12536
|
# Corresponds to the JSON property `name`
|
12473
12537
|
# @return [String]
|
12474
12538
|
attr_accessor :name
|
@@ -12716,6 +12780,11 @@ module Google
|
|
12716
12780
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationApiKeyConfig]
|
12717
12781
|
attr_accessor :api_key_config
|
12718
12782
|
|
12783
|
+
# Config for authentication using bearer token.
|
12784
|
+
# Corresponds to the JSON property `bearerTokenConfig`
|
12785
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig]
|
12786
|
+
attr_accessor :bearer_token_config
|
12787
|
+
|
12719
12788
|
# Config for authentication with OAuth.
|
12720
12789
|
# Corresponds to the JSON property `oauthConfig`
|
12721
12790
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig]
|
@@ -12734,6 +12803,7 @@ module Google
|
|
12734
12803
|
# Update properties of this object
|
12735
12804
|
def update!(**args)
|
12736
12805
|
@api_key_config = args[:api_key_config] if args.key?(:api_key_config)
|
12806
|
+
@bearer_token_config = args[:bearer_token_config] if args.key?(:bearer_token_config)
|
12737
12807
|
@oauth_config = args[:oauth_config] if args.key?(:oauth_config)
|
12738
12808
|
@service_agent_auth_config = args[:service_agent_auth_config] if args.key?(:service_agent_auth_config)
|
12739
12809
|
end
|
@@ -12772,6 +12842,28 @@ module Google
|
|
12772
12842
|
end
|
12773
12843
|
end
|
12774
12844
|
|
12845
|
+
# Config for authentication using bearer token.
|
12846
|
+
class GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig
|
12847
|
+
include Google::Apis::Core::Hashable
|
12848
|
+
|
12849
|
+
# Required. The text token appended to the text `Bearer` to the request
|
12850
|
+
# Authorization header. [Session parameters reference](https://cloud.google.com/
|
12851
|
+
# dialogflow/cx/docs/concept/parameter#session-ref) can be used to pass the
|
12852
|
+
# token dynamically, e.g. `$session.params.parameter-id`.
|
12853
|
+
# Corresponds to the JSON property `token`
|
12854
|
+
# @return [String]
|
12855
|
+
attr_accessor :token
|
12856
|
+
|
12857
|
+
def initialize(**args)
|
12858
|
+
update!(**args)
|
12859
|
+
end
|
12860
|
+
|
12861
|
+
# Update properties of this object
|
12862
|
+
def update!(**args)
|
12863
|
+
@token = args[:token] if args.key?(:token)
|
12864
|
+
end
|
12865
|
+
end
|
12866
|
+
|
12775
12867
|
# Config for authentication with OAuth.
|
12776
12868
|
class GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig
|
12777
12869
|
include Google::Apis::Core::Hashable
|
@@ -12791,6 +12883,11 @@ module Google
|
|
12791
12883
|
# @return [String]
|
12792
12884
|
attr_accessor :oauth_grant_type
|
12793
12885
|
|
12886
|
+
# Optional. The OAuth scopes to grant.
|
12887
|
+
# Corresponds to the JSON property `scopes`
|
12888
|
+
# @return [Array<String>]
|
12889
|
+
attr_accessor :scopes
|
12890
|
+
|
12794
12891
|
# Required. The token endpoint in the OAuth provider to exchange for an access
|
12795
12892
|
# token.
|
12796
12893
|
# Corresponds to the JSON property `tokenEndpoint`
|
@@ -12806,6 +12903,7 @@ module Google
|
|
12806
12903
|
@client_id = args[:client_id] if args.key?(:client_id)
|
12807
12904
|
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
12808
12905
|
@oauth_grant_type = args[:oauth_grant_type] if args.key?(:oauth_grant_type)
|
12906
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
12809
12907
|
@token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
|
12810
12908
|
end
|
12811
12909
|
end
|
@@ -12815,12 +12913,20 @@ module Google
|
|
12815
12913
|
class GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig
|
12816
12914
|
include Google::Apis::Core::Hashable
|
12817
12915
|
|
12916
|
+
# Optional. Indicate the auth token type generated from the [Diglogflow service
|
12917
|
+
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
|
12918
|
+
# agent). The generated token is sent in the Authorization header.
|
12919
|
+
# Corresponds to the JSON property `serviceAgentAuth`
|
12920
|
+
# @return [String]
|
12921
|
+
attr_accessor :service_agent_auth
|
12922
|
+
|
12818
12923
|
def initialize(**args)
|
12819
12924
|
update!(**args)
|
12820
12925
|
end
|
12821
12926
|
|
12822
12927
|
# Update properties of this object
|
12823
12928
|
def update!(**args)
|
12929
|
+
@service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
|
12824
12930
|
end
|
12825
12931
|
end
|
12826
12932
|
|
@@ -13013,6 +13119,11 @@ module Google
|
|
13013
13119
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthentication]
|
13014
13120
|
attr_accessor :authentication
|
13015
13121
|
|
13122
|
+
# Configuration for tools using Service Directory.
|
13123
|
+
# Corresponds to the JSON property `serviceDirectoryConfig`
|
13124
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig]
|
13125
|
+
attr_accessor :service_directory_config
|
13126
|
+
|
13016
13127
|
# Required. The OpenAPI schema specified as a text.
|
13017
13128
|
# Corresponds to the JSON property `textSchema`
|
13018
13129
|
# @return [String]
|
@@ -13030,11 +13141,34 @@ module Google
|
|
13030
13141
|
# Update properties of this object
|
13031
13142
|
def update!(**args)
|
13032
13143
|
@authentication = args[:authentication] if args.key?(:authentication)
|
13144
|
+
@service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
|
13033
13145
|
@text_schema = args[:text_schema] if args.key?(:text_schema)
|
13034
13146
|
@tls_config = args[:tls_config] if args.key?(:tls_config)
|
13035
13147
|
end
|
13036
13148
|
end
|
13037
13149
|
|
13150
|
+
# Configuration for tools using Service Directory.
|
13151
|
+
class GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig
|
13152
|
+
include Google::Apis::Core::Hashable
|
13153
|
+
|
13154
|
+
# Required. The name of [Service Directory](https://cloud.google.com/service-
|
13155
|
+
# directory) service. Format: `projects//locations//namespaces//services/`. `
|
13156
|
+
# LocationID` of the service directory must be the same as the location of the
|
13157
|
+
# agent.
|
13158
|
+
# Corresponds to the JSON property `service`
|
13159
|
+
# @return [String]
|
13160
|
+
attr_accessor :service
|
13161
|
+
|
13162
|
+
def initialize(**args)
|
13163
|
+
update!(**args)
|
13164
|
+
end
|
13165
|
+
|
13166
|
+
# Update properties of this object
|
13167
|
+
def update!(**args)
|
13168
|
+
@service = args[:service] if args.key?(:service)
|
13169
|
+
end
|
13170
|
+
end
|
13171
|
+
|
13038
13172
|
# The TLS configuration.
|
13039
13173
|
class GoogleCloudDialogflowCxV3beta1ToolTlsConfig
|
13040
13174
|
include Google::Apis::Core::Hashable
|
@@ -13564,14 +13698,46 @@ module Google
|
|
13564
13698
|
end
|
13565
13699
|
end
|
13566
13700
|
|
13567
|
-
#
|
13568
|
-
|
13701
|
+
# Encapsulates different type schema variations: either a reference to an a
|
13702
|
+
# schema that's already defined by a tool, or an inline definition.
|
13703
|
+
class GoogleCloudDialogflowCxV3beta1TypeSchema
|
13704
|
+
include Google::Apis::Core::Hashable
|
13705
|
+
|
13706
|
+
# A type schema object that's specified inline.
|
13707
|
+
# Corresponds to the JSON property `inlineSchema`
|
13708
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSchema]
|
13709
|
+
attr_accessor :inline_schema
|
13710
|
+
|
13711
|
+
# A reference to the schema of an existing tool.
|
13712
|
+
# Corresponds to the JSON property `schemaReference`
|
13713
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference]
|
13714
|
+
attr_accessor :schema_reference
|
13715
|
+
|
13716
|
+
def initialize(**args)
|
13717
|
+
update!(**args)
|
13718
|
+
end
|
13719
|
+
|
13720
|
+
# Update properties of this object
|
13721
|
+
def update!(**args)
|
13722
|
+
@inline_schema = args[:inline_schema] if args.key?(:inline_schema)
|
13723
|
+
@schema_reference = args[:schema_reference] if args.key?(:schema_reference)
|
13724
|
+
end
|
13725
|
+
end
|
13726
|
+
|
13727
|
+
# A reference to the schema of an existing tool.
|
13728
|
+
class GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference
|
13569
13729
|
include Google::Apis::Core::Hashable
|
13570
13730
|
|
13571
|
-
#
|
13572
|
-
# Corresponds to the JSON property `
|
13573
|
-
# @return [
|
13574
|
-
attr_accessor :
|
13731
|
+
# The name of the schema.
|
13732
|
+
# Corresponds to the JSON property `schema`
|
13733
|
+
# @return [String]
|
13734
|
+
attr_accessor :schema
|
13735
|
+
|
13736
|
+
# The tool that contains this schema definition. Format: `projects//locations//
|
13737
|
+
# agents//tools/`.
|
13738
|
+
# Corresponds to the JSON property `tool`
|
13739
|
+
# @return [String]
|
13740
|
+
attr_accessor :tool
|
13575
13741
|
|
13576
13742
|
def initialize(**args)
|
13577
13743
|
update!(**args)
|
@@ -13579,7 +13745,8 @@ module Google
|
|
13579
13745
|
|
13580
13746
|
# Update properties of this object
|
13581
13747
|
def update!(**args)
|
13582
|
-
@
|
13748
|
+
@schema = args[:schema] if args.key?(:schema)
|
13749
|
+
@tool = args[:tool] if args.key?(:tool)
|
13583
13750
|
end
|
13584
13751
|
end
|
13585
13752
|
|
@@ -14518,7 +14685,7 @@ module Google
|
|
14518
14685
|
end
|
14519
14686
|
end
|
14520
14687
|
|
14521
|
-
# Metadata for a
|
14688
|
+
# Metadata for a ConversationProfiles.ClearSuggestionFeatureConfig operation.
|
14522
14689
|
class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
|
14523
14690
|
include Google::Apis::Core::Hashable
|
14524
14691
|
|
@@ -14699,6 +14866,20 @@ module Google
|
|
14699
14866
|
# @return [String]
|
14700
14867
|
attr_accessor :name
|
14701
14868
|
|
14869
|
+
# Output only. A read only boolean field reflecting Zone Isolation status of the
|
14870
|
+
# model.
|
14871
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
14872
|
+
# @return [Boolean]
|
14873
|
+
attr_accessor :satisfies_pzi
|
14874
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
14875
|
+
|
14876
|
+
# Output only. A read only boolean field reflecting Zone Separation status of
|
14877
|
+
# the model.
|
14878
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
14879
|
+
# @return [Boolean]
|
14880
|
+
attr_accessor :satisfies_pzs
|
14881
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
14882
|
+
|
14702
14883
|
# Metadata for smart reply models.
|
14703
14884
|
# Corresponds to the JSON property `smartReplyModelMetadata`
|
14704
14885
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SmartReplyModelMetadata]
|
@@ -14722,12 +14903,14 @@ module Google
|
|
14722
14903
|
@display_name = args[:display_name] if args.key?(:display_name)
|
14723
14904
|
@language_code = args[:language_code] if args.key?(:language_code)
|
14724
14905
|
@name = args[:name] if args.key?(:name)
|
14906
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
14907
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
14725
14908
|
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
|
14726
14909
|
@state = args[:state] if args.key?(:state)
|
14727
14910
|
end
|
14728
14911
|
end
|
14729
14912
|
|
14730
|
-
# Metadata for
|
14913
|
+
# Metadata for CreateConversationDataset.
|
14731
14914
|
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
|
14732
14915
|
include Google::Apis::Core::Hashable
|
14733
14916
|
|
@@ -14820,7 +15003,7 @@ module Google
|
|
14820
15003
|
end
|
14821
15004
|
end
|
14822
15005
|
|
14823
|
-
# Metadata for
|
15006
|
+
# Metadata for DeleteConversationDataset.
|
14824
15007
|
class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
|
14825
15008
|
include Google::Apis::Core::Hashable
|
14826
15009
|
|
@@ -14887,6 +15070,37 @@ module Google
|
|
14887
15070
|
end
|
14888
15071
|
end
|
14889
15072
|
|
15073
|
+
# A customer-managed encryption key specification that can be applied to all
|
15074
|
+
# created resources (e.g. Conversation).
|
15075
|
+
class GoogleCloudDialogflowV2EncryptionSpec
|
15076
|
+
include Google::Apis::Core::Hashable
|
15077
|
+
|
15078
|
+
# Required. The name of customer-managed encryption key that is used to secure a
|
15079
|
+
# resource and its sub-resources. If empty, the resource is secured by the
|
15080
|
+
# default Google encryption key. Only the key in the same location as this
|
15081
|
+
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
15082
|
+
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
15083
|
+
# Corresponds to the JSON property `kmsKey`
|
15084
|
+
# @return [String]
|
15085
|
+
attr_accessor :kms_key
|
15086
|
+
|
15087
|
+
# Immutable. The resource name of the encryption key specification resource.
|
15088
|
+
# Format: projects/`project`/locations/`location`/encryptionSpec
|
15089
|
+
# Corresponds to the JSON property `name`
|
15090
|
+
# @return [String]
|
15091
|
+
attr_accessor :name
|
15092
|
+
|
15093
|
+
def initialize(**args)
|
15094
|
+
update!(**args)
|
15095
|
+
end
|
15096
|
+
|
15097
|
+
# Update properties of this object
|
15098
|
+
def update!(**args)
|
15099
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
15100
|
+
@name = args[:name] if args.key?(:name)
|
15101
|
+
end
|
15102
|
+
end
|
15103
|
+
|
14890
15104
|
# Each intent parameter has a type, called the entity type, which dictates
|
14891
15105
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
14892
15106
|
# predefined system entities that can match many common types of data. For
|
@@ -15261,6 +15475,45 @@ module Google
|
|
15261
15475
|
end
|
15262
15476
|
end
|
15263
15477
|
|
15478
|
+
# Metadata for initializing a location-level encryption specification.
|
15479
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
15480
|
+
include Google::Apis::Core::Hashable
|
15481
|
+
|
15482
|
+
# The request to initialize a location-level encryption specification.
|
15483
|
+
# Corresponds to the JSON property `request`
|
15484
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
|
15485
|
+
attr_accessor :request
|
15486
|
+
|
15487
|
+
def initialize(**args)
|
15488
|
+
update!(**args)
|
15489
|
+
end
|
15490
|
+
|
15491
|
+
# Update properties of this object
|
15492
|
+
def update!(**args)
|
15493
|
+
@request = args[:request] if args.key?(:request)
|
15494
|
+
end
|
15495
|
+
end
|
15496
|
+
|
15497
|
+
# The request to initialize a location-level encryption specification.
|
15498
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
15499
|
+
include Google::Apis::Core::Hashable
|
15500
|
+
|
15501
|
+
# A customer-managed encryption key specification that can be applied to all
|
15502
|
+
# created resources (e.g. Conversation).
|
15503
|
+
# Corresponds to the JSON property `encryptionSpec`
|
15504
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EncryptionSpec]
|
15505
|
+
attr_accessor :encryption_spec
|
15506
|
+
|
15507
|
+
def initialize(**args)
|
15508
|
+
update!(**args)
|
15509
|
+
end
|
15510
|
+
|
15511
|
+
# Update properties of this object
|
15512
|
+
def update!(**args)
|
15513
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
15514
|
+
end
|
15515
|
+
end
|
15516
|
+
|
15264
15517
|
# InputDataset used to create model or do evaluation. NextID:5
|
15265
15518
|
class GoogleCloudDialogflowV2InputDataset
|
15266
15519
|
include Google::Apis::Core::Hashable
|
@@ -16639,6 +16892,11 @@ module Google
|
|
16639
16892
|
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
16640
16893
|
include Google::Apis::Core::Hashable
|
16641
16894
|
|
16895
|
+
# Metadata of the document.
|
16896
|
+
# Corresponds to the JSON property `metadata`
|
16897
|
+
# @return [Hash<String,Object>]
|
16898
|
+
attr_accessor :metadata
|
16899
|
+
|
16642
16900
|
# Text taken from that URI.
|
16643
16901
|
# Corresponds to the JSON property `text`
|
16644
16902
|
# @return [String]
|
@@ -16660,6 +16918,7 @@ module Google
|
|
16660
16918
|
|
16661
16919
|
# Update properties of this object
|
16662
16920
|
def update!(**args)
|
16921
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
16663
16922
|
@text = args[:text] if args.key?(:text)
|
16664
16923
|
@title = args[:title] if args.key?(:title)
|
16665
16924
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -16764,12 +17023,11 @@ module Google
|
|
16764
17023
|
|
16765
17024
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
16766
17025
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
16767
|
-
# attitude as positive, negative, or neutral. For
|
16768
|
-
#
|
16769
|
-
#
|
16770
|
-
#
|
16771
|
-
#
|
16772
|
-
# ConversationProfile.human_agent_assistant_config
|
17026
|
+
# attitude as positive, negative, or neutral. For DetectIntent, it needs to be
|
17027
|
+
# configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
|
17028
|
+
# needs to be configured in StreamingDetectIntentRequest.query_params. And for
|
17029
|
+
# Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
|
17030
|
+
# to be configured in ConversationProfile.human_agent_assistant_config
|
16773
17031
|
# Corresponds to the JSON property `sentimentAnalysis`
|
16774
17032
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
|
16775
17033
|
attr_accessor :sentiment_analysis
|
@@ -16966,12 +17224,11 @@ module Google
|
|
16966
17224
|
|
16967
17225
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
16968
17226
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
16969
|
-
# attitude as positive, negative, or neutral. For
|
16970
|
-
#
|
16971
|
-
#
|
16972
|
-
#
|
16973
|
-
#
|
16974
|
-
# ConversationProfile.human_agent_assistant_config
|
17227
|
+
# attitude as positive, negative, or neutral. For DetectIntent, it needs to be
|
17228
|
+
# configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
|
17229
|
+
# needs to be configured in StreamingDetectIntentRequest.query_params. And for
|
17230
|
+
# Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
|
17231
|
+
# to be configured in ConversationProfile.human_agent_assistant_config
|
16975
17232
|
# Corresponds to the JSON property `sentimentAnalysisResult`
|
16976
17233
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
|
16977
17234
|
attr_accessor :sentiment_analysis_result
|
@@ -17055,12 +17312,11 @@ module Google
|
|
17055
17312
|
|
17056
17313
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
17057
17314
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
17058
|
-
# attitude as positive, negative, or neutral. For
|
17059
|
-
#
|
17060
|
-
#
|
17061
|
-
#
|
17062
|
-
#
|
17063
|
-
# ConversationProfile.human_agent_assistant_config
|
17315
|
+
# attitude as positive, negative, or neutral. For DetectIntent, it needs to be
|
17316
|
+
# configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
|
17317
|
+
# needs to be configured in StreamingDetectIntentRequest.query_params. And for
|
17318
|
+
# Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
|
17319
|
+
# to be configured in ConversationProfile.human_agent_assistant_config
|
17064
17320
|
class GoogleCloudDialogflowV2SentimentAnalysisResult
|
17065
17321
|
include Google::Apis::Core::Hashable
|
17066
17322
|
|
@@ -17125,7 +17381,7 @@ module Google
|
|
17125
17381
|
end
|
17126
17382
|
end
|
17127
17383
|
|
17128
|
-
# Metadata for a
|
17384
|
+
# Metadata for a ConversationProfiles.SetSuggestionFeatureConfig operation.
|
17129
17385
|
class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
|
17130
17386
|
include Google::Apis::Core::Hashable
|
17131
17387
|
|
@@ -17857,6 +18113,37 @@ module Google
|
|
17857
18113
|
end
|
17858
18114
|
end
|
17859
18115
|
|
18116
|
+
# A customer-managed encryption key specification that can be applied to all
|
18117
|
+
# created resources (e.g. Conversation).
|
18118
|
+
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
18119
|
+
include Google::Apis::Core::Hashable
|
18120
|
+
|
18121
|
+
# Required. The name of customer-managed encryption key that is used to secure a
|
18122
|
+
# resource and its sub-resources. If empty, the resource is secured by the
|
18123
|
+
# default Google encryption key. Only the key in the same location as this
|
18124
|
+
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
18125
|
+
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
18126
|
+
# Corresponds to the JSON property `kmsKey`
|
18127
|
+
# @return [String]
|
18128
|
+
attr_accessor :kms_key
|
18129
|
+
|
18130
|
+
# Immutable. The resource name of the encryption key specification resource.
|
18131
|
+
# Format: projects/`project`/locations/`location`/encryptionSpec
|
18132
|
+
# Corresponds to the JSON property `name`
|
18133
|
+
# @return [String]
|
18134
|
+
attr_accessor :name
|
18135
|
+
|
18136
|
+
def initialize(**args)
|
18137
|
+
update!(**args)
|
18138
|
+
end
|
18139
|
+
|
18140
|
+
# Update properties of this object
|
18141
|
+
def update!(**args)
|
18142
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
18143
|
+
@name = args[:name] if args.key?(:name)
|
18144
|
+
end
|
18145
|
+
end
|
18146
|
+
|
17860
18147
|
# Each intent parameter has a type, called the entity type, which dictates
|
17861
18148
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
17862
18149
|
# predefined system entities that can match many common types of data. For
|
@@ -18175,19 +18462,58 @@ module Google
|
|
18175
18462
|
end
|
18176
18463
|
end
|
18177
18464
|
|
18178
|
-
#
|
18179
|
-
|
18180
|
-
# complete conversation. When an end-user writes or says something, referred to
|
18181
|
-
# as an end-user expression or end-user input, Dialogflow matches the end-user
|
18182
|
-
# input to the best intent in your agent. Matching an intent is also known as
|
18183
|
-
# intent classification. For more information, see the [intent guide](https://
|
18184
|
-
# cloud.google.com/dialogflow/docs/intents-overview).
|
18185
|
-
class GoogleCloudDialogflowV2beta1Intent
|
18465
|
+
# Metadata for initializing a location-level encryption specification.
|
18466
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
18186
18467
|
include Google::Apis::Core::Hashable
|
18187
18468
|
|
18188
|
-
#
|
18189
|
-
#
|
18190
|
-
#
|
18469
|
+
# The request to initialize a location-level encryption specification.
|
18470
|
+
# Corresponds to the JSON property `request`
|
18471
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
|
18472
|
+
attr_accessor :request
|
18473
|
+
|
18474
|
+
def initialize(**args)
|
18475
|
+
update!(**args)
|
18476
|
+
end
|
18477
|
+
|
18478
|
+
# Update properties of this object
|
18479
|
+
def update!(**args)
|
18480
|
+
@request = args[:request] if args.key?(:request)
|
18481
|
+
end
|
18482
|
+
end
|
18483
|
+
|
18484
|
+
# The request to initialize a location-level encryption specification.
|
18485
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
18486
|
+
include Google::Apis::Core::Hashable
|
18487
|
+
|
18488
|
+
# A customer-managed encryption key specification that can be applied to all
|
18489
|
+
# created resources (e.g. Conversation).
|
18490
|
+
# Corresponds to the JSON property `encryptionSpec`
|
18491
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EncryptionSpec]
|
18492
|
+
attr_accessor :encryption_spec
|
18493
|
+
|
18494
|
+
def initialize(**args)
|
18495
|
+
update!(**args)
|
18496
|
+
end
|
18497
|
+
|
18498
|
+
# Update properties of this object
|
18499
|
+
def update!(**args)
|
18500
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
18501
|
+
end
|
18502
|
+
end
|
18503
|
+
|
18504
|
+
# An intent categorizes an end-user's intention for one conversation turn. For
|
18505
|
+
# each agent, you define many intents, where your combined intents can handle a
|
18506
|
+
# complete conversation. When an end-user writes or says something, referred to
|
18507
|
+
# as an end-user expression or end-user input, Dialogflow matches the end-user
|
18508
|
+
# input to the best intent in your agent. Matching an intent is also known as
|
18509
|
+
# intent classification. For more information, see the [intent guide](https://
|
18510
|
+
# cloud.google.com/dialogflow/docs/intents-overview).
|
18511
|
+
class GoogleCloudDialogflowV2beta1Intent
|
18512
|
+
include Google::Apis::Core::Hashable
|
18513
|
+
|
18514
|
+
# Optional. The name of the action associated with the intent. Note: The action
|
18515
|
+
# name must not contain whitespaces.
|
18516
|
+
# Corresponds to the JSON property `action`
|
18191
18517
|
# @return [String]
|
18192
18518
|
attr_accessor :action
|
18193
18519
|
|
@@ -20113,6 +20439,11 @@ module Google
|
|
20113
20439
|
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
20114
20440
|
include Google::Apis::Core::Hashable
|
20115
20441
|
|
20442
|
+
# Metadata of the document.
|
20443
|
+
# Corresponds to the JSON property `metadata`
|
20444
|
+
# @return [Hash<String,Object>]
|
20445
|
+
attr_accessor :metadata
|
20446
|
+
|
20116
20447
|
# Text taken from that URI.
|
20117
20448
|
# Corresponds to the JSON property `text`
|
20118
20449
|
# @return [String]
|
@@ -20134,6 +20465,7 @@ module Google
|
|
20134
20465
|
|
20135
20466
|
# Update properties of this object
|
20136
20467
|
def update!(**args)
|
20468
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
20137
20469
|
@text = args[:text] if args.key?(:text)
|
20138
20470
|
@title = args[:title] if args.key?(:title)
|
20139
20471
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -20231,6 +20563,11 @@ module Google
|
|
20231
20563
|
# @return [String]
|
20232
20564
|
attr_accessor :participant_role
|
20233
20565
|
|
20566
|
+
# Optional. Automated agent responses.
|
20567
|
+
# Corresponds to the JSON property `responseMessages`
|
20568
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessage>]
|
20569
|
+
attr_accessor :response_messages
|
20570
|
+
|
20234
20571
|
# Optional. The time when the message was sent.
|
20235
20572
|
# Corresponds to the JSON property `sendTime`
|
20236
20573
|
# @return [String]
|
@@ -20261,6 +20598,7 @@ module Google
|
|
20261
20598
|
@name = args[:name] if args.key?(:name)
|
20262
20599
|
@participant = args[:participant] if args.key?(:participant)
|
20263
20600
|
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
20601
|
+
@response_messages = args[:response_messages] if args.key?(:response_messages)
|
20264
20602
|
@send_time = args[:send_time] if args.key?(:send_time)
|
20265
20603
|
@sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
|
20266
20604
|
end
|
@@ -20504,6 +20842,204 @@ module Google
|
|
20504
20842
|
end
|
20505
20843
|
end
|
20506
20844
|
|
20845
|
+
# Response messages from an automated agent.
|
20846
|
+
class GoogleCloudDialogflowV2beta1ResponseMessage
|
20847
|
+
include Google::Apis::Core::Hashable
|
20848
|
+
|
20849
|
+
# Indicates that interaction with the Dialogflow agent has ended.
|
20850
|
+
# Corresponds to the JSON property `endInteraction`
|
20851
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction]
|
20852
|
+
attr_accessor :end_interaction
|
20853
|
+
|
20854
|
+
# Indicates that the conversation should be handed off to a human agent.
|
20855
|
+
# Dialogflow only uses this to determine which conversations were handed off to
|
20856
|
+
# a human agent for measurement purposes. What else to do with this signal is up
|
20857
|
+
# to you and your handoff procedures. You may set this, for example: * In the
|
20858
|
+
# entry fulfillment of a CX Page if entering the page indicates something went
|
20859
|
+
# extremely wrong in the conversation. * In a webhook response when you
|
20860
|
+
# determine that the customer issue can only be handled by a human.
|
20861
|
+
# Corresponds to the JSON property `liveAgentHandoff`
|
20862
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff]
|
20863
|
+
attr_accessor :live_agent_handoff
|
20864
|
+
|
20865
|
+
# Represents an audio message that is composed of both segments synthesized from
|
20866
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
20867
|
+
# Corresponds to the JSON property `mixedAudio`
|
20868
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio]
|
20869
|
+
attr_accessor :mixed_audio
|
20870
|
+
|
20871
|
+
# Returns a response containing a custom, platform-specific payload.
|
20872
|
+
# Corresponds to the JSON property `payload`
|
20873
|
+
# @return [Hash<String,Object>]
|
20874
|
+
attr_accessor :payload
|
20875
|
+
|
20876
|
+
# Represents the signal that telles the client to transfer the phone call
|
20877
|
+
# connected to the agent to a third-party endpoint.
|
20878
|
+
# Corresponds to the JSON property `telephonyTransferCall`
|
20879
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall]
|
20880
|
+
attr_accessor :telephony_transfer_call
|
20881
|
+
|
20882
|
+
# The text response message.
|
20883
|
+
# Corresponds to the JSON property `text`
|
20884
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageText]
|
20885
|
+
attr_accessor :text
|
20886
|
+
|
20887
|
+
def initialize(**args)
|
20888
|
+
update!(**args)
|
20889
|
+
end
|
20890
|
+
|
20891
|
+
# Update properties of this object
|
20892
|
+
def update!(**args)
|
20893
|
+
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
20894
|
+
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
20895
|
+
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
20896
|
+
@payload = args[:payload] if args.key?(:payload)
|
20897
|
+
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
20898
|
+
@text = args[:text] if args.key?(:text)
|
20899
|
+
end
|
20900
|
+
end
|
20901
|
+
|
20902
|
+
# Indicates that interaction with the Dialogflow agent has ended.
|
20903
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
|
20904
|
+
include Google::Apis::Core::Hashable
|
20905
|
+
|
20906
|
+
def initialize(**args)
|
20907
|
+
update!(**args)
|
20908
|
+
end
|
20909
|
+
|
20910
|
+
# Update properties of this object
|
20911
|
+
def update!(**args)
|
20912
|
+
end
|
20913
|
+
end
|
20914
|
+
|
20915
|
+
# Indicates that the conversation should be handed off to a human agent.
|
20916
|
+
# Dialogflow only uses this to determine which conversations were handed off to
|
20917
|
+
# a human agent for measurement purposes. What else to do with this signal is up
|
20918
|
+
# to you and your handoff procedures. You may set this, for example: * In the
|
20919
|
+
# entry fulfillment of a CX Page if entering the page indicates something went
|
20920
|
+
# extremely wrong in the conversation. * In a webhook response when you
|
20921
|
+
# determine that the customer issue can only be handled by a human.
|
20922
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
|
20923
|
+
include Google::Apis::Core::Hashable
|
20924
|
+
|
20925
|
+
# Custom metadata for your handoff procedure. Dialogflow doesn't impose any
|
20926
|
+
# structure on this.
|
20927
|
+
# Corresponds to the JSON property `metadata`
|
20928
|
+
# @return [Hash<String,Object>]
|
20929
|
+
attr_accessor :metadata
|
20930
|
+
|
20931
|
+
def initialize(**args)
|
20932
|
+
update!(**args)
|
20933
|
+
end
|
20934
|
+
|
20935
|
+
# Update properties of this object
|
20936
|
+
def update!(**args)
|
20937
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
20938
|
+
end
|
20939
|
+
end
|
20940
|
+
|
20941
|
+
# Represents an audio message that is composed of both segments synthesized from
|
20942
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
20943
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
|
20944
|
+
include Google::Apis::Core::Hashable
|
20945
|
+
|
20946
|
+
# Segments this audio response is composed of.
|
20947
|
+
# Corresponds to the JSON property `segments`
|
20948
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment>]
|
20949
|
+
attr_accessor :segments
|
20950
|
+
|
20951
|
+
def initialize(**args)
|
20952
|
+
update!(**args)
|
20953
|
+
end
|
20954
|
+
|
20955
|
+
# Update properties of this object
|
20956
|
+
def update!(**args)
|
20957
|
+
@segments = args[:segments] if args.key?(:segments)
|
20958
|
+
end
|
20959
|
+
end
|
20960
|
+
|
20961
|
+
# Represents one segment of audio.
|
20962
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
|
20963
|
+
include Google::Apis::Core::Hashable
|
20964
|
+
|
20965
|
+
# Whether the playback of this segment can be interrupted by the end user's
|
20966
|
+
# speech and the client should then start the next Dialogflow request.
|
20967
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
20968
|
+
# @return [Boolean]
|
20969
|
+
attr_accessor :allow_playback_interruption
|
20970
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
20971
|
+
|
20972
|
+
# Raw audio synthesized from the Dialogflow agent's response using the output
|
20973
|
+
# config specified in the request.
|
20974
|
+
# Corresponds to the JSON property `audio`
|
20975
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
20976
|
+
# @return [String]
|
20977
|
+
attr_accessor :audio
|
20978
|
+
|
20979
|
+
# Client-specific URI that points to an audio clip accessible to the client.
|
20980
|
+
# Corresponds to the JSON property `uri`
|
20981
|
+
# @return [String]
|
20982
|
+
attr_accessor :uri
|
20983
|
+
|
20984
|
+
def initialize(**args)
|
20985
|
+
update!(**args)
|
20986
|
+
end
|
20987
|
+
|
20988
|
+
# Update properties of this object
|
20989
|
+
def update!(**args)
|
20990
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
20991
|
+
@audio = args[:audio] if args.key?(:audio)
|
20992
|
+
@uri = args[:uri] if args.key?(:uri)
|
20993
|
+
end
|
20994
|
+
end
|
20995
|
+
|
20996
|
+
# Represents the signal that telles the client to transfer the phone call
|
20997
|
+
# connected to the agent to a third-party endpoint.
|
20998
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
|
20999
|
+
include Google::Apis::Core::Hashable
|
21000
|
+
|
21001
|
+
# Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
|
21002
|
+
# wiki/E.164).
|
21003
|
+
# Corresponds to the JSON property `phoneNumber`
|
21004
|
+
# @return [String]
|
21005
|
+
attr_accessor :phone_number
|
21006
|
+
|
21007
|
+
# Transfer the call to a SIP endpoint.
|
21008
|
+
# Corresponds to the JSON property `sipUri`
|
21009
|
+
# @return [String]
|
21010
|
+
attr_accessor :sip_uri
|
21011
|
+
|
21012
|
+
def initialize(**args)
|
21013
|
+
update!(**args)
|
21014
|
+
end
|
21015
|
+
|
21016
|
+
# Update properties of this object
|
21017
|
+
def update!(**args)
|
21018
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
21019
|
+
@sip_uri = args[:sip_uri] if args.key?(:sip_uri)
|
21020
|
+
end
|
21021
|
+
end
|
21022
|
+
|
21023
|
+
# The text response message.
|
21024
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageText
|
21025
|
+
include Google::Apis::Core::Hashable
|
21026
|
+
|
21027
|
+
# A collection of text response variants. If multiple variants are defined, only
|
21028
|
+
# one text response variant is returned at runtime.
|
21029
|
+
# Corresponds to the JSON property `text`
|
21030
|
+
# @return [Array<String>]
|
21031
|
+
attr_accessor :text
|
21032
|
+
|
21033
|
+
def initialize(**args)
|
21034
|
+
update!(**args)
|
21035
|
+
end
|
21036
|
+
|
21037
|
+
# Update properties of this object
|
21038
|
+
def update!(**args)
|
21039
|
+
@text = args[:text] if args.key?(:text)
|
21040
|
+
end
|
21041
|
+
end
|
21042
|
+
|
20507
21043
|
# The sentiment, such as positive/negative feeling or association, for a unit of
|
20508
21044
|
# analysis, such as the query text. See: https://cloud.google.com/natural-
|
20509
21045
|
# language/docs/basics#interpreting_sentiment_analysis_values for how to
|
@@ -21091,120 +21627,6 @@ module Google
|
|
21091
21627
|
end
|
21092
21628
|
end
|
21093
21629
|
|
21094
|
-
# Metadata for CreateDocument operation.
|
21095
|
-
class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
|
21096
|
-
include Google::Apis::Core::Hashable
|
21097
|
-
|
21098
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
21099
|
-
# Corresponds to the JSON property `genericMetadata`
|
21100
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
21101
|
-
attr_accessor :generic_metadata
|
21102
|
-
|
21103
|
-
def initialize(**args)
|
21104
|
-
update!(**args)
|
21105
|
-
end
|
21106
|
-
|
21107
|
-
# Update properties of this object
|
21108
|
-
def update!(**args)
|
21109
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
21110
|
-
end
|
21111
|
-
end
|
21112
|
-
|
21113
|
-
# Metadata for DeleteDocument operation.
|
21114
|
-
class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata
|
21115
|
-
include Google::Apis::Core::Hashable
|
21116
|
-
|
21117
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
21118
|
-
# Corresponds to the JSON property `genericMetadata`
|
21119
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
21120
|
-
attr_accessor :generic_metadata
|
21121
|
-
|
21122
|
-
def initialize(**args)
|
21123
|
-
update!(**args)
|
21124
|
-
end
|
21125
|
-
|
21126
|
-
# Update properties of this object
|
21127
|
-
def update!(**args)
|
21128
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
21129
|
-
end
|
21130
|
-
end
|
21131
|
-
|
21132
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
21133
|
-
class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata
|
21134
|
-
include Google::Apis::Core::Hashable
|
21135
|
-
|
21136
|
-
# Required. Output only. The current state of this operation.
|
21137
|
-
# Corresponds to the JSON property `state`
|
21138
|
-
# @return [String]
|
21139
|
-
attr_accessor :state
|
21140
|
-
|
21141
|
-
def initialize(**args)
|
21142
|
-
update!(**args)
|
21143
|
-
end
|
21144
|
-
|
21145
|
-
# Update properties of this object
|
21146
|
-
def update!(**args)
|
21147
|
-
@state = args[:state] if args.key?(:state)
|
21148
|
-
end
|
21149
|
-
end
|
21150
|
-
|
21151
|
-
# Metadata for ImportDocuments operation.
|
21152
|
-
class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata
|
21153
|
-
include Google::Apis::Core::Hashable
|
21154
|
-
|
21155
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
21156
|
-
# Corresponds to the JSON property `genericMetadata`
|
21157
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
21158
|
-
attr_accessor :generic_metadata
|
21159
|
-
|
21160
|
-
def initialize(**args)
|
21161
|
-
update!(**args)
|
21162
|
-
end
|
21163
|
-
|
21164
|
-
# Update properties of this object
|
21165
|
-
def update!(**args)
|
21166
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
21167
|
-
end
|
21168
|
-
end
|
21169
|
-
|
21170
|
-
# Response message for Documents.ImportDocuments.
|
21171
|
-
class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse
|
21172
|
-
include Google::Apis::Core::Hashable
|
21173
|
-
|
21174
|
-
# Includes details about skipped documents or any other warnings.
|
21175
|
-
# Corresponds to the JSON property `warnings`
|
21176
|
-
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
|
21177
|
-
attr_accessor :warnings
|
21178
|
-
|
21179
|
-
def initialize(**args)
|
21180
|
-
update!(**args)
|
21181
|
-
end
|
21182
|
-
|
21183
|
-
# Update properties of this object
|
21184
|
-
def update!(**args)
|
21185
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
21186
|
-
end
|
21187
|
-
end
|
21188
|
-
|
21189
|
-
# Metadata for ReloadDocument operation.
|
21190
|
-
class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata
|
21191
|
-
include Google::Apis::Core::Hashable
|
21192
|
-
|
21193
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
21194
|
-
# Corresponds to the JSON property `genericMetadata`
|
21195
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
21196
|
-
attr_accessor :generic_metadata
|
21197
|
-
|
21198
|
-
def initialize(**args)
|
21199
|
-
update!(**args)
|
21200
|
-
end
|
21201
|
-
|
21202
|
-
# Update properties of this object
|
21203
|
-
def update!(**args)
|
21204
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
21205
|
-
end
|
21206
|
-
end
|
21207
|
-
|
21208
21630
|
# Collection of all signals that were extracted for a single turn of the
|
21209
21631
|
# conversation.
|
21210
21632
|
class GoogleCloudDialogflowV3alpha1TurnSignals
|
@@ -21295,25 +21717,6 @@ module Google
|
|
21295
21717
|
end
|
21296
21718
|
end
|
21297
21719
|
|
21298
|
-
# Metadata for UpdateDocument operation.
|
21299
|
-
class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
|
21300
|
-
include Google::Apis::Core::Hashable
|
21301
|
-
|
21302
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
21303
|
-
# Corresponds to the JSON property `genericMetadata`
|
21304
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
21305
|
-
attr_accessor :generic_metadata
|
21306
|
-
|
21307
|
-
def initialize(**args)
|
21308
|
-
update!(**args)
|
21309
|
-
end
|
21310
|
-
|
21311
|
-
# Update properties of this object
|
21312
|
-
def update!(**args)
|
21313
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
21314
|
-
end
|
21315
|
-
end
|
21316
|
-
|
21317
21720
|
# The response message for Locations.ListLocations.
|
21318
21721
|
class GoogleCloudLocationListLocationsResponse
|
21319
21722
|
include Google::Apis::Core::Hashable
|