google-apis-dialogflow_v3 0.26.0 → 0.29.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 +12 -0
- data/lib/google/apis/dialogflow_v3/classes.rb +701 -32
- data/lib/google/apis/dialogflow_v3/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3/representations.rb +313 -0
- metadata +3 -3
@@ -1617,7 +1617,11 @@ module Google
|
|
1617
1617
|
|
1618
1618
|
# Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
1619
1619
|
# URI to export the agent to. The format of this URI must be `gs:///`. If left
|
1620
|
-
# unspecified, the serialized agent is returned inline.
|
1620
|
+
# unspecified, the serialized agent is returned inline. Dialogflow performs a
|
1621
|
+
# write operation for the Cloud Storage object on the caller's behalf, so your
|
1622
|
+
# request authentication must have write permissions for the object. For more
|
1623
|
+
# information, see [Dialogflow access control](https://cloud.google.com/
|
1624
|
+
# dialogflow/cx/docs/concept/access-control#storage).
|
1621
1625
|
# Corresponds to the JSON property `agentUri`
|
1622
1626
|
# @return [String]
|
1623
1627
|
attr_accessor :agent_uri
|
@@ -1672,7 +1676,11 @@ module Google
|
|
1672
1676
|
|
1673
1677
|
# Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
1674
1678
|
# URI to export the flow to. The format of this URI must be `gs:///`. If left
|
1675
|
-
# unspecified, the serialized flow is returned inline.
|
1679
|
+
# unspecified, the serialized flow is returned inline. Dialogflow performs a
|
1680
|
+
# write operation for the Cloud Storage object on the caller's behalf, so your
|
1681
|
+
# request authentication must have write permissions for the object. For more
|
1682
|
+
# information, see [Dialogflow access control](https://cloud.google.com/
|
1683
|
+
# dialogflow/cx/docs/concept/access-control#storage).
|
1676
1684
|
# Corresponds to the JSON property `flowUri`
|
1677
1685
|
# @return [String]
|
1678
1686
|
attr_accessor :flow_uri
|
@@ -1755,7 +1763,11 @@ module Google
|
|
1755
1763
|
|
1756
1764
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
1757
1765
|
# export the test cases to. The format of this URI must be `gs:///`. If
|
1758
|
-
# unspecified, the serialized test cases is returned inline.
|
1766
|
+
# unspecified, the serialized test cases is returned inline. Dialogflow performs
|
1767
|
+
# a write operation for the Cloud Storage object on the caller's behalf, so your
|
1768
|
+
# request authentication must have write permissions for the object. For more
|
1769
|
+
# information, see [Dialogflow access control](https://cloud.google.com/
|
1770
|
+
# dialogflow/cx/docs/concept/access-control#storage).
|
1759
1771
|
# Corresponds to the JSON property `gcsUri`
|
1760
1772
|
# @return [String]
|
1761
1773
|
attr_accessor :gcs_uri
|
@@ -2375,7 +2387,11 @@ module Google
|
|
2375
2387
|
attr_accessor :flow_content
|
2376
2388
|
|
2377
2389
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
2378
|
-
# import flow from. The format of this URI must be `gs:///`.
|
2390
|
+
# import flow from. The format of this URI must be `gs:///`. Dialogflow performs
|
2391
|
+
# a read operation for the Cloud Storage object on the caller's behalf, so your
|
2392
|
+
# request authentication must have read permissions for the object. For more
|
2393
|
+
# information, see [Dialogflow access control](https://cloud.google.com/
|
2394
|
+
# dialogflow/cx/docs/concept/access-control#storage).
|
2379
2395
|
# Corresponds to the JSON property `flowUri`
|
2380
2396
|
# @return [String]
|
2381
2397
|
attr_accessor :flow_uri
|
@@ -2447,7 +2463,11 @@ module Google
|
|
2447
2463
|
attr_accessor :content
|
2448
2464
|
|
2449
2465
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
2450
|
-
# import test cases from. The format of this URI must be `gs:///`.
|
2466
|
+
# import test cases from. The format of this URI must be `gs:///`. Dialogflow
|
2467
|
+
# performs a read operation for the Cloud Storage object on the caller's behalf,
|
2468
|
+
# so your request authentication must have read permissions for the object. For
|
2469
|
+
# more information, see [Dialogflow access control](https://cloud.google.com/
|
2470
|
+
# dialogflow/cx/docs/concept/access-control#storage).
|
2451
2471
|
# Corresponds to the JSON property `gcsUri`
|
2452
2472
|
# @return [String]
|
2453
2473
|
attr_accessor :gcs_uri
|
@@ -3378,12 +3398,12 @@ module Google
|
|
3378
3398
|
# The collection of parameters extracted from the query. Depending on your
|
3379
3399
|
# protocol or client library language, this is a map, associative array, symbol
|
3380
3400
|
# table, dictionary, or JSON object composed of a collection of (MapKey,
|
3381
|
-
# MapValue) pairs:
|
3382
|
-
# MapValue type:
|
3383
|
-
# depending on parameter value type, could be one of string,
|
3384
|
-
# null, list or map
|
3385
|
-
# composite entity
|
3386
|
-
#
|
3401
|
+
# MapValue) pairs: * MapKey type: string * MapKey value: parameter name *
|
3402
|
+
# MapValue type: If parameter's entity type is a composite entity then use map,
|
3403
|
+
# otherwise, depending on the parameter value type, it could be one of string,
|
3404
|
+
# number, boolean, null, list or map. * MapValue value: If parameter's entity
|
3405
|
+
# type is a composite entity then use map from composite entity property names
|
3406
|
+
# to property values, otherwise, use parameter value.
|
3387
3407
|
# Corresponds to the JSON property `parameters`
|
3388
3408
|
# @return [Hash<String,Object>]
|
3389
3409
|
attr_accessor :parameters
|
@@ -3881,12 +3901,13 @@ module Google
|
|
3881
3901
|
# You can reference the session parameters in the agent with the following
|
3882
3902
|
# format: $session.params.parameter-id. Depending on your protocol or client
|
3883
3903
|
# library language, this is a map, associative array, symbol table, dictionary,
|
3884
|
-
# or JSON object composed of a collection of (MapKey, MapValue) pairs:
|
3885
|
-
# type: string
|
3886
|
-
# entity type is a composite entity
|
3887
|
-
# type, could be one of string, number, boolean, null, list
|
3888
|
-
# value:
|
3889
|
-
# entity property names to property values
|
3904
|
+
# or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey
|
3905
|
+
# type: string * MapKey value: parameter name * MapValue type: If parameter's
|
3906
|
+
# entity type is a composite entity then use map, otherwise, depending on the
|
3907
|
+
# parameter value type, it could be one of string, number, boolean, null, list
|
3908
|
+
# or map. * MapValue value: If parameter's entity type is a composite entity
|
3909
|
+
# then use map from composite entity property names to property values,
|
3910
|
+
# otherwise, use parameter value.
|
3890
3911
|
# Corresponds to the JSON property `parameters`
|
3891
3912
|
# @return [Hash<String,Object>]
|
3892
3913
|
attr_accessor :parameters
|
@@ -4009,12 +4030,13 @@ module Google
|
|
4009
4030
|
|
4010
4031
|
# The collected session parameters. Depending on your protocol or client library
|
4011
4032
|
# language, this is a map, associative array, symbol table, dictionary, or JSON
|
4012
|
-
# object composed of a collection of (MapKey, MapValue) pairs:
|
4013
|
-
# string
|
4014
|
-
# type is a composite entity
|
4015
|
-
# could be one of string, number, boolean, null, list or map
|
4016
|
-
# If parameter's entity type is a composite entity
|
4017
|
-
# property names to property values
|
4033
|
+
# object composed of a collection of (MapKey, MapValue) pairs: * MapKey type:
|
4034
|
+
# string * MapKey value: parameter name * MapValue type: If parameter's entity
|
4035
|
+
# type is a composite entity then use map, otherwise, depending on the parameter
|
4036
|
+
# value type, it could be one of string, number, boolean, null, list or map. *
|
4037
|
+
# MapValue value: If parameter's entity type is a composite entity then use map
|
4038
|
+
# from composite entity property names to property values, otherwise, use
|
4039
|
+
# parameter value.
|
4018
4040
|
# Corresponds to the JSON property `parameters`
|
4019
4041
|
# @return [Hash<String,Object>]
|
4020
4042
|
attr_accessor :parameters
|
@@ -4483,7 +4505,11 @@ module Google
|
|
4483
4505
|
attr_accessor :agent_content
|
4484
4506
|
|
4485
4507
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
4486
|
-
# restore agent from. The format of this URI must be `gs:///`.
|
4508
|
+
# restore agent from. The format of this URI must be `gs:///`. Dialogflow
|
4509
|
+
# performs a read operation for the Cloud Storage object on the caller's behalf,
|
4510
|
+
# so your request authentication must have read permissions for the object. For
|
4511
|
+
# more information, see [Dialogflow access control](https://cloud.google.com/
|
4512
|
+
# dialogflow/cx/docs/concept/access-control#storage).
|
4487
4513
|
# Corresponds to the JSON property `agentUri`
|
4488
4514
|
# @return [String]
|
4489
4515
|
attr_accessor :agent_uri
|
@@ -5186,12 +5212,24 @@ module Google
|
|
5186
5212
|
class GoogleCloudDialogflowCxV3TestConfig
|
5187
5213
|
include Google::Apis::Core::Hashable
|
5188
5214
|
|
5189
|
-
# Flow name
|
5190
|
-
#
|
5215
|
+
# Flow name to start the test case with. Format: `projects//locations//agents//
|
5216
|
+
# flows/`. Only one of `flow` and `page` should be set to indicate the starting
|
5217
|
+
# point of the test case. If both are set, `page` takes precedence over `flow`.
|
5218
|
+
# If neither is set, the test case will start with start page on the default
|
5219
|
+
# start flow.
|
5191
5220
|
# Corresponds to the JSON property `flow`
|
5192
5221
|
# @return [String]
|
5193
5222
|
attr_accessor :flow
|
5194
5223
|
|
5224
|
+
# The page to start the test case with. Format: `projects//locations//agents//
|
5225
|
+
# flows//pages/`. Only one of `flow` and `page` should be set to indicate the
|
5226
|
+
# starting point of the test case. If both are set, `page` takes precedence over
|
5227
|
+
# `flow`. If neither is set, the test case will start with start page on the
|
5228
|
+
# default start flow.
|
5229
|
+
# Corresponds to the JSON property `page`
|
5230
|
+
# @return [String]
|
5231
|
+
attr_accessor :page
|
5232
|
+
|
5195
5233
|
# Session parameters to be compared when calculating differences.
|
5196
5234
|
# Corresponds to the JSON property `trackingParameters`
|
5197
5235
|
# @return [Array<String>]
|
@@ -5204,6 +5242,7 @@ module Google
|
|
5204
5242
|
# Update properties of this object
|
5205
5243
|
def update!(**args)
|
5206
5244
|
@flow = args[:flow] if args.key?(:flow)
|
5245
|
+
@page = args[:page] if args.key?(:page)
|
5207
5246
|
@tracking_parameters = args[:tracking_parameters] if args.key?(:tracking_parameters)
|
5208
5247
|
end
|
5209
5248
|
end
|
@@ -5966,9 +6005,9 @@ module Google
|
|
5966
6005
|
# empty or unspecified, Dialogflow will use Google's default trust store to
|
5967
6006
|
# verify certificates. N.B. Make sure the HTTPS server certificates are signed
|
5968
6007
|
# with "subject alt name". For instance a certificate can be self-signed using
|
5969
|
-
# the following command, openssl x509 -req -days 200 -in example.com.csr \ -
|
6008
|
+
# the following command, ``` openssl x509 -req -days 200 -in example.com.csr \ -
|
5970
6009
|
# signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
|
5971
|
-
# nsubjectAltName='DNS:www.example.com'")
|
6010
|
+
# nsubjectAltName='DNS:www.example.com'") ```
|
5972
6011
|
# Corresponds to the JSON property `allowedCaCerts`
|
5973
6012
|
# @return [Array<String>]
|
5974
6013
|
attr_accessor :allowed_ca_certs
|
@@ -8586,12 +8625,24 @@ module Google
|
|
8586
8625
|
class GoogleCloudDialogflowCxV3beta1TestConfig
|
8587
8626
|
include Google::Apis::Core::Hashable
|
8588
8627
|
|
8589
|
-
# Flow name
|
8590
|
-
#
|
8628
|
+
# Flow name to start the test case with. Format: `projects//locations//agents//
|
8629
|
+
# flows/`. Only one of `flow` and `page` should be set to indicate the starting
|
8630
|
+
# point of the test case. If both are set, `page` takes precedence over `flow`.
|
8631
|
+
# If neither is set, the test case will start with start page on the default
|
8632
|
+
# start flow.
|
8591
8633
|
# Corresponds to the JSON property `flow`
|
8592
8634
|
# @return [String]
|
8593
8635
|
attr_accessor :flow
|
8594
8636
|
|
8637
|
+
# The page to start the test case with. Format: `projects//locations//agents//
|
8638
|
+
# flows//pages/`. Only one of `flow` and `page` should be set to indicate the
|
8639
|
+
# starting point of the test case. If both are set, `page` takes precedence over
|
8640
|
+
# `flow`. If neither is set, the test case will start with start page on the
|
8641
|
+
# default start flow.
|
8642
|
+
# Corresponds to the JSON property `page`
|
8643
|
+
# @return [String]
|
8644
|
+
attr_accessor :page
|
8645
|
+
|
8595
8646
|
# Session parameters to be compared when calculating differences.
|
8596
8647
|
# Corresponds to the JSON property `trackingParameters`
|
8597
8648
|
# @return [Array<String>]
|
@@ -8604,6 +8655,7 @@ module Google
|
|
8604
8655
|
# Update properties of this object
|
8605
8656
|
def update!(**args)
|
8606
8657
|
@flow = args[:flow] if args.key?(:flow)
|
8658
|
+
@page = args[:page] if args.key?(:page)
|
8607
8659
|
@tracking_parameters = args[:tracking_parameters] if args.key?(:tracking_parameters)
|
8608
8660
|
end
|
8609
8661
|
end
|
@@ -9157,6 +9209,26 @@ module Google
|
|
9157
9209
|
end
|
9158
9210
|
end
|
9159
9211
|
|
9212
|
+
# Metadata for article suggestion models.
|
9213
|
+
class GoogleCloudDialogflowV2ArticleSuggestionModelMetadata
|
9214
|
+
include Google::Apis::Core::Hashable
|
9215
|
+
|
9216
|
+
# Optional. Type of the article suggestion model. If not provided, model_type is
|
9217
|
+
# used.
|
9218
|
+
# Corresponds to the JSON property `trainingModelType`
|
9219
|
+
# @return [String]
|
9220
|
+
attr_accessor :training_model_type
|
9221
|
+
|
9222
|
+
def initialize(**args)
|
9223
|
+
update!(**args)
|
9224
|
+
end
|
9225
|
+
|
9226
|
+
# Update properties of this object
|
9227
|
+
def update!(**args)
|
9228
|
+
@training_model_type = args[:training_model_type] if args.key?(:training_model_type)
|
9229
|
+
end
|
9230
|
+
end
|
9231
|
+
|
9160
9232
|
# The response message for EntityTypes.BatchUpdateEntityTypes.
|
9161
9233
|
class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
|
9162
9234
|
include Google::Apis::Core::Hashable
|
@@ -9195,6 +9267,45 @@ module Google
|
|
9195
9267
|
end
|
9196
9268
|
end
|
9197
9269
|
|
9270
|
+
# Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
|
9271
|
+
class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
|
9272
|
+
include Google::Apis::Core::Hashable
|
9273
|
+
|
9274
|
+
# The resource name of the conversation profile. Format: `projects//locations//
|
9275
|
+
# conversationProfiles/`
|
9276
|
+
# Corresponds to the JSON property `conversationProfile`
|
9277
|
+
# @return [String]
|
9278
|
+
attr_accessor :conversation_profile
|
9279
|
+
|
9280
|
+
# Timestamp whe the request was created. The time is measured on server side.
|
9281
|
+
# Corresponds to the JSON property `createTime`
|
9282
|
+
# @return [String]
|
9283
|
+
attr_accessor :create_time
|
9284
|
+
|
9285
|
+
# Required. The participant role to remove the suggestion feature config. Only
|
9286
|
+
# HUMAN_AGENT or END_USER can be used.
|
9287
|
+
# Corresponds to the JSON property `participantRole`
|
9288
|
+
# @return [String]
|
9289
|
+
attr_accessor :participant_role
|
9290
|
+
|
9291
|
+
# Required. The type of the suggestion feature to remove.
|
9292
|
+
# Corresponds to the JSON property `suggestionFeatureType`
|
9293
|
+
# @return [String]
|
9294
|
+
attr_accessor :suggestion_feature_type
|
9295
|
+
|
9296
|
+
def initialize(**args)
|
9297
|
+
update!(**args)
|
9298
|
+
end
|
9299
|
+
|
9300
|
+
# Update properties of this object
|
9301
|
+
def update!(**args)
|
9302
|
+
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
9303
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
9304
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
9305
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
9306
|
+
end
|
9307
|
+
end
|
9308
|
+
|
9198
9309
|
# Dialogflow contexts are similar to natural language context. If a person says
|
9199
9310
|
# to you "they are orange", you need context in order to understand what "they"
|
9200
9311
|
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
@@ -9300,6 +9411,224 @@ module Google
|
|
9300
9411
|
end
|
9301
9412
|
end
|
9302
9413
|
|
9414
|
+
# Represents a conversation model.
|
9415
|
+
class GoogleCloudDialogflowV2ConversationModel
|
9416
|
+
include Google::Apis::Core::Hashable
|
9417
|
+
|
9418
|
+
# Metadata for article suggestion models.
|
9419
|
+
# Corresponds to the JSON property `articleSuggestionModelMetadata`
|
9420
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ArticleSuggestionModelMetadata]
|
9421
|
+
attr_accessor :article_suggestion_model_metadata
|
9422
|
+
|
9423
|
+
# Output only. Creation time of this model.
|
9424
|
+
# Corresponds to the JSON property `createTime`
|
9425
|
+
# @return [String]
|
9426
|
+
attr_accessor :create_time
|
9427
|
+
|
9428
|
+
# Required. Datasets used to create model.
|
9429
|
+
# Corresponds to the JSON property `datasets`
|
9430
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InputDataset>]
|
9431
|
+
attr_accessor :datasets
|
9432
|
+
|
9433
|
+
# Required. The display name of the model. At most 64 bytes long.
|
9434
|
+
# Corresponds to the JSON property `displayName`
|
9435
|
+
# @return [String]
|
9436
|
+
attr_accessor :display_name
|
9437
|
+
|
9438
|
+
# Language code for the conversation model. If not specified, the language is en-
|
9439
|
+
# US. Language at ConversationModel should be set for all non en-us languages.
|
9440
|
+
# This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
9441
|
+
# language tag. Example: "en-US".
|
9442
|
+
# Corresponds to the JSON property `languageCode`
|
9443
|
+
# @return [String]
|
9444
|
+
attr_accessor :language_code
|
9445
|
+
|
9446
|
+
# ConversationModel resource name. Format: `projects//conversationModels/`
|
9447
|
+
# Corresponds to the JSON property `name`
|
9448
|
+
# @return [String]
|
9449
|
+
attr_accessor :name
|
9450
|
+
|
9451
|
+
# Metadata for smart reply models.
|
9452
|
+
# Corresponds to the JSON property `smartReplyModelMetadata`
|
9453
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SmartReplyModelMetadata]
|
9454
|
+
attr_accessor :smart_reply_model_metadata
|
9455
|
+
|
9456
|
+
# Output only. State of the model. A model can only serve prediction requests
|
9457
|
+
# after it gets deployed.
|
9458
|
+
# Corresponds to the JSON property `state`
|
9459
|
+
# @return [String]
|
9460
|
+
attr_accessor :state
|
9461
|
+
|
9462
|
+
def initialize(**args)
|
9463
|
+
update!(**args)
|
9464
|
+
end
|
9465
|
+
|
9466
|
+
# Update properties of this object
|
9467
|
+
def update!(**args)
|
9468
|
+
@article_suggestion_model_metadata = args[:article_suggestion_model_metadata] if args.key?(:article_suggestion_model_metadata)
|
9469
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
9470
|
+
@datasets = args[:datasets] if args.key?(:datasets)
|
9471
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
9472
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
9473
|
+
@name = args[:name] if args.key?(:name)
|
9474
|
+
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
|
9475
|
+
@state = args[:state] if args.key?(:state)
|
9476
|
+
end
|
9477
|
+
end
|
9478
|
+
|
9479
|
+
# Metadata for ConversationDatasets.
|
9480
|
+
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
|
9481
|
+
include Google::Apis::Core::Hashable
|
9482
|
+
|
9483
|
+
def initialize(**args)
|
9484
|
+
update!(**args)
|
9485
|
+
end
|
9486
|
+
|
9487
|
+
# Update properties of this object
|
9488
|
+
def update!(**args)
|
9489
|
+
end
|
9490
|
+
end
|
9491
|
+
|
9492
|
+
# Metadata for a ConversationModels.CreateConversationModelEvaluation operation.
|
9493
|
+
class GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata
|
9494
|
+
include Google::Apis::Core::Hashable
|
9495
|
+
|
9496
|
+
# The resource name of the conversation model. Format: `projects//locations//
|
9497
|
+
# conversationModels/`
|
9498
|
+
# Corresponds to the JSON property `conversationModel`
|
9499
|
+
# @return [String]
|
9500
|
+
attr_accessor :conversation_model
|
9501
|
+
|
9502
|
+
# The resource name of the conversation model. Format: `projects//locations//
|
9503
|
+
# conversationModels//evaluations/`
|
9504
|
+
# Corresponds to the JSON property `conversationModelEvaluation`
|
9505
|
+
# @return [String]
|
9506
|
+
attr_accessor :conversation_model_evaluation
|
9507
|
+
|
9508
|
+
# Timestamp when the request to create conversation model was submitted. The
|
9509
|
+
# time is measured on server side.
|
9510
|
+
# Corresponds to the JSON property `createTime`
|
9511
|
+
# @return [String]
|
9512
|
+
attr_accessor :create_time
|
9513
|
+
|
9514
|
+
# State of CreateConversationModel operation.
|
9515
|
+
# Corresponds to the JSON property `state`
|
9516
|
+
# @return [String]
|
9517
|
+
attr_accessor :state
|
9518
|
+
|
9519
|
+
def initialize(**args)
|
9520
|
+
update!(**args)
|
9521
|
+
end
|
9522
|
+
|
9523
|
+
# Update properties of this object
|
9524
|
+
def update!(**args)
|
9525
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
9526
|
+
@conversation_model_evaluation = args[:conversation_model_evaluation] if args.key?(:conversation_model_evaluation)
|
9527
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
9528
|
+
@state = args[:state] if args.key?(:state)
|
9529
|
+
end
|
9530
|
+
end
|
9531
|
+
|
9532
|
+
# Metadata for a ConversationModels.CreateConversationModel operation.
|
9533
|
+
class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata
|
9534
|
+
include Google::Apis::Core::Hashable
|
9535
|
+
|
9536
|
+
# The resource name of the conversation model. Format: `projects//
|
9537
|
+
# conversationModels/`
|
9538
|
+
# Corresponds to the JSON property `conversationModel`
|
9539
|
+
# @return [String]
|
9540
|
+
attr_accessor :conversation_model
|
9541
|
+
|
9542
|
+
# Timestamp when the request to create conversation model is submitted. The time
|
9543
|
+
# is measured on server side.
|
9544
|
+
# Corresponds to the JSON property `createTime`
|
9545
|
+
# @return [String]
|
9546
|
+
attr_accessor :create_time
|
9547
|
+
|
9548
|
+
# State of CreateConversationModel operation.
|
9549
|
+
# Corresponds to the JSON property `state`
|
9550
|
+
# @return [String]
|
9551
|
+
attr_accessor :state
|
9552
|
+
|
9553
|
+
def initialize(**args)
|
9554
|
+
update!(**args)
|
9555
|
+
end
|
9556
|
+
|
9557
|
+
# Update properties of this object
|
9558
|
+
def update!(**args)
|
9559
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
9560
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
9561
|
+
@state = args[:state] if args.key?(:state)
|
9562
|
+
end
|
9563
|
+
end
|
9564
|
+
|
9565
|
+
# Metadata for ConversationDatasets.
|
9566
|
+
class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
|
9567
|
+
include Google::Apis::Core::Hashable
|
9568
|
+
|
9569
|
+
def initialize(**args)
|
9570
|
+
update!(**args)
|
9571
|
+
end
|
9572
|
+
|
9573
|
+
# Update properties of this object
|
9574
|
+
def update!(**args)
|
9575
|
+
end
|
9576
|
+
end
|
9577
|
+
|
9578
|
+
# Metadata for a ConversationModels.DeleteConversationModel operation.
|
9579
|
+
class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata
|
9580
|
+
include Google::Apis::Core::Hashable
|
9581
|
+
|
9582
|
+
# The resource name of the conversation model. Format: `projects//
|
9583
|
+
# conversationModels/`
|
9584
|
+
# Corresponds to the JSON property `conversationModel`
|
9585
|
+
# @return [String]
|
9586
|
+
attr_accessor :conversation_model
|
9587
|
+
|
9588
|
+
# Timestamp when delete conversation model request was created. The time is
|
9589
|
+
# measured on server side.
|
9590
|
+
# Corresponds to the JSON property `createTime`
|
9591
|
+
# @return [String]
|
9592
|
+
attr_accessor :create_time
|
9593
|
+
|
9594
|
+
def initialize(**args)
|
9595
|
+
update!(**args)
|
9596
|
+
end
|
9597
|
+
|
9598
|
+
# Update properties of this object
|
9599
|
+
def update!(**args)
|
9600
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
9601
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
9602
|
+
end
|
9603
|
+
end
|
9604
|
+
|
9605
|
+
# Metadata for a ConversationModels.DeployConversationModel operation.
|
9606
|
+
class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata
|
9607
|
+
include Google::Apis::Core::Hashable
|
9608
|
+
|
9609
|
+
# The resource name of the conversation model. Format: `projects//
|
9610
|
+
# conversationModels/`
|
9611
|
+
# Corresponds to the JSON property `conversationModel`
|
9612
|
+
# @return [String]
|
9613
|
+
attr_accessor :conversation_model
|
9614
|
+
|
9615
|
+
# Timestamp when request to deploy conversation model was submitted. The time is
|
9616
|
+
# measured on server side.
|
9617
|
+
# Corresponds to the JSON property `createTime`
|
9618
|
+
# @return [String]
|
9619
|
+
attr_accessor :create_time
|
9620
|
+
|
9621
|
+
def initialize(**args)
|
9622
|
+
update!(**args)
|
9623
|
+
end
|
9624
|
+
|
9625
|
+
# Update properties of this object
|
9626
|
+
def update!(**args)
|
9627
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
9628
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
9629
|
+
end
|
9630
|
+
end
|
9631
|
+
|
9303
9632
|
# Each intent parameter has a type, called the entity type, which dictates
|
9304
9633
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
9305
9634
|
# predefined system entities that can match many common types of data. For
|
@@ -9402,7 +9731,9 @@ module Google
|
|
9402
9731
|
# Required. The language of this query. See [Language Support](https://cloud.
|
9403
9732
|
# google.com/dialogflow/docs/reference/language) for a list of the currently
|
9404
9733
|
# supported language codes. Note that queries in the same session do not
|
9405
|
-
# necessarily need to specify the same language.
|
9734
|
+
# necessarily need to specify the same language. This field is ignored when used
|
9735
|
+
# in the context of a WebhookResponse.followup_event_input field, because the
|
9736
|
+
# language was already defined in the originating detect intent request.
|
9406
9737
|
# Corresponds to the JSON property `languageCode`
|
9407
9738
|
# @return [String]
|
9408
9739
|
attr_accessor :language_code
|
@@ -9464,6 +9795,25 @@ module Google
|
|
9464
9795
|
end
|
9465
9796
|
end
|
9466
9797
|
|
9798
|
+
# Metadata related to the Export Data Operations (e.g. ExportDocument).
|
9799
|
+
class GoogleCloudDialogflowV2ExportOperationMetadata
|
9800
|
+
include Google::Apis::Core::Hashable
|
9801
|
+
|
9802
|
+
# Google Cloud Storage location for the output.
|
9803
|
+
# Corresponds to the JSON property `exportedGcsDestination`
|
9804
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2GcsDestination]
|
9805
|
+
attr_accessor :exported_gcs_destination
|
9806
|
+
|
9807
|
+
def initialize(**args)
|
9808
|
+
update!(**args)
|
9809
|
+
end
|
9810
|
+
|
9811
|
+
# Update properties of this object
|
9812
|
+
def update!(**args)
|
9813
|
+
@exported_gcs_destination = args[:exported_gcs_destination] if args.key?(:exported_gcs_destination)
|
9814
|
+
end
|
9815
|
+
end
|
9816
|
+
|
9467
9817
|
# Represents answer from "frequently asked questions".
|
9468
9818
|
class GoogleCloudDialogflowV2FaqAnswer
|
9469
9819
|
include Google::Apis::Core::Hashable
|
@@ -9518,6 +9868,27 @@ module Google
|
|
9518
9868
|
end
|
9519
9869
|
end
|
9520
9870
|
|
9871
|
+
# Google Cloud Storage location for the output.
|
9872
|
+
class GoogleCloudDialogflowV2GcsDestination
|
9873
|
+
include Google::Apis::Core::Hashable
|
9874
|
+
|
9875
|
+
# The Google Cloud Storage URIs for the output. A URI is of the form: gs://
|
9876
|
+
# bucket/object-prefix-or-name Whether a prefix or name is used depends on the
|
9877
|
+
# use case. The requesting user must have "write-permission" to the bucket.
|
9878
|
+
# Corresponds to the JSON property `uri`
|
9879
|
+
# @return [String]
|
9880
|
+
attr_accessor :uri
|
9881
|
+
|
9882
|
+
def initialize(**args)
|
9883
|
+
update!(**args)
|
9884
|
+
end
|
9885
|
+
|
9886
|
+
# Update properties of this object
|
9887
|
+
def update!(**args)
|
9888
|
+
@uri = args[:uri] if args.key?(:uri)
|
9889
|
+
end
|
9890
|
+
end
|
9891
|
+
|
9521
9892
|
# Represents a notification sent to Cloud Pub/Sub subscribers for human agent
|
9522
9893
|
# assistant events in a specific conversation.
|
9523
9894
|
class GoogleCloudDialogflowV2HumanAgentAssistantEvent
|
@@ -9552,6 +9923,67 @@ module Google
|
|
9552
9923
|
end
|
9553
9924
|
end
|
9554
9925
|
|
9926
|
+
# Metadata for a ConversationDatasets.ImportConversationData operation.
|
9927
|
+
class GoogleCloudDialogflowV2ImportConversationDataOperationMetadata
|
9928
|
+
include Google::Apis::Core::Hashable
|
9929
|
+
|
9930
|
+
# The resource name of the imported conversation dataset. Format: `projects//
|
9931
|
+
# locations//conversationDatasets/`
|
9932
|
+
# Corresponds to the JSON property `conversationDataset`
|
9933
|
+
# @return [String]
|
9934
|
+
attr_accessor :conversation_dataset
|
9935
|
+
|
9936
|
+
# Timestamp when import conversation data request was created. The time is
|
9937
|
+
# measured on server side.
|
9938
|
+
# Corresponds to the JSON property `createTime`
|
9939
|
+
# @return [String]
|
9940
|
+
attr_accessor :create_time
|
9941
|
+
|
9942
|
+
# Partial failures are failures that don't fail the whole long running operation,
|
9943
|
+
# e.g. single files that couldn't be read.
|
9944
|
+
# Corresponds to the JSON property `partialFailures`
|
9945
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleRpcStatus>]
|
9946
|
+
attr_accessor :partial_failures
|
9947
|
+
|
9948
|
+
def initialize(**args)
|
9949
|
+
update!(**args)
|
9950
|
+
end
|
9951
|
+
|
9952
|
+
# Update properties of this object
|
9953
|
+
def update!(**args)
|
9954
|
+
@conversation_dataset = args[:conversation_dataset] if args.key?(:conversation_dataset)
|
9955
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
9956
|
+
@partial_failures = args[:partial_failures] if args.key?(:partial_failures)
|
9957
|
+
end
|
9958
|
+
end
|
9959
|
+
|
9960
|
+
# Response used for ConversationDatasets.ImportConversationData long running
|
9961
|
+
# operation.
|
9962
|
+
class GoogleCloudDialogflowV2ImportConversationDataOperationResponse
|
9963
|
+
include Google::Apis::Core::Hashable
|
9964
|
+
|
9965
|
+
# The resource name of the imported conversation dataset. Format: `projects//
|
9966
|
+
# locations//conversationDatasets/`
|
9967
|
+
# Corresponds to the JSON property `conversationDataset`
|
9968
|
+
# @return [String]
|
9969
|
+
attr_accessor :conversation_dataset
|
9970
|
+
|
9971
|
+
# Number of conversations imported successfully.
|
9972
|
+
# Corresponds to the JSON property `importCount`
|
9973
|
+
# @return [Fixnum]
|
9974
|
+
attr_accessor :import_count
|
9975
|
+
|
9976
|
+
def initialize(**args)
|
9977
|
+
update!(**args)
|
9978
|
+
end
|
9979
|
+
|
9980
|
+
# Update properties of this object
|
9981
|
+
def update!(**args)
|
9982
|
+
@conversation_dataset = args[:conversation_dataset] if args.key?(:conversation_dataset)
|
9983
|
+
@import_count = args[:import_count] if args.key?(:import_count)
|
9984
|
+
end
|
9985
|
+
end
|
9986
|
+
|
9555
9987
|
# Response message for Documents.ImportDocuments.
|
9556
9988
|
class GoogleCloudDialogflowV2ImportDocumentsResponse
|
9557
9989
|
include Google::Apis::Core::Hashable
|
@@ -9571,6 +10003,26 @@ module Google
|
|
9571
10003
|
end
|
9572
10004
|
end
|
9573
10005
|
|
10006
|
+
# InputDataset used to create model or do evaluation. NextID:5
|
10007
|
+
class GoogleCloudDialogflowV2InputDataset
|
10008
|
+
include Google::Apis::Core::Hashable
|
10009
|
+
|
10010
|
+
# Required. ConversationDataset resource name. Format: `projects//locations//
|
10011
|
+
# conversationDatasets/`
|
10012
|
+
# Corresponds to the JSON property `dataset`
|
10013
|
+
# @return [String]
|
10014
|
+
attr_accessor :dataset
|
10015
|
+
|
10016
|
+
def initialize(**args)
|
10017
|
+
update!(**args)
|
10018
|
+
end
|
10019
|
+
|
10020
|
+
# Update properties of this object
|
10021
|
+
def update!(**args)
|
10022
|
+
@dataset = args[:dataset] if args.key?(:dataset)
|
10023
|
+
end
|
10024
|
+
end
|
10025
|
+
|
9574
10026
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
9575
10027
|
# each agent, you define many intents, where your combined intents can handle a
|
9576
10028
|
# complete conversation. When an end-user writes or says something, referred to
|
@@ -10826,6 +11278,11 @@ module Google
|
|
10826
11278
|
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
10827
11279
|
include Google::Apis::Core::Hashable
|
10828
11280
|
|
11281
|
+
# Metadata related to the Export Data Operations (e.g. ExportDocument).
|
11282
|
+
# Corresponds to the JSON property `exportOperationMetadata`
|
11283
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ExportOperationMetadata]
|
11284
|
+
attr_accessor :export_operation_metadata
|
11285
|
+
|
10829
11286
|
# The name of the knowledge base interacted with during the operation.
|
10830
11287
|
# Corresponds to the JSON property `knowledgeBase`
|
10831
11288
|
# @return [String]
|
@@ -10842,6 +11299,7 @@ module Google
|
|
10842
11299
|
|
10843
11300
|
# Update properties of this object
|
10844
11301
|
def update!(**args)
|
11302
|
+
@export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
|
10845
11303
|
@knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
|
10846
11304
|
@state = args[:state] if args.key?(:state)
|
10847
11305
|
end
|
@@ -11250,6 +11708,45 @@ module Google
|
|
11250
11708
|
end
|
11251
11709
|
end
|
11252
11710
|
|
11711
|
+
# Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
|
11712
|
+
class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
|
11713
|
+
include Google::Apis::Core::Hashable
|
11714
|
+
|
11715
|
+
# The resource name of the conversation profile. Format: `projects//locations//
|
11716
|
+
# conversationProfiles/`
|
11717
|
+
# Corresponds to the JSON property `conversationProfile`
|
11718
|
+
# @return [String]
|
11719
|
+
attr_accessor :conversation_profile
|
11720
|
+
|
11721
|
+
# Timestamp whe the request was created. The time is measured on server side.
|
11722
|
+
# Corresponds to the JSON property `createTime`
|
11723
|
+
# @return [String]
|
11724
|
+
attr_accessor :create_time
|
11725
|
+
|
11726
|
+
# Required. The participant role to add or update the suggestion feature config.
|
11727
|
+
# Only HUMAN_AGENT or END_USER can be used.
|
11728
|
+
# Corresponds to the JSON property `participantRole`
|
11729
|
+
# @return [String]
|
11730
|
+
attr_accessor :participant_role
|
11731
|
+
|
11732
|
+
# Required. The type of the suggestion feature to add or update.
|
11733
|
+
# Corresponds to the JSON property `suggestionFeatureType`
|
11734
|
+
# @return [String]
|
11735
|
+
attr_accessor :suggestion_feature_type
|
11736
|
+
|
11737
|
+
def initialize(**args)
|
11738
|
+
update!(**args)
|
11739
|
+
end
|
11740
|
+
|
11741
|
+
# Update properties of this object
|
11742
|
+
def update!(**args)
|
11743
|
+
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
11744
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
11745
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
11746
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
11747
|
+
end
|
11748
|
+
end
|
11749
|
+
|
11253
11750
|
# Represents a smart reply answer.
|
11254
11751
|
class GoogleCloudDialogflowV2SmartReplyAnswer
|
11255
11752
|
include Google::Apis::Core::Hashable
|
@@ -11284,6 +11781,25 @@ module Google
|
|
11284
11781
|
end
|
11285
11782
|
end
|
11286
11783
|
|
11784
|
+
# Metadata for smart reply models.
|
11785
|
+
class GoogleCloudDialogflowV2SmartReplyModelMetadata
|
11786
|
+
include Google::Apis::Core::Hashable
|
11787
|
+
|
11788
|
+
# Optional. Type of the smart reply model. If not provided, model_type is used.
|
11789
|
+
# Corresponds to the JSON property `trainingModelType`
|
11790
|
+
# @return [String]
|
11791
|
+
attr_accessor :training_model_type
|
11792
|
+
|
11793
|
+
def initialize(**args)
|
11794
|
+
update!(**args)
|
11795
|
+
end
|
11796
|
+
|
11797
|
+
# Update properties of this object
|
11798
|
+
def update!(**args)
|
11799
|
+
@training_model_type = args[:training_model_type] if args.key?(:training_model_type)
|
11800
|
+
end
|
11801
|
+
end
|
11802
|
+
|
11287
11803
|
# The response message for Participants.SuggestArticles.
|
11288
11804
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
11289
11805
|
include Google::Apis::Core::Hashable
|
@@ -11432,6 +11948,33 @@ module Google
|
|
11432
11948
|
end
|
11433
11949
|
end
|
11434
11950
|
|
11951
|
+
# Metadata for a ConversationModels.UndeployConversationModel operation.
|
11952
|
+
class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
|
11953
|
+
include Google::Apis::Core::Hashable
|
11954
|
+
|
11955
|
+
# The resource name of the conversation model. Format: `projects//
|
11956
|
+
# conversationModels/`
|
11957
|
+
# Corresponds to the JSON property `conversationModel`
|
11958
|
+
# @return [String]
|
11959
|
+
attr_accessor :conversation_model
|
11960
|
+
|
11961
|
+
# Timestamp when the request to undeploy conversation model was submitted. The
|
11962
|
+
# time is measured on server side.
|
11963
|
+
# Corresponds to the JSON property `createTime`
|
11964
|
+
# @return [String]
|
11965
|
+
attr_accessor :create_time
|
11966
|
+
|
11967
|
+
def initialize(**args)
|
11968
|
+
update!(**args)
|
11969
|
+
end
|
11970
|
+
|
11971
|
+
# Update properties of this object
|
11972
|
+
def update!(**args)
|
11973
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
11974
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
11975
|
+
end
|
11976
|
+
end
|
11977
|
+
|
11435
11978
|
# The request message for a webhook call.
|
11436
11979
|
class GoogleCloudDialogflowV2WebhookRequest
|
11437
11980
|
include Google::Apis::Core::Hashable
|
@@ -11679,6 +12222,45 @@ module Google
|
|
11679
12222
|
end
|
11680
12223
|
end
|
11681
12224
|
|
12225
|
+
# Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
|
12226
|
+
class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata
|
12227
|
+
include Google::Apis::Core::Hashable
|
12228
|
+
|
12229
|
+
# The resource name of the conversation profile. Format: `projects//locations//
|
12230
|
+
# conversationProfiles/`
|
12231
|
+
# Corresponds to the JSON property `conversationProfile`
|
12232
|
+
# @return [String]
|
12233
|
+
attr_accessor :conversation_profile
|
12234
|
+
|
12235
|
+
# Timestamp whe the request was created. The time is measured on server side.
|
12236
|
+
# Corresponds to the JSON property `createTime`
|
12237
|
+
# @return [String]
|
12238
|
+
attr_accessor :create_time
|
12239
|
+
|
12240
|
+
# Required. The participant role to remove the suggestion feature config. Only
|
12241
|
+
# HUMAN_AGENT or END_USER can be used.
|
12242
|
+
# Corresponds to the JSON property `participantRole`
|
12243
|
+
# @return [String]
|
12244
|
+
attr_accessor :participant_role
|
12245
|
+
|
12246
|
+
# Required. The type of the suggestion feature to remove.
|
12247
|
+
# Corresponds to the JSON property `suggestionFeatureType`
|
12248
|
+
# @return [String]
|
12249
|
+
attr_accessor :suggestion_feature_type
|
12250
|
+
|
12251
|
+
def initialize(**args)
|
12252
|
+
update!(**args)
|
12253
|
+
end
|
12254
|
+
|
12255
|
+
# Update properties of this object
|
12256
|
+
def update!(**args)
|
12257
|
+
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
12258
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
12259
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
12260
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
12261
|
+
end
|
12262
|
+
end
|
12263
|
+
|
11682
12264
|
# Dialogflow contexts are similar to natural language context. If a person says
|
11683
12265
|
# to you "they are orange", you need context in order to understand what "they"
|
11684
12266
|
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
@@ -11888,7 +12470,9 @@ module Google
|
|
11888
12470
|
# Required. The language of this query. See [Language Support](https://cloud.
|
11889
12471
|
# google.com/dialogflow/docs/reference/language) for a list of the currently
|
11890
12472
|
# supported language codes. Note that queries in the same session do not
|
11891
|
-
# necessarily need to specify the same language.
|
12473
|
+
# necessarily need to specify the same language. This field is ignored when used
|
12474
|
+
# in the context of a WebhookResponse.followup_event_input field, because the
|
12475
|
+
# language was already defined in the originating detect intent request.
|
11892
12476
|
# Corresponds to the JSON property `languageCode`
|
11893
12477
|
# @return [String]
|
11894
12478
|
attr_accessor :language_code
|
@@ -11950,6 +12534,25 @@ module Google
|
|
11950
12534
|
end
|
11951
12535
|
end
|
11952
12536
|
|
12537
|
+
# Metadata related to the Export Data Operations (e.g. ExportDocument).
|
12538
|
+
class GoogleCloudDialogflowV2beta1ExportOperationMetadata
|
12539
|
+
include Google::Apis::Core::Hashable
|
12540
|
+
|
12541
|
+
# Google Cloud Storage location for the output.
|
12542
|
+
# Corresponds to the JSON property `exportedGcsDestination`
|
12543
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GcsDestination]
|
12544
|
+
attr_accessor :exported_gcs_destination
|
12545
|
+
|
12546
|
+
def initialize(**args)
|
12547
|
+
update!(**args)
|
12548
|
+
end
|
12549
|
+
|
12550
|
+
# Update properties of this object
|
12551
|
+
def update!(**args)
|
12552
|
+
@exported_gcs_destination = args[:exported_gcs_destination] if args.key?(:exported_gcs_destination)
|
12553
|
+
end
|
12554
|
+
end
|
12555
|
+
|
11953
12556
|
# Represents answer from "frequently asked questions".
|
11954
12557
|
class GoogleCloudDialogflowV2beta1FaqAnswer
|
11955
12558
|
include Google::Apis::Core::Hashable
|
@@ -12004,6 +12607,27 @@ module Google
|
|
12004
12607
|
end
|
12005
12608
|
end
|
12006
12609
|
|
12610
|
+
# Google Cloud Storage location for the output.
|
12611
|
+
class GoogleCloudDialogflowV2beta1GcsDestination
|
12612
|
+
include Google::Apis::Core::Hashable
|
12613
|
+
|
12614
|
+
# Required. The Google Cloud Storage URIs for the output. A URI is of the form:
|
12615
|
+
# gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on
|
12616
|
+
# the use case. The requesting user must have "write-permission" to the bucket.
|
12617
|
+
# Corresponds to the JSON property `uri`
|
12618
|
+
# @return [String]
|
12619
|
+
attr_accessor :uri
|
12620
|
+
|
12621
|
+
def initialize(**args)
|
12622
|
+
update!(**args)
|
12623
|
+
end
|
12624
|
+
|
12625
|
+
# Update properties of this object
|
12626
|
+
def update!(**args)
|
12627
|
+
@uri = args[:uri] if args.key?(:uri)
|
12628
|
+
end
|
12629
|
+
end
|
12630
|
+
|
12007
12631
|
# Output only. Represents a notification sent to Pub/Sub subscribers for agent
|
12008
12632
|
# assistant events in a specific conversation.
|
12009
12633
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
|
@@ -13863,6 +14487,11 @@ module Google
|
|
13863
14487
|
class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
|
13864
14488
|
include Google::Apis::Core::Hashable
|
13865
14489
|
|
14490
|
+
# Metadata related to the Export Data Operations (e.g. ExportDocument).
|
14491
|
+
# Corresponds to the JSON property `exportOperationMetadata`
|
14492
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ExportOperationMetadata]
|
14493
|
+
attr_accessor :export_operation_metadata
|
14494
|
+
|
13866
14495
|
# The name of the knowledge base interacted with during the operation.
|
13867
14496
|
# Corresponds to the JSON property `knowledgeBase`
|
13868
14497
|
# @return [String]
|
@@ -13879,6 +14508,7 @@ module Google
|
|
13879
14508
|
|
13880
14509
|
# Update properties of this object
|
13881
14510
|
def update!(**args)
|
14511
|
+
@export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
|
13882
14512
|
@knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
|
13883
14513
|
@state = args[:state] if args.key?(:state)
|
13884
14514
|
end
|
@@ -14296,6 +14926,45 @@ module Google
|
|
14296
14926
|
end
|
14297
14927
|
end
|
14298
14928
|
|
14929
|
+
# Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
|
14930
|
+
class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata
|
14931
|
+
include Google::Apis::Core::Hashable
|
14932
|
+
|
14933
|
+
# The resource name of the conversation profile. Format: `projects//locations//
|
14934
|
+
# conversationProfiles/`
|
14935
|
+
# Corresponds to the JSON property `conversationProfile`
|
14936
|
+
# @return [String]
|
14937
|
+
attr_accessor :conversation_profile
|
14938
|
+
|
14939
|
+
# Timestamp whe the request was created. The time is measured on server side.
|
14940
|
+
# Corresponds to the JSON property `createTime`
|
14941
|
+
# @return [String]
|
14942
|
+
attr_accessor :create_time
|
14943
|
+
|
14944
|
+
# Required. The participant role to add or update the suggestion feature config.
|
14945
|
+
# Only HUMAN_AGENT or END_USER can be used.
|
14946
|
+
# Corresponds to the JSON property `participantRole`
|
14947
|
+
# @return [String]
|
14948
|
+
attr_accessor :participant_role
|
14949
|
+
|
14950
|
+
# Required. The type of the suggestion feature to add or update.
|
14951
|
+
# Corresponds to the JSON property `suggestionFeatureType`
|
14952
|
+
# @return [String]
|
14953
|
+
attr_accessor :suggestion_feature_type
|
14954
|
+
|
14955
|
+
def initialize(**args)
|
14956
|
+
update!(**args)
|
14957
|
+
end
|
14958
|
+
|
14959
|
+
# Update properties of this object
|
14960
|
+
def update!(**args)
|
14961
|
+
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
14962
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
14963
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
14964
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
14965
|
+
end
|
14966
|
+
end
|
14967
|
+
|
14299
14968
|
# Represents a smart reply answer.
|
14300
14969
|
class GoogleCloudDialogflowV2beta1SmartReplyAnswer
|
14301
14970
|
include Google::Apis::Core::Hashable
|