google-apis-dialogflow_v2beta1 0.27.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dialogflow_v2beta1/classes.rb +672 -1
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +341 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +166 -0
- metadata +3 -3
@@ -5597,6 +5597,26 @@ module Google
|
|
5597
5597
|
end
|
5598
5598
|
end
|
5599
5599
|
|
5600
|
+
# Metadata for article suggestion models.
|
5601
|
+
class GoogleCloudDialogflowV2ArticleSuggestionModelMetadata
|
5602
|
+
include Google::Apis::Core::Hashable
|
5603
|
+
|
5604
|
+
# Optional. Type of the article suggestion model. If not provided, model_type is
|
5605
|
+
# used.
|
5606
|
+
# Corresponds to the JSON property `trainingModelType`
|
5607
|
+
# @return [String]
|
5608
|
+
attr_accessor :training_model_type
|
5609
|
+
|
5610
|
+
def initialize(**args)
|
5611
|
+
update!(**args)
|
5612
|
+
end
|
5613
|
+
|
5614
|
+
# Update properties of this object
|
5615
|
+
def update!(**args)
|
5616
|
+
@training_model_type = args[:training_model_type] if args.key?(:training_model_type)
|
5617
|
+
end
|
5618
|
+
end
|
5619
|
+
|
5600
5620
|
# The response message for EntityTypes.BatchUpdateEntityTypes.
|
5601
5621
|
class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
|
5602
5622
|
include Google::Apis::Core::Hashable
|
@@ -5635,6 +5655,45 @@ module Google
|
|
5635
5655
|
end
|
5636
5656
|
end
|
5637
5657
|
|
5658
|
+
# Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
|
5659
|
+
class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
|
5660
|
+
include Google::Apis::Core::Hashable
|
5661
|
+
|
5662
|
+
# The resource name of the conversation profile. Format: `projects//locations//
|
5663
|
+
# conversationProfiles/`
|
5664
|
+
# Corresponds to the JSON property `conversationProfile`
|
5665
|
+
# @return [String]
|
5666
|
+
attr_accessor :conversation_profile
|
5667
|
+
|
5668
|
+
# Timestamp whe the request was created. The time is measured on server side.
|
5669
|
+
# Corresponds to the JSON property `createTime`
|
5670
|
+
# @return [String]
|
5671
|
+
attr_accessor :create_time
|
5672
|
+
|
5673
|
+
# Required. The participant role to remove the suggestion feature config. Only
|
5674
|
+
# HUMAN_AGENT or END_USER can be used.
|
5675
|
+
# Corresponds to the JSON property `participantRole`
|
5676
|
+
# @return [String]
|
5677
|
+
attr_accessor :participant_role
|
5678
|
+
|
5679
|
+
# Required. The type of the suggestion feature to remove.
|
5680
|
+
# Corresponds to the JSON property `suggestionFeatureType`
|
5681
|
+
# @return [String]
|
5682
|
+
attr_accessor :suggestion_feature_type
|
5683
|
+
|
5684
|
+
def initialize(**args)
|
5685
|
+
update!(**args)
|
5686
|
+
end
|
5687
|
+
|
5688
|
+
# Update properties of this object
|
5689
|
+
def update!(**args)
|
5690
|
+
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
5691
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5692
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
5693
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
5694
|
+
end
|
5695
|
+
end
|
5696
|
+
|
5638
5697
|
# Dialogflow contexts are similar to natural language context. If a person says
|
5639
5698
|
# to you "they are orange", you need context in order to understand what "they"
|
5640
5699
|
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
@@ -5740,6 +5799,224 @@ module Google
|
|
5740
5799
|
end
|
5741
5800
|
end
|
5742
5801
|
|
5802
|
+
# Represents a conversation model.
|
5803
|
+
class GoogleCloudDialogflowV2ConversationModel
|
5804
|
+
include Google::Apis::Core::Hashable
|
5805
|
+
|
5806
|
+
# Metadata for article suggestion models.
|
5807
|
+
# Corresponds to the JSON property `articleSuggestionModelMetadata`
|
5808
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ArticleSuggestionModelMetadata]
|
5809
|
+
attr_accessor :article_suggestion_model_metadata
|
5810
|
+
|
5811
|
+
# Output only. Creation time of this model.
|
5812
|
+
# Corresponds to the JSON property `createTime`
|
5813
|
+
# @return [String]
|
5814
|
+
attr_accessor :create_time
|
5815
|
+
|
5816
|
+
# Required. Datasets used to create model.
|
5817
|
+
# Corresponds to the JSON property `datasets`
|
5818
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2InputDataset>]
|
5819
|
+
attr_accessor :datasets
|
5820
|
+
|
5821
|
+
# Required. The display name of the model. At most 64 bytes long.
|
5822
|
+
# Corresponds to the JSON property `displayName`
|
5823
|
+
# @return [String]
|
5824
|
+
attr_accessor :display_name
|
5825
|
+
|
5826
|
+
# Language code for the conversation model. If not specified, the language is en-
|
5827
|
+
# US. Language at ConversationModel should be set for all non en-us languages.
|
5828
|
+
# This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
5829
|
+
# language tag. Example: "en-US".
|
5830
|
+
# Corresponds to the JSON property `languageCode`
|
5831
|
+
# @return [String]
|
5832
|
+
attr_accessor :language_code
|
5833
|
+
|
5834
|
+
# ConversationModel resource name. Format: `projects//conversationModels/`
|
5835
|
+
# Corresponds to the JSON property `name`
|
5836
|
+
# @return [String]
|
5837
|
+
attr_accessor :name
|
5838
|
+
|
5839
|
+
# Metadata for smart reply models.
|
5840
|
+
# Corresponds to the JSON property `smartReplyModelMetadata`
|
5841
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SmartReplyModelMetadata]
|
5842
|
+
attr_accessor :smart_reply_model_metadata
|
5843
|
+
|
5844
|
+
# Output only. State of the model. A model can only serve prediction requests
|
5845
|
+
# after it gets deployed.
|
5846
|
+
# Corresponds to the JSON property `state`
|
5847
|
+
# @return [String]
|
5848
|
+
attr_accessor :state
|
5849
|
+
|
5850
|
+
def initialize(**args)
|
5851
|
+
update!(**args)
|
5852
|
+
end
|
5853
|
+
|
5854
|
+
# Update properties of this object
|
5855
|
+
def update!(**args)
|
5856
|
+
@article_suggestion_model_metadata = args[:article_suggestion_model_metadata] if args.key?(:article_suggestion_model_metadata)
|
5857
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5858
|
+
@datasets = args[:datasets] if args.key?(:datasets)
|
5859
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
5860
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
5861
|
+
@name = args[:name] if args.key?(:name)
|
5862
|
+
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
|
5863
|
+
@state = args[:state] if args.key?(:state)
|
5864
|
+
end
|
5865
|
+
end
|
5866
|
+
|
5867
|
+
# Metadata for ConversationDatasets.
|
5868
|
+
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
|
5869
|
+
include Google::Apis::Core::Hashable
|
5870
|
+
|
5871
|
+
def initialize(**args)
|
5872
|
+
update!(**args)
|
5873
|
+
end
|
5874
|
+
|
5875
|
+
# Update properties of this object
|
5876
|
+
def update!(**args)
|
5877
|
+
end
|
5878
|
+
end
|
5879
|
+
|
5880
|
+
# Metadata for a ConversationModels.CreateConversationModelEvaluation operation.
|
5881
|
+
class GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata
|
5882
|
+
include Google::Apis::Core::Hashable
|
5883
|
+
|
5884
|
+
# The resource name of the conversation model. Format: `projects//locations//
|
5885
|
+
# conversationModels/`
|
5886
|
+
# Corresponds to the JSON property `conversationModel`
|
5887
|
+
# @return [String]
|
5888
|
+
attr_accessor :conversation_model
|
5889
|
+
|
5890
|
+
# The resource name of the conversation model. Format: `projects//locations//
|
5891
|
+
# conversationModels//evaluations/`
|
5892
|
+
# Corresponds to the JSON property `conversationModelEvaluation`
|
5893
|
+
# @return [String]
|
5894
|
+
attr_accessor :conversation_model_evaluation
|
5895
|
+
|
5896
|
+
# Timestamp when the request to create conversation model was submitted. The
|
5897
|
+
# time is measured on server side.
|
5898
|
+
# Corresponds to the JSON property `createTime`
|
5899
|
+
# @return [String]
|
5900
|
+
attr_accessor :create_time
|
5901
|
+
|
5902
|
+
# State of CreateConversationModel operation.
|
5903
|
+
# Corresponds to the JSON property `state`
|
5904
|
+
# @return [String]
|
5905
|
+
attr_accessor :state
|
5906
|
+
|
5907
|
+
def initialize(**args)
|
5908
|
+
update!(**args)
|
5909
|
+
end
|
5910
|
+
|
5911
|
+
# Update properties of this object
|
5912
|
+
def update!(**args)
|
5913
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
5914
|
+
@conversation_model_evaluation = args[:conversation_model_evaluation] if args.key?(:conversation_model_evaluation)
|
5915
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5916
|
+
@state = args[:state] if args.key?(:state)
|
5917
|
+
end
|
5918
|
+
end
|
5919
|
+
|
5920
|
+
# Metadata for a ConversationModels.CreateConversationModel operation.
|
5921
|
+
class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata
|
5922
|
+
include Google::Apis::Core::Hashable
|
5923
|
+
|
5924
|
+
# The resource name of the conversation model. Format: `projects//
|
5925
|
+
# conversationModels/`
|
5926
|
+
# Corresponds to the JSON property `conversationModel`
|
5927
|
+
# @return [String]
|
5928
|
+
attr_accessor :conversation_model
|
5929
|
+
|
5930
|
+
# Timestamp when the request to create conversation model is submitted. The time
|
5931
|
+
# is measured on server side.
|
5932
|
+
# Corresponds to the JSON property `createTime`
|
5933
|
+
# @return [String]
|
5934
|
+
attr_accessor :create_time
|
5935
|
+
|
5936
|
+
# State of CreateConversationModel operation.
|
5937
|
+
# Corresponds to the JSON property `state`
|
5938
|
+
# @return [String]
|
5939
|
+
attr_accessor :state
|
5940
|
+
|
5941
|
+
def initialize(**args)
|
5942
|
+
update!(**args)
|
5943
|
+
end
|
5944
|
+
|
5945
|
+
# Update properties of this object
|
5946
|
+
def update!(**args)
|
5947
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
5948
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5949
|
+
@state = args[:state] if args.key?(:state)
|
5950
|
+
end
|
5951
|
+
end
|
5952
|
+
|
5953
|
+
# Metadata for ConversationDatasets.
|
5954
|
+
class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
|
5955
|
+
include Google::Apis::Core::Hashable
|
5956
|
+
|
5957
|
+
def initialize(**args)
|
5958
|
+
update!(**args)
|
5959
|
+
end
|
5960
|
+
|
5961
|
+
# Update properties of this object
|
5962
|
+
def update!(**args)
|
5963
|
+
end
|
5964
|
+
end
|
5965
|
+
|
5966
|
+
# Metadata for a ConversationModels.DeleteConversationModel operation.
|
5967
|
+
class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata
|
5968
|
+
include Google::Apis::Core::Hashable
|
5969
|
+
|
5970
|
+
# The resource name of the conversation model. Format: `projects//
|
5971
|
+
# conversationModels/`
|
5972
|
+
# Corresponds to the JSON property `conversationModel`
|
5973
|
+
# @return [String]
|
5974
|
+
attr_accessor :conversation_model
|
5975
|
+
|
5976
|
+
# Timestamp when delete conversation model request was created. The time is
|
5977
|
+
# measured on server side.
|
5978
|
+
# Corresponds to the JSON property `createTime`
|
5979
|
+
# @return [String]
|
5980
|
+
attr_accessor :create_time
|
5981
|
+
|
5982
|
+
def initialize(**args)
|
5983
|
+
update!(**args)
|
5984
|
+
end
|
5985
|
+
|
5986
|
+
# Update properties of this object
|
5987
|
+
def update!(**args)
|
5988
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
5989
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5990
|
+
end
|
5991
|
+
end
|
5992
|
+
|
5993
|
+
# Metadata for a ConversationModels.DeployConversationModel operation.
|
5994
|
+
class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata
|
5995
|
+
include Google::Apis::Core::Hashable
|
5996
|
+
|
5997
|
+
# The resource name of the conversation model. Format: `projects//
|
5998
|
+
# conversationModels/`
|
5999
|
+
# Corresponds to the JSON property `conversationModel`
|
6000
|
+
# @return [String]
|
6001
|
+
attr_accessor :conversation_model
|
6002
|
+
|
6003
|
+
# Timestamp when request to deploy conversation model was submitted. The time is
|
6004
|
+
# measured on server side.
|
6005
|
+
# Corresponds to the JSON property `createTime`
|
6006
|
+
# @return [String]
|
6007
|
+
attr_accessor :create_time
|
6008
|
+
|
6009
|
+
def initialize(**args)
|
6010
|
+
update!(**args)
|
6011
|
+
end
|
6012
|
+
|
6013
|
+
# Update properties of this object
|
6014
|
+
def update!(**args)
|
6015
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
6016
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6017
|
+
end
|
6018
|
+
end
|
6019
|
+
|
5743
6020
|
# Each intent parameter has a type, called the entity type, which dictates
|
5744
6021
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
5745
6022
|
# predefined system entities that can match many common types of data. For
|
@@ -5904,6 +6181,25 @@ module Google
|
|
5904
6181
|
end
|
5905
6182
|
end
|
5906
6183
|
|
6184
|
+
# Metadata related to the Export Data Operations (e.g. ExportDocument).
|
6185
|
+
class GoogleCloudDialogflowV2ExportOperationMetadata
|
6186
|
+
include Google::Apis::Core::Hashable
|
6187
|
+
|
6188
|
+
# Google Cloud Storage location for the output.
|
6189
|
+
# Corresponds to the JSON property `exportedGcsDestination`
|
6190
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2GcsDestination]
|
6191
|
+
attr_accessor :exported_gcs_destination
|
6192
|
+
|
6193
|
+
def initialize(**args)
|
6194
|
+
update!(**args)
|
6195
|
+
end
|
6196
|
+
|
6197
|
+
# Update properties of this object
|
6198
|
+
def update!(**args)
|
6199
|
+
@exported_gcs_destination = args[:exported_gcs_destination] if args.key?(:exported_gcs_destination)
|
6200
|
+
end
|
6201
|
+
end
|
6202
|
+
|
5907
6203
|
# Represents answer from "frequently asked questions".
|
5908
6204
|
class GoogleCloudDialogflowV2FaqAnswer
|
5909
6205
|
include Google::Apis::Core::Hashable
|
@@ -5958,6 +6254,27 @@ module Google
|
|
5958
6254
|
end
|
5959
6255
|
end
|
5960
6256
|
|
6257
|
+
# Google Cloud Storage location for the output.
|
6258
|
+
class GoogleCloudDialogflowV2GcsDestination
|
6259
|
+
include Google::Apis::Core::Hashable
|
6260
|
+
|
6261
|
+
# The Google Cloud Storage URIs for the output. A URI is of the form: gs://
|
6262
|
+
# bucket/object-prefix-or-name Whether a prefix or name is used depends on the
|
6263
|
+
# use case. The requesting user must have "write-permission" to the bucket.
|
6264
|
+
# Corresponds to the JSON property `uri`
|
6265
|
+
# @return [String]
|
6266
|
+
attr_accessor :uri
|
6267
|
+
|
6268
|
+
def initialize(**args)
|
6269
|
+
update!(**args)
|
6270
|
+
end
|
6271
|
+
|
6272
|
+
# Update properties of this object
|
6273
|
+
def update!(**args)
|
6274
|
+
@uri = args[:uri] if args.key?(:uri)
|
6275
|
+
end
|
6276
|
+
end
|
6277
|
+
|
5961
6278
|
# Represents a notification sent to Cloud Pub/Sub subscribers for human agent
|
5962
6279
|
# assistant events in a specific conversation.
|
5963
6280
|
class GoogleCloudDialogflowV2HumanAgentAssistantEvent
|
@@ -5992,6 +6309,67 @@ module Google
|
|
5992
6309
|
end
|
5993
6310
|
end
|
5994
6311
|
|
6312
|
+
# Metadata for a ConversationDatasets.ImportConversationData operation.
|
6313
|
+
class GoogleCloudDialogflowV2ImportConversationDataOperationMetadata
|
6314
|
+
include Google::Apis::Core::Hashable
|
6315
|
+
|
6316
|
+
# The resource name of the imported conversation dataset. Format: `projects//
|
6317
|
+
# locations//conversationDatasets/`
|
6318
|
+
# Corresponds to the JSON property `conversationDataset`
|
6319
|
+
# @return [String]
|
6320
|
+
attr_accessor :conversation_dataset
|
6321
|
+
|
6322
|
+
# Timestamp when import conversation data request was created. The time is
|
6323
|
+
# measured on server side.
|
6324
|
+
# Corresponds to the JSON property `createTime`
|
6325
|
+
# @return [String]
|
6326
|
+
attr_accessor :create_time
|
6327
|
+
|
6328
|
+
# Partial failures are failures that don't fail the whole long running operation,
|
6329
|
+
# e.g. single files that couldn't be read.
|
6330
|
+
# Corresponds to the JSON property `partialFailures`
|
6331
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleRpcStatus>]
|
6332
|
+
attr_accessor :partial_failures
|
6333
|
+
|
6334
|
+
def initialize(**args)
|
6335
|
+
update!(**args)
|
6336
|
+
end
|
6337
|
+
|
6338
|
+
# Update properties of this object
|
6339
|
+
def update!(**args)
|
6340
|
+
@conversation_dataset = args[:conversation_dataset] if args.key?(:conversation_dataset)
|
6341
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6342
|
+
@partial_failures = args[:partial_failures] if args.key?(:partial_failures)
|
6343
|
+
end
|
6344
|
+
end
|
6345
|
+
|
6346
|
+
# Response used for ConversationDatasets.ImportConversationData long running
|
6347
|
+
# operation.
|
6348
|
+
class GoogleCloudDialogflowV2ImportConversationDataOperationResponse
|
6349
|
+
include Google::Apis::Core::Hashable
|
6350
|
+
|
6351
|
+
# The resource name of the imported conversation dataset. Format: `projects//
|
6352
|
+
# locations//conversationDatasets/`
|
6353
|
+
# Corresponds to the JSON property `conversationDataset`
|
6354
|
+
# @return [String]
|
6355
|
+
attr_accessor :conversation_dataset
|
6356
|
+
|
6357
|
+
# Number of conversations imported successfully.
|
6358
|
+
# Corresponds to the JSON property `importCount`
|
6359
|
+
# @return [Fixnum]
|
6360
|
+
attr_accessor :import_count
|
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
|
+
@import_count = args[:import_count] if args.key?(:import_count)
|
6370
|
+
end
|
6371
|
+
end
|
6372
|
+
|
5995
6373
|
# Response message for Documents.ImportDocuments.
|
5996
6374
|
class GoogleCloudDialogflowV2ImportDocumentsResponse
|
5997
6375
|
include Google::Apis::Core::Hashable
|
@@ -6011,6 +6389,26 @@ module Google
|
|
6011
6389
|
end
|
6012
6390
|
end
|
6013
6391
|
|
6392
|
+
# InputDataset used to create model or do evaluation. NextID:5
|
6393
|
+
class GoogleCloudDialogflowV2InputDataset
|
6394
|
+
include Google::Apis::Core::Hashable
|
6395
|
+
|
6396
|
+
# Required. ConversationDataset resource name. Format: `projects//locations//
|
6397
|
+
# conversationDatasets/`
|
6398
|
+
# Corresponds to the JSON property `dataset`
|
6399
|
+
# @return [String]
|
6400
|
+
attr_accessor :dataset
|
6401
|
+
|
6402
|
+
def initialize(**args)
|
6403
|
+
update!(**args)
|
6404
|
+
end
|
6405
|
+
|
6406
|
+
# Update properties of this object
|
6407
|
+
def update!(**args)
|
6408
|
+
@dataset = args[:dataset] if args.key?(:dataset)
|
6409
|
+
end
|
6410
|
+
end
|
6411
|
+
|
6014
6412
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
6015
6413
|
# each agent, you define many intents, where your combined intents can handle a
|
6016
6414
|
# complete conversation. When an end-user writes or says something, referred to
|
@@ -7266,6 +7664,11 @@ module Google
|
|
7266
7664
|
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
7267
7665
|
include Google::Apis::Core::Hashable
|
7268
7666
|
|
7667
|
+
# Metadata related to the Export Data Operations (e.g. ExportDocument).
|
7668
|
+
# Corresponds to the JSON property `exportOperationMetadata`
|
7669
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ExportOperationMetadata]
|
7670
|
+
attr_accessor :export_operation_metadata
|
7671
|
+
|
7269
7672
|
# The name of the knowledge base interacted with during the operation.
|
7270
7673
|
# Corresponds to the JSON property `knowledgeBase`
|
7271
7674
|
# @return [String]
|
@@ -7282,6 +7685,7 @@ module Google
|
|
7282
7685
|
|
7283
7686
|
# Update properties of this object
|
7284
7687
|
def update!(**args)
|
7688
|
+
@export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
|
7285
7689
|
@knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
|
7286
7690
|
@state = args[:state] if args.key?(:state)
|
7287
7691
|
end
|
@@ -7690,6 +8094,45 @@ module Google
|
|
7690
8094
|
end
|
7691
8095
|
end
|
7692
8096
|
|
8097
|
+
# Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
|
8098
|
+
class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
|
8099
|
+
include Google::Apis::Core::Hashable
|
8100
|
+
|
8101
|
+
# The resource name of the conversation profile. Format: `projects//locations//
|
8102
|
+
# conversationProfiles/`
|
8103
|
+
# Corresponds to the JSON property `conversationProfile`
|
8104
|
+
# @return [String]
|
8105
|
+
attr_accessor :conversation_profile
|
8106
|
+
|
8107
|
+
# Timestamp whe the request was created. The time is measured on server side.
|
8108
|
+
# Corresponds to the JSON property `createTime`
|
8109
|
+
# @return [String]
|
8110
|
+
attr_accessor :create_time
|
8111
|
+
|
8112
|
+
# Required. The participant role to add or update the suggestion feature config.
|
8113
|
+
# Only HUMAN_AGENT or END_USER can be used.
|
8114
|
+
# Corresponds to the JSON property `participantRole`
|
8115
|
+
# @return [String]
|
8116
|
+
attr_accessor :participant_role
|
8117
|
+
|
8118
|
+
# Required. The type of the suggestion feature to add or update.
|
8119
|
+
# Corresponds to the JSON property `suggestionFeatureType`
|
8120
|
+
# @return [String]
|
8121
|
+
attr_accessor :suggestion_feature_type
|
8122
|
+
|
8123
|
+
def initialize(**args)
|
8124
|
+
update!(**args)
|
8125
|
+
end
|
8126
|
+
|
8127
|
+
# Update properties of this object
|
8128
|
+
def update!(**args)
|
8129
|
+
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
8130
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
8131
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
8132
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
8133
|
+
end
|
8134
|
+
end
|
8135
|
+
|
7693
8136
|
# Represents a smart reply answer.
|
7694
8137
|
class GoogleCloudDialogflowV2SmartReplyAnswer
|
7695
8138
|
include Google::Apis::Core::Hashable
|
@@ -7724,6 +8167,25 @@ module Google
|
|
7724
8167
|
end
|
7725
8168
|
end
|
7726
8169
|
|
8170
|
+
# Metadata for smart reply models.
|
8171
|
+
class GoogleCloudDialogflowV2SmartReplyModelMetadata
|
8172
|
+
include Google::Apis::Core::Hashable
|
8173
|
+
|
8174
|
+
# Optional. Type of the smart reply model. If not provided, model_type is used.
|
8175
|
+
# Corresponds to the JSON property `trainingModelType`
|
8176
|
+
# @return [String]
|
8177
|
+
attr_accessor :training_model_type
|
8178
|
+
|
8179
|
+
def initialize(**args)
|
8180
|
+
update!(**args)
|
8181
|
+
end
|
8182
|
+
|
8183
|
+
# Update properties of this object
|
8184
|
+
def update!(**args)
|
8185
|
+
@training_model_type = args[:training_model_type] if args.key?(:training_model_type)
|
8186
|
+
end
|
8187
|
+
end
|
8188
|
+
|
7727
8189
|
# The response message for Participants.SuggestArticles.
|
7728
8190
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
7729
8191
|
include Google::Apis::Core::Hashable
|
@@ -7872,6 +8334,33 @@ module Google
|
|
7872
8334
|
end
|
7873
8335
|
end
|
7874
8336
|
|
8337
|
+
# Metadata for a ConversationModels.UndeployConversationModel operation.
|
8338
|
+
class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
|
8339
|
+
include Google::Apis::Core::Hashable
|
8340
|
+
|
8341
|
+
# The resource name of the conversation model. Format: `projects//
|
8342
|
+
# conversationModels/`
|
8343
|
+
# Corresponds to the JSON property `conversationModel`
|
8344
|
+
# @return [String]
|
8345
|
+
attr_accessor :conversation_model
|
8346
|
+
|
8347
|
+
# Timestamp when the request to undeploy conversation model was submitted. The
|
8348
|
+
# time is measured on server side.
|
8349
|
+
# Corresponds to the JSON property `createTime`
|
8350
|
+
# @return [String]
|
8351
|
+
attr_accessor :create_time
|
8352
|
+
|
8353
|
+
def initialize(**args)
|
8354
|
+
update!(**args)
|
8355
|
+
end
|
8356
|
+
|
8357
|
+
# Update properties of this object
|
8358
|
+
def update!(**args)
|
8359
|
+
@conversation_model = args[:conversation_model] if args.key?(:conversation_model)
|
8360
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
8361
|
+
end
|
8362
|
+
end
|
8363
|
+
|
7875
8364
|
# The request message for a webhook call.
|
7876
8365
|
class GoogleCloudDialogflowV2WebhookRequest
|
7877
8366
|
include Google::Apis::Core::Hashable
|
@@ -8950,6 +9439,71 @@ module Google
|
|
8950
9439
|
end
|
8951
9440
|
end
|
8952
9441
|
|
9442
|
+
# Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
|
9443
|
+
class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata
|
9444
|
+
include Google::Apis::Core::Hashable
|
9445
|
+
|
9446
|
+
# The resource name of the conversation profile. Format: `projects//locations//
|
9447
|
+
# conversationProfiles/`
|
9448
|
+
# Corresponds to the JSON property `conversationProfile`
|
9449
|
+
# @return [String]
|
9450
|
+
attr_accessor :conversation_profile
|
9451
|
+
|
9452
|
+
# Timestamp whe the request was created. The time is measured on server side.
|
9453
|
+
# Corresponds to the JSON property `createTime`
|
9454
|
+
# @return [String]
|
9455
|
+
attr_accessor :create_time
|
9456
|
+
|
9457
|
+
# Required. The participant role to remove the suggestion feature config. Only
|
9458
|
+
# HUMAN_AGENT or END_USER can be used.
|
9459
|
+
# Corresponds to the JSON property `participantRole`
|
9460
|
+
# @return [String]
|
9461
|
+
attr_accessor :participant_role
|
9462
|
+
|
9463
|
+
# Required. The type of the suggestion feature to remove.
|
9464
|
+
# Corresponds to the JSON property `suggestionFeatureType`
|
9465
|
+
# @return [String]
|
9466
|
+
attr_accessor :suggestion_feature_type
|
9467
|
+
|
9468
|
+
def initialize(**args)
|
9469
|
+
update!(**args)
|
9470
|
+
end
|
9471
|
+
|
9472
|
+
# Update properties of this object
|
9473
|
+
def update!(**args)
|
9474
|
+
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
9475
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
9476
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
9477
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
9478
|
+
end
|
9479
|
+
end
|
9480
|
+
|
9481
|
+
# The request message for ConversationProfiles.ClearFeature.
|
9482
|
+
class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest
|
9483
|
+
include Google::Apis::Core::Hashable
|
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
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
9503
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
9504
|
+
end
|
9505
|
+
end
|
9506
|
+
|
8953
9507
|
# The request message for Participants.CompileSuggestion.
|
8954
9508
|
class GoogleCloudDialogflowV2beta1CompileSuggestionRequest
|
8955
9509
|
include Google::Apis::Core::Hashable
|
@@ -9516,7 +10070,7 @@ module Google
|
|
9516
10070
|
# source types. Reload status can be tracked in `latest_reload_status`. If a
|
9517
10071
|
# reload fails, we will keep the document unchanged. If a reload fails with
|
9518
10072
|
# 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.
|
10073
|
+
# If a reload fails with non-retriable errors (e.g. PERMISSION_DENIED), the
|
9520
10074
|
# system will not try to reload the document anymore. You need to manually
|
9521
10075
|
# reload the document successfully by calling `ReloadDocument` and clear the
|
9522
10076
|
# errors.
|
@@ -9561,6 +10115,11 @@ module Google
|
|
9561
10115
|
# @return [String]
|
9562
10116
|
attr_accessor :raw_content
|
9563
10117
|
|
10118
|
+
# Output only. The current state of the document.
|
10119
|
+
# Corresponds to the JSON property `state`
|
10120
|
+
# @return [String]
|
10121
|
+
attr_accessor :state
|
10122
|
+
|
9564
10123
|
def initialize(**args)
|
9565
10124
|
update!(**args)
|
9566
10125
|
end
|
@@ -9577,6 +10136,7 @@ module Google
|
|
9577
10136
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
9578
10137
|
@name = args[:name] if args.key?(:name)
|
9579
10138
|
@raw_content = args[:raw_content] if args.key?(:raw_content)
|
10139
|
+
@state = args[:state] if args.key?(:state)
|
9580
10140
|
end
|
9581
10141
|
end
|
9582
10142
|
|
@@ -9978,6 +10538,25 @@ module Google
|
|
9978
10538
|
end
|
9979
10539
|
end
|
9980
10540
|
|
10541
|
+
# Metadata related to the Export Data Operations (e.g. ExportDocument).
|
10542
|
+
class GoogleCloudDialogflowV2beta1ExportOperationMetadata
|
10543
|
+
include Google::Apis::Core::Hashable
|
10544
|
+
|
10545
|
+
# Google Cloud Storage location for the output.
|
10546
|
+
# Corresponds to the JSON property `exportedGcsDestination`
|
10547
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsDestination]
|
10548
|
+
attr_accessor :exported_gcs_destination
|
10549
|
+
|
10550
|
+
def initialize(**args)
|
10551
|
+
update!(**args)
|
10552
|
+
end
|
10553
|
+
|
10554
|
+
# Update properties of this object
|
10555
|
+
def update!(**args)
|
10556
|
+
@exported_gcs_destination = args[:exported_gcs_destination] if args.key?(:exported_gcs_destination)
|
10557
|
+
end
|
10558
|
+
end
|
10559
|
+
|
9981
10560
|
# Represents answer from "frequently asked questions".
|
9982
10561
|
class GoogleCloudDialogflowV2beta1FaqAnswer
|
9983
10562
|
include Google::Apis::Core::Hashable
|
@@ -10160,6 +10739,27 @@ module Google
|
|
10160
10739
|
end
|
10161
10740
|
end
|
10162
10741
|
|
10742
|
+
# Google Cloud Storage location for the output.
|
10743
|
+
class GoogleCloudDialogflowV2beta1GcsDestination
|
10744
|
+
include Google::Apis::Core::Hashable
|
10745
|
+
|
10746
|
+
# Required. The Google Cloud Storage URIs for the output. A URI is of the form:
|
10747
|
+
# gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on
|
10748
|
+
# the use case. The requesting user must have "write-permission" to the bucket.
|
10749
|
+
# Corresponds to the JSON property `uri`
|
10750
|
+
# @return [String]
|
10751
|
+
attr_accessor :uri
|
10752
|
+
|
10753
|
+
def initialize(**args)
|
10754
|
+
update!(**args)
|
10755
|
+
end
|
10756
|
+
|
10757
|
+
# Update properties of this object
|
10758
|
+
def update!(**args)
|
10759
|
+
@uri = args[:uri] if args.key?(:uri)
|
10760
|
+
end
|
10761
|
+
end
|
10762
|
+
|
10163
10763
|
# Google Cloud Storage location for single input.
|
10164
10764
|
class GoogleCloudDialogflowV2beta1GcsSource
|
10165
10765
|
include Google::Apis::Core::Hashable
|
@@ -12802,6 +13402,11 @@ module Google
|
|
12802
13402
|
class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
|
12803
13403
|
include Google::Apis::Core::Hashable
|
12804
13404
|
|
13405
|
+
# Metadata related to the Export Data Operations (e.g. ExportDocument).
|
13406
|
+
# Corresponds to the JSON property `exportOperationMetadata`
|
13407
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportOperationMetadata]
|
13408
|
+
attr_accessor :export_operation_metadata
|
13409
|
+
|
12805
13410
|
# The name of the knowledge base interacted with during the operation.
|
12806
13411
|
# Corresponds to the JSON property `knowledgeBase`
|
12807
13412
|
# @return [String]
|
@@ -12818,6 +13423,7 @@ module Google
|
|
12818
13423
|
|
12819
13424
|
# Update properties of this object
|
12820
13425
|
def update!(**args)
|
13426
|
+
@export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
|
12821
13427
|
@knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
|
12822
13428
|
@state = args[:state] if args.key?(:state)
|
12823
13429
|
end
|
@@ -14166,6 +14772,71 @@ module Google
|
|
14166
14772
|
end
|
14167
14773
|
end
|
14168
14774
|
|
14775
|
+
# Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
|
14776
|
+
class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata
|
14777
|
+
include Google::Apis::Core::Hashable
|
14778
|
+
|
14779
|
+
# The resource name of the conversation profile. Format: `projects//locations//
|
14780
|
+
# conversationProfiles/`
|
14781
|
+
# Corresponds to the JSON property `conversationProfile`
|
14782
|
+
# @return [String]
|
14783
|
+
attr_accessor :conversation_profile
|
14784
|
+
|
14785
|
+
# Timestamp whe the request was created. The time is measured on server side.
|
14786
|
+
# Corresponds to the JSON property `createTime`
|
14787
|
+
# @return [String]
|
14788
|
+
attr_accessor :create_time
|
14789
|
+
|
14790
|
+
# Required. The participant role to add or update the suggestion feature config.
|
14791
|
+
# Only HUMAN_AGENT or END_USER can be used.
|
14792
|
+
# Corresponds to the JSON property `participantRole`
|
14793
|
+
# @return [String]
|
14794
|
+
attr_accessor :participant_role
|
14795
|
+
|
14796
|
+
# Required. The type of the suggestion feature to add or update.
|
14797
|
+
# Corresponds to the JSON property `suggestionFeatureType`
|
14798
|
+
# @return [String]
|
14799
|
+
attr_accessor :suggestion_feature_type
|
14800
|
+
|
14801
|
+
def initialize(**args)
|
14802
|
+
update!(**args)
|
14803
|
+
end
|
14804
|
+
|
14805
|
+
# Update properties of this object
|
14806
|
+
def update!(**args)
|
14807
|
+
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
14808
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
14809
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
14810
|
+
@suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
|
14811
|
+
end
|
14812
|
+
end
|
14813
|
+
|
14814
|
+
# The request message for ConversationProfiles.SetSuggestionFeature.
|
14815
|
+
class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest
|
14816
|
+
include Google::Apis::Core::Hashable
|
14817
|
+
|
14818
|
+
# Required. The participant role to add or update the suggestion feature config.
|
14819
|
+
# Only HUMAN_AGENT or END_USER can be used.
|
14820
|
+
# Corresponds to the JSON property `participantRole`
|
14821
|
+
# @return [String]
|
14822
|
+
attr_accessor :participant_role
|
14823
|
+
|
14824
|
+
# Config for suggestion features.
|
14825
|
+
# Corresponds to the JSON property `suggestionFeatureConfig`
|
14826
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig]
|
14827
|
+
attr_accessor :suggestion_feature_config
|
14828
|
+
|
14829
|
+
def initialize(**args)
|
14830
|
+
update!(**args)
|
14831
|
+
end
|
14832
|
+
|
14833
|
+
# Update properties of this object
|
14834
|
+
def update!(**args)
|
14835
|
+
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
14836
|
+
@suggestion_feature_config = args[:suggestion_feature_config] if args.key?(:suggestion_feature_config)
|
14837
|
+
end
|
14838
|
+
end
|
14839
|
+
|
14169
14840
|
# Represents a smart reply answer.
|
14170
14841
|
class GoogleCloudDialogflowV2beta1SmartReplyAnswer
|
14171
14842
|
include Google::Apis::Core::Hashable
|