google-apis-dialogflow_v3 0.25.0 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1202,7 +1202,7 @@ module Google
1202
1202
  include Google::Apis::Core::Hashable
1203
1203
 
1204
1204
  # Whether to run test cases in TestCasesConfig.test_cases periodically. Default
1205
- # false. If set to ture, run once a day.
1205
+ # false. If set to true, run once a day.
1206
1206
  # Corresponds to the JSON property `enableContinuousRun`
1207
1207
  # @return [Boolean]
1208
1208
  attr_accessor :enable_continuous_run
@@ -1617,7 +1617,11 @@ module Google
1617
1617
 
1618
1618
  # Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
1619
1619
  # URI to export the agent to. The format of this URI must be `gs:///`. If left
1620
- # unspecified, the serialized agent is returned inline.
1620
+ # unspecified, the serialized agent is returned inline. Dialogflow performs a
1621
+ # write operation for the Cloud Storage object on the caller's behalf, so your
1622
+ # request authentication must have write permissions for the object. For more
1623
+ # information, see [Dialogflow access control](https://cloud.google.com/
1624
+ # dialogflow/cx/docs/concept/access-control#storage).
1621
1625
  # Corresponds to the JSON property `agentUri`
1622
1626
  # @return [String]
1623
1627
  attr_accessor :agent_uri
@@ -1672,7 +1676,11 @@ module Google
1672
1676
 
1673
1677
  # Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
1674
1678
  # URI to export the flow to. The format of this URI must be `gs:///`. If left
1675
- # unspecified, the serialized flow is returned inline.
1679
+ # unspecified, the serialized flow is returned inline. Dialogflow performs a
1680
+ # write operation for the Cloud Storage object on the caller's behalf, so your
1681
+ # request authentication must have write permissions for the object. For more
1682
+ # information, see [Dialogflow access control](https://cloud.google.com/
1683
+ # dialogflow/cx/docs/concept/access-control#storage).
1676
1684
  # Corresponds to the JSON property `flowUri`
1677
1685
  # @return [String]
1678
1686
  attr_accessor :flow_uri
@@ -1755,7 +1763,11 @@ module Google
1755
1763
 
1756
1764
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
1757
1765
  # export the test cases to. The format of this URI must be `gs:///`. If
1758
- # unspecified, the serialized test cases is returned inline.
1766
+ # unspecified, the serialized test cases is returned inline. Dialogflow performs
1767
+ # a write operation for the Cloud Storage object on the caller's behalf, so your
1768
+ # request authentication must have write permissions for the object. For more
1769
+ # information, see [Dialogflow access control](https://cloud.google.com/
1770
+ # dialogflow/cx/docs/concept/access-control#storage).
1759
1771
  # Corresponds to the JSON property `gcsUri`
1760
1772
  # @return [String]
1761
1773
  attr_accessor :gcs_uri
@@ -2375,7 +2387,11 @@ module Google
2375
2387
  attr_accessor :flow_content
2376
2388
 
2377
2389
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
2378
- # import flow from. The format of this URI must be `gs:///`.
2390
+ # import flow from. The format of this URI must be `gs:///`. Dialogflow performs
2391
+ # a read operation for the Cloud Storage object on the caller's behalf, so your
2392
+ # request authentication must have read permissions for the object. For more
2393
+ # information, see [Dialogflow access control](https://cloud.google.com/
2394
+ # dialogflow/cx/docs/concept/access-control#storage).
2379
2395
  # Corresponds to the JSON property `flowUri`
2380
2396
  # @return [String]
2381
2397
  attr_accessor :flow_uri
@@ -2447,7 +2463,11 @@ module Google
2447
2463
  attr_accessor :content
2448
2464
 
2449
2465
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
2450
- # import test cases from. The format of this URI must be `gs:///`.
2466
+ # import test cases from. The format of this URI must be `gs:///`. Dialogflow
2467
+ # performs a read operation for the Cloud Storage object on the caller's behalf,
2468
+ # so your request authentication must have read permissions for the object. For
2469
+ # more information, see [Dialogflow access control](https://cloud.google.com/
2470
+ # dialogflow/cx/docs/concept/access-control#storage).
2451
2471
  # Corresponds to the JSON property `gcsUri`
2452
2472
  # @return [String]
2453
2473
  attr_accessor :gcs_uri
@@ -3356,7 +3376,8 @@ module Google
3356
3376
  # @return [Float]
3357
3377
  attr_accessor :confidence
3358
3378
 
3359
- # The event that matched the query. Only filled for `EVENT` match type.
3379
+ # The event that matched the query. Filled for `EVENT`, `NO_MATCH` and `NO_INPUT`
3380
+ # match types.
3360
3381
  # Corresponds to the JSON property `event`
3361
3382
  # @return [String]
3362
3383
  attr_accessor :event
@@ -4482,7 +4503,11 @@ module Google
4482
4503
  attr_accessor :agent_content
4483
4504
 
4484
4505
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
4485
- # restore agent from. The format of this URI must be `gs:///`.
4506
+ # restore agent from. The format of this URI must be `gs:///`. Dialogflow
4507
+ # performs a read operation for the Cloud Storage object on the caller's behalf,
4508
+ # so your request authentication must have read permissions for the object. For
4509
+ # more information, see [Dialogflow access control](https://cloud.google.com/
4510
+ # dialogflow/cx/docs/concept/access-control#storage).
4486
4511
  # Corresponds to the JSON property `agentUri`
4487
4512
  # @return [String]
4488
4513
  attr_accessor :agent_uri
@@ -4739,7 +4764,7 @@ module Google
4739
4764
  attr_accessor :display_name
4740
4765
 
4741
4766
  # Settings for exporting conversations to [Insights](https://cloud.google.com/
4742
- # dialogflow/priv/docs/insights).
4767
+ # contact-center/insights/docs).
4743
4768
  # Corresponds to the JSON property `insightsExportSettings`
4744
4769
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings]
4745
4770
  attr_accessor :insights_export_settings
@@ -4810,7 +4835,7 @@ module Google
4810
4835
  end
4811
4836
 
4812
4837
  # Settings for exporting conversations to [Insights](https://cloud.google.com/
4813
- # dialogflow/priv/docs/insights).
4838
+ # contact-center/insights/docs).
4814
4839
  class GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings
4815
4840
  include Google::Apis::Core::Hashable
4816
4841
 
@@ -5185,12 +5210,24 @@ module Google
5185
5210
  class GoogleCloudDialogflowCxV3TestConfig
5186
5211
  include Google::Apis::Core::Hashable
5187
5212
 
5188
- # Flow name. If not set, default start flow is assumed. Format: `projects//
5189
- # locations//agents//flows/`.
5213
+ # Flow name to start the test case with. Format: `projects//locations//agents//
5214
+ # flows/`. Only one of `flow` and `page` should be set to indicate the starting
5215
+ # point of the test case. If both are set, `page` takes precedence over `flow`.
5216
+ # If neither is set, the test case will start with start page on the default
5217
+ # start flow.
5190
5218
  # Corresponds to the JSON property `flow`
5191
5219
  # @return [String]
5192
5220
  attr_accessor :flow
5193
5221
 
5222
+ # The page to start the test case with. Format: `projects//locations//agents//
5223
+ # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
5224
+ # starting point of the test case. If both are set, `page` takes precedence over
5225
+ # `flow`. If neither is set, the test case will start with start page on the
5226
+ # default start flow.
5227
+ # Corresponds to the JSON property `page`
5228
+ # @return [String]
5229
+ attr_accessor :page
5230
+
5194
5231
  # Session parameters to be compared when calculating differences.
5195
5232
  # Corresponds to the JSON property `trackingParameters`
5196
5233
  # @return [Array<String>]
@@ -5203,6 +5240,7 @@ module Google
5203
5240
  # Update properties of this object
5204
5241
  def update!(**args)
5205
5242
  @flow = args[:flow] if args.key?(:flow)
5243
+ @page = args[:page] if args.key?(:page)
5206
5244
  @tracking_parameters = args[:tracking_parameters] if args.key?(:tracking_parameters)
5207
5245
  end
5208
5246
  end
@@ -8585,12 +8623,24 @@ module Google
8585
8623
  class GoogleCloudDialogflowCxV3beta1TestConfig
8586
8624
  include Google::Apis::Core::Hashable
8587
8625
 
8588
- # Flow name. If not set, default start flow is assumed. Format: `projects//
8589
- # locations//agents//flows/`.
8626
+ # Flow name to start the test case with. Format: `projects//locations//agents//
8627
+ # flows/`. Only one of `flow` and `page` should be set to indicate the starting
8628
+ # point of the test case. If both are set, `page` takes precedence over `flow`.
8629
+ # If neither is set, the test case will start with start page on the default
8630
+ # start flow.
8590
8631
  # Corresponds to the JSON property `flow`
8591
8632
  # @return [String]
8592
8633
  attr_accessor :flow
8593
8634
 
8635
+ # The page to start the test case with. Format: `projects//locations//agents//
8636
+ # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
8637
+ # starting point of the test case. If both are set, `page` takes precedence over
8638
+ # `flow`. If neither is set, the test case will start with start page on the
8639
+ # default start flow.
8640
+ # Corresponds to the JSON property `page`
8641
+ # @return [String]
8642
+ attr_accessor :page
8643
+
8594
8644
  # Session parameters to be compared when calculating differences.
8595
8645
  # Corresponds to the JSON property `trackingParameters`
8596
8646
  # @return [Array<String>]
@@ -8603,6 +8653,7 @@ module Google
8603
8653
  # Update properties of this object
8604
8654
  def update!(**args)
8605
8655
  @flow = args[:flow] if args.key?(:flow)
8656
+ @page = args[:page] if args.key?(:page)
8606
8657
  @tracking_parameters = args[:tracking_parameters] if args.key?(:tracking_parameters)
8607
8658
  end
8608
8659
  end
@@ -9156,6 +9207,26 @@ module Google
9156
9207
  end
9157
9208
  end
9158
9209
 
9210
+ # Metadata for article suggestion models.
9211
+ class GoogleCloudDialogflowV2ArticleSuggestionModelMetadata
9212
+ include Google::Apis::Core::Hashable
9213
+
9214
+ # Optional. Type of the article suggestion model. If not provided, model_type is
9215
+ # used.
9216
+ # Corresponds to the JSON property `trainingModelType`
9217
+ # @return [String]
9218
+ attr_accessor :training_model_type
9219
+
9220
+ def initialize(**args)
9221
+ update!(**args)
9222
+ end
9223
+
9224
+ # Update properties of this object
9225
+ def update!(**args)
9226
+ @training_model_type = args[:training_model_type] if args.key?(:training_model_type)
9227
+ end
9228
+ end
9229
+
9159
9230
  # The response message for EntityTypes.BatchUpdateEntityTypes.
9160
9231
  class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
9161
9232
  include Google::Apis::Core::Hashable
@@ -9194,6 +9265,45 @@ module Google
9194
9265
  end
9195
9266
  end
9196
9267
 
9268
+ # Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
9269
+ class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
9270
+ include Google::Apis::Core::Hashable
9271
+
9272
+ # The resource name of the conversation profile. Format: `projects//locations//
9273
+ # conversationProfiles/`
9274
+ # Corresponds to the JSON property `conversationProfile`
9275
+ # @return [String]
9276
+ attr_accessor :conversation_profile
9277
+
9278
+ # Timestamp whe the request was created. The time is measured on server side.
9279
+ # Corresponds to the JSON property `createTime`
9280
+ # @return [String]
9281
+ attr_accessor :create_time
9282
+
9283
+ # Required. The participant role to remove the suggestion feature config. Only
9284
+ # HUMAN_AGENT or END_USER can be used.
9285
+ # Corresponds to the JSON property `participantRole`
9286
+ # @return [String]
9287
+ attr_accessor :participant_role
9288
+
9289
+ # Required. The type of the suggestion feature to remove.
9290
+ # Corresponds to the JSON property `suggestionFeatureType`
9291
+ # @return [String]
9292
+ attr_accessor :suggestion_feature_type
9293
+
9294
+ def initialize(**args)
9295
+ update!(**args)
9296
+ end
9297
+
9298
+ # Update properties of this object
9299
+ def update!(**args)
9300
+ @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
9301
+ @create_time = args[:create_time] if args.key?(:create_time)
9302
+ @participant_role = args[:participant_role] if args.key?(:participant_role)
9303
+ @suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
9304
+ end
9305
+ end
9306
+
9197
9307
  # Dialogflow contexts are similar to natural language context. If a person says
9198
9308
  # to you "they are orange", you need context in order to understand what "they"
9199
9309
  # is referring to. Similarly, for Dialogflow to handle an end-user expression
@@ -9299,6 +9409,224 @@ module Google
9299
9409
  end
9300
9410
  end
9301
9411
 
9412
+ # Represents a conversation model.
9413
+ class GoogleCloudDialogflowV2ConversationModel
9414
+ include Google::Apis::Core::Hashable
9415
+
9416
+ # Metadata for article suggestion models.
9417
+ # Corresponds to the JSON property `articleSuggestionModelMetadata`
9418
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ArticleSuggestionModelMetadata]
9419
+ attr_accessor :article_suggestion_model_metadata
9420
+
9421
+ # Output only. Creation time of this model.
9422
+ # Corresponds to the JSON property `createTime`
9423
+ # @return [String]
9424
+ attr_accessor :create_time
9425
+
9426
+ # Required. Datasets used to create model.
9427
+ # Corresponds to the JSON property `datasets`
9428
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InputDataset>]
9429
+ attr_accessor :datasets
9430
+
9431
+ # Required. The display name of the model. At most 64 bytes long.
9432
+ # Corresponds to the JSON property `displayName`
9433
+ # @return [String]
9434
+ attr_accessor :display_name
9435
+
9436
+ # Language code for the conversation model. If not specified, the language is en-
9437
+ # US. Language at ConversationModel should be set for all non en-us languages.
9438
+ # This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
9439
+ # language tag. Example: "en-US".
9440
+ # Corresponds to the JSON property `languageCode`
9441
+ # @return [String]
9442
+ attr_accessor :language_code
9443
+
9444
+ # ConversationModel resource name. Format: `projects//conversationModels/`
9445
+ # Corresponds to the JSON property `name`
9446
+ # @return [String]
9447
+ attr_accessor :name
9448
+
9449
+ # Metadata for smart reply models.
9450
+ # Corresponds to the JSON property `smartReplyModelMetadata`
9451
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SmartReplyModelMetadata]
9452
+ attr_accessor :smart_reply_model_metadata
9453
+
9454
+ # Output only. State of the model. A model can only serve prediction requests
9455
+ # after it gets deployed.
9456
+ # Corresponds to the JSON property `state`
9457
+ # @return [String]
9458
+ attr_accessor :state
9459
+
9460
+ def initialize(**args)
9461
+ update!(**args)
9462
+ end
9463
+
9464
+ # Update properties of this object
9465
+ def update!(**args)
9466
+ @article_suggestion_model_metadata = args[:article_suggestion_model_metadata] if args.key?(:article_suggestion_model_metadata)
9467
+ @create_time = args[:create_time] if args.key?(:create_time)
9468
+ @datasets = args[:datasets] if args.key?(:datasets)
9469
+ @display_name = args[:display_name] if args.key?(:display_name)
9470
+ @language_code = args[:language_code] if args.key?(:language_code)
9471
+ @name = args[:name] if args.key?(:name)
9472
+ @smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
9473
+ @state = args[:state] if args.key?(:state)
9474
+ end
9475
+ end
9476
+
9477
+ # Metadata for ConversationDatasets.
9478
+ class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
9479
+ include Google::Apis::Core::Hashable
9480
+
9481
+ def initialize(**args)
9482
+ update!(**args)
9483
+ end
9484
+
9485
+ # Update properties of this object
9486
+ def update!(**args)
9487
+ end
9488
+ end
9489
+
9490
+ # Metadata for a ConversationModels.CreateConversationModelEvaluation operation.
9491
+ class GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata
9492
+ include Google::Apis::Core::Hashable
9493
+
9494
+ # The resource name of the conversation model. Format: `projects//locations//
9495
+ # conversationModels/`
9496
+ # Corresponds to the JSON property `conversationModel`
9497
+ # @return [String]
9498
+ attr_accessor :conversation_model
9499
+
9500
+ # The resource name of the conversation model. Format: `projects//locations//
9501
+ # conversationModels//evaluations/`
9502
+ # Corresponds to the JSON property `conversationModelEvaluation`
9503
+ # @return [String]
9504
+ attr_accessor :conversation_model_evaluation
9505
+
9506
+ # Timestamp when the request to create conversation model was submitted. The
9507
+ # time is measured on server side.
9508
+ # Corresponds to the JSON property `createTime`
9509
+ # @return [String]
9510
+ attr_accessor :create_time
9511
+
9512
+ # State of CreateConversationModel operation.
9513
+ # Corresponds to the JSON property `state`
9514
+ # @return [String]
9515
+ attr_accessor :state
9516
+
9517
+ def initialize(**args)
9518
+ update!(**args)
9519
+ end
9520
+
9521
+ # Update properties of this object
9522
+ def update!(**args)
9523
+ @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
9524
+ @conversation_model_evaluation = args[:conversation_model_evaluation] if args.key?(:conversation_model_evaluation)
9525
+ @create_time = args[:create_time] if args.key?(:create_time)
9526
+ @state = args[:state] if args.key?(:state)
9527
+ end
9528
+ end
9529
+
9530
+ # Metadata for a ConversationModels.CreateConversationModel operation.
9531
+ class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata
9532
+ include Google::Apis::Core::Hashable
9533
+
9534
+ # The resource name of the conversation model. Format: `projects//
9535
+ # conversationModels/`
9536
+ # Corresponds to the JSON property `conversationModel`
9537
+ # @return [String]
9538
+ attr_accessor :conversation_model
9539
+
9540
+ # Timestamp when the request to create conversation model is submitted. The time
9541
+ # is measured on server side.
9542
+ # Corresponds to the JSON property `createTime`
9543
+ # @return [String]
9544
+ attr_accessor :create_time
9545
+
9546
+ # State of CreateConversationModel operation.
9547
+ # Corresponds to the JSON property `state`
9548
+ # @return [String]
9549
+ attr_accessor :state
9550
+
9551
+ def initialize(**args)
9552
+ update!(**args)
9553
+ end
9554
+
9555
+ # Update properties of this object
9556
+ def update!(**args)
9557
+ @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
9558
+ @create_time = args[:create_time] if args.key?(:create_time)
9559
+ @state = args[:state] if args.key?(:state)
9560
+ end
9561
+ end
9562
+
9563
+ # Metadata for ConversationDatasets.
9564
+ class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
9565
+ include Google::Apis::Core::Hashable
9566
+
9567
+ def initialize(**args)
9568
+ update!(**args)
9569
+ end
9570
+
9571
+ # Update properties of this object
9572
+ def update!(**args)
9573
+ end
9574
+ end
9575
+
9576
+ # Metadata for a ConversationModels.DeleteConversationModel operation.
9577
+ class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata
9578
+ include Google::Apis::Core::Hashable
9579
+
9580
+ # The resource name of the conversation model. Format: `projects//
9581
+ # conversationModels/`
9582
+ # Corresponds to the JSON property `conversationModel`
9583
+ # @return [String]
9584
+ attr_accessor :conversation_model
9585
+
9586
+ # Timestamp when delete conversation model request was created. The time is
9587
+ # measured on server side.
9588
+ # Corresponds to the JSON property `createTime`
9589
+ # @return [String]
9590
+ attr_accessor :create_time
9591
+
9592
+ def initialize(**args)
9593
+ update!(**args)
9594
+ end
9595
+
9596
+ # Update properties of this object
9597
+ def update!(**args)
9598
+ @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
9599
+ @create_time = args[:create_time] if args.key?(:create_time)
9600
+ end
9601
+ end
9602
+
9603
+ # Metadata for a ConversationModels.DeployConversationModel operation.
9604
+ class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata
9605
+ include Google::Apis::Core::Hashable
9606
+
9607
+ # The resource name of the conversation model. Format: `projects//
9608
+ # conversationModels/`
9609
+ # Corresponds to the JSON property `conversationModel`
9610
+ # @return [String]
9611
+ attr_accessor :conversation_model
9612
+
9613
+ # Timestamp when request to deploy conversation model was submitted. The time is
9614
+ # measured on server side.
9615
+ # Corresponds to the JSON property `createTime`
9616
+ # @return [String]
9617
+ attr_accessor :create_time
9618
+
9619
+ def initialize(**args)
9620
+ update!(**args)
9621
+ end
9622
+
9623
+ # Update properties of this object
9624
+ def update!(**args)
9625
+ @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
9626
+ @create_time = args[:create_time] if args.key?(:create_time)
9627
+ end
9628
+ end
9629
+
9302
9630
  # Each intent parameter has a type, called the entity type, which dictates
9303
9631
  # exactly how data from an end-user expression is extracted. Dialogflow provides
9304
9632
  # predefined system entities that can match many common types of data. For
@@ -9401,7 +9729,9 @@ module Google
9401
9729
  # Required. The language of this query. See [Language Support](https://cloud.
9402
9730
  # google.com/dialogflow/docs/reference/language) for a list of the currently
9403
9731
  # supported language codes. Note that queries in the same session do not
9404
- # necessarily need to specify the same language.
9732
+ # necessarily need to specify the same language. This field is ignored when used
9733
+ # in the context of a WebhookResponse.followup_event_input field, because the
9734
+ # language was already defined in the originating detect intent request.
9405
9735
  # Corresponds to the JSON property `languageCode`
9406
9736
  # @return [String]
9407
9737
  attr_accessor :language_code
@@ -9463,6 +9793,25 @@ module Google
9463
9793
  end
9464
9794
  end
9465
9795
 
9796
+ # Metadata related to the Export Data Operations (e.g. ExportDocument).
9797
+ class GoogleCloudDialogflowV2ExportOperationMetadata
9798
+ include Google::Apis::Core::Hashable
9799
+
9800
+ # Google Cloud Storage location for the output.
9801
+ # Corresponds to the JSON property `exportedGcsDestination`
9802
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2GcsDestination]
9803
+ attr_accessor :exported_gcs_destination
9804
+
9805
+ def initialize(**args)
9806
+ update!(**args)
9807
+ end
9808
+
9809
+ # Update properties of this object
9810
+ def update!(**args)
9811
+ @exported_gcs_destination = args[:exported_gcs_destination] if args.key?(:exported_gcs_destination)
9812
+ end
9813
+ end
9814
+
9466
9815
  # Represents answer from "frequently asked questions".
9467
9816
  class GoogleCloudDialogflowV2FaqAnswer
9468
9817
  include Google::Apis::Core::Hashable
@@ -9517,6 +9866,27 @@ module Google
9517
9866
  end
9518
9867
  end
9519
9868
 
9869
+ # Google Cloud Storage location for the output.
9870
+ class GoogleCloudDialogflowV2GcsDestination
9871
+ include Google::Apis::Core::Hashable
9872
+
9873
+ # The Google Cloud Storage URIs for the output. A URI is of the form: gs://
9874
+ # bucket/object-prefix-or-name Whether a prefix or name is used depends on the
9875
+ # use case. The requesting user must have "write-permission" to the bucket.
9876
+ # Corresponds to the JSON property `uri`
9877
+ # @return [String]
9878
+ attr_accessor :uri
9879
+
9880
+ def initialize(**args)
9881
+ update!(**args)
9882
+ end
9883
+
9884
+ # Update properties of this object
9885
+ def update!(**args)
9886
+ @uri = args[:uri] if args.key?(:uri)
9887
+ end
9888
+ end
9889
+
9520
9890
  # Represents a notification sent to Cloud Pub/Sub subscribers for human agent
9521
9891
  # assistant events in a specific conversation.
9522
9892
  class GoogleCloudDialogflowV2HumanAgentAssistantEvent
@@ -9551,6 +9921,106 @@ module Google
9551
9921
  end
9552
9922
  end
9553
9923
 
9924
+ # Metadata for a ConversationDatasets.ImportConversationData operation.
9925
+ class GoogleCloudDialogflowV2ImportConversationDataOperationMetadata
9926
+ include Google::Apis::Core::Hashable
9927
+
9928
+ # The resource name of the imported conversation dataset. Format: `projects//
9929
+ # locations//conversationDatasets/`
9930
+ # Corresponds to the JSON property `conversationDataset`
9931
+ # @return [String]
9932
+ attr_accessor :conversation_dataset
9933
+
9934
+ # Timestamp when import conversation data request was created. The time is
9935
+ # measured on server side.
9936
+ # Corresponds to the JSON property `createTime`
9937
+ # @return [String]
9938
+ attr_accessor :create_time
9939
+
9940
+ # Partial failures are failures that don't fail the whole long running operation,
9941
+ # e.g. single files that couldn't be read.
9942
+ # Corresponds to the JSON property `partialFailures`
9943
+ # @return [Array<Google::Apis::DialogflowV3::GoogleRpcStatus>]
9944
+ attr_accessor :partial_failures
9945
+
9946
+ def initialize(**args)
9947
+ update!(**args)
9948
+ end
9949
+
9950
+ # Update properties of this object
9951
+ def update!(**args)
9952
+ @conversation_dataset = args[:conversation_dataset] if args.key?(:conversation_dataset)
9953
+ @create_time = args[:create_time] if args.key?(:create_time)
9954
+ @partial_failures = args[:partial_failures] if args.key?(:partial_failures)
9955
+ end
9956
+ end
9957
+
9958
+ # Response used for ConversationDatasets.ImportConversationData long running
9959
+ # operation.
9960
+ class GoogleCloudDialogflowV2ImportConversationDataOperationResponse
9961
+ include Google::Apis::Core::Hashable
9962
+
9963
+ # The resource name of the imported conversation dataset. Format: `projects//
9964
+ # locations//conversationDatasets/`
9965
+ # Corresponds to the JSON property `conversationDataset`
9966
+ # @return [String]
9967
+ attr_accessor :conversation_dataset
9968
+
9969
+ # Number of conversations imported successfully.
9970
+ # Corresponds to the JSON property `importCount`
9971
+ # @return [Fixnum]
9972
+ attr_accessor :import_count
9973
+
9974
+ def initialize(**args)
9975
+ update!(**args)
9976
+ end
9977
+
9978
+ # Update properties of this object
9979
+ def update!(**args)
9980
+ @conversation_dataset = args[:conversation_dataset] if args.key?(:conversation_dataset)
9981
+ @import_count = args[:import_count] if args.key?(:import_count)
9982
+ end
9983
+ end
9984
+
9985
+ # Response message for Documents.ImportDocuments.
9986
+ class GoogleCloudDialogflowV2ImportDocumentsResponse
9987
+ include Google::Apis::Core::Hashable
9988
+
9989
+ # Includes details about skipped documents or any other warnings.
9990
+ # Corresponds to the JSON property `warnings`
9991
+ # @return [Array<Google::Apis::DialogflowV3::GoogleRpcStatus>]
9992
+ attr_accessor :warnings
9993
+
9994
+ def initialize(**args)
9995
+ update!(**args)
9996
+ end
9997
+
9998
+ # Update properties of this object
9999
+ def update!(**args)
10000
+ @warnings = args[:warnings] if args.key?(:warnings)
10001
+ end
10002
+ end
10003
+
10004
+ # InputDataset used to create model or do evaluation. NextID:5
10005
+ class GoogleCloudDialogflowV2InputDataset
10006
+ include Google::Apis::Core::Hashable
10007
+
10008
+ # Required. ConversationDataset resource name. Format: `projects//locations//
10009
+ # conversationDatasets/`
10010
+ # Corresponds to the JSON property `dataset`
10011
+ # @return [String]
10012
+ attr_accessor :dataset
10013
+
10014
+ def initialize(**args)
10015
+ update!(**args)
10016
+ end
10017
+
10018
+ # Update properties of this object
10019
+ def update!(**args)
10020
+ @dataset = args[:dataset] if args.key?(:dataset)
10021
+ end
10022
+ end
10023
+
9554
10024
  # An intent categorizes an end-user's intention for one conversation turn. For
9555
10025
  # each agent, you define many intents, where your combined intents can handle a
9556
10026
  # complete conversation. When an end-user writes or says something, referred to
@@ -10806,6 +11276,16 @@ module Google
10806
11276
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
10807
11277
  include Google::Apis::Core::Hashable
10808
11278
 
11279
+ # Metadata related to the Export Data Operations (e.g. ExportDocument).
11280
+ # Corresponds to the JSON property `exportOperationMetadata`
11281
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ExportOperationMetadata]
11282
+ attr_accessor :export_operation_metadata
11283
+
11284
+ # The name of the knowledge base interacted with during the operation.
11285
+ # Corresponds to the JSON property `knowledgeBase`
11286
+ # @return [String]
11287
+ attr_accessor :knowledge_base
11288
+
10809
11289
  # Output only. The current state of this operation.
10810
11290
  # Corresponds to the JSON property `state`
10811
11291
  # @return [String]
@@ -10817,6 +11297,8 @@ module Google
10817
11297
 
10818
11298
  # Update properties of this object
10819
11299
  def update!(**args)
11300
+ @export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
11301
+ @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
10820
11302
  @state = args[:state] if args.key?(:state)
10821
11303
  end
10822
11304
  end
@@ -11224,6 +11706,45 @@ module Google
11224
11706
  end
11225
11707
  end
11226
11708
 
11709
+ # Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
11710
+ class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
11711
+ include Google::Apis::Core::Hashable
11712
+
11713
+ # The resource name of the conversation profile. Format: `projects//locations//
11714
+ # conversationProfiles/`
11715
+ # Corresponds to the JSON property `conversationProfile`
11716
+ # @return [String]
11717
+ attr_accessor :conversation_profile
11718
+
11719
+ # Timestamp whe the request was created. The time is measured on server side.
11720
+ # Corresponds to the JSON property `createTime`
11721
+ # @return [String]
11722
+ attr_accessor :create_time
11723
+
11724
+ # Required. The participant role to add or update the suggestion feature config.
11725
+ # Only HUMAN_AGENT or END_USER can be used.
11726
+ # Corresponds to the JSON property `participantRole`
11727
+ # @return [String]
11728
+ attr_accessor :participant_role
11729
+
11730
+ # Required. The type of the suggestion feature to add or update.
11731
+ # Corresponds to the JSON property `suggestionFeatureType`
11732
+ # @return [String]
11733
+ attr_accessor :suggestion_feature_type
11734
+
11735
+ def initialize(**args)
11736
+ update!(**args)
11737
+ end
11738
+
11739
+ # Update properties of this object
11740
+ def update!(**args)
11741
+ @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
11742
+ @create_time = args[:create_time] if args.key?(:create_time)
11743
+ @participant_role = args[:participant_role] if args.key?(:participant_role)
11744
+ @suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
11745
+ end
11746
+ end
11747
+
11227
11748
  # Represents a smart reply answer.
11228
11749
  class GoogleCloudDialogflowV2SmartReplyAnswer
11229
11750
  include Google::Apis::Core::Hashable
@@ -11258,6 +11779,25 @@ module Google
11258
11779
  end
11259
11780
  end
11260
11781
 
11782
+ # Metadata for smart reply models.
11783
+ class GoogleCloudDialogflowV2SmartReplyModelMetadata
11784
+ include Google::Apis::Core::Hashable
11785
+
11786
+ # Optional. Type of the smart reply model. If not provided, model_type is used.
11787
+ # Corresponds to the JSON property `trainingModelType`
11788
+ # @return [String]
11789
+ attr_accessor :training_model_type
11790
+
11791
+ def initialize(**args)
11792
+ update!(**args)
11793
+ end
11794
+
11795
+ # Update properties of this object
11796
+ def update!(**args)
11797
+ @training_model_type = args[:training_model_type] if args.key?(:training_model_type)
11798
+ end
11799
+ end
11800
+
11261
11801
  # The response message for Participants.SuggestArticles.
11262
11802
  class GoogleCloudDialogflowV2SuggestArticlesResponse
11263
11803
  include Google::Apis::Core::Hashable
@@ -11406,6 +11946,33 @@ module Google
11406
11946
  end
11407
11947
  end
11408
11948
 
11949
+ # Metadata for a ConversationModels.UndeployConversationModel operation.
11950
+ class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
11951
+ include Google::Apis::Core::Hashable
11952
+
11953
+ # The resource name of the conversation model. Format: `projects//
11954
+ # conversationModels/`
11955
+ # Corresponds to the JSON property `conversationModel`
11956
+ # @return [String]
11957
+ attr_accessor :conversation_model
11958
+
11959
+ # Timestamp when the request to undeploy conversation model was submitted. The
11960
+ # time is measured on server side.
11961
+ # Corresponds to the JSON property `createTime`
11962
+ # @return [String]
11963
+ attr_accessor :create_time
11964
+
11965
+ def initialize(**args)
11966
+ update!(**args)
11967
+ end
11968
+
11969
+ # Update properties of this object
11970
+ def update!(**args)
11971
+ @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
11972
+ @create_time = args[:create_time] if args.key?(:create_time)
11973
+ end
11974
+ end
11975
+
11409
11976
  # The request message for a webhook call.
11410
11977
  class GoogleCloudDialogflowV2WebhookRequest
11411
11978
  include Google::Apis::Core::Hashable
@@ -11653,6 +12220,45 @@ module Google
11653
12220
  end
11654
12221
  end
11655
12222
 
12223
+ # Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
12224
+ class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata
12225
+ include Google::Apis::Core::Hashable
12226
+
12227
+ # The resource name of the conversation profile. Format: `projects//locations//
12228
+ # conversationProfiles/`
12229
+ # Corresponds to the JSON property `conversationProfile`
12230
+ # @return [String]
12231
+ attr_accessor :conversation_profile
12232
+
12233
+ # Timestamp whe the request was created. The time is measured on server side.
12234
+ # Corresponds to the JSON property `createTime`
12235
+ # @return [String]
12236
+ attr_accessor :create_time
12237
+
12238
+ # Required. The participant role to remove the suggestion feature config. Only
12239
+ # HUMAN_AGENT or END_USER can be used.
12240
+ # Corresponds to the JSON property `participantRole`
12241
+ # @return [String]
12242
+ attr_accessor :participant_role
12243
+
12244
+ # Required. The type of the suggestion feature to remove.
12245
+ # Corresponds to the JSON property `suggestionFeatureType`
12246
+ # @return [String]
12247
+ attr_accessor :suggestion_feature_type
12248
+
12249
+ def initialize(**args)
12250
+ update!(**args)
12251
+ end
12252
+
12253
+ # Update properties of this object
12254
+ def update!(**args)
12255
+ @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
12256
+ @create_time = args[:create_time] if args.key?(:create_time)
12257
+ @participant_role = args[:participant_role] if args.key?(:participant_role)
12258
+ @suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
12259
+ end
12260
+ end
12261
+
11656
12262
  # Dialogflow contexts are similar to natural language context. If a person says
11657
12263
  # to you "they are orange", you need context in order to understand what "they"
11658
12264
  # is referring to. Similarly, for Dialogflow to handle an end-user expression
@@ -11862,7 +12468,9 @@ module Google
11862
12468
  # Required. The language of this query. See [Language Support](https://cloud.
11863
12469
  # google.com/dialogflow/docs/reference/language) for a list of the currently
11864
12470
  # supported language codes. Note that queries in the same session do not
11865
- # necessarily need to specify the same language.
12471
+ # necessarily need to specify the same language. This field is ignored when used
12472
+ # in the context of a WebhookResponse.followup_event_input field, because the
12473
+ # language was already defined in the originating detect intent request.
11866
12474
  # Corresponds to the JSON property `languageCode`
11867
12475
  # @return [String]
11868
12476
  attr_accessor :language_code
@@ -11924,6 +12532,25 @@ module Google
11924
12532
  end
11925
12533
  end
11926
12534
 
12535
+ # Metadata related to the Export Data Operations (e.g. ExportDocument).
12536
+ class GoogleCloudDialogflowV2beta1ExportOperationMetadata
12537
+ include Google::Apis::Core::Hashable
12538
+
12539
+ # Google Cloud Storage location for the output.
12540
+ # Corresponds to the JSON property `exportedGcsDestination`
12541
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GcsDestination]
12542
+ attr_accessor :exported_gcs_destination
12543
+
12544
+ def initialize(**args)
12545
+ update!(**args)
12546
+ end
12547
+
12548
+ # Update properties of this object
12549
+ def update!(**args)
12550
+ @exported_gcs_destination = args[:exported_gcs_destination] if args.key?(:exported_gcs_destination)
12551
+ end
12552
+ end
12553
+
11927
12554
  # Represents answer from "frequently asked questions".
11928
12555
  class GoogleCloudDialogflowV2beta1FaqAnswer
11929
12556
  include Google::Apis::Core::Hashable
@@ -11978,6 +12605,27 @@ module Google
11978
12605
  end
11979
12606
  end
11980
12607
 
12608
+ # Google Cloud Storage location for the output.
12609
+ class GoogleCloudDialogflowV2beta1GcsDestination
12610
+ include Google::Apis::Core::Hashable
12611
+
12612
+ # Required. The Google Cloud Storage URIs for the output. A URI is of the form:
12613
+ # gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on
12614
+ # the use case. The requesting user must have "write-permission" to the bucket.
12615
+ # Corresponds to the JSON property `uri`
12616
+ # @return [String]
12617
+ attr_accessor :uri
12618
+
12619
+ def initialize(**args)
12620
+ update!(**args)
12621
+ end
12622
+
12623
+ # Update properties of this object
12624
+ def update!(**args)
12625
+ @uri = args[:uri] if args.key?(:uri)
12626
+ end
12627
+ end
12628
+
11981
12629
  # Output only. Represents a notification sent to Pub/Sub subscribers for agent
11982
12630
  # assistant events in a specific conversation.
11983
12631
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
@@ -13837,6 +14485,11 @@ module Google
13837
14485
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
13838
14486
  include Google::Apis::Core::Hashable
13839
14487
 
14488
+ # Metadata related to the Export Data Operations (e.g. ExportDocument).
14489
+ # Corresponds to the JSON property `exportOperationMetadata`
14490
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ExportOperationMetadata]
14491
+ attr_accessor :export_operation_metadata
14492
+
13840
14493
  # The name of the knowledge base interacted with during the operation.
13841
14494
  # Corresponds to the JSON property `knowledgeBase`
13842
14495
  # @return [String]
@@ -13853,6 +14506,7 @@ module Google
13853
14506
 
13854
14507
  # Update properties of this object
13855
14508
  def update!(**args)
14509
+ @export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
13856
14510
  @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
13857
14511
  @state = args[:state] if args.key?(:state)
13858
14512
  end
@@ -14270,6 +14924,45 @@ module Google
14270
14924
  end
14271
14925
  end
14272
14926
 
14927
+ # Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
14928
+ class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata
14929
+ include Google::Apis::Core::Hashable
14930
+
14931
+ # The resource name of the conversation profile. Format: `projects//locations//
14932
+ # conversationProfiles/`
14933
+ # Corresponds to the JSON property `conversationProfile`
14934
+ # @return [String]
14935
+ attr_accessor :conversation_profile
14936
+
14937
+ # Timestamp whe the request was created. The time is measured on server side.
14938
+ # Corresponds to the JSON property `createTime`
14939
+ # @return [String]
14940
+ attr_accessor :create_time
14941
+
14942
+ # Required. The participant role to add or update the suggestion feature config.
14943
+ # Only HUMAN_AGENT or END_USER can be used.
14944
+ # Corresponds to the JSON property `participantRole`
14945
+ # @return [String]
14946
+ attr_accessor :participant_role
14947
+
14948
+ # Required. The type of the suggestion feature to add or update.
14949
+ # Corresponds to the JSON property `suggestionFeatureType`
14950
+ # @return [String]
14951
+ attr_accessor :suggestion_feature_type
14952
+
14953
+ def initialize(**args)
14954
+ update!(**args)
14955
+ end
14956
+
14957
+ # Update properties of this object
14958
+ def update!(**args)
14959
+ @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
14960
+ @create_time = args[:create_time] if args.key?(:create_time)
14961
+ @participant_role = args[:participant_role] if args.key?(:participant_role)
14962
+ @suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
14963
+ end
14964
+ end
14965
+
14273
14966
  # Represents a smart reply answer.
14274
14967
  class GoogleCloudDialogflowV2beta1SmartReplyAnswer
14275
14968
  include Google::Apis::Core::Hashable