google-apis-dialogflow_v2beta1 0.27.0 → 0.30.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_v2beta1/classes.rb +729 -14
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +343 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +166 -0
- metadata +3 -3
@@ -2284,12 +2284,24 @@ module Google
|
|
2284
2284
|
class GoogleCloudDialogflowCxV3TestConfig
|
2285
2285
|
include Google::Apis::Core::Hashable
|
2286
2286
|
|
2287
|
-
# Flow name
|
2288
|
-
#
|
2287
|
+
# Flow name to start the test case with. Format: `projects//locations//agents//
|
2288
|
+
# flows/`. Only one of `flow` and `page` should be set to indicate the starting
|
2289
|
+
# point of the test case. If both are set, `page` takes precedence over `flow`.
|
2290
|
+
# If neither is set, the test case will start with start page on the default
|
2291
|
+
# start flow.
|
2289
2292
|
# Corresponds to the JSON property `flow`
|
2290
2293
|
# @return [String]
|
2291
2294
|
attr_accessor :flow
|
2292
2295
|
|
2296
|
+
# The page to start the test case with. Format: `projects//locations//agents//
|
2297
|
+
# flows//pages/`. Only one of `flow` and `page` should be set to indicate the
|
2298
|
+
# starting point of the test case. If both are set, `page` takes precedence over
|
2299
|
+
# `flow`. If neither is set, the test case will start with start page on the
|
2300
|
+
# default start flow.
|
2301
|
+
# Corresponds to the JSON property `page`
|
2302
|
+
# @return [String]
|
2303
|
+
attr_accessor :page
|
2304
|
+
|
2293
2305
|
# Session parameters to be compared when calculating differences.
|
2294
2306
|
# Corresponds to the JSON property `trackingParameters`
|
2295
2307
|
# @return [Array<String>]
|
@@ -2302,6 +2314,7 @@ module Google
|
|
2302
2314
|
# Update properties of this object
|
2303
2315
|
def update!(**args)
|
2304
2316
|
@flow = args[:flow] if args.key?(:flow)
|
2317
|
+
@page = args[:page] if args.key?(:page)
|
2305
2318
|
@tracking_parameters = args[:tracking_parameters] if args.key?(:tracking_parameters)
|
2306
2319
|
end
|
2307
2320
|
end
|
@@ -5026,12 +5039,24 @@ module Google
|
|
5026
5039
|
class GoogleCloudDialogflowCxV3beta1TestConfig
|
5027
5040
|
include Google::Apis::Core::Hashable
|
5028
5041
|
|
5029
|
-
# Flow name
|
5030
|
-
#
|
5042
|
+
# Flow name to start the test case with. Format: `projects//locations//agents//
|
5043
|
+
# flows/`. Only one of `flow` and `page` should be set to indicate the starting
|
5044
|
+
# point of the test case. If both are set, `page` takes precedence over `flow`.
|
5045
|
+
# If neither is set, the test case will start with start page on the default
|
5046
|
+
# start flow.
|
5031
5047
|
# Corresponds to the JSON property `flow`
|
5032
5048
|
# @return [String]
|
5033
5049
|
attr_accessor :flow
|
5034
5050
|
|
5051
|
+
# The page to start the test case with. Format: `projects//locations//agents//
|
5052
|
+
# flows//pages/`. Only one of `flow` and `page` should be set to indicate the
|
5053
|
+
# starting point of the test case. If both are set, `page` takes precedence over
|
5054
|
+
# `flow`. If neither is set, the test case will start with start page on the
|
5055
|
+
# default start flow.
|
5056
|
+
# Corresponds to the JSON property `page`
|
5057
|
+
# @return [String]
|
5058
|
+
attr_accessor :page
|
5059
|
+
|
5035
5060
|
# Session parameters to be compared when calculating differences.
|
5036
5061
|
# Corresponds to the JSON property `trackingParameters`
|
5037
5062
|
# @return [Array<String>]
|
@@ -5044,6 +5069,7 @@ module Google
|
|
5044
5069
|
# Update properties of this object
|
5045
5070
|
def update!(**args)
|
5046
5071
|
@flow = args[:flow] if args.key?(:flow)
|
5072
|
+
@page = args[:page] if args.key?(:page)
|
5047
5073
|
@tracking_parameters = args[:tracking_parameters] if args.key?(:tracking_parameters)
|
5048
5074
|
end
|
5049
5075
|
end
|
@@ -5597,6 +5623,26 @@ module Google
|
|
5597
5623
|
end
|
5598
5624
|
end
|
5599
5625
|
|
5626
|
+
# Metadata for article suggestion models.
|
5627
|
+
class GoogleCloudDialogflowV2ArticleSuggestionModelMetadata
|
5628
|
+
include Google::Apis::Core::Hashable
|
5629
|
+
|
5630
|
+
# Optional. Type of the article suggestion model. If not provided, model_type is
|
5631
|
+
# used.
|
5632
|
+
# Corresponds to the JSON property `trainingModelType`
|
5633
|
+
# @return [String]
|
5634
|
+
attr_accessor :training_model_type
|
5635
|
+
|
5636
|
+
def initialize(**args)
|
5637
|
+
update!(**args)
|
5638
|
+
end
|
5639
|
+
|
5640
|
+
# Update properties of this object
|
5641
|
+
def update!(**args)
|
5642
|
+
@training_model_type = args[:training_model_type] if args.key?(:training_model_type)
|
5643
|
+
end
|
5644
|
+
end
|
5645
|
+
|
5600
5646
|
# The response message for EntityTypes.BatchUpdateEntityTypes.
|
5601
5647
|
class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
|
5602
5648
|
include Google::Apis::Core::Hashable
|
@@ -5635,6 +5681,45 @@ module Google
|
|
5635
5681
|
end
|
5636
5682
|
end
|
5637
5683
|
|
5684
|
+
# Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
|
5685
|
+
class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
|
5686
|
+
include Google::Apis::Core::Hashable
|
5687
|
+
|
5688
|
+
# The resource name of the conversation profile. Format: `projects//locations//
|
5689
|
+
# conversationProfiles/`
|
5690
|
+
# Corresponds to the JSON property `conversationProfile`
|
5691
|
+
# @return [String]
|
5692
|
+
attr_accessor :conversation_profile
|
5693
|
+
|
5694
|
+
# Timestamp whe the request was created. The time is measured on server side.
|
5695
|
+
# Corresponds to the JSON property `createTime`
|
5696
|
+
# @return [String]
|
5697
|
+
attr_accessor :create_time
|
5698
|
+
|
5699
|
+
# Required. The participant role to remove the suggestion feature config. Only
|
5700
|
+
# HUMAN_AGENT or END_USER can be used.
|
5701
|
+
# Corresponds to the JSON property `participantRole`
|
5702
|
+
# @return [String]
|
5703
|
+
attr_accessor :participant_role
|
5704
|
+
|
5705
|
+
# Required. The type of the suggestion feature to remove.
|
5706
|
+
# Corresponds to the JSON property `suggestionFeatureType`
|
5707
|
+
# @return [String]
|
5708
|
+
attr_accessor :suggestion_feature_type
|
5709
|
+
|
5710
|
+
def initialize(**args)
|
5711
|
+
update!(**args)
|
5712
|
+
end
|
5713
|
+
|
5714
|
+
# Update properties of this object
|
5715
|
+
def update!(**args)
|
5716
|
+
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
5717
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5718
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
5719
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
5720
|
+
end
|
5721
|
+
end
|
5722
|
+
|
5638
5723
|
# Dialogflow contexts are similar to natural language context. If a person says
|
5639
5724
|
# to you "they are orange", you need context in order to understand what "they"
|
5640
5725
|
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
@@ -5740,6 +5825,224 @@ module Google
|
|
5740
5825
|
end
|
5741
5826
|
end
|
5742
5827
|
|
5828
|
+
# Represents a conversation model.
|
5829
|
+
class GoogleCloudDialogflowV2ConversationModel
|
5830
|
+
include Google::Apis::Core::Hashable
|
5831
|
+
|
5832
|
+
# Metadata for article suggestion models.
|
5833
|
+
# Corresponds to the JSON property `articleSuggestionModelMetadata`
|
5834
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ArticleSuggestionModelMetadata]
|
5835
|
+
attr_accessor :article_suggestion_model_metadata
|
5836
|
+
|
5837
|
+
# Output only. Creation time of this model.
|
5838
|
+
# Corresponds to the JSON property `createTime`
|
5839
|
+
# @return [String]
|
5840
|
+
attr_accessor :create_time
|
5841
|
+
|
5842
|
+
# Required. Datasets used to create model.
|
5843
|
+
# Corresponds to the JSON property `datasets`
|
5844
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2InputDataset>]
|
5845
|
+
attr_accessor :datasets
|
5846
|
+
|
5847
|
+
# Required. The display name of the model. At most 64 bytes long.
|
5848
|
+
# Corresponds to the JSON property `displayName`
|
5849
|
+
# @return [String]
|
5850
|
+
attr_accessor :display_name
|
5851
|
+
|
5852
|
+
# Language code for the conversation model. If not specified, the language is en-
|
5853
|
+
# US. Language at ConversationModel should be set for all non en-us languages.
|
5854
|
+
# This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
5855
|
+
# language tag. Example: "en-US".
|
5856
|
+
# Corresponds to the JSON property `languageCode`
|
5857
|
+
# @return [String]
|
5858
|
+
attr_accessor :language_code
|
5859
|
+
|
5860
|
+
# ConversationModel resource name. Format: `projects//conversationModels/`
|
5861
|
+
# Corresponds to the JSON property `name`
|
5862
|
+
# @return [String]
|
5863
|
+
attr_accessor :name
|
5864
|
+
|
5865
|
+
# Metadata for smart reply models.
|
5866
|
+
# Corresponds to the JSON property `smartReplyModelMetadata`
|
5867
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SmartReplyModelMetadata]
|
5868
|
+
attr_accessor :smart_reply_model_metadata
|
5869
|
+
|
5870
|
+
# Output only. State of the model. A model can only serve prediction requests
|
5871
|
+
# after it gets deployed.
|
5872
|
+
# Corresponds to the JSON property `state`
|
5873
|
+
# @return [String]
|
5874
|
+
attr_accessor :state
|
5875
|
+
|
5876
|
+
def initialize(**args)
|
5877
|
+
update!(**args)
|
5878
|
+
end
|
5879
|
+
|
5880
|
+
# Update properties of this object
|
5881
|
+
def update!(**args)
|
5882
|
+
@article_suggestion_model_metadata = args[:article_suggestion_model_metadata] if args.key?(:article_suggestion_model_metadata)
|
5883
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5884
|
+
@datasets = args[:datasets] if args.key?(:datasets)
|
5885
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
5886
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
5887
|
+
@name = args[:name] if args.key?(:name)
|
5888
|
+
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
|
5889
|
+
@state = args[:state] if args.key?(:state)
|
5890
|
+
end
|
5891
|
+
end
|
5892
|
+
|
5893
|
+
# Metadata for ConversationDatasets.
|
5894
|
+
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
|
5895
|
+
include Google::Apis::Core::Hashable
|
5896
|
+
|
5897
|
+
def initialize(**args)
|
5898
|
+
update!(**args)
|
5899
|
+
end
|
5900
|
+
|
5901
|
+
# Update properties of this object
|
5902
|
+
def update!(**args)
|
5903
|
+
end
|
5904
|
+
end
|
5905
|
+
|
5906
|
+
# Metadata for a ConversationModels.CreateConversationModelEvaluation operation.
|
5907
|
+
class GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata
|
5908
|
+
include Google::Apis::Core::Hashable
|
5909
|
+
|
5910
|
+
# The resource name of the conversation model. Format: `projects//locations//
|
5911
|
+
# conversationModels/`
|
5912
|
+
# Corresponds to the JSON property `conversationModel`
|
5913
|
+
# @return [String]
|
5914
|
+
attr_accessor :conversation_model
|
5915
|
+
|
5916
|
+
# The resource name of the conversation model. Format: `projects//locations//
|
5917
|
+
# conversationModels//evaluations/`
|
5918
|
+
# Corresponds to the JSON property `conversationModelEvaluation`
|
5919
|
+
# @return [String]
|
5920
|
+
attr_accessor :conversation_model_evaluation
|
5921
|
+
|
5922
|
+
# Timestamp when the request to create conversation model was submitted. The
|
5923
|
+
# time is measured on server side.
|
5924
|
+
# Corresponds to the JSON property `createTime`
|
5925
|
+
# @return [String]
|
5926
|
+
attr_accessor :create_time
|
5927
|
+
|
5928
|
+
# State of CreateConversationModel operation.
|
5929
|
+
# Corresponds to the JSON property `state`
|
5930
|
+
# @return [String]
|
5931
|
+
attr_accessor :state
|
5932
|
+
|
5933
|
+
def initialize(**args)
|
5934
|
+
update!(**args)
|
5935
|
+
end
|
5936
|
+
|
5937
|
+
# Update properties of this object
|
5938
|
+
def update!(**args)
|
5939
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
5940
|
+
@conversation_model_evaluation = args[:conversation_model_evaluation] if args.key?(:conversation_model_evaluation)
|
5941
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5942
|
+
@state = args[:state] if args.key?(:state)
|
5943
|
+
end
|
5944
|
+
end
|
5945
|
+
|
5946
|
+
# Metadata for a ConversationModels.CreateConversationModel operation.
|
5947
|
+
class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata
|
5948
|
+
include Google::Apis::Core::Hashable
|
5949
|
+
|
5950
|
+
# The resource name of the conversation model. Format: `projects//
|
5951
|
+
# conversationModels/`
|
5952
|
+
# Corresponds to the JSON property `conversationModel`
|
5953
|
+
# @return [String]
|
5954
|
+
attr_accessor :conversation_model
|
5955
|
+
|
5956
|
+
# Timestamp when the request to create conversation model is submitted. The time
|
5957
|
+
# is measured on server side.
|
5958
|
+
# Corresponds to the JSON property `createTime`
|
5959
|
+
# @return [String]
|
5960
|
+
attr_accessor :create_time
|
5961
|
+
|
5962
|
+
# State of CreateConversationModel operation.
|
5963
|
+
# Corresponds to the JSON property `state`
|
5964
|
+
# @return [String]
|
5965
|
+
attr_accessor :state
|
5966
|
+
|
5967
|
+
def initialize(**args)
|
5968
|
+
update!(**args)
|
5969
|
+
end
|
5970
|
+
|
5971
|
+
# Update properties of this object
|
5972
|
+
def update!(**args)
|
5973
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
5974
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5975
|
+
@state = args[:state] if args.key?(:state)
|
5976
|
+
end
|
5977
|
+
end
|
5978
|
+
|
5979
|
+
# Metadata for ConversationDatasets.
|
5980
|
+
class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
|
5981
|
+
include Google::Apis::Core::Hashable
|
5982
|
+
|
5983
|
+
def initialize(**args)
|
5984
|
+
update!(**args)
|
5985
|
+
end
|
5986
|
+
|
5987
|
+
# Update properties of this object
|
5988
|
+
def update!(**args)
|
5989
|
+
end
|
5990
|
+
end
|
5991
|
+
|
5992
|
+
# Metadata for a ConversationModels.DeleteConversationModel operation.
|
5993
|
+
class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata
|
5994
|
+
include Google::Apis::Core::Hashable
|
5995
|
+
|
5996
|
+
# The resource name of the conversation model. Format: `projects//
|
5997
|
+
# conversationModels/`
|
5998
|
+
# Corresponds to the JSON property `conversationModel`
|
5999
|
+
# @return [String]
|
6000
|
+
attr_accessor :conversation_model
|
6001
|
+
|
6002
|
+
# Timestamp when delete conversation model request was created. The time is
|
6003
|
+
# measured on server side.
|
6004
|
+
# Corresponds to the JSON property `createTime`
|
6005
|
+
# @return [String]
|
6006
|
+
attr_accessor :create_time
|
6007
|
+
|
6008
|
+
def initialize(**args)
|
6009
|
+
update!(**args)
|
6010
|
+
end
|
6011
|
+
|
6012
|
+
# Update properties of this object
|
6013
|
+
def update!(**args)
|
6014
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
6015
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6016
|
+
end
|
6017
|
+
end
|
6018
|
+
|
6019
|
+
# Metadata for a ConversationModels.DeployConversationModel operation.
|
6020
|
+
class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata
|
6021
|
+
include Google::Apis::Core::Hashable
|
6022
|
+
|
6023
|
+
# The resource name of the conversation model. Format: `projects//
|
6024
|
+
# conversationModels/`
|
6025
|
+
# Corresponds to the JSON property `conversationModel`
|
6026
|
+
# @return [String]
|
6027
|
+
attr_accessor :conversation_model
|
6028
|
+
|
6029
|
+
# Timestamp when request to deploy conversation model was submitted. The time is
|
6030
|
+
# measured on server side.
|
6031
|
+
# Corresponds to the JSON property `createTime`
|
6032
|
+
# @return [String]
|
6033
|
+
attr_accessor :create_time
|
6034
|
+
|
6035
|
+
def initialize(**args)
|
6036
|
+
update!(**args)
|
6037
|
+
end
|
6038
|
+
|
6039
|
+
# Update properties of this object
|
6040
|
+
def update!(**args)
|
6041
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
6042
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6043
|
+
end
|
6044
|
+
end
|
6045
|
+
|
5743
6046
|
# Each intent parameter has a type, called the entity type, which dictates
|
5744
6047
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
5745
6048
|
# predefined system entities that can match many common types of data. For
|
@@ -5842,7 +6145,9 @@ module Google
|
|
5842
6145
|
# Required. The language of this query. See [Language Support](https://cloud.
|
5843
6146
|
# google.com/dialogflow/docs/reference/language) for a list of the currently
|
5844
6147
|
# supported language codes. Note that queries in the same session do not
|
5845
|
-
# necessarily need to specify the same language.
|
6148
|
+
# necessarily need to specify the same language. This field is ignored when used
|
6149
|
+
# in the context of a WebhookResponse.followup_event_input field, because the
|
6150
|
+
# language was already defined in the originating detect intent request.
|
5846
6151
|
# Corresponds to the JSON property `languageCode`
|
5847
6152
|
# @return [String]
|
5848
6153
|
attr_accessor :language_code
|
@@ -5904,6 +6209,25 @@ module Google
|
|
5904
6209
|
end
|
5905
6210
|
end
|
5906
6211
|
|
6212
|
+
# Metadata related to the Export Data Operations (e.g. ExportDocument).
|
6213
|
+
class GoogleCloudDialogflowV2ExportOperationMetadata
|
6214
|
+
include Google::Apis::Core::Hashable
|
6215
|
+
|
6216
|
+
# Google Cloud Storage location for the output.
|
6217
|
+
# Corresponds to the JSON property `exportedGcsDestination`
|
6218
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2GcsDestination]
|
6219
|
+
attr_accessor :exported_gcs_destination
|
6220
|
+
|
6221
|
+
def initialize(**args)
|
6222
|
+
update!(**args)
|
6223
|
+
end
|
6224
|
+
|
6225
|
+
# Update properties of this object
|
6226
|
+
def update!(**args)
|
6227
|
+
@exported_gcs_destination = args[:exported_gcs_destination] if args.key?(:exported_gcs_destination)
|
6228
|
+
end
|
6229
|
+
end
|
6230
|
+
|
5907
6231
|
# Represents answer from "frequently asked questions".
|
5908
6232
|
class GoogleCloudDialogflowV2FaqAnswer
|
5909
6233
|
include Google::Apis::Core::Hashable
|
@@ -5958,6 +6282,27 @@ module Google
|
|
5958
6282
|
end
|
5959
6283
|
end
|
5960
6284
|
|
6285
|
+
# Google Cloud Storage location for the output.
|
6286
|
+
class GoogleCloudDialogflowV2GcsDestination
|
6287
|
+
include Google::Apis::Core::Hashable
|
6288
|
+
|
6289
|
+
# The Google Cloud Storage URIs for the output. A URI is of the form: gs://
|
6290
|
+
# bucket/object-prefix-or-name Whether a prefix or name is used depends on the
|
6291
|
+
# use case. The requesting user must have "write-permission" to the bucket.
|
6292
|
+
# Corresponds to the JSON property `uri`
|
6293
|
+
# @return [String]
|
6294
|
+
attr_accessor :uri
|
6295
|
+
|
6296
|
+
def initialize(**args)
|
6297
|
+
update!(**args)
|
6298
|
+
end
|
6299
|
+
|
6300
|
+
# Update properties of this object
|
6301
|
+
def update!(**args)
|
6302
|
+
@uri = args[:uri] if args.key?(:uri)
|
6303
|
+
end
|
6304
|
+
end
|
6305
|
+
|
5961
6306
|
# Represents a notification sent to Cloud Pub/Sub subscribers for human agent
|
5962
6307
|
# assistant events in a specific conversation.
|
5963
6308
|
class GoogleCloudDialogflowV2HumanAgentAssistantEvent
|
@@ -5992,6 +6337,67 @@ module Google
|
|
5992
6337
|
end
|
5993
6338
|
end
|
5994
6339
|
|
6340
|
+
# Metadata for a ConversationDatasets.ImportConversationData operation.
|
6341
|
+
class GoogleCloudDialogflowV2ImportConversationDataOperationMetadata
|
6342
|
+
include Google::Apis::Core::Hashable
|
6343
|
+
|
6344
|
+
# The resource name of the imported conversation dataset. Format: `projects//
|
6345
|
+
# locations//conversationDatasets/`
|
6346
|
+
# Corresponds to the JSON property `conversationDataset`
|
6347
|
+
# @return [String]
|
6348
|
+
attr_accessor :conversation_dataset
|
6349
|
+
|
6350
|
+
# Timestamp when import conversation data request was created. The time is
|
6351
|
+
# measured on server side.
|
6352
|
+
# Corresponds to the JSON property `createTime`
|
6353
|
+
# @return [String]
|
6354
|
+
attr_accessor :create_time
|
6355
|
+
|
6356
|
+
# Partial failures are failures that don't fail the whole long running operation,
|
6357
|
+
# e.g. single files that couldn't be read.
|
6358
|
+
# Corresponds to the JSON property `partialFailures`
|
6359
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleRpcStatus>]
|
6360
|
+
attr_accessor :partial_failures
|
6361
|
+
|
6362
|
+
def initialize(**args)
|
6363
|
+
update!(**args)
|
6364
|
+
end
|
6365
|
+
|
6366
|
+
# Update properties of this object
|
6367
|
+
def update!(**args)
|
6368
|
+
@conversation_dataset = args[:conversation_dataset] if args.key?(:conversation_dataset)
|
6369
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6370
|
+
@partial_failures = args[:partial_failures] if args.key?(:partial_failures)
|
6371
|
+
end
|
6372
|
+
end
|
6373
|
+
|
6374
|
+
# Response used for ConversationDatasets.ImportConversationData long running
|
6375
|
+
# operation.
|
6376
|
+
class GoogleCloudDialogflowV2ImportConversationDataOperationResponse
|
6377
|
+
include Google::Apis::Core::Hashable
|
6378
|
+
|
6379
|
+
# The resource name of the imported conversation dataset. Format: `projects//
|
6380
|
+
# locations//conversationDatasets/`
|
6381
|
+
# Corresponds to the JSON property `conversationDataset`
|
6382
|
+
# @return [String]
|
6383
|
+
attr_accessor :conversation_dataset
|
6384
|
+
|
6385
|
+
# Number of conversations imported successfully.
|
6386
|
+
# Corresponds to the JSON property `importCount`
|
6387
|
+
# @return [Fixnum]
|
6388
|
+
attr_accessor :import_count
|
6389
|
+
|
6390
|
+
def initialize(**args)
|
6391
|
+
update!(**args)
|
6392
|
+
end
|
6393
|
+
|
6394
|
+
# Update properties of this object
|
6395
|
+
def update!(**args)
|
6396
|
+
@conversation_dataset = args[:conversation_dataset] if args.key?(:conversation_dataset)
|
6397
|
+
@import_count = args[:import_count] if args.key?(:import_count)
|
6398
|
+
end
|
6399
|
+
end
|
6400
|
+
|
5995
6401
|
# Response message for Documents.ImportDocuments.
|
5996
6402
|
class GoogleCloudDialogflowV2ImportDocumentsResponse
|
5997
6403
|
include Google::Apis::Core::Hashable
|
@@ -6011,6 +6417,26 @@ module Google
|
|
6011
6417
|
end
|
6012
6418
|
end
|
6013
6419
|
|
6420
|
+
# InputDataset used to create model or do evaluation. NextID:5
|
6421
|
+
class GoogleCloudDialogflowV2InputDataset
|
6422
|
+
include Google::Apis::Core::Hashable
|
6423
|
+
|
6424
|
+
# Required. ConversationDataset resource name. Format: `projects//locations//
|
6425
|
+
# conversationDatasets/`
|
6426
|
+
# Corresponds to the JSON property `dataset`
|
6427
|
+
# @return [String]
|
6428
|
+
attr_accessor :dataset
|
6429
|
+
|
6430
|
+
def initialize(**args)
|
6431
|
+
update!(**args)
|
6432
|
+
end
|
6433
|
+
|
6434
|
+
# Update properties of this object
|
6435
|
+
def update!(**args)
|
6436
|
+
@dataset = args[:dataset] if args.key?(:dataset)
|
6437
|
+
end
|
6438
|
+
end
|
6439
|
+
|
6014
6440
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
6015
6441
|
# each agent, you define many intents, where your combined intents can handle a
|
6016
6442
|
# complete conversation. When an end-user writes or says something, referred to
|
@@ -7266,6 +7692,11 @@ module Google
|
|
7266
7692
|
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
7267
7693
|
include Google::Apis::Core::Hashable
|
7268
7694
|
|
7695
|
+
# Metadata related to the Export Data Operations (e.g. ExportDocument).
|
7696
|
+
# Corresponds to the JSON property `exportOperationMetadata`
|
7697
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ExportOperationMetadata]
|
7698
|
+
attr_accessor :export_operation_metadata
|
7699
|
+
|
7269
7700
|
# The name of the knowledge base interacted with during the operation.
|
7270
7701
|
# Corresponds to the JSON property `knowledgeBase`
|
7271
7702
|
# @return [String]
|
@@ -7282,6 +7713,7 @@ module Google
|
|
7282
7713
|
|
7283
7714
|
# Update properties of this object
|
7284
7715
|
def update!(**args)
|
7716
|
+
@export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
|
7285
7717
|
@knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
|
7286
7718
|
@state = args[:state] if args.key?(:state)
|
7287
7719
|
end
|
@@ -7690,6 +8122,45 @@ module Google
|
|
7690
8122
|
end
|
7691
8123
|
end
|
7692
8124
|
|
8125
|
+
# Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
|
8126
|
+
class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
|
8127
|
+
include Google::Apis::Core::Hashable
|
8128
|
+
|
8129
|
+
# The resource name of the conversation profile. Format: `projects//locations//
|
8130
|
+
# conversationProfiles/`
|
8131
|
+
# Corresponds to the JSON property `conversationProfile`
|
8132
|
+
# @return [String]
|
8133
|
+
attr_accessor :conversation_profile
|
8134
|
+
|
8135
|
+
# Timestamp whe the request was created. The time is measured on server side.
|
8136
|
+
# Corresponds to the JSON property `createTime`
|
8137
|
+
# @return [String]
|
8138
|
+
attr_accessor :create_time
|
8139
|
+
|
8140
|
+
# Required. The participant role to add or update the suggestion feature config.
|
8141
|
+
# Only HUMAN_AGENT or END_USER can be used.
|
8142
|
+
# Corresponds to the JSON property `participantRole`
|
8143
|
+
# @return [String]
|
8144
|
+
attr_accessor :participant_role
|
8145
|
+
|
8146
|
+
# Required. The type of the suggestion feature to add or update.
|
8147
|
+
# Corresponds to the JSON property `suggestionFeatureType`
|
8148
|
+
# @return [String]
|
8149
|
+
attr_accessor :suggestion_feature_type
|
8150
|
+
|
8151
|
+
def initialize(**args)
|
8152
|
+
update!(**args)
|
8153
|
+
end
|
8154
|
+
|
8155
|
+
# Update properties of this object
|
8156
|
+
def update!(**args)
|
8157
|
+
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
8158
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
8159
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
8160
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
8161
|
+
end
|
8162
|
+
end
|
8163
|
+
|
7693
8164
|
# Represents a smart reply answer.
|
7694
8165
|
class GoogleCloudDialogflowV2SmartReplyAnswer
|
7695
8166
|
include Google::Apis::Core::Hashable
|
@@ -7724,6 +8195,25 @@ module Google
|
|
7724
8195
|
end
|
7725
8196
|
end
|
7726
8197
|
|
8198
|
+
# Metadata for smart reply models.
|
8199
|
+
class GoogleCloudDialogflowV2SmartReplyModelMetadata
|
8200
|
+
include Google::Apis::Core::Hashable
|
8201
|
+
|
8202
|
+
# Optional. Type of the smart reply model. If not provided, model_type is used.
|
8203
|
+
# Corresponds to the JSON property `trainingModelType`
|
8204
|
+
# @return [String]
|
8205
|
+
attr_accessor :training_model_type
|
8206
|
+
|
8207
|
+
def initialize(**args)
|
8208
|
+
update!(**args)
|
8209
|
+
end
|
8210
|
+
|
8211
|
+
# Update properties of this object
|
8212
|
+
def update!(**args)
|
8213
|
+
@training_model_type = args[:training_model_type] if args.key?(:training_model_type)
|
8214
|
+
end
|
8215
|
+
end
|
8216
|
+
|
7727
8217
|
# The response message for Participants.SuggestArticles.
|
7728
8218
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
7729
8219
|
include Google::Apis::Core::Hashable
|
@@ -7872,6 +8362,33 @@ module Google
|
|
7872
8362
|
end
|
7873
8363
|
end
|
7874
8364
|
|
8365
|
+
# Metadata for a ConversationModels.UndeployConversationModel operation.
|
8366
|
+
class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
|
8367
|
+
include Google::Apis::Core::Hashable
|
8368
|
+
|
8369
|
+
# The resource name of the conversation model. Format: `projects//
|
8370
|
+
# conversationModels/`
|
8371
|
+
# Corresponds to the JSON property `conversationModel`
|
8372
|
+
# @return [String]
|
8373
|
+
attr_accessor :conversation_model
|
8374
|
+
|
8375
|
+
# Timestamp when the request to undeploy conversation model was submitted. The
|
8376
|
+
# time is measured on server side.
|
8377
|
+
# Corresponds to the JSON property `createTime`
|
8378
|
+
# @return [String]
|
8379
|
+
attr_accessor :create_time
|
8380
|
+
|
8381
|
+
def initialize(**args)
|
8382
|
+
update!(**args)
|
8383
|
+
end
|
8384
|
+
|
8385
|
+
# Update properties of this object
|
8386
|
+
def update!(**args)
|
8387
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
8388
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
8389
|
+
end
|
8390
|
+
end
|
8391
|
+
|
7875
8392
|
# The request message for a webhook call.
|
7876
8393
|
class GoogleCloudDialogflowV2WebhookRequest
|
7877
8394
|
include Google::Apis::Core::Hashable
|
@@ -8950,6 +9467,71 @@ module Google
|
|
8950
9467
|
end
|
8951
9468
|
end
|
8952
9469
|
|
9470
|
+
# Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
|
9471
|
+
class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata
|
9472
|
+
include Google::Apis::Core::Hashable
|
9473
|
+
|
9474
|
+
# The resource name of the conversation profile. Format: `projects//locations//
|
9475
|
+
# conversationProfiles/`
|
9476
|
+
# Corresponds to the JSON property `conversationProfile`
|
9477
|
+
# @return [String]
|
9478
|
+
attr_accessor :conversation_profile
|
9479
|
+
|
9480
|
+
# Timestamp whe the request was created. The time is measured on server side.
|
9481
|
+
# Corresponds to the JSON property `createTime`
|
9482
|
+
# @return [String]
|
9483
|
+
attr_accessor :create_time
|
9484
|
+
|
9485
|
+
# Required. The participant role to remove the suggestion feature config. Only
|
9486
|
+
# HUMAN_AGENT or END_USER can be used.
|
9487
|
+
# Corresponds to the JSON property `participantRole`
|
9488
|
+
# @return [String]
|
9489
|
+
attr_accessor :participant_role
|
9490
|
+
|
9491
|
+
# Required. The type of the suggestion feature to remove.
|
9492
|
+
# Corresponds to the JSON property `suggestionFeatureType`
|
9493
|
+
# @return [String]
|
9494
|
+
attr_accessor :suggestion_feature_type
|
9495
|
+
|
9496
|
+
def initialize(**args)
|
9497
|
+
update!(**args)
|
9498
|
+
end
|
9499
|
+
|
9500
|
+
# Update properties of this object
|
9501
|
+
def update!(**args)
|
9502
|
+
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
9503
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
9504
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
9505
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
9506
|
+
end
|
9507
|
+
end
|
9508
|
+
|
9509
|
+
# The request message for ConversationProfiles.ClearFeature.
|
9510
|
+
class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest
|
9511
|
+
include Google::Apis::Core::Hashable
|
9512
|
+
|
9513
|
+
# Required. The participant role to remove the suggestion feature config. Only
|
9514
|
+
# HUMAN_AGENT or END_USER can be used.
|
9515
|
+
# Corresponds to the JSON property `participantRole`
|
9516
|
+
# @return [String]
|
9517
|
+
attr_accessor :participant_role
|
9518
|
+
|
9519
|
+
# Required. The type of the suggestion feature to remove.
|
9520
|
+
# Corresponds to the JSON property `suggestionFeatureType`
|
9521
|
+
# @return [String]
|
9522
|
+
attr_accessor :suggestion_feature_type
|
9523
|
+
|
9524
|
+
def initialize(**args)
|
9525
|
+
update!(**args)
|
9526
|
+
end
|
9527
|
+
|
9528
|
+
# Update properties of this object
|
9529
|
+
def update!(**args)
|
9530
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
9531
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
9532
|
+
end
|
9533
|
+
end
|
9534
|
+
|
8953
9535
|
# The request message for Participants.CompileSuggestion.
|
8954
9536
|
class GoogleCloudDialogflowV2beta1CompileSuggestionRequest
|
8955
9537
|
include Google::Apis::Core::Hashable
|
@@ -9516,7 +10098,7 @@ module Google
|
|
9516
10098
|
# source types. Reload status can be tracked in `latest_reload_status`. If a
|
9517
10099
|
# reload fails, we will keep the document unchanged. If a reload fails with
|
9518
10100
|
# internal errors, the system will try to reload the document on the next day.
|
9519
|
-
# If a reload fails with non-retriable errors (e.g.
|
10101
|
+
# If a reload fails with non-retriable errors (e.g. PERMISSION_DENIED), the
|
9520
10102
|
# system will not try to reload the document anymore. You need to manually
|
9521
10103
|
# reload the document successfully by calling `ReloadDocument` and clear the
|
9522
10104
|
# errors.
|
@@ -9561,6 +10143,11 @@ module Google
|
|
9561
10143
|
# @return [String]
|
9562
10144
|
attr_accessor :raw_content
|
9563
10145
|
|
10146
|
+
# Output only. The current state of the document.
|
10147
|
+
# Corresponds to the JSON property `state`
|
10148
|
+
# @return [String]
|
10149
|
+
attr_accessor :state
|
10150
|
+
|
9564
10151
|
def initialize(**args)
|
9565
10152
|
update!(**args)
|
9566
10153
|
end
|
@@ -9577,6 +10164,7 @@ module Google
|
|
9577
10164
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
9578
10165
|
@name = args[:name] if args.key?(:name)
|
9579
10166
|
@raw_content = args[:raw_content] if args.key?(:raw_content)
|
10167
|
+
@state = args[:state] if args.key?(:state)
|
9580
10168
|
end
|
9581
10169
|
end
|
9582
10170
|
|
@@ -9895,7 +10483,9 @@ module Google
|
|
9895
10483
|
# Required. The language of this query. See [Language Support](https://cloud.
|
9896
10484
|
# google.com/dialogflow/docs/reference/language) for a list of the currently
|
9897
10485
|
# supported language codes. Note that queries in the same session do not
|
9898
|
-
# necessarily need to specify the same language.
|
10486
|
+
# necessarily need to specify the same language. This field is ignored when used
|
10487
|
+
# in the context of a WebhookResponse.followup_event_input field, because the
|
10488
|
+
# language was already defined in the originating detect intent request.
|
9899
10489
|
# Corresponds to the JSON property `languageCode`
|
9900
10490
|
# @return [String]
|
9901
10491
|
attr_accessor :language_code
|
@@ -9936,7 +10526,11 @@ module Google
|
|
9936
10526
|
|
9937
10527
|
# Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
9938
10528
|
# URI to export the agent to. The format of this URI must be `gs:///`. If left
|
9939
|
-
# unspecified, the serialized agent is returned inline.
|
10529
|
+
# unspecified, the serialized agent is returned inline. Dialogflow performs a
|
10530
|
+
# write operation for the Cloud Storage object on the caller's behalf, so your
|
10531
|
+
# request authentication must have write permissions for the object. For more
|
10532
|
+
# information, see [Dialogflow access control](https://cloud.google.com/
|
10533
|
+
# dialogflow/cx/docs/concept/access-control#storage).
|
9940
10534
|
# Corresponds to the JSON property `agentUri`
|
9941
10535
|
# @return [String]
|
9942
10536
|
attr_accessor :agent_uri
|
@@ -9978,6 +10572,25 @@ module Google
|
|
9978
10572
|
end
|
9979
10573
|
end
|
9980
10574
|
|
10575
|
+
# Metadata related to the Export Data Operations (e.g. ExportDocument).
|
10576
|
+
class GoogleCloudDialogflowV2beta1ExportOperationMetadata
|
10577
|
+
include Google::Apis::Core::Hashable
|
10578
|
+
|
10579
|
+
# Google Cloud Storage location for the output.
|
10580
|
+
# Corresponds to the JSON property `exportedGcsDestination`
|
10581
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsDestination]
|
10582
|
+
attr_accessor :exported_gcs_destination
|
10583
|
+
|
10584
|
+
def initialize(**args)
|
10585
|
+
update!(**args)
|
10586
|
+
end
|
10587
|
+
|
10588
|
+
# Update properties of this object
|
10589
|
+
def update!(**args)
|
10590
|
+
@exported_gcs_destination = args[:exported_gcs_destination] if args.key?(:exported_gcs_destination)
|
10591
|
+
end
|
10592
|
+
end
|
10593
|
+
|
9981
10594
|
# Represents answer from "frequently asked questions".
|
9982
10595
|
class GoogleCloudDialogflowV2beta1FaqAnswer
|
9983
10596
|
include Google::Apis::Core::Hashable
|
@@ -10160,6 +10773,27 @@ module Google
|
|
10160
10773
|
end
|
10161
10774
|
end
|
10162
10775
|
|
10776
|
+
# Google Cloud Storage location for the output.
|
10777
|
+
class GoogleCloudDialogflowV2beta1GcsDestination
|
10778
|
+
include Google::Apis::Core::Hashable
|
10779
|
+
|
10780
|
+
# Required. The Google Cloud Storage URIs for the output. A URI is of the form:
|
10781
|
+
# gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on
|
10782
|
+
# the use case. The requesting user must have "write-permission" to the bucket.
|
10783
|
+
# Corresponds to the JSON property `uri`
|
10784
|
+
# @return [String]
|
10785
|
+
attr_accessor :uri
|
10786
|
+
|
10787
|
+
def initialize(**args)
|
10788
|
+
update!(**args)
|
10789
|
+
end
|
10790
|
+
|
10791
|
+
# Update properties of this object
|
10792
|
+
def update!(**args)
|
10793
|
+
@uri = args[:uri] if args.key?(:uri)
|
10794
|
+
end
|
10795
|
+
end
|
10796
|
+
|
10163
10797
|
# Google Cloud Storage location for single input.
|
10164
10798
|
class GoogleCloudDialogflowV2beta1GcsSource
|
10165
10799
|
include Google::Apis::Core::Hashable
|
@@ -10730,7 +11364,11 @@ module Google
|
|
10730
11364
|
attr_accessor :agent_content
|
10731
11365
|
|
10732
11366
|
# The URI to a Google Cloud Storage file containing the agent to import. Note:
|
10733
|
-
# The URI must start with "gs://".
|
11367
|
+
# The URI must start with "gs://". Dialogflow performs a read operation for the
|
11368
|
+
# Cloud Storage object on the caller's behalf, so your request authentication
|
11369
|
+
# must have read permissions for the object. For more information, see [
|
11370
|
+
# Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/
|
11371
|
+
# access-control#storage).
|
10734
11372
|
# Corresponds to the JSON property `agentUri`
|
10735
11373
|
# @return [String]
|
10736
11374
|
attr_accessor :agent_uri
|
@@ -12802,6 +13440,11 @@ module Google
|
|
12802
13440
|
class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
|
12803
13441
|
include Google::Apis::Core::Hashable
|
12804
13442
|
|
13443
|
+
# Metadata related to the Export Data Operations (e.g. ExportDocument).
|
13444
|
+
# Corresponds to the JSON property `exportOperationMetadata`
|
13445
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportOperationMetadata]
|
13446
|
+
attr_accessor :export_operation_metadata
|
13447
|
+
|
12805
13448
|
# The name of the knowledge base interacted with during the operation.
|
12806
13449
|
# Corresponds to the JSON property `knowledgeBase`
|
12807
13450
|
# @return [String]
|
@@ -12818,6 +13461,7 @@ module Google
|
|
12818
13461
|
|
12819
13462
|
# Update properties of this object
|
12820
13463
|
def update!(**args)
|
13464
|
+
@export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
|
12821
13465
|
@knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
|
12822
13466
|
@state = args[:state] if args.key?(:state)
|
12823
13467
|
end
|
@@ -13337,10 +13981,12 @@ module Google
|
|
13337
13981
|
attr_accessor :message_format
|
13338
13982
|
|
13339
13983
|
# Name of the Pub/Sub topic to publish conversation events like
|
13340
|
-
# CONVERSATION_STARTED as serialized ConversationEvent protos.
|
13341
|
-
#
|
13342
|
-
# conversation or you grant `service-@gcp-sa-dialogflow.iam.
|
13343
|
-
# the `Dialogflow Service Agent` role in the topic project.
|
13984
|
+
# CONVERSATION_STARTED as serialized ConversationEvent protos. For telephony
|
13985
|
+
# integration to receive notification, make sure either this topic is in the
|
13986
|
+
# same project as the conversation or you grant `service-@gcp-sa-dialogflow.iam.
|
13987
|
+
# gserviceaccount.com` the `Dialogflow Service Agent` role in the topic project.
|
13988
|
+
# For chat integration to receive notification, make sure API caller has been
|
13989
|
+
# granted the `Dialogflow Service Agent` role for the topic. Format: `projects//
|
13344
13990
|
# locations//topics/`.
|
13345
13991
|
# Corresponds to the JSON property `topic`
|
13346
13992
|
# @return [String]
|
@@ -14002,7 +14648,11 @@ module Google
|
|
14002
14648
|
attr_accessor :agent_content
|
14003
14649
|
|
14004
14650
|
# The URI to a Google Cloud Storage file containing the agent to restore. Note:
|
14005
|
-
# The URI must start with "gs://".
|
14651
|
+
# The URI must start with "gs://". Dialogflow performs a read operation for the
|
14652
|
+
# Cloud Storage object on the caller's behalf, so your request authentication
|
14653
|
+
# must have read permissions for the object. For more information, see [
|
14654
|
+
# Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/
|
14655
|
+
# access-control#storage).
|
14006
14656
|
# Corresponds to the JSON property `agentUri`
|
14007
14657
|
# @return [String]
|
14008
14658
|
attr_accessor :agent_uri
|
@@ -14166,6 +14816,71 @@ module Google
|
|
14166
14816
|
end
|
14167
14817
|
end
|
14168
14818
|
|
14819
|
+
# Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
|
14820
|
+
class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata
|
14821
|
+
include Google::Apis::Core::Hashable
|
14822
|
+
|
14823
|
+
# The resource name of the conversation profile. Format: `projects//locations//
|
14824
|
+
# conversationProfiles/`
|
14825
|
+
# Corresponds to the JSON property `conversationProfile`
|
14826
|
+
# @return [String]
|
14827
|
+
attr_accessor :conversation_profile
|
14828
|
+
|
14829
|
+
# Timestamp whe the request was created. The time is measured on server side.
|
14830
|
+
# Corresponds to the JSON property `createTime`
|
14831
|
+
# @return [String]
|
14832
|
+
attr_accessor :create_time
|
14833
|
+
|
14834
|
+
# Required. The participant role to add or update the suggestion feature config.
|
14835
|
+
# Only HUMAN_AGENT or END_USER can be used.
|
14836
|
+
# Corresponds to the JSON property `participantRole`
|
14837
|
+
# @return [String]
|
14838
|
+
attr_accessor :participant_role
|
14839
|
+
|
14840
|
+
# Required. The type of the suggestion feature to add or update.
|
14841
|
+
# Corresponds to the JSON property `suggestionFeatureType`
|
14842
|
+
# @return [String]
|
14843
|
+
attr_accessor :suggestion_feature_type
|
14844
|
+
|
14845
|
+
def initialize(**args)
|
14846
|
+
update!(**args)
|
14847
|
+
end
|
14848
|
+
|
14849
|
+
# Update properties of this object
|
14850
|
+
def update!(**args)
|
14851
|
+
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
14852
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
14853
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
14854
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
14855
|
+
end
|
14856
|
+
end
|
14857
|
+
|
14858
|
+
# The request message for ConversationProfiles.SetSuggestionFeature.
|
14859
|
+
class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest
|
14860
|
+
include Google::Apis::Core::Hashable
|
14861
|
+
|
14862
|
+
# Required. The participant role to add or update the suggestion feature config.
|
14863
|
+
# Only HUMAN_AGENT or END_USER can be used.
|
14864
|
+
# Corresponds to the JSON property `participantRole`
|
14865
|
+
# @return [String]
|
14866
|
+
attr_accessor :participant_role
|
14867
|
+
|
14868
|
+
# Config for suggestion features.
|
14869
|
+
# Corresponds to the JSON property `suggestionFeatureConfig`
|
14870
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig]
|
14871
|
+
attr_accessor :suggestion_feature_config
|
14872
|
+
|
14873
|
+
def initialize(**args)
|
14874
|
+
update!(**args)
|
14875
|
+
end
|
14876
|
+
|
14877
|
+
# Update properties of this object
|
14878
|
+
def update!(**args)
|
14879
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
14880
|
+
@suggestion_feature_config = args[:suggestion_feature_config] if args.key?(:suggestion_feature_config)
|
14881
|
+
end
|
14882
|
+
end
|
14883
|
+
|
14169
14884
|
# Represents a smart reply answer.
|
14170
14885
|
class GoogleCloudDialogflowV2beta1SmartReplyAnswer
|
14171
14886
|
include Google::Apis::Core::Hashable
|