google-apis-dialogflow_v2beta1 0.26.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -476,7 +476,7 @@ module Google
476
476
  include Google::Apis::Core::Hashable
477
477
 
478
478
  # Whether to run test cases in TestCasesConfig.test_cases periodically. Default
479
- # false. If set to ture, run once a day.
479
+ # false. If set to true, run once a day.
480
480
  # Corresponds to the JSON property `enableContinuousRun`
481
481
  # @return [Boolean]
482
482
  attr_accessor :enable_continuous_run
@@ -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,106 @@ 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
+
6373
+ # Response message for Documents.ImportDocuments.
6374
+ class GoogleCloudDialogflowV2ImportDocumentsResponse
6375
+ include Google::Apis::Core::Hashable
6376
+
6377
+ # Includes details about skipped documents or any other warnings.
6378
+ # Corresponds to the JSON property `warnings`
6379
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleRpcStatus>]
6380
+ attr_accessor :warnings
6381
+
6382
+ def initialize(**args)
6383
+ update!(**args)
6384
+ end
6385
+
6386
+ # Update properties of this object
6387
+ def update!(**args)
6388
+ @warnings = args[:warnings] if args.key?(:warnings)
6389
+ end
6390
+ end
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
+
5995
6412
  # An intent categorizes an end-user's intention for one conversation turn. For
5996
6413
  # each agent, you define many intents, where your combined intents can handle a
5997
6414
  # complete conversation. When an end-user writes or says something, referred to
@@ -7247,6 +7664,16 @@ module Google
7247
7664
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
7248
7665
  include Google::Apis::Core::Hashable
7249
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
+
7672
+ # The name of the knowledge base interacted with during the operation.
7673
+ # Corresponds to the JSON property `knowledgeBase`
7674
+ # @return [String]
7675
+ attr_accessor :knowledge_base
7676
+
7250
7677
  # Output only. The current state of this operation.
7251
7678
  # Corresponds to the JSON property `state`
7252
7679
  # @return [String]
@@ -7258,6 +7685,8 @@ module Google
7258
7685
 
7259
7686
  # Update properties of this object
7260
7687
  def update!(**args)
7688
+ @export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
7689
+ @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
7261
7690
  @state = args[:state] if args.key?(:state)
7262
7691
  end
7263
7692
  end
@@ -7665,6 +8094,45 @@ module Google
7665
8094
  end
7666
8095
  end
7667
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
+
7668
8136
  # Represents a smart reply answer.
7669
8137
  class GoogleCloudDialogflowV2SmartReplyAnswer
7670
8138
  include Google::Apis::Core::Hashable
@@ -7699,6 +8167,25 @@ module Google
7699
8167
  end
7700
8168
  end
7701
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
+
7702
8189
  # The response message for Participants.SuggestArticles.
7703
8190
  class GoogleCloudDialogflowV2SuggestArticlesResponse
7704
8191
  include Google::Apis::Core::Hashable
@@ -7847,6 +8334,33 @@ module Google
7847
8334
  end
7848
8335
  end
7849
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
+
7850
8364
  # The request message for a webhook call.
7851
8365
  class GoogleCloudDialogflowV2WebhookRequest
7852
8366
  include Google::Apis::Core::Hashable
@@ -8925,6 +9439,71 @@ module Google
8925
9439
  end
8926
9440
  end
8927
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
+
8928
9507
  # The request message for Participants.CompileSuggestion.
8929
9508
  class GoogleCloudDialogflowV2beta1CompileSuggestionRequest
8930
9509
  include Google::Apis::Core::Hashable
@@ -9491,7 +10070,7 @@ module Google
9491
10070
  # source types. Reload status can be tracked in `latest_reload_status`. If a
9492
10071
  # reload fails, we will keep the document unchanged. If a reload fails with
9493
10072
  # internal errors, the system will try to reload the document on the next day.
9494
- # If a reload fails with non-retriable errors (e.g. PERMISION_DENIED), the
10073
+ # If a reload fails with non-retriable errors (e.g. PERMISSION_DENIED), the
9495
10074
  # system will not try to reload the document anymore. You need to manually
9496
10075
  # reload the document successfully by calling `ReloadDocument` and clear the
9497
10076
  # errors.
@@ -9536,6 +10115,11 @@ module Google
9536
10115
  # @return [String]
9537
10116
  attr_accessor :raw_content
9538
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
+
9539
10123
  def initialize(**args)
9540
10124
  update!(**args)
9541
10125
  end
@@ -9552,6 +10136,7 @@ module Google
9552
10136
  @mime_type = args[:mime_type] if args.key?(:mime_type)
9553
10137
  @name = args[:name] if args.key?(:name)
9554
10138
  @raw_content = args[:raw_content] if args.key?(:raw_content)
10139
+ @state = args[:state] if args.key?(:state)
9555
10140
  end
9556
10141
  end
9557
10142
 
@@ -9953,6 +10538,25 @@ module Google
9953
10538
  end
9954
10539
  end
9955
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
+
9956
10560
  # Represents answer from "frequently asked questions".
9957
10561
  class GoogleCloudDialogflowV2beta1FaqAnswer
9958
10562
  include Google::Apis::Core::Hashable
@@ -10135,6 +10739,27 @@ module Google
10135
10739
  end
10136
10740
  end
10137
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
+
10138
10763
  # Google Cloud Storage location for single input.
10139
10764
  class GoogleCloudDialogflowV2beta1GcsSource
10140
10765
  include Google::Apis::Core::Hashable
@@ -12777,6 +13402,11 @@ module Google
12777
13402
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
12778
13403
  include Google::Apis::Core::Hashable
12779
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
+
12780
13410
  # The name of the knowledge base interacted with during the operation.
12781
13411
  # Corresponds to the JSON property `knowledgeBase`
12782
13412
  # @return [String]
@@ -12793,6 +13423,7 @@ module Google
12793
13423
 
12794
13424
  # Update properties of this object
12795
13425
  def update!(**args)
13426
+ @export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
12796
13427
  @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
12797
13428
  @state = args[:state] if args.key?(:state)
12798
13429
  end
@@ -13312,10 +13943,12 @@ module Google
13312
13943
  attr_accessor :message_format
13313
13944
 
13314
13945
  # Name of the Pub/Sub topic to publish conversation events like
13315
- # CONVERSATION_STARTED as serialized ConversationEvent protos. Notification
13316
- # works for phone calls, if this topic either is in the same project as the
13317
- # conversation or you grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com`
13318
- # the `Dialogflow Service Agent` role in the topic project. Format: `projects//
13946
+ # CONVERSATION_STARTED as serialized ConversationEvent protos. For telephony
13947
+ # integration to receive notification, make sure either this topic is in the
13948
+ # same project as the conversation or you grant `service-@gcp-sa-dialogflow.iam.
13949
+ # gserviceaccount.com` the `Dialogflow Service Agent` role in the topic project.
13950
+ # For chat integration to receive notification, make sure API caller has been
13951
+ # granted the `Dialogflow Service Agent` role for the topic. Format: `projects//
13319
13952
  # locations//topics/`.
13320
13953
  # Corresponds to the JSON property `topic`
13321
13954
  # @return [String]
@@ -14141,6 +14774,71 @@ module Google
14141
14774
  end
14142
14775
  end
14143
14776
 
14777
+ # Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
14778
+ class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata
14779
+ include Google::Apis::Core::Hashable
14780
+
14781
+ # The resource name of the conversation profile. Format: `projects//locations//
14782
+ # conversationProfiles/`
14783
+ # Corresponds to the JSON property `conversationProfile`
14784
+ # @return [String]
14785
+ attr_accessor :conversation_profile
14786
+
14787
+ # Timestamp whe the request was created. The time is measured on server side.
14788
+ # Corresponds to the JSON property `createTime`
14789
+ # @return [String]
14790
+ attr_accessor :create_time
14791
+
14792
+ # Required. The participant role to add or update the suggestion feature config.
14793
+ # Only HUMAN_AGENT or END_USER can be used.
14794
+ # Corresponds to the JSON property `participantRole`
14795
+ # @return [String]
14796
+ attr_accessor :participant_role
14797
+
14798
+ # Required. The type of the suggestion feature to add or update.
14799
+ # Corresponds to the JSON property `suggestionFeatureType`
14800
+ # @return [String]
14801
+ attr_accessor :suggestion_feature_type
14802
+
14803
+ def initialize(**args)
14804
+ update!(**args)
14805
+ end
14806
+
14807
+ # Update properties of this object
14808
+ def update!(**args)
14809
+ @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
14810
+ @create_time = args[:create_time] if args.key?(:create_time)
14811
+ @participant_role = args[:participant_role] if args.key?(:participant_role)
14812
+ @suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
14813
+ end
14814
+ end
14815
+
14816
+ # The request message for ConversationProfiles.SetSuggestionFeature.
14817
+ class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest
14818
+ include Google::Apis::Core::Hashable
14819
+
14820
+ # Required. The participant role to add or update the suggestion feature config.
14821
+ # Only HUMAN_AGENT or END_USER can be used.
14822
+ # Corresponds to the JSON property `participantRole`
14823
+ # @return [String]
14824
+ attr_accessor :participant_role
14825
+
14826
+ # Config for suggestion features.
14827
+ # Corresponds to the JSON property `suggestionFeatureConfig`
14828
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig]
14829
+ attr_accessor :suggestion_feature_config
14830
+
14831
+ def initialize(**args)
14832
+ update!(**args)
14833
+ end
14834
+
14835
+ # Update properties of this object
14836
+ def update!(**args)
14837
+ @participant_role = args[:participant_role] if args.key?(:participant_role)
14838
+ @suggestion_feature_config = args[:suggestion_feature_config] if args.key?(:suggestion_feature_config)
14839
+ end
14840
+ end
14841
+
14144
14842
  # Represents a smart reply answer.
14145
14843
  class GoogleCloudDialogflowV2beta1SmartReplyAnswer
14146
14844
  include Google::Apis::Core::Hashable