google-apis-dialogflow_v2beta1 0.25.0 → 0.28.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
@@ -1526,6 +1526,12 @@ module Google
1526
1526
  # @return [String]
1527
1527
  attr_accessor :current_page
1528
1528
 
1529
+ # Always present for WebhookRequest. Ignored for WebhookResponse. The display
1530
+ # name of the current page.
1531
+ # Corresponds to the JSON property `displayName`
1532
+ # @return [String]
1533
+ attr_accessor :display_name
1534
+
1529
1535
  # Represents form information.
1530
1536
  # Corresponds to the JSON property `formInfo`
1531
1537
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo]
@@ -1538,6 +1544,7 @@ module Google
1538
1544
  # Update properties of this object
1539
1545
  def update!(**args)
1540
1546
  @current_page = args[:current_page] if args.key?(:current_page)
1547
+ @display_name = args[:display_name] if args.key?(:display_name)
1541
1548
  @form_info = args[:form_info] if args.key?(:form_info)
1542
1549
  end
1543
1550
  end
@@ -4261,6 +4268,12 @@ module Google
4261
4268
  # @return [String]
4262
4269
  attr_accessor :current_page
4263
4270
 
4271
+ # Always present for WebhookRequest. Ignored for WebhookResponse. The display
4272
+ # name of the current page.
4273
+ # Corresponds to the JSON property `displayName`
4274
+ # @return [String]
4275
+ attr_accessor :display_name
4276
+
4264
4277
  # Represents form information.
4265
4278
  # Corresponds to the JSON property `formInfo`
4266
4279
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo]
@@ -4273,6 +4286,7 @@ module Google
4273
4286
  # Update properties of this object
4274
4287
  def update!(**args)
4275
4288
  @current_page = args[:current_page] if args.key?(:current_page)
4289
+ @display_name = args[:display_name] if args.key?(:display_name)
4276
4290
  @form_info = args[:form_info] if args.key?(:form_info)
4277
4291
  end
4278
4292
  end
@@ -5583,6 +5597,26 @@ module Google
5583
5597
  end
5584
5598
  end
5585
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
+
5586
5620
  # The response message for EntityTypes.BatchUpdateEntityTypes.
5587
5621
  class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
5588
5622
  include Google::Apis::Core::Hashable
@@ -5621,6 +5655,45 @@ module Google
5621
5655
  end
5622
5656
  end
5623
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
+
5624
5697
  # Dialogflow contexts are similar to natural language context. If a person says
5625
5698
  # to you "they are orange", you need context in order to understand what "they"
5626
5699
  # is referring to. Similarly, for Dialogflow to handle an end-user expression
@@ -5726,6 +5799,224 @@ module Google
5726
5799
  end
5727
5800
  end
5728
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
+
5729
6020
  # Each intent parameter has a type, called the entity type, which dictates
5730
6021
  # exactly how data from an end-user expression is extracted. Dialogflow provides
5731
6022
  # predefined system entities that can match many common types of data. For
@@ -5890,6 +6181,25 @@ module Google
5890
6181
  end
5891
6182
  end
5892
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
+
5893
6203
  # Represents answer from "frequently asked questions".
5894
6204
  class GoogleCloudDialogflowV2FaqAnswer
5895
6205
  include Google::Apis::Core::Hashable
@@ -5944,6 +6254,27 @@ module Google
5944
6254
  end
5945
6255
  end
5946
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
+
5947
6278
  # Represents a notification sent to Cloud Pub/Sub subscribers for human agent
5948
6279
  # assistant events in a specific conversation.
5949
6280
  class GoogleCloudDialogflowV2HumanAgentAssistantEvent
@@ -5978,6 +6309,106 @@ module Google
5978
6309
  end
5979
6310
  end
5980
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
+
5981
6412
  # An intent categorizes an end-user's intention for one conversation turn. For
5982
6413
  # each agent, you define many intents, where your combined intents can handle a
5983
6414
  # complete conversation. When an end-user writes or says something, referred to
@@ -7233,6 +7664,16 @@ module Google
7233
7664
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
7234
7665
  include Google::Apis::Core::Hashable
7235
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
+
7236
7677
  # Output only. The current state of this operation.
7237
7678
  # Corresponds to the JSON property `state`
7238
7679
  # @return [String]
@@ -7244,6 +7685,8 @@ module Google
7244
7685
 
7245
7686
  # Update properties of this object
7246
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)
7247
7690
  @state = args[:state] if args.key?(:state)
7248
7691
  end
7249
7692
  end
@@ -7257,7 +7700,7 @@ module Google
7257
7700
  # @return [String]
7258
7701
  attr_accessor :content
7259
7702
 
7260
- # Output only. The time when the message was created.
7703
+ # Output only. The time when the message was created in Contact Center AI.
7261
7704
  # Corresponds to the JSON property `createTime`
7262
7705
  # @return [String]
7263
7706
  attr_accessor :create_time
@@ -7273,7 +7716,7 @@ module Google
7273
7716
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2MessageAnnotation]
7274
7717
  attr_accessor :message_annotation
7275
7718
 
7276
- # The unique identifier of the message. Format: `projects//locations//
7719
+ # Optional. The unique identifier of the message. Format: `projects//locations//
7277
7720
  # conversations//messages/`.
7278
7721
  # Corresponds to the JSON property `name`
7279
7722
  # @return [String]
@@ -7289,6 +7732,23 @@ module Google
7289
7732
  # @return [String]
7290
7733
  attr_accessor :participant_role
7291
7734
 
7735
+ # Optional. The time when the message was sent.
7736
+ # Corresponds to the JSON property `sendTime`
7737
+ # @return [String]
7738
+ attr_accessor :send_time
7739
+
7740
+ # The result of sentiment analysis. Sentiment analysis inspects user input and
7741
+ # identifies the prevailing subjective opinion, especially to determine a user's
7742
+ # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
7743
+ # needs to be configured in DetectIntentRequest.query_params. For Participants.
7744
+ # StreamingDetectIntent, it needs to be configured in
7745
+ # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
7746
+ # and Participants.StreamingAnalyzeContent, it needs to be configured in
7747
+ # ConversationProfile.human_agent_assistant_config
7748
+ # Corresponds to the JSON property `sentimentAnalysis`
7749
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
7750
+ attr_accessor :sentiment_analysis
7751
+
7292
7752
  def initialize(**args)
7293
7753
  update!(**args)
7294
7754
  end
@@ -7302,6 +7762,8 @@ module Google
7302
7762
  @name = args[:name] if args.key?(:name)
7303
7763
  @participant = args[:participant] if args.key?(:participant)
7304
7764
  @participant_role = args[:participant_role] if args.key?(:participant_role)
7765
+ @send_time = args[:send_time] if args.key?(:send_time)
7766
+ @sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
7305
7767
  end
7306
7768
  end
7307
7769
 
@@ -7573,11 +8035,125 @@ module Google
7573
8035
  class GoogleCloudDialogflowV2SentimentAnalysisResult
7574
8036
  include Google::Apis::Core::Hashable
7575
8037
 
7576
- # The sentiment, such as positive/negative feeling or association, for a unit of
7577
- # analysis, such as the query text.
7578
- # Corresponds to the JSON property `queryTextSentiment`
7579
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Sentiment]
7580
- attr_accessor :query_text_sentiment
8038
+ # The sentiment, such as positive/negative feeling or association, for a unit of
8039
+ # analysis, such as the query text.
8040
+ # Corresponds to the JSON property `queryTextSentiment`
8041
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Sentiment]
8042
+ attr_accessor :query_text_sentiment
8043
+
8044
+ def initialize(**args)
8045
+ update!(**args)
8046
+ end
8047
+
8048
+ # Update properties of this object
8049
+ def update!(**args)
8050
+ @query_text_sentiment = args[:query_text_sentiment] if args.key?(:query_text_sentiment)
8051
+ end
8052
+ end
8053
+
8054
+ # A session represents a conversation between a Dialogflow agent and an end-user.
8055
+ # You can create special entities, called session entities, during a session.
8056
+ # Session entities can extend or replace custom entity types and only exist
8057
+ # during the session that they were created for. All session data, including
8058
+ # session entities, is stored by Dialogflow for 20 minutes. For more information,
8059
+ # see the [session entity guide](https://cloud.google.com/dialogflow/docs/
8060
+ # entities-session).
8061
+ class GoogleCloudDialogflowV2SessionEntityType
8062
+ include Google::Apis::Core::Hashable
8063
+
8064
+ # Required. The collection of entities associated with this session entity type.
8065
+ # Corresponds to the JSON property `entities`
8066
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity>]
8067
+ attr_accessor :entities
8068
+
8069
+ # Required. Indicates whether the additional data should override or supplement
8070
+ # the custom entity type definition.
8071
+ # Corresponds to the JSON property `entityOverrideMode`
8072
+ # @return [String]
8073
+ attr_accessor :entity_override_mode
8074
+
8075
+ # Required. The unique identifier of this session entity type. Format: `projects/
8076
+ # /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
8077
+ # sessions//entityTypes/`. If `Environment ID` is not specified, we assume
8078
+ # default 'draft' environment. If `User ID` is not specified, we assume default '
8079
+ # -' user. `` must be the display name of an existing entity type in the same
8080
+ # agent that will be overridden or supplemented.
8081
+ # Corresponds to the JSON property `name`
8082
+ # @return [String]
8083
+ attr_accessor :name
8084
+
8085
+ def initialize(**args)
8086
+ update!(**args)
8087
+ end
8088
+
8089
+ # Update properties of this object
8090
+ def update!(**args)
8091
+ @entities = args[:entities] if args.key?(:entities)
8092
+ @entity_override_mode = args[:entity_override_mode] if args.key?(:entity_override_mode)
8093
+ @name = args[:name] if args.key?(:name)
8094
+ end
8095
+ end
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
+
8136
+ # Represents a smart reply answer.
8137
+ class GoogleCloudDialogflowV2SmartReplyAnswer
8138
+ include Google::Apis::Core::Hashable
8139
+
8140
+ # The name of answer record, in the format of "projects//locations//
8141
+ # answerRecords/"
8142
+ # Corresponds to the JSON property `answerRecord`
8143
+ # @return [String]
8144
+ attr_accessor :answer_record
8145
+
8146
+ # Smart reply confidence. The system's confidence score that this reply is a
8147
+ # good match for this conversation, as a value from 0.0 (completely uncertain)
8148
+ # to 1.0 (completely certain).
8149
+ # Corresponds to the JSON property `confidence`
8150
+ # @return [Float]
8151
+ attr_accessor :confidence
8152
+
8153
+ # The content of the reply.
8154
+ # Corresponds to the JSON property `reply`
8155
+ # @return [String]
8156
+ attr_accessor :reply
7581
8157
 
7582
8158
  def initialize(**args)
7583
8159
  update!(**args)
@@ -7585,40 +8161,20 @@ module Google
7585
8161
 
7586
8162
  # Update properties of this object
7587
8163
  def update!(**args)
7588
- @query_text_sentiment = args[:query_text_sentiment] if args.key?(:query_text_sentiment)
8164
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
8165
+ @confidence = args[:confidence] if args.key?(:confidence)
8166
+ @reply = args[:reply] if args.key?(:reply)
7589
8167
  end
7590
8168
  end
7591
8169
 
7592
- # A session represents a conversation between a Dialogflow agent and an end-user.
7593
- # You can create special entities, called session entities, during a session.
7594
- # Session entities can extend or replace custom entity types and only exist
7595
- # during the session that they were created for. All session data, including
7596
- # session entities, is stored by Dialogflow for 20 minutes. For more information,
7597
- # see the [session entity guide](https://cloud.google.com/dialogflow/docs/
7598
- # entities-session).
7599
- class GoogleCloudDialogflowV2SessionEntityType
8170
+ # Metadata for smart reply models.
8171
+ class GoogleCloudDialogflowV2SmartReplyModelMetadata
7600
8172
  include Google::Apis::Core::Hashable
7601
8173
 
7602
- # Required. The collection of entities associated with this session entity type.
7603
- # Corresponds to the JSON property `entities`
7604
- # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity>]
7605
- attr_accessor :entities
7606
-
7607
- # Required. Indicates whether the additional data should override or supplement
7608
- # the custom entity type definition.
7609
- # Corresponds to the JSON property `entityOverrideMode`
7610
- # @return [String]
7611
- attr_accessor :entity_override_mode
7612
-
7613
- # Required. The unique identifier of this session entity type. Format: `projects/
7614
- # /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
7615
- # sessions//entityTypes/`. If `Environment ID` is not specified, we assume
7616
- # default 'draft' environment. If `User ID` is not specified, we assume default '
7617
- # -' user. `` must be the display name of an existing entity type in the same
7618
- # agent that will be overridden or supplemented.
7619
- # Corresponds to the JSON property `name`
8174
+ # Optional. Type of the smart reply model. If not provided, model_type is used.
8175
+ # Corresponds to the JSON property `trainingModelType`
7620
8176
  # @return [String]
7621
- attr_accessor :name
8177
+ attr_accessor :training_model_type
7622
8178
 
7623
8179
  def initialize(**args)
7624
8180
  update!(**args)
@@ -7626,9 +8182,7 @@ module Google
7626
8182
 
7627
8183
  # Update properties of this object
7628
8184
  def update!(**args)
7629
- @entities = args[:entities] if args.key?(:entities)
7630
- @entity_override_mode = args[:entity_override_mode] if args.key?(:entity_override_mode)
7631
- @name = args[:name] if args.key?(:name)
8185
+ @training_model_type = args[:training_model_type] if args.key?(:training_model_type)
7632
8186
  end
7633
8187
  end
7634
8188
 
@@ -7700,6 +8254,42 @@ module Google
7700
8254
  end
7701
8255
  end
7702
8256
 
8257
+ # The response message for Participants.SuggestSmartReplies.
8258
+ class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
8259
+ include Google::Apis::Core::Hashable
8260
+
8261
+ # Number of messages prior to and including latest_message to compile the
8262
+ # suggestion. It may be smaller than the SuggestSmartRepliesRequest.context_size
8263
+ # field in the request if there aren't that many messages in the conversation.
8264
+ # Corresponds to the JSON property `contextSize`
8265
+ # @return [Fixnum]
8266
+ attr_accessor :context_size
8267
+
8268
+ # The name of the latest conversation message used to compile suggestion for.
8269
+ # Format: `projects//locations//conversations//messages/`.
8270
+ # Corresponds to the JSON property `latestMessage`
8271
+ # @return [String]
8272
+ attr_accessor :latest_message
8273
+
8274
+ # Output only. Multiple reply options provided by smart reply service. The order
8275
+ # is based on the rank of the model prediction. The maximum number of the
8276
+ # returned replies is set in SmartReplyConfig.
8277
+ # Corresponds to the JSON property `smartReplyAnswers`
8278
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SmartReplyAnswer>]
8279
+ attr_accessor :smart_reply_answers
8280
+
8281
+ def initialize(**args)
8282
+ update!(**args)
8283
+ end
8284
+
8285
+ # Update properties of this object
8286
+ def update!(**args)
8287
+ @context_size = args[:context_size] if args.key?(:context_size)
8288
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
8289
+ @smart_reply_answers = args[:smart_reply_answers] if args.key?(:smart_reply_answers)
8290
+ end
8291
+ end
8292
+
7703
8293
  # One response of different type of suggestion response which is used in the
7704
8294
  # response of Participants.AnalyzeContent and Participants.AnalyzeContent, as
7705
8295
  # well as HumanAgentAssistantEvent.
@@ -7726,6 +8316,11 @@ module Google
7726
8316
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse]
7727
8317
  attr_accessor :suggest_faq_answers_response
7728
8318
 
8319
+ # The response message for Participants.SuggestSmartReplies.
8320
+ # Corresponds to the JSON property `suggestSmartRepliesResponse`
8321
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse]
8322
+ attr_accessor :suggest_smart_replies_response
8323
+
7729
8324
  def initialize(**args)
7730
8325
  update!(**args)
7731
8326
  end
@@ -7735,6 +8330,34 @@ module Google
7735
8330
  @error = args[:error] if args.key?(:error)
7736
8331
  @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
7737
8332
  @suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
8333
+ @suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
8334
+ end
8335
+ end
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)
7738
8361
  end
7739
8362
  end
7740
8363
 
@@ -8816,6 +9439,71 @@ module Google
8816
9439
  end
8817
9440
  end
8818
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
+
8819
9507
  # The request message for Participants.CompileSuggestion.
8820
9508
  class GoogleCloudDialogflowV2beta1CompileSuggestionRequest
8821
9509
  include Google::Apis::Core::Hashable
@@ -9382,7 +10070,7 @@ module Google
9382
10070
  # source types. Reload status can be tracked in `latest_reload_status`. If a
9383
10071
  # reload fails, we will keep the document unchanged. If a reload fails with
9384
10072
  # internal errors, the system will try to reload the document on the next day.
9385
- # 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
9386
10074
  # system will not try to reload the document anymore. You need to manually
9387
10075
  # reload the document successfully by calling `ReloadDocument` and clear the
9388
10076
  # errors.
@@ -9427,6 +10115,11 @@ module Google
9427
10115
  # @return [String]
9428
10116
  attr_accessor :raw_content
9429
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
+
9430
10123
  def initialize(**args)
9431
10124
  update!(**args)
9432
10125
  end
@@ -9443,6 +10136,7 @@ module Google
9443
10136
  @mime_type = args[:mime_type] if args.key?(:mime_type)
9444
10137
  @name = args[:name] if args.key?(:name)
9445
10138
  @raw_content = args[:raw_content] if args.key?(:raw_content)
10139
+ @state = args[:state] if args.key?(:state)
9446
10140
  end
9447
10141
  end
9448
10142
 
@@ -9844,6 +10538,25 @@ module Google
9844
10538
  end
9845
10539
  end
9846
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
+
9847
10560
  # Represents answer from "frequently asked questions".
9848
10561
  class GoogleCloudDialogflowV2beta1FaqAnswer
9849
10562
  include Google::Apis::Core::Hashable
@@ -10026,6 +10739,27 @@ module Google
10026
10739
  end
10027
10740
  end
10028
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
+
10029
10763
  # Google Cloud Storage location for single input.
10030
10764
  class GoogleCloudDialogflowV2beta1GcsSource
10031
10765
  include Google::Apis::Core::Hashable
@@ -10125,6 +10859,26 @@ module Google
10125
10859
  end
10126
10860
  end
10127
10861
 
10862
+ # Config to process conversation.
10863
+ class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig
10864
+ include Google::Apis::Core::Hashable
10865
+
10866
+ # Number of recent non-small-talk sentences to use as context for article and
10867
+ # FAQ suggestion
10868
+ # Corresponds to the JSON property `recentSentencesCount`
10869
+ # @return [Fixnum]
10870
+ attr_accessor :recent_sentences_count
10871
+
10872
+ def initialize(**args)
10873
+ update!(**args)
10874
+ end
10875
+
10876
+ # Update properties of this object
10877
+ def update!(**args)
10878
+ @recent_sentences_count = args[:recent_sentences_count] if args.key?(:recent_sentences_count)
10879
+ end
10880
+ end
10881
+
10128
10882
  # Configuration for analyses to run on each conversation message.
10129
10883
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig
10130
10884
  include Google::Apis::Core::Hashable
@@ -10211,6 +10965,11 @@ module Google
10211
10965
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig]
10212
10966
  attr_accessor :conversation_model_config
10213
10967
 
10968
+ # Config to process conversation.
10969
+ # Corresponds to the JSON property `conversationProcessConfig`
10970
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig]
10971
+ attr_accessor :conversation_process_config
10972
+
10214
10973
  # Automatically iterates all participants and tries to compile suggestions.
10215
10974
  # Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.
10216
10975
  # Corresponds to the JSON property `enableEventBasedSuggestion`
@@ -10242,6 +11001,7 @@ module Google
10242
11001
  # Update properties of this object
10243
11002
  def update!(**args)
10244
11003
  @conversation_model_config = args[:conversation_model_config] if args.key?(:conversation_model_config)
11004
+ @conversation_process_config = args[:conversation_process_config] if args.key?(:conversation_process_config)
10245
11005
  @enable_event_based_suggestion = args[:enable_event_based_suggestion] if args.key?(:enable_event_based_suggestion)
10246
11006
  @query_config = args[:query_config] if args.key?(:query_config)
10247
11007
  @suggestion_feature = args[:suggestion_feature] if args.key?(:suggestion_feature)
@@ -12642,6 +13402,16 @@ module Google
12642
13402
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
12643
13403
  include Google::Apis::Core::Hashable
12644
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
+
13410
+ # The name of the knowledge base interacted with during the operation.
13411
+ # Corresponds to the JSON property `knowledgeBase`
13412
+ # @return [String]
13413
+ attr_accessor :knowledge_base
13414
+
12645
13415
  # Required. Output only. The current state of this operation.
12646
13416
  # Corresponds to the JSON property `state`
12647
13417
  # @return [String]
@@ -12653,6 +13423,8 @@ module Google
12653
13423
 
12654
13424
  # Update properties of this object
12655
13425
  def update!(**args)
13426
+ @export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
13427
+ @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
12656
13428
  @state = args[:state] if args.key?(:state)
12657
13429
  end
12658
13430
  end
@@ -14000,6 +14772,71 @@ module Google
14000
14772
  end
14001
14773
  end
14002
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
+
14003
14840
  # Represents a smart reply answer.
14004
14841
  class GoogleCloudDialogflowV2beta1SmartReplyAnswer
14005
14842
  include Google::Apis::Core::Hashable