google-apis-dialogflow_v3beta1 0.89.0 → 0.91.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 +633 -437
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +230 -274
- data/lib/google/apis/dialogflow_v3beta1/service.rb +119 -15
- 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
|
@@ -1445,63 +1418,6 @@ module Google
|
|
1445
1418
|
end
|
1446
1419
|
end
|
1447
1420
|
|
1448
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
1449
|
-
class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
|
1450
|
-
include Google::Apis::Core::Hashable
|
1451
|
-
|
1452
|
-
# Required. Output only. The current state of this operation.
|
1453
|
-
# Corresponds to the JSON property `state`
|
1454
|
-
# @return [String]
|
1455
|
-
attr_accessor :state
|
1456
|
-
|
1457
|
-
def initialize(**args)
|
1458
|
-
update!(**args)
|
1459
|
-
end
|
1460
|
-
|
1461
|
-
# Update properties of this object
|
1462
|
-
def update!(**args)
|
1463
|
-
@state = args[:state] if args.key?(:state)
|
1464
|
-
end
|
1465
|
-
end
|
1466
|
-
|
1467
|
-
# Metadata for ImportDocuments operation.
|
1468
|
-
class GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata
|
1469
|
-
include Google::Apis::Core::Hashable
|
1470
|
-
|
1471
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
1472
|
-
# Corresponds to the JSON property `genericMetadata`
|
1473
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
|
1474
|
-
attr_accessor :generic_metadata
|
1475
|
-
|
1476
|
-
def initialize(**args)
|
1477
|
-
update!(**args)
|
1478
|
-
end
|
1479
|
-
|
1480
|
-
# Update properties of this object
|
1481
|
-
def update!(**args)
|
1482
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
1483
|
-
end
|
1484
|
-
end
|
1485
|
-
|
1486
|
-
# Response message for Documents.ImportDocuments.
|
1487
|
-
class GoogleCloudDialogflowCxV3ImportDocumentsResponse
|
1488
|
-
include Google::Apis::Core::Hashable
|
1489
|
-
|
1490
|
-
# Includes details about skipped documents or any other warnings.
|
1491
|
-
# Corresponds to the JSON property `warnings`
|
1492
|
-
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
|
1493
|
-
attr_accessor :warnings
|
1494
|
-
|
1495
|
-
def initialize(**args)
|
1496
|
-
update!(**args)
|
1497
|
-
end
|
1498
|
-
|
1499
|
-
# Update properties of this object
|
1500
|
-
def update!(**args)
|
1501
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
1502
|
-
end
|
1503
|
-
end
|
1504
|
-
|
1505
1421
|
# Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
|
1506
1422
|
class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
|
1507
1423
|
include Google::Apis::Core::Hashable
|
@@ -1741,7 +1657,7 @@ module Google
|
|
1741
1657
|
# utterance has been detected. Note that no-speech event is not expected in this
|
1742
1658
|
# phase. The client provides this configuration in terms of the durations of
|
1743
1659
|
# those two phases. The durations are measured in terms of the audio length from
|
1744
|
-
# the
|
1660
|
+
# the start of the input audio. No-speech event is a response with
|
1745
1661
|
# END_OF_UTTERANCE without any transcript following up.
|
1746
1662
|
# Corresponds to the JSON property `bargeInConfig`
|
1747
1663
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3BargeInConfig]
|
@@ -2414,25 +2330,6 @@ module Google
|
|
2414
2330
|
end
|
2415
2331
|
end
|
2416
2332
|
|
2417
|
-
# Metadata for ReloadDocument operation.
|
2418
|
-
class GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata
|
2419
|
-
include Google::Apis::Core::Hashable
|
2420
|
-
|
2421
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
2422
|
-
# Corresponds to the JSON property `genericMetadata`
|
2423
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
|
2424
|
-
attr_accessor :generic_metadata
|
2425
|
-
|
2426
|
-
def initialize(**args)
|
2427
|
-
update!(**args)
|
2428
|
-
end
|
2429
|
-
|
2430
|
-
# Update properties of this object
|
2431
|
-
def update!(**args)
|
2432
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2433
|
-
end
|
2434
|
-
end
|
2435
|
-
|
2436
2333
|
# Represents a response message that can be returned by a conversational agent.
|
2437
2334
|
# Response messages are also used for output audio synthesis. The approach is as
|
2438
2335
|
# follows: * If at least one OutputAudioText response is present, then all
|
@@ -2788,7 +2685,8 @@ module Google
|
|
2788
2685
|
attr_accessor :allow_playback_interruption
|
2789
2686
|
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
2790
2687
|
|
2791
|
-
# Required. A collection of text
|
2688
|
+
# Required. A collection of text response variants. If multiple variants are
|
2689
|
+
# defined, only one text response variant is returned at runtime.
|
2792
2690
|
# Corresponds to the JSON property `text`
|
2793
2691
|
# @return [Array<String>]
|
2794
2692
|
attr_accessor :text
|
@@ -2929,7 +2827,7 @@ module Google
|
|
2929
2827
|
attr_accessor :last_test_result
|
2930
2828
|
|
2931
2829
|
# The unique identifier of the test case. TestCases.CreateTestCase will populate
|
2932
|
-
# the name automatically. Otherwise use format: `projects//locations//agents
|
2830
|
+
# the name automatically. Otherwise use format: `projects//locations//agents//
|
2933
2831
|
# testCases/`.
|
2934
2832
|
# Corresponds to the JSON property `name`
|
2935
2833
|
# @return [String]
|
@@ -3023,7 +2921,7 @@ module Google
|
|
3023
2921
|
attr_accessor :environment
|
3024
2922
|
|
3025
2923
|
# The resource name for the test case result. Format: `projects//locations//
|
3026
|
-
# agents//testCases
|
2924
|
+
# agents//testCases//results/`.
|
3027
2925
|
# Corresponds to the JSON property `name`
|
3028
2926
|
# @return [String]
|
3029
2927
|
attr_accessor :name
|
@@ -3330,25 +3228,6 @@ module Google
|
|
3330
3228
|
end
|
3331
3229
|
end
|
3332
3230
|
|
3333
|
-
# Metadata for UpdateDocument operation.
|
3334
|
-
class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
|
3335
|
-
include Google::Apis::Core::Hashable
|
3336
|
-
|
3337
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
3338
|
-
# Corresponds to the JSON property `genericMetadata`
|
3339
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
|
3340
|
-
attr_accessor :generic_metadata
|
3341
|
-
|
3342
|
-
def initialize(**args)
|
3343
|
-
update!(**args)
|
3344
|
-
end
|
3345
|
-
|
3346
|
-
# Update properties of this object
|
3347
|
-
def update!(**args)
|
3348
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
3349
|
-
end
|
3350
|
-
end
|
3351
|
-
|
3352
3231
|
# Webhooks host the developer's business logic. During a session, webhooks allow
|
3353
3232
|
# the developer to use the data extracted by Dialogflow's natural language
|
3354
3233
|
# processing to generate dynamic responses, validate collected data, or trigger
|
@@ -3882,12 +3761,12 @@ module Google
|
|
3882
3761
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentUtterance]
|
3883
3762
|
attr_accessor :agent_utterance
|
3884
3763
|
|
3885
|
-
# Stores metadata of the invocation of a CX flow.
|
3764
|
+
# Stores metadata of the invocation of a CX flow.
|
3886
3765
|
# Corresponds to the JSON property `flowInvocation`
|
3887
3766
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowInvocation]
|
3888
3767
|
attr_accessor :flow_invocation
|
3889
3768
|
|
3890
|
-
# Stores metadata of the invocation of a child playbook.
|
3769
|
+
# Stores metadata of the invocation of a child playbook.
|
3891
3770
|
# Corresponds to the JSON property `playbookInvocation`
|
3892
3771
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation]
|
3893
3772
|
attr_accessor :playbook_invocation
|
@@ -4013,13 +3892,21 @@ module Google
|
|
4013
3892
|
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
|
4014
3893
|
include Google::Apis::Core::Hashable
|
4015
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
|
+
|
4016
3903
|
# Enables DF Interaction logging.
|
4017
3904
|
# Corresponds to the JSON property `enableInteractionLogging`
|
4018
3905
|
# @return [Boolean]
|
4019
3906
|
attr_accessor :enable_interaction_logging
|
4020
3907
|
alias_method :enable_interaction_logging?, :enable_interaction_logging
|
4021
3908
|
|
4022
|
-
# Enables
|
3909
|
+
# Enables Google Cloud Logging.
|
4023
3910
|
# Corresponds to the JSON property `enableStackdriverLogging`
|
4024
3911
|
# @return [Boolean]
|
4025
3912
|
attr_accessor :enable_stackdriver_logging
|
@@ -4031,6 +3918,7 @@ module Google
|
|
4031
3918
|
|
4032
3919
|
# Update properties of this object
|
4033
3920
|
def update!(**args)
|
3921
|
+
@enable_consent_based_redaction = args[:enable_consent_based_redaction] if args.key?(:enable_consent_based_redaction)
|
4034
3922
|
@enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
|
4035
3923
|
@enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
|
4036
3924
|
end
|
@@ -4112,6 +4000,16 @@ module Google
|
|
4112
4000
|
# @return [String]
|
4113
4001
|
attr_accessor :avatar_uri
|
4114
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
|
+
|
4115
4013
|
# Required. Immutable. The default language of the agent as a language tag. See [
|
4116
4014
|
# Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/
|
4117
4015
|
# language) for a list of the currently supported language codes. This field
|
@@ -4234,6 +4132,8 @@ module Google
|
|
4234
4132
|
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
4235
4133
|
@answer_feedback_settings = args[:answer_feedback_settings] if args.key?(:answer_feedback_settings)
|
4236
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)
|
4237
4137
|
@default_language_code = args[:default_language_code] if args.key?(:default_language_code)
|
4238
4138
|
@description = args[:description] if args.key?(:description)
|
4239
4139
|
@display_name = args[:display_name] if args.key?(:display_name)
|
@@ -4277,6 +4177,42 @@ module Google
|
|
4277
4177
|
end
|
4278
4178
|
end
|
4279
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
|
+
|
4280
4216
|
# Settings for Gen App Builder.
|
4281
4217
|
class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings
|
4282
4218
|
include Google::Apis::Core::Hashable
|
@@ -4533,7 +4469,7 @@ module Google
|
|
4533
4469
|
# utterance has been detected. Note that no-speech event is not expected in this
|
4534
4470
|
# phase. The client provides this configuration in terms of the durations of
|
4535
4471
|
# those two phases. The durations are measured in terms of the audio length from
|
4536
|
-
# the
|
4472
|
+
# the start of the input audio. No-speech event is a response with
|
4537
4473
|
# END_OF_UTTERANCE without any transcript following up.
|
4538
4474
|
class GoogleCloudDialogflowCxV3beta1BargeInConfig
|
4539
4475
|
include Google::Apis::Core::Hashable
|
@@ -4563,8 +4499,7 @@ module Google
|
|
4563
4499
|
class GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest
|
4564
4500
|
include Google::Apis::Core::Hashable
|
4565
4501
|
|
4566
|
-
# Required. Format of test case names: `projects//locations
|
4567
|
-
# .
|
4502
|
+
# Required. Format of test case names: `projects//locations//agents//testCases/`.
|
4568
4503
|
# Corresponds to the JSON property `names`
|
4569
4504
|
# @return [Array<String>]
|
4570
4505
|
attr_accessor :names
|
@@ -4644,6 +4579,32 @@ module Google
|
|
4644
4579
|
end
|
4645
4580
|
end
|
4646
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
|
+
|
4647
4608
|
# Boost specification to boost certain documents. A copy of google.cloud.
|
4648
4609
|
# discoveryengine.v1main.BoostSpec, field documentation is available at https://
|
4649
4610
|
# cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/
|
@@ -4688,6 +4649,13 @@ module Google
|
|
4688
4649
|
# @return [Float]
|
4689
4650
|
attr_accessor :boost
|
4690
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
|
+
|
4691
4659
|
# Optional. An expression which specifies a boost condition. The syntax and
|
4692
4660
|
# supported fields are the same as a filter expression. Examples: * To boost
|
4693
4661
|
# documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * (
|
@@ -4703,10 +4671,89 @@ module Google
|
|
4703
4671
|
# Update properties of this object
|
4704
4672
|
def update!(**args)
|
4705
4673
|
@boost = args[:boost] if args.key?(:boost)
|
4674
|
+
@boost_control_spec = args[:boost_control_spec] if args.key?(:boost_control_spec)
|
4706
4675
|
@condition = args[:condition] if args.key?(:condition)
|
4707
4676
|
end
|
4708
4677
|
end
|
4709
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
|
+
|
4710
4757
|
# Boost specifications for data stores.
|
4711
4758
|
class GoogleCloudDialogflowCxV3beta1BoostSpecs
|
4712
4759
|
include Google::Apis::Core::Hashable
|
@@ -5044,6 +5091,11 @@ module Google
|
|
5044
5091
|
class GoogleCloudDialogflowCxV3beta1ConversationInteraction
|
5045
5092
|
include Google::Apis::Core::Hashable
|
5046
5093
|
|
5094
|
+
# Stores information about feedback provided by users about a response.
|
5095
|
+
# Corresponds to the JSON property `answerFeedback`
|
5096
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback]
|
5097
|
+
attr_accessor :answer_feedback
|
5098
|
+
|
5047
5099
|
# The time that the interaction was created.
|
5048
5100
|
# Corresponds to the JSON property `createTime`
|
5049
5101
|
# @return [String]
|
@@ -5089,6 +5141,7 @@ module Google
|
|
5089
5141
|
|
5090
5142
|
# Update properties of this object
|
5091
5143
|
def update!(**args)
|
5144
|
+
@answer_feedback = args[:answer_feedback] if args.key?(:answer_feedback)
|
5092
5145
|
@create_time = args[:create_time] if args.key?(:create_time)
|
5093
5146
|
@missing_transition = args[:missing_transition] if args.key?(:missing_transition)
|
5094
5147
|
@partial_responses = args[:partial_responses] if args.key?(:partial_responses)
|
@@ -5466,25 +5519,6 @@ module Google
|
|
5466
5519
|
end
|
5467
5520
|
end
|
5468
5521
|
|
5469
|
-
# Metadata for CreateDocument operation.
|
5470
|
-
class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata
|
5471
|
-
include Google::Apis::Core::Hashable
|
5472
|
-
|
5473
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
5474
|
-
# Corresponds to the JSON property `genericMetadata`
|
5475
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
5476
|
-
attr_accessor :generic_metadata
|
5477
|
-
|
5478
|
-
def initialize(**args)
|
5479
|
-
update!(**args)
|
5480
|
-
end
|
5481
|
-
|
5482
|
-
# Update properties of this object
|
5483
|
-
def update!(**args)
|
5484
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
5485
|
-
end
|
5486
|
-
end
|
5487
|
-
|
5488
5522
|
# Metadata associated with the long running operation for Versions.CreateVersion.
|
5489
5523
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
5490
5524
|
include Google::Apis::Core::Hashable
|
@@ -5806,25 +5840,6 @@ module Google
|
|
5806
5840
|
end
|
5807
5841
|
end
|
5808
5842
|
|
5809
|
-
# Metadata for DeleteDocument operation.
|
5810
|
-
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
5811
|
-
include Google::Apis::Core::Hashable
|
5812
|
-
|
5813
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
5814
|
-
# Corresponds to the JSON property `genericMetadata`
|
5815
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
5816
|
-
attr_accessor :generic_metadata
|
5817
|
-
|
5818
|
-
def initialize(**args)
|
5819
|
-
update!(**args)
|
5820
|
-
end
|
5821
|
-
|
5822
|
-
# Update properties of this object
|
5823
|
-
def update!(**args)
|
5824
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
5825
|
-
end
|
5826
|
-
end
|
5827
|
-
|
5828
5843
|
# Metadata returned for the Environments.DeployFlow long running operation.
|
5829
5844
|
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
5830
5845
|
include Google::Apis::Core::Hashable
|
@@ -6336,7 +6351,7 @@ module Google
|
|
6336
6351
|
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
6337
6352
|
|
6338
6353
|
# A list of test case names to run. They should be under the same agent. Format
|
6339
|
-
# of each test case name: `projects//locations
|
6354
|
+
# of each test case name: `projects//locations//agents//testCases/`
|
6340
6355
|
# Corresponds to the JSON property `testCases`
|
6341
6356
|
# @return [Array<String>]
|
6342
6357
|
attr_accessor :test_cases
|
@@ -6357,7 +6372,9 @@ module Google
|
|
6357
6372
|
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
6358
6373
|
include Google::Apis::Core::Hashable
|
6359
6374
|
|
6360
|
-
# Required. Format
|
6375
|
+
# Required. Both flow and playbook versions are supported. Format for flow
|
6376
|
+
# version: projects//locations//agents//flows//versions/. Format for playbook
|
6377
|
+
# version: projects//locations//agents//playbooks//versions/.
|
6361
6378
|
# Corresponds to the JSON property `version`
|
6362
6379
|
# @return [String]
|
6363
6380
|
attr_accessor :version
|
@@ -6510,7 +6527,8 @@ module Google
|
|
6510
6527
|
|
6511
6528
|
# Optional. The language code of the example. If not specified, the agent's
|
6512
6529
|
# default language is used. Note: languages must be enabled in the agent before
|
6513
|
-
# they can be used.
|
6530
|
+
# they can be used. Note: example's language code is not currently used in
|
6531
|
+
# dialogflow agents.
|
6514
6532
|
# Corresponds to the JSON property `languageCode`
|
6515
6533
|
# @return [String]
|
6516
6534
|
attr_accessor :language_code
|
@@ -6605,7 +6623,7 @@ module Google
|
|
6605
6623
|
attr_accessor :last_update_time
|
6606
6624
|
|
6607
6625
|
# The name of the experiment. Format: projects//locations//agents//environments//
|
6608
|
-
# experiments
|
6626
|
+
# experiments/.
|
6609
6627
|
# Corresponds to the JSON property `name`
|
6610
6628
|
# @return [String]
|
6611
6629
|
attr_accessor :name
|
@@ -7198,6 +7216,38 @@ module Google
|
|
7198
7216
|
end
|
7199
7217
|
end
|
7200
7218
|
|
7219
|
+
# The request message for Playbooks.ExportPlaybook.
|
7220
|
+
class GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest
|
7221
|
+
include Google::Apis::Core::Hashable
|
7222
|
+
|
7223
|
+
# Optional. The data format of the exported agent. If not specified, `BLOB` is
|
7224
|
+
# assumed.
|
7225
|
+
# Corresponds to the JSON property `dataFormat`
|
7226
|
+
# @return [String]
|
7227
|
+
attr_accessor :data_format
|
7228
|
+
|
7229
|
+
# Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
7230
|
+
# URI to export the playbook to. The format of this URI must be `gs:///`. If
|
7231
|
+
# left unspecified, the serialized playbook is returned inline. Dialogflow
|
7232
|
+
# performs a write operation for the Cloud Storage object on the caller's behalf,
|
7233
|
+
# so your request authentication must have write permissions for the object.
|
7234
|
+
# For more information, see [Dialogflow access control](https://cloud.google.com/
|
7235
|
+
# dialogflow/cx/docs/concept/access-control#storage).
|
7236
|
+
# Corresponds to the JSON property `playbookUri`
|
7237
|
+
# @return [String]
|
7238
|
+
attr_accessor :playbook_uri
|
7239
|
+
|
7240
|
+
def initialize(**args)
|
7241
|
+
update!(**args)
|
7242
|
+
end
|
7243
|
+
|
7244
|
+
# Update properties of this object
|
7245
|
+
def update!(**args)
|
7246
|
+
@data_format = args[:data_format] if args.key?(:data_format)
|
7247
|
+
@playbook_uri = args[:playbook_uri] if args.key?(:playbook_uri)
|
7248
|
+
end
|
7249
|
+
end
|
7250
|
+
|
7201
7251
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
7202
7252
|
# This message currently has no fields.
|
7203
7253
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
@@ -7410,6 +7460,13 @@ module Google
|
|
7410
7460
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings]
|
7411
7461
|
attr_accessor :knowledge_connector_settings
|
7412
7462
|
|
7463
|
+
# Indicates whether the flow is locked for changes. If the flow is locked,
|
7464
|
+
# modifications to the flow will be rejected.
|
7465
|
+
# Corresponds to the JSON property `locked`
|
7466
|
+
# @return [Boolean]
|
7467
|
+
attr_accessor :locked
|
7468
|
+
alias_method :locked?, :locked
|
7469
|
+
|
7413
7470
|
# Settings for multi-lingual agents.
|
7414
7471
|
# Corresponds to the JSON property `multiLanguageSettings`
|
7415
7472
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings]
|
@@ -7460,6 +7517,7 @@ module Google
|
|
7460
7517
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7461
7518
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
7462
7519
|
@knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
|
7520
|
+
@locked = args[:locked] if args.key?(:locked)
|
7463
7521
|
@multi_language_settings = args[:multi_language_settings] if args.key?(:multi_language_settings)
|
7464
7522
|
@name = args[:name] if args.key?(:name)
|
7465
7523
|
@nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings)
|
@@ -7491,12 +7549,17 @@ module Google
|
|
7491
7549
|
end
|
7492
7550
|
end
|
7493
7551
|
|
7494
|
-
# Stores metadata of the invocation of a CX flow.
|
7552
|
+
# Stores metadata of the invocation of a CX flow.
|
7495
7553
|
class GoogleCloudDialogflowCxV3beta1FlowInvocation
|
7496
7554
|
include Google::Apis::Core::Hashable
|
7497
7555
|
|
7556
|
+
# Output only. The display name of the flow.
|
7557
|
+
# Corresponds to the JSON property `displayName`
|
7558
|
+
# @return [String]
|
7559
|
+
attr_accessor :display_name
|
7560
|
+
|
7498
7561
|
# Required. The unique identifier of the flow. Format: `projects//locations//
|
7499
|
-
# agents/`.
|
7562
|
+
# agents//flows/`.
|
7500
7563
|
# Corresponds to the JSON property `flow`
|
7501
7564
|
# @return [String]
|
7502
7565
|
attr_accessor :flow
|
@@ -7522,6 +7585,7 @@ module Google
|
|
7522
7585
|
|
7523
7586
|
# Update properties of this object
|
7524
7587
|
def update!(**args)
|
7588
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
7525
7589
|
@flow = args[:flow] if args.key?(:flow)
|
7526
7590
|
@flow_state = args[:flow_state] if args.key?(:flow_state)
|
7527
7591
|
@input_action_parameters = args[:input_action_parameters] if args.key?(:input_action_parameters)
|
@@ -8259,6 +8323,11 @@ module Google
|
|
8259
8323
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettings]
|
8260
8324
|
attr_accessor :llm_model_settings
|
8261
8325
|
|
8326
|
+
# Parameters to be passed to the LLM. If not set, default values will be used.
|
8327
|
+
# Corresponds to the JSON property `modelParameter`
|
8328
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GeneratorModelParameter]
|
8329
|
+
attr_accessor :model_parameter
|
8330
|
+
|
8262
8331
|
# The unique identifier of the generator. Must be set for the Generators.
|
8263
8332
|
# UpdateGenerator method. Generators.CreateGenerate populates the name
|
8264
8333
|
# automatically. Format: `projects//locations//agents//generators/`.
|
@@ -8284,45 +8353,43 @@ module Google
|
|
8284
8353
|
def update!(**args)
|
8285
8354
|
@display_name = args[:display_name] if args.key?(:display_name)
|
8286
8355
|
@llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings)
|
8356
|
+
@model_parameter = args[:model_parameter] if args.key?(:model_parameter)
|
8287
8357
|
@name = args[:name] if args.key?(:name)
|
8288
8358
|
@placeholders = args[:placeholders] if args.key?(:placeholders)
|
8289
8359
|
@prompt_text = args[:prompt_text] if args.key?(:prompt_text)
|
8290
8360
|
end
|
8291
8361
|
end
|
8292
8362
|
|
8293
|
-
#
|
8294
|
-
class
|
8363
|
+
# Parameters to be passed to the LLM. If not set, default values will be used.
|
8364
|
+
class GoogleCloudDialogflowCxV3beta1GeneratorModelParameter
|
8295
8365
|
include Google::Apis::Core::Hashable
|
8296
8366
|
|
8297
|
-
#
|
8298
|
-
# Corresponds to the JSON property `
|
8299
|
-
# @return [
|
8300
|
-
attr_accessor :
|
8301
|
-
|
8302
|
-
# Custom placeholder value in the prompt text.
|
8303
|
-
# Corresponds to the JSON property `name`
|
8304
|
-
# @return [String]
|
8305
|
-
attr_accessor :name
|
8306
|
-
|
8307
|
-
def initialize(**args)
|
8308
|
-
update!(**args)
|
8309
|
-
end
|
8367
|
+
# The maximum number of tokens to generate.
|
8368
|
+
# Corresponds to the JSON property `maxDecodeSteps`
|
8369
|
+
# @return [Fixnum]
|
8370
|
+
attr_accessor :max_decode_steps
|
8310
8371
|
|
8311
|
-
#
|
8312
|
-
|
8313
|
-
|
8314
|
-
|
8315
|
-
|
8316
|
-
|
8372
|
+
# The temperature used for sampling. Temperature sampling occurs after both topP
|
8373
|
+
# and topK have been applied. Valid range: [0.0, 1.0] Low temperature = less
|
8374
|
+
# random. High temperature = more random.
|
8375
|
+
# Corresponds to the JSON property `temperature`
|
8376
|
+
# @return [Float]
|
8377
|
+
attr_accessor :temperature
|
8317
8378
|
|
8318
|
-
|
8319
|
-
|
8320
|
-
|
8379
|
+
# If set, the sampling process in each step is limited to the top_k tokens with
|
8380
|
+
# highest probabilities. Valid range: [1, 40] or 1000+. Small topK = less random.
|
8381
|
+
# Large topK = more random.
|
8382
|
+
# Corresponds to the JSON property `topK`
|
8383
|
+
# @return [Fixnum]
|
8384
|
+
attr_accessor :top_k
|
8321
8385
|
|
8322
|
-
#
|
8323
|
-
#
|
8324
|
-
#
|
8325
|
-
|
8386
|
+
# If set, only the tokens comprising the top top_p probability mass are
|
8387
|
+
# considered. If both top_p and top_k are set, top_p will be used for further
|
8388
|
+
# refining candidates selected with top_k. Valid range: (0.0, 1.0]. Small topP =
|
8389
|
+
# less random. Large topP = more random.
|
8390
|
+
# Corresponds to the JSON property `topP`
|
8391
|
+
# @return [Float]
|
8392
|
+
attr_accessor :top_p
|
8326
8393
|
|
8327
8394
|
def initialize(**args)
|
8328
8395
|
update!(**args)
|
@@ -8330,37 +8397,26 @@ module Google
|
|
8330
8397
|
|
8331
8398
|
# Update properties of this object
|
8332
8399
|
def update!(**args)
|
8333
|
-
@
|
8400
|
+
@max_decode_steps = args[:max_decode_steps] if args.key?(:max_decode_steps)
|
8401
|
+
@temperature = args[:temperature] if args.key?(:temperature)
|
8402
|
+
@top_k = args[:top_k] if args.key?(:top_k)
|
8403
|
+
@top_p = args[:top_p] if args.key?(:top_p)
|
8334
8404
|
end
|
8335
8405
|
end
|
8336
8406
|
|
8337
|
-
#
|
8338
|
-
class
|
8407
|
+
# Represents a custom placeholder in the prompt text.
|
8408
|
+
class GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder
|
8339
8409
|
include Google::Apis::Core::Hashable
|
8340
8410
|
|
8341
|
-
#
|
8342
|
-
# Corresponds to the JSON property `
|
8343
|
-
# @return [
|
8344
|
-
attr_accessor :
|
8345
|
-
|
8346
|
-
def initialize(**args)
|
8347
|
-
update!(**args)
|
8348
|
-
end
|
8349
|
-
|
8350
|
-
# Update properties of this object
|
8351
|
-
def update!(**args)
|
8352
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
8353
|
-
end
|
8354
|
-
end
|
8355
|
-
|
8356
|
-
# Response message for Documents.ImportDocuments.
|
8357
|
-
class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse
|
8358
|
-
include Google::Apis::Core::Hashable
|
8411
|
+
# Unique ID used to map custom placeholder to parameters in fulfillment.
|
8412
|
+
# Corresponds to the JSON property `id`
|
8413
|
+
# @return [String]
|
8414
|
+
attr_accessor :id
|
8359
8415
|
|
8360
|
-
#
|
8361
|
-
# Corresponds to the JSON property `
|
8362
|
-
# @return [
|
8363
|
-
attr_accessor :
|
8416
|
+
# Custom placeholder value in the prompt text.
|
8417
|
+
# Corresponds to the JSON property `name`
|
8418
|
+
# @return [String]
|
8419
|
+
attr_accessor :name
|
8364
8420
|
|
8365
8421
|
def initialize(**args)
|
8366
8422
|
update!(**args)
|
@@ -8368,7 +8424,8 @@ module Google
|
|
8368
8424
|
|
8369
8425
|
# Update properties of this object
|
8370
8426
|
def update!(**args)
|
8371
|
-
@
|
8427
|
+
@id = args[:id] if args.key?(:id)
|
8428
|
+
@name = args[:name] if args.key?(:name)
|
8372
8429
|
end
|
8373
8430
|
end
|
8374
8431
|
|
@@ -8656,6 +8713,40 @@ module Google
|
|
8656
8713
|
end
|
8657
8714
|
end
|
8658
8715
|
|
8716
|
+
# The request message for Playbooks.ImportPlaybook.
|
8717
|
+
class GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest
|
8718
|
+
include Google::Apis::Core::Hashable
|
8719
|
+
|
8720
|
+
# The playbook import strategy used for resource conflict resolution associated
|
8721
|
+
# with an ImportPlaybookRequest.
|
8722
|
+
# Corresponds to the JSON property `importStrategy`
|
8723
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy]
|
8724
|
+
attr_accessor :import_strategy
|
8725
|
+
|
8726
|
+
# Uncompressed raw byte content for playbook.
|
8727
|
+
# Corresponds to the JSON property `playbookContent`
|
8728
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
8729
|
+
# @return [String]
|
8730
|
+
attr_accessor :playbook_content
|
8731
|
+
|
8732
|
+
# [Dialogflow access control] (https://cloud.google.com/dialogflow/cx/docs/
|
8733
|
+
# concept/access-control#storage).
|
8734
|
+
# Corresponds to the JSON property `playbookUri`
|
8735
|
+
# @return [String]
|
8736
|
+
attr_accessor :playbook_uri
|
8737
|
+
|
8738
|
+
def initialize(**args)
|
8739
|
+
update!(**args)
|
8740
|
+
end
|
8741
|
+
|
8742
|
+
# Update properties of this object
|
8743
|
+
def update!(**args)
|
8744
|
+
@import_strategy = args[:import_strategy] if args.key?(:import_strategy)
|
8745
|
+
@playbook_content = args[:playbook_content] if args.key?(:playbook_content)
|
8746
|
+
@playbook_uri = args[:playbook_uri] if args.key?(:playbook_uri)
|
8747
|
+
end
|
8748
|
+
end
|
8749
|
+
|
8659
8750
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
8660
8751
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
8661
8752
|
include Google::Apis::Core::Hashable
|
@@ -8748,6 +8839,32 @@ module Google
|
|
8748
8839
|
end
|
8749
8840
|
end
|
8750
8841
|
|
8842
|
+
# A type schema object that's specified inline.
|
8843
|
+
class GoogleCloudDialogflowCxV3beta1InlineSchema
|
8844
|
+
include Google::Apis::Core::Hashable
|
8845
|
+
|
8846
|
+
# Encapsulates different type schema variations: either a reference to an a
|
8847
|
+
# schema that's already defined by a tool, or an inline definition.
|
8848
|
+
# Corresponds to the JSON property `items`
|
8849
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema]
|
8850
|
+
attr_accessor :items
|
8851
|
+
|
8852
|
+
# Data type of the schema.
|
8853
|
+
# Corresponds to the JSON property `type`
|
8854
|
+
# @return [String]
|
8855
|
+
attr_accessor :type
|
8856
|
+
|
8857
|
+
def initialize(**args)
|
8858
|
+
update!(**args)
|
8859
|
+
end
|
8860
|
+
|
8861
|
+
# Update properties of this object
|
8862
|
+
def update!(**args)
|
8863
|
+
@items = args[:items] if args.key?(:items)
|
8864
|
+
@type = args[:type] if args.key?(:type)
|
8865
|
+
end
|
8866
|
+
end
|
8867
|
+
|
8751
8868
|
# Inline source for a Dialogflow operation that reads or imports objects (e.g.
|
8752
8869
|
# intents) into Dialogflow.
|
8753
8870
|
class GoogleCloudDialogflowCxV3beta1InlineSource
|
@@ -8791,7 +8908,7 @@ module Google
|
|
8791
8908
|
# utterance has been detected. Note that no-speech event is not expected in this
|
8792
8909
|
# phase. The client provides this configuration in terms of the durations of
|
8793
8910
|
# those two phases. The durations are measured in terms of the audio length from
|
8794
|
-
# the
|
8911
|
+
# the start of the input audio. No-speech event is a response with
|
8795
8912
|
# END_OF_UTTERANCE without any transcript following up.
|
8796
8913
|
# Corresponds to the JSON property `bargeInConfig`
|
8797
8914
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BargeInConfig]
|
@@ -10104,7 +10221,8 @@ module Google
|
|
10104
10221
|
# classification threshold. If the returned score value is less than the
|
10105
10222
|
# threshold value, then a no-match event will be triggered. The score values
|
10106
10223
|
# range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.
|
10107
|
-
# 0, the default of 0.3 is used.
|
10224
|
+
# 0, the default of 0.3 is used. You can set a separate classification threshold
|
10225
|
+
# for the flow in each language enabled for the agent.
|
10108
10226
|
# Corresponds to the JSON property `classificationThreshold`
|
10109
10227
|
# @return [Float]
|
10110
10228
|
attr_accessor :classification_threshold
|
@@ -10414,11 +10532,17 @@ module Google
|
|
10414
10532
|
# @return [String]
|
10415
10533
|
attr_accessor :name
|
10416
10534
|
|
10417
|
-
#
|
10535
|
+
# Type of parameter.
|
10418
10536
|
# Corresponds to the JSON property `type`
|
10419
10537
|
# @return [String]
|
10420
10538
|
attr_accessor :type
|
10421
10539
|
|
10540
|
+
# Encapsulates different type schema variations: either a reference to an a
|
10541
|
+
# schema that's already defined by a tool, or an inline definition.
|
10542
|
+
# Corresponds to the JSON property `typeSchema`
|
10543
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema]
|
10544
|
+
attr_accessor :type_schema
|
10545
|
+
|
10422
10546
|
def initialize(**args)
|
10423
10547
|
update!(**args)
|
10424
10548
|
end
|
@@ -10428,6 +10552,7 @@ module Google
|
|
10428
10552
|
@description = args[:description] if args.key?(:description)
|
10429
10553
|
@name = args[:name] if args.key?(:name)
|
10430
10554
|
@type = args[:type] if args.key?(:type)
|
10555
|
+
@type_schema = args[:type_schema] if args.key?(:type_schema)
|
10431
10556
|
end
|
10432
10557
|
end
|
10433
10558
|
|
@@ -10552,6 +10677,43 @@ module Google
|
|
10552
10677
|
end
|
10553
10678
|
end
|
10554
10679
|
|
10680
|
+
# The playbook import strategy used for resource conflict resolution associated
|
10681
|
+
# with an ImportPlaybookRequest.
|
10682
|
+
class GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy
|
10683
|
+
include Google::Apis::Core::Hashable
|
10684
|
+
|
10685
|
+
# Optional. Specifies the import strategy used when resolving conflicts with the
|
10686
|
+
# main playbook. If not specified, 'CREATE_NEW' is assumed.
|
10687
|
+
# Corresponds to the JSON property `mainPlaybookImportStrategy`
|
10688
|
+
# @return [String]
|
10689
|
+
attr_accessor :main_playbook_import_strategy
|
10690
|
+
|
10691
|
+
# Optional. Specifies the import strategy used when resolving referenced
|
10692
|
+
# playbook/flow conflicts. If not specified, 'CREATE_NEW' is assumed.
|
10693
|
+
# Corresponds to the JSON property `nestedResourceImportStrategy`
|
10694
|
+
# @return [String]
|
10695
|
+
attr_accessor :nested_resource_import_strategy
|
10696
|
+
|
10697
|
+
# Optional. Specifies the import strategy used when resolving tool conflicts. If
|
10698
|
+
# not specified, 'CREATE_NEW' is assumed. This will be applied after the main
|
10699
|
+
# playbook and nested resource import strategies, meaning if the playbook that
|
10700
|
+
# references the tool is skipped, the tool will also be skipped.
|
10701
|
+
# Corresponds to the JSON property `toolImportStrategy`
|
10702
|
+
# @return [String]
|
10703
|
+
attr_accessor :tool_import_strategy
|
10704
|
+
|
10705
|
+
def initialize(**args)
|
10706
|
+
update!(**args)
|
10707
|
+
end
|
10708
|
+
|
10709
|
+
# Update properties of this object
|
10710
|
+
def update!(**args)
|
10711
|
+
@main_playbook_import_strategy = args[:main_playbook_import_strategy] if args.key?(:main_playbook_import_strategy)
|
10712
|
+
@nested_resource_import_strategy = args[:nested_resource_import_strategy] if args.key?(:nested_resource_import_strategy)
|
10713
|
+
@tool_import_strategy = args[:tool_import_strategy] if args.key?(:tool_import_strategy)
|
10714
|
+
end
|
10715
|
+
end
|
10716
|
+
|
10555
10717
|
# Input of the playbook.
|
10556
10718
|
class GoogleCloudDialogflowCxV3beta1PlaybookInput
|
10557
10719
|
include Google::Apis::Core::Hashable
|
@@ -10597,10 +10759,15 @@ module Google
|
|
10597
10759
|
end
|
10598
10760
|
end
|
10599
10761
|
|
10600
|
-
# Stores metadata of the invocation of a child playbook.
|
10762
|
+
# Stores metadata of the invocation of a child playbook.
|
10601
10763
|
class GoogleCloudDialogflowCxV3beta1PlaybookInvocation
|
10602
10764
|
include Google::Apis::Core::Hashable
|
10603
10765
|
|
10766
|
+
# Output only. The display name of the playbook.
|
10767
|
+
# Corresponds to the JSON property `displayName`
|
10768
|
+
# @return [String]
|
10769
|
+
attr_accessor :display_name
|
10770
|
+
|
10604
10771
|
# Required. The unique identifier of the playbook. Format: `projects//locations//
|
10605
10772
|
# agents//playbooks/`.
|
10606
10773
|
# Corresponds to the JSON property `playbook`
|
@@ -10628,6 +10795,7 @@ module Google
|
|
10628
10795
|
|
10629
10796
|
# Update properties of this object
|
10630
10797
|
def update!(**args)
|
10798
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
10631
10799
|
@playbook = args[:playbook] if args.key?(:playbook)
|
10632
10800
|
@playbook_input = args[:playbook_input] if args.key?(:playbook_input)
|
10633
10801
|
@playbook_output = args[:playbook_output] if args.key?(:playbook_output)
|
@@ -10828,9 +10996,10 @@ module Google
|
|
10828
10996
|
# @return [String]
|
10829
10997
|
attr_accessor :current_page
|
10830
10998
|
|
10831
|
-
# Optional.
|
10832
|
-
#
|
10833
|
-
#
|
10999
|
+
# Optional. The unique identifier of the playbook to start or continue the
|
11000
|
+
# session with. If `current_playbook` is specified, the previous state of the
|
11001
|
+
# session will be ignored by Dialogflow. Format: `projects//locations//agents//
|
11002
|
+
# playbooks/`.
|
10834
11003
|
# Corresponds to the JSON property `currentPlaybook`
|
10835
11004
|
# @return [String]
|
10836
11005
|
attr_accessor :current_playbook
|
@@ -11206,25 +11375,6 @@ module Google
|
|
11206
11375
|
end
|
11207
11376
|
end
|
11208
11377
|
|
11209
|
-
# Metadata for ReloadDocument operation.
|
11210
|
-
class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata
|
11211
|
-
include Google::Apis::Core::Hashable
|
11212
|
-
|
11213
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
11214
|
-
# Corresponds to the JSON property `genericMetadata`
|
11215
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
|
11216
|
-
attr_accessor :generic_metadata
|
11217
|
-
|
11218
|
-
def initialize(**args)
|
11219
|
-
update!(**args)
|
11220
|
-
end
|
11221
|
-
|
11222
|
-
# Update properties of this object
|
11223
|
-
def update!(**args)
|
11224
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
11225
|
-
end
|
11226
|
-
end
|
11227
|
-
|
11228
11378
|
# Resource name and display name.
|
11229
11379
|
class GoogleCloudDialogflowCxV3beta1ResourceName
|
11230
11380
|
include Google::Apis::Core::Hashable
|
@@ -11605,7 +11755,8 @@ module Google
|
|
11605
11755
|
attr_accessor :allow_playback_interruption
|
11606
11756
|
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
11607
11757
|
|
11608
|
-
# Required. A collection of text
|
11758
|
+
# Required. A collection of text response variants. If multiple variants are
|
11759
|
+
# defined, only one text response variant is returned at runtime.
|
11609
11760
|
# Corresponds to the JSON property `text`
|
11610
11761
|
# @return [Array<String>]
|
11611
11762
|
attr_accessor :text
|
@@ -11683,6 +11834,43 @@ module Google
|
|
11683
11834
|
end
|
11684
11835
|
end
|
11685
11836
|
|
11837
|
+
# The request message for Playbooks.RestorePlaybookVersion.
|
11838
|
+
class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest
|
11839
|
+
include Google::Apis::Core::Hashable
|
11840
|
+
|
11841
|
+
def initialize(**args)
|
11842
|
+
update!(**args)
|
11843
|
+
end
|
11844
|
+
|
11845
|
+
# Update properties of this object
|
11846
|
+
def update!(**args)
|
11847
|
+
end
|
11848
|
+
end
|
11849
|
+
|
11850
|
+
# The response message for Playbooks.RestorePlaybookVersion.
|
11851
|
+
class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse
|
11852
|
+
include Google::Apis::Core::Hashable
|
11853
|
+
|
11854
|
+
# Playbook is the basic building block to instruct the LLM how to execute a
|
11855
|
+
# certain task. A playbook consists of a goal to accomplish, an optional list of
|
11856
|
+
# step by step instructions (the step instruction may refers to name of the
|
11857
|
+
# custom or default plugin tools to use) to perform the task, a list of
|
11858
|
+
# contextual input data to be passed in at the beginning of the invoked, and a
|
11859
|
+
# list of output parameters to store the playbook result.
|
11860
|
+
# Corresponds to the JSON property `playbook`
|
11861
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Playbook]
|
11862
|
+
attr_accessor :playbook
|
11863
|
+
|
11864
|
+
def initialize(**args)
|
11865
|
+
update!(**args)
|
11866
|
+
end
|
11867
|
+
|
11868
|
+
# Update properties of this object
|
11869
|
+
def update!(**args)
|
11870
|
+
@playbook = args[:playbook] if args.key?(:playbook)
|
11871
|
+
end
|
11872
|
+
end
|
11873
|
+
|
11686
11874
|
# The configuration for auto rollout.
|
11687
11875
|
class GoogleCloudDialogflowCxV3beta1RolloutConfig
|
11688
11876
|
include Google::Apis::Core::Hashable
|
@@ -11900,6 +12088,11 @@ module Google
|
|
11900
12088
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase>]
|
11901
12089
|
attr_accessor :banned_phrases
|
11902
12090
|
|
12091
|
+
# Optional. Default phrase match strategy for banned phrases.
|
12092
|
+
# Corresponds to the JSON property `defaultBannedPhraseMatchStrategy`
|
12093
|
+
# @return [String]
|
12094
|
+
attr_accessor :default_banned_phrase_match_strategy
|
12095
|
+
|
11903
12096
|
def initialize(**args)
|
11904
12097
|
update!(**args)
|
11905
12098
|
end
|
@@ -11907,6 +12100,7 @@ module Google
|
|
11907
12100
|
# Update properties of this object
|
11908
12101
|
def update!(**args)
|
11909
12102
|
@banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
|
12103
|
+
@default_banned_phrase_match_strategy = args[:default_banned_phrase_match_strategy] if args.key?(:default_banned_phrase_match_strategy)
|
11910
12104
|
end
|
11911
12105
|
end
|
11912
12106
|
|
@@ -12402,7 +12596,7 @@ module Google
|
|
12402
12596
|
attr_accessor :last_test_result
|
12403
12597
|
|
12404
12598
|
# The unique identifier of the test case. TestCases.CreateTestCase will populate
|
12405
|
-
# the name automatically. Otherwise use format: `projects//locations//agents
|
12599
|
+
# the name automatically. Otherwise use format: `projects//locations//agents//
|
12406
12600
|
# testCases/`.
|
12407
12601
|
# Corresponds to the JSON property `name`
|
12408
12602
|
# @return [String]
|
@@ -12496,7 +12690,7 @@ module Google
|
|
12496
12690
|
attr_accessor :environment
|
12497
12691
|
|
12498
12692
|
# The resource name for the test case result. Format: `projects//locations//
|
12499
|
-
# agents//testCases
|
12693
|
+
# agents//testCases//results/`.
|
12500
12694
|
# Corresponds to the JSON property `name`
|
12501
12695
|
# @return [String]
|
12502
12696
|
attr_accessor :name
|
@@ -12744,6 +12938,11 @@ module Google
|
|
12744
12938
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationApiKeyConfig]
|
12745
12939
|
attr_accessor :api_key_config
|
12746
12940
|
|
12941
|
+
# Config for authentication using bearer token.
|
12942
|
+
# Corresponds to the JSON property `bearerTokenConfig`
|
12943
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig]
|
12944
|
+
attr_accessor :bearer_token_config
|
12945
|
+
|
12747
12946
|
# Config for authentication with OAuth.
|
12748
12947
|
# Corresponds to the JSON property `oauthConfig`
|
12749
12948
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig]
|
@@ -12762,6 +12961,7 @@ module Google
|
|
12762
12961
|
# Update properties of this object
|
12763
12962
|
def update!(**args)
|
12764
12963
|
@api_key_config = args[:api_key_config] if args.key?(:api_key_config)
|
12964
|
+
@bearer_token_config = args[:bearer_token_config] if args.key?(:bearer_token_config)
|
12765
12965
|
@oauth_config = args[:oauth_config] if args.key?(:oauth_config)
|
12766
12966
|
@service_agent_auth_config = args[:service_agent_auth_config] if args.key?(:service_agent_auth_config)
|
12767
12967
|
end
|
@@ -12800,6 +13000,28 @@ module Google
|
|
12800
13000
|
end
|
12801
13001
|
end
|
12802
13002
|
|
13003
|
+
# Config for authentication using bearer token.
|
13004
|
+
class GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig
|
13005
|
+
include Google::Apis::Core::Hashable
|
13006
|
+
|
13007
|
+
# Required. The text token appended to the text `Bearer` to the request
|
13008
|
+
# Authorization header. [Session parameters reference](https://cloud.google.com/
|
13009
|
+
# dialogflow/cx/docs/concept/parameter#session-ref) can be used to pass the
|
13010
|
+
# token dynamically, e.g. `$session.params.parameter-id`.
|
13011
|
+
# Corresponds to the JSON property `token`
|
13012
|
+
# @return [String]
|
13013
|
+
attr_accessor :token
|
13014
|
+
|
13015
|
+
def initialize(**args)
|
13016
|
+
update!(**args)
|
13017
|
+
end
|
13018
|
+
|
13019
|
+
# Update properties of this object
|
13020
|
+
def update!(**args)
|
13021
|
+
@token = args[:token] if args.key?(:token)
|
13022
|
+
end
|
13023
|
+
end
|
13024
|
+
|
12803
13025
|
# Config for authentication with OAuth.
|
12804
13026
|
class GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig
|
12805
13027
|
include Google::Apis::Core::Hashable
|
@@ -12819,6 +13041,11 @@ module Google
|
|
12819
13041
|
# @return [String]
|
12820
13042
|
attr_accessor :oauth_grant_type
|
12821
13043
|
|
13044
|
+
# Optional. The OAuth scopes to grant.
|
13045
|
+
# Corresponds to the JSON property `scopes`
|
13046
|
+
# @return [Array<String>]
|
13047
|
+
attr_accessor :scopes
|
13048
|
+
|
12822
13049
|
# Required. The token endpoint in the OAuth provider to exchange for an access
|
12823
13050
|
# token.
|
12824
13051
|
# Corresponds to the JSON property `tokenEndpoint`
|
@@ -12834,6 +13061,7 @@ module Google
|
|
12834
13061
|
@client_id = args[:client_id] if args.key?(:client_id)
|
12835
13062
|
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
12836
13063
|
@oauth_grant_type = args[:oauth_grant_type] if args.key?(:oauth_grant_type)
|
13064
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
12837
13065
|
@token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
|
12838
13066
|
end
|
12839
13067
|
end
|
@@ -12843,12 +13071,20 @@ module Google
|
|
12843
13071
|
class GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig
|
12844
13072
|
include Google::Apis::Core::Hashable
|
12845
13073
|
|
13074
|
+
# Optional. Indicate the auth token type generated from the [Diglogflow service
|
13075
|
+
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
|
13076
|
+
# agent). The generated token is sent in the Authorization header.
|
13077
|
+
# Corresponds to the JSON property `serviceAgentAuth`
|
13078
|
+
# @return [String]
|
13079
|
+
attr_accessor :service_agent_auth
|
13080
|
+
|
12846
13081
|
def initialize(**args)
|
12847
13082
|
update!(**args)
|
12848
13083
|
end
|
12849
13084
|
|
12850
13085
|
# Update properties of this object
|
12851
13086
|
def update!(**args)
|
13087
|
+
@service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
|
12852
13088
|
end
|
12853
13089
|
end
|
12854
13090
|
|
@@ -13041,6 +13277,11 @@ module Google
|
|
13041
13277
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthentication]
|
13042
13278
|
attr_accessor :authentication
|
13043
13279
|
|
13280
|
+
# Configuration for tools using Service Directory.
|
13281
|
+
# Corresponds to the JSON property `serviceDirectoryConfig`
|
13282
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig]
|
13283
|
+
attr_accessor :service_directory_config
|
13284
|
+
|
13044
13285
|
# Required. The OpenAPI schema specified as a text.
|
13045
13286
|
# Corresponds to the JSON property `textSchema`
|
13046
13287
|
# @return [String]
|
@@ -13058,11 +13299,34 @@ module Google
|
|
13058
13299
|
# Update properties of this object
|
13059
13300
|
def update!(**args)
|
13060
13301
|
@authentication = args[:authentication] if args.key?(:authentication)
|
13302
|
+
@service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
|
13061
13303
|
@text_schema = args[:text_schema] if args.key?(:text_schema)
|
13062
13304
|
@tls_config = args[:tls_config] if args.key?(:tls_config)
|
13063
13305
|
end
|
13064
13306
|
end
|
13065
13307
|
|
13308
|
+
# Configuration for tools using Service Directory.
|
13309
|
+
class GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig
|
13310
|
+
include Google::Apis::Core::Hashable
|
13311
|
+
|
13312
|
+
# Required. The name of [Service Directory](https://cloud.google.com/service-
|
13313
|
+
# directory) service. Format: `projects//locations//namespaces//services/`. `
|
13314
|
+
# LocationID` of the service directory must be the same as the location of the
|
13315
|
+
# agent.
|
13316
|
+
# Corresponds to the JSON property `service`
|
13317
|
+
# @return [String]
|
13318
|
+
attr_accessor :service
|
13319
|
+
|
13320
|
+
def initialize(**args)
|
13321
|
+
update!(**args)
|
13322
|
+
end
|
13323
|
+
|
13324
|
+
# Update properties of this object
|
13325
|
+
def update!(**args)
|
13326
|
+
@service = args[:service] if args.key?(:service)
|
13327
|
+
end
|
13328
|
+
end
|
13329
|
+
|
13066
13330
|
# The TLS configuration.
|
13067
13331
|
class GoogleCloudDialogflowCxV3beta1ToolTlsConfig
|
13068
13332
|
include Google::Apis::Core::Hashable
|
@@ -13126,6 +13390,11 @@ module Google
|
|
13126
13390
|
# @return [String]
|
13127
13391
|
attr_accessor :action
|
13128
13392
|
|
13393
|
+
# Output only. The display name of the tool.
|
13394
|
+
# Corresponds to the JSON property `displayName`
|
13395
|
+
# @return [String]
|
13396
|
+
attr_accessor :display_name
|
13397
|
+
|
13129
13398
|
# Optional. A list of input parameters for the action.
|
13130
13399
|
# Corresponds to the JSON property `inputActionParameters`
|
13131
13400
|
# @return [Hash<String,Object>]
|
@@ -13149,6 +13418,7 @@ module Google
|
|
13149
13418
|
# Update properties of this object
|
13150
13419
|
def update!(**args)
|
13151
13420
|
@action = args[:action] if args.key?(:action)
|
13421
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
13152
13422
|
@input_action_parameters = args[:input_action_parameters] if args.key?(:input_action_parameters)
|
13153
13423
|
@output_action_parameters = args[:output_action_parameters] if args.key?(:output_action_parameters)
|
13154
13424
|
@tool = args[:tool] if args.key?(:tool)
|
@@ -13592,14 +13862,46 @@ module Google
|
|
13592
13862
|
end
|
13593
13863
|
end
|
13594
13864
|
|
13595
|
-
#
|
13596
|
-
|
13865
|
+
# Encapsulates different type schema variations: either a reference to an a
|
13866
|
+
# schema that's already defined by a tool, or an inline definition.
|
13867
|
+
class GoogleCloudDialogflowCxV3beta1TypeSchema
|
13868
|
+
include Google::Apis::Core::Hashable
|
13869
|
+
|
13870
|
+
# A type schema object that's specified inline.
|
13871
|
+
# Corresponds to the JSON property `inlineSchema`
|
13872
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSchema]
|
13873
|
+
attr_accessor :inline_schema
|
13874
|
+
|
13875
|
+
# A reference to the schema of an existing tool.
|
13876
|
+
# Corresponds to the JSON property `schemaReference`
|
13877
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference]
|
13878
|
+
attr_accessor :schema_reference
|
13879
|
+
|
13880
|
+
def initialize(**args)
|
13881
|
+
update!(**args)
|
13882
|
+
end
|
13883
|
+
|
13884
|
+
# Update properties of this object
|
13885
|
+
def update!(**args)
|
13886
|
+
@inline_schema = args[:inline_schema] if args.key?(:inline_schema)
|
13887
|
+
@schema_reference = args[:schema_reference] if args.key?(:schema_reference)
|
13888
|
+
end
|
13889
|
+
end
|
13890
|
+
|
13891
|
+
# A reference to the schema of an existing tool.
|
13892
|
+
class GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference
|
13597
13893
|
include Google::Apis::Core::Hashable
|
13598
13894
|
|
13599
|
-
#
|
13600
|
-
# Corresponds to the JSON property `
|
13601
|
-
# @return [
|
13602
|
-
attr_accessor :
|
13895
|
+
# The name of the schema.
|
13896
|
+
# Corresponds to the JSON property `schema`
|
13897
|
+
# @return [String]
|
13898
|
+
attr_accessor :schema
|
13899
|
+
|
13900
|
+
# The tool that contains this schema definition. Format: `projects//locations//
|
13901
|
+
# agents//tools/`.
|
13902
|
+
# Corresponds to the JSON property `tool`
|
13903
|
+
# @return [String]
|
13904
|
+
attr_accessor :tool
|
13603
13905
|
|
13604
13906
|
def initialize(**args)
|
13605
13907
|
update!(**args)
|
@@ -13607,7 +13909,8 @@ module Google
|
|
13607
13909
|
|
13608
13910
|
# Update properties of this object
|
13609
13911
|
def update!(**args)
|
13610
|
-
@
|
13912
|
+
@schema = args[:schema] if args.key?(:schema)
|
13913
|
+
@tool = args[:tool] if args.key?(:tool)
|
13611
13914
|
end
|
13612
13915
|
end
|
13613
13916
|
|
@@ -14546,7 +14849,7 @@ module Google
|
|
14546
14849
|
end
|
14547
14850
|
end
|
14548
14851
|
|
14549
|
-
# Metadata for a
|
14852
|
+
# Metadata for a ConversationProfiles.ClearSuggestionFeatureConfig operation.
|
14550
14853
|
class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
|
14551
14854
|
include Google::Apis::Core::Hashable
|
14552
14855
|
|
@@ -14727,6 +15030,20 @@ module Google
|
|
14727
15030
|
# @return [String]
|
14728
15031
|
attr_accessor :name
|
14729
15032
|
|
15033
|
+
# Output only. A read only boolean field reflecting Zone Isolation status of the
|
15034
|
+
# model.
|
15035
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
15036
|
+
# @return [Boolean]
|
15037
|
+
attr_accessor :satisfies_pzi
|
15038
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
15039
|
+
|
15040
|
+
# Output only. A read only boolean field reflecting Zone Separation status of
|
15041
|
+
# the model.
|
15042
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
15043
|
+
# @return [Boolean]
|
15044
|
+
attr_accessor :satisfies_pzs
|
15045
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
15046
|
+
|
14730
15047
|
# Metadata for smart reply models.
|
14731
15048
|
# Corresponds to the JSON property `smartReplyModelMetadata`
|
14732
15049
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SmartReplyModelMetadata]
|
@@ -14750,12 +15067,14 @@ module Google
|
|
14750
15067
|
@display_name = args[:display_name] if args.key?(:display_name)
|
14751
15068
|
@language_code = args[:language_code] if args.key?(:language_code)
|
14752
15069
|
@name = args[:name] if args.key?(:name)
|
15070
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
15071
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
14753
15072
|
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
|
14754
15073
|
@state = args[:state] if args.key?(:state)
|
14755
15074
|
end
|
14756
15075
|
end
|
14757
15076
|
|
14758
|
-
# Metadata for
|
15077
|
+
# Metadata for CreateConversationDataset.
|
14759
15078
|
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
|
14760
15079
|
include Google::Apis::Core::Hashable
|
14761
15080
|
|
@@ -14848,7 +15167,7 @@ module Google
|
|
14848
15167
|
end
|
14849
15168
|
end
|
14850
15169
|
|
14851
|
-
# Metadata for
|
15170
|
+
# Metadata for DeleteConversationDataset.
|
14852
15171
|
class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
|
14853
15172
|
include Google::Apis::Core::Hashable
|
14854
15173
|
|
@@ -16737,6 +17056,11 @@ module Google
|
|
16737
17056
|
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
16738
17057
|
include Google::Apis::Core::Hashable
|
16739
17058
|
|
17059
|
+
# Metadata of the document.
|
17060
|
+
# Corresponds to the JSON property `metadata`
|
17061
|
+
# @return [Hash<String,Object>]
|
17062
|
+
attr_accessor :metadata
|
17063
|
+
|
16740
17064
|
# Text taken from that URI.
|
16741
17065
|
# Corresponds to the JSON property `text`
|
16742
17066
|
# @return [String]
|
@@ -16758,6 +17082,7 @@ module Google
|
|
16758
17082
|
|
16759
17083
|
# Update properties of this object
|
16760
17084
|
def update!(**args)
|
17085
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
16761
17086
|
@text = args[:text] if args.key?(:text)
|
16762
17087
|
@title = args[:title] if args.key?(:title)
|
16763
17088
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -16862,12 +17187,11 @@ module Google
|
|
16862
17187
|
|
16863
17188
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
16864
17189
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
16865
|
-
# attitude as positive, negative, or neutral. For
|
16866
|
-
#
|
16867
|
-
#
|
16868
|
-
#
|
16869
|
-
#
|
16870
|
-
# ConversationProfile.human_agent_assistant_config
|
17190
|
+
# attitude as positive, negative, or neutral. For DetectIntent, it needs to be
|
17191
|
+
# configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
|
17192
|
+
# needs to be configured in StreamingDetectIntentRequest.query_params. And for
|
17193
|
+
# Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
|
17194
|
+
# to be configured in ConversationProfile.human_agent_assistant_config
|
16871
17195
|
# Corresponds to the JSON property `sentimentAnalysis`
|
16872
17196
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
|
16873
17197
|
attr_accessor :sentiment_analysis
|
@@ -17064,12 +17388,11 @@ module Google
|
|
17064
17388
|
|
17065
17389
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
17066
17390
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
17067
|
-
# attitude as positive, negative, or neutral. For
|
17068
|
-
#
|
17069
|
-
#
|
17070
|
-
#
|
17071
|
-
#
|
17072
|
-
# ConversationProfile.human_agent_assistant_config
|
17391
|
+
# attitude as positive, negative, or neutral. For DetectIntent, it needs to be
|
17392
|
+
# configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
|
17393
|
+
# needs to be configured in StreamingDetectIntentRequest.query_params. And for
|
17394
|
+
# Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
|
17395
|
+
# to be configured in ConversationProfile.human_agent_assistant_config
|
17073
17396
|
# Corresponds to the JSON property `sentimentAnalysisResult`
|
17074
17397
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
|
17075
17398
|
attr_accessor :sentiment_analysis_result
|
@@ -17153,12 +17476,11 @@ module Google
|
|
17153
17476
|
|
17154
17477
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
17155
17478
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
17156
|
-
# attitude as positive, negative, or neutral. For
|
17157
|
-
#
|
17158
|
-
#
|
17159
|
-
#
|
17160
|
-
#
|
17161
|
-
# ConversationProfile.human_agent_assistant_config
|
17479
|
+
# attitude as positive, negative, or neutral. For DetectIntent, it needs to be
|
17480
|
+
# configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
|
17481
|
+
# needs to be configured in StreamingDetectIntentRequest.query_params. And for
|
17482
|
+
# Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
|
17483
|
+
# to be configured in ConversationProfile.human_agent_assistant_config
|
17162
17484
|
class GoogleCloudDialogflowV2SentimentAnalysisResult
|
17163
17485
|
include Google::Apis::Core::Hashable
|
17164
17486
|
|
@@ -17223,7 +17545,7 @@ module Google
|
|
17223
17545
|
end
|
17224
17546
|
end
|
17225
17547
|
|
17226
|
-
# Metadata for a
|
17548
|
+
# Metadata for a ConversationProfiles.SetSuggestionFeatureConfig operation.
|
17227
17549
|
class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
|
17228
17550
|
include Google::Apis::Core::Hashable
|
17229
17551
|
|
@@ -20281,6 +20603,11 @@ module Google
|
|
20281
20603
|
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
20282
20604
|
include Google::Apis::Core::Hashable
|
20283
20605
|
|
20606
|
+
# Metadata of the document.
|
20607
|
+
# Corresponds to the JSON property `metadata`
|
20608
|
+
# @return [Hash<String,Object>]
|
20609
|
+
attr_accessor :metadata
|
20610
|
+
|
20284
20611
|
# Text taken from that URI.
|
20285
20612
|
# Corresponds to the JSON property `text`
|
20286
20613
|
# @return [String]
|
@@ -20302,6 +20629,7 @@ module Google
|
|
20302
20629
|
|
20303
20630
|
# Update properties of this object
|
20304
20631
|
def update!(**args)
|
20632
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
20305
20633
|
@text = args[:text] if args.key?(:text)
|
20306
20634
|
@title = args[:title] if args.key?(:title)
|
20307
20635
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -20860,7 +21188,8 @@ module Google
|
|
20860
21188
|
class GoogleCloudDialogflowV2beta1ResponseMessageText
|
20861
21189
|
include Google::Apis::Core::Hashable
|
20862
21190
|
|
20863
|
-
# A collection of text
|
21191
|
+
# A collection of text response variants. If multiple variants are defined, only
|
21192
|
+
# one text response variant is returned at runtime.
|
20864
21193
|
# Corresponds to the JSON property `text`
|
20865
21194
|
# @return [Array<String>]
|
20866
21195
|
attr_accessor :text
|
@@ -21462,120 +21791,6 @@ module Google
|
|
21462
21791
|
end
|
21463
21792
|
end
|
21464
21793
|
|
21465
|
-
# Metadata for CreateDocument operation.
|
21466
|
-
class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
|
21467
|
-
include Google::Apis::Core::Hashable
|
21468
|
-
|
21469
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
21470
|
-
# Corresponds to the JSON property `genericMetadata`
|
21471
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
21472
|
-
attr_accessor :generic_metadata
|
21473
|
-
|
21474
|
-
def initialize(**args)
|
21475
|
-
update!(**args)
|
21476
|
-
end
|
21477
|
-
|
21478
|
-
# Update properties of this object
|
21479
|
-
def update!(**args)
|
21480
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
21481
|
-
end
|
21482
|
-
end
|
21483
|
-
|
21484
|
-
# Metadata for DeleteDocument operation.
|
21485
|
-
class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata
|
21486
|
-
include Google::Apis::Core::Hashable
|
21487
|
-
|
21488
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
21489
|
-
# Corresponds to the JSON property `genericMetadata`
|
21490
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
21491
|
-
attr_accessor :generic_metadata
|
21492
|
-
|
21493
|
-
def initialize(**args)
|
21494
|
-
update!(**args)
|
21495
|
-
end
|
21496
|
-
|
21497
|
-
# Update properties of this object
|
21498
|
-
def update!(**args)
|
21499
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
21500
|
-
end
|
21501
|
-
end
|
21502
|
-
|
21503
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
21504
|
-
class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata
|
21505
|
-
include Google::Apis::Core::Hashable
|
21506
|
-
|
21507
|
-
# Required. Output only. The current state of this operation.
|
21508
|
-
# Corresponds to the JSON property `state`
|
21509
|
-
# @return [String]
|
21510
|
-
attr_accessor :state
|
21511
|
-
|
21512
|
-
def initialize(**args)
|
21513
|
-
update!(**args)
|
21514
|
-
end
|
21515
|
-
|
21516
|
-
# Update properties of this object
|
21517
|
-
def update!(**args)
|
21518
|
-
@state = args[:state] if args.key?(:state)
|
21519
|
-
end
|
21520
|
-
end
|
21521
|
-
|
21522
|
-
# Metadata for ImportDocuments operation.
|
21523
|
-
class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata
|
21524
|
-
include Google::Apis::Core::Hashable
|
21525
|
-
|
21526
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
21527
|
-
# Corresponds to the JSON property `genericMetadata`
|
21528
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
21529
|
-
attr_accessor :generic_metadata
|
21530
|
-
|
21531
|
-
def initialize(**args)
|
21532
|
-
update!(**args)
|
21533
|
-
end
|
21534
|
-
|
21535
|
-
# Update properties of this object
|
21536
|
-
def update!(**args)
|
21537
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
21538
|
-
end
|
21539
|
-
end
|
21540
|
-
|
21541
|
-
# Response message for Documents.ImportDocuments.
|
21542
|
-
class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse
|
21543
|
-
include Google::Apis::Core::Hashable
|
21544
|
-
|
21545
|
-
# Includes details about skipped documents or any other warnings.
|
21546
|
-
# Corresponds to the JSON property `warnings`
|
21547
|
-
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
|
21548
|
-
attr_accessor :warnings
|
21549
|
-
|
21550
|
-
def initialize(**args)
|
21551
|
-
update!(**args)
|
21552
|
-
end
|
21553
|
-
|
21554
|
-
# Update properties of this object
|
21555
|
-
def update!(**args)
|
21556
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
21557
|
-
end
|
21558
|
-
end
|
21559
|
-
|
21560
|
-
# Metadata for ReloadDocument operation.
|
21561
|
-
class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata
|
21562
|
-
include Google::Apis::Core::Hashable
|
21563
|
-
|
21564
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
21565
|
-
# Corresponds to the JSON property `genericMetadata`
|
21566
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
21567
|
-
attr_accessor :generic_metadata
|
21568
|
-
|
21569
|
-
def initialize(**args)
|
21570
|
-
update!(**args)
|
21571
|
-
end
|
21572
|
-
|
21573
|
-
# Update properties of this object
|
21574
|
-
def update!(**args)
|
21575
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
21576
|
-
end
|
21577
|
-
end
|
21578
|
-
|
21579
21794
|
# Collection of all signals that were extracted for a single turn of the
|
21580
21795
|
# conversation.
|
21581
21796
|
class GoogleCloudDialogflowV3alpha1TurnSignals
|
@@ -21666,25 +21881,6 @@ module Google
|
|
21666
21881
|
end
|
21667
21882
|
end
|
21668
21883
|
|
21669
|
-
# Metadata for UpdateDocument operation.
|
21670
|
-
class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
|
21671
|
-
include Google::Apis::Core::Hashable
|
21672
|
-
|
21673
|
-
# Metadata in google::longrunning::Operation for Knowledge operations.
|
21674
|
-
# Corresponds to the JSON property `genericMetadata`
|
21675
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
|
21676
|
-
attr_accessor :generic_metadata
|
21677
|
-
|
21678
|
-
def initialize(**args)
|
21679
|
-
update!(**args)
|
21680
|
-
end
|
21681
|
-
|
21682
|
-
# Update properties of this object
|
21683
|
-
def update!(**args)
|
21684
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
21685
|
-
end
|
21686
|
-
end
|
21687
|
-
|
21688
21884
|
# The response message for Locations.ListLocations.
|
21689
21885
|
class GoogleCloudLocationListLocationsResponse
|
21690
21886
|
include Google::Apis::Core::Hashable
|