google-apis-dialogflow_v3beta1 0.27.0 → 0.30.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
@@ -2284,12 +2284,24 @@ module Google
2284
2284
  class GoogleCloudDialogflowCxV3TestConfig
2285
2285
  include Google::Apis::Core::Hashable
2286
2286
 
2287
- # Flow name. If not set, default start flow is assumed. Format: `projects//
2288
- # locations//agents//flows/`.
2287
+ # Flow name to start the test case with. Format: `projects//locations//agents//
2288
+ # flows/`. Only one of `flow` and `page` should be set to indicate the starting
2289
+ # point of the test case. If both are set, `page` takes precedence over `flow`.
2290
+ # If neither is set, the test case will start with start page on the default
2291
+ # start flow.
2289
2292
  # Corresponds to the JSON property `flow`
2290
2293
  # @return [String]
2291
2294
  attr_accessor :flow
2292
2295
 
2296
+ # The page to start the test case with. Format: `projects//locations//agents//
2297
+ # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
2298
+ # starting point of the test case. If both are set, `page` takes precedence over
2299
+ # `flow`. If neither is set, the test case will start with start page on the
2300
+ # default start flow.
2301
+ # Corresponds to the JSON property `page`
2302
+ # @return [String]
2303
+ attr_accessor :page
2304
+
2293
2305
  # Session parameters to be compared when calculating differences.
2294
2306
  # Corresponds to the JSON property `trackingParameters`
2295
2307
  # @return [Array<String>]
@@ -2302,6 +2314,7 @@ module Google
2302
2314
  # Update properties of this object
2303
2315
  def update!(**args)
2304
2316
  @flow = args[:flow] if args.key?(:flow)
2317
+ @page = args[:page] if args.key?(:page)
2305
2318
  @tracking_parameters = args[:tracking_parameters] if args.key?(:tracking_parameters)
2306
2319
  end
2307
2320
  end
@@ -4359,7 +4372,11 @@ module Google
4359
4372
 
4360
4373
  # Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
4361
4374
  # URI to export the agent to. The format of this URI must be `gs:///`. If left
4362
- # unspecified, the serialized agent is returned inline.
4375
+ # unspecified, the serialized agent is returned inline. Dialogflow performs a
4376
+ # write operation for the Cloud Storage object on the caller's behalf, so your
4377
+ # request authentication must have write permissions for the object. For more
4378
+ # information, see [Dialogflow access control](https://cloud.google.com/
4379
+ # dialogflow/cx/docs/concept/access-control#storage).
4363
4380
  # Corresponds to the JSON property `agentUri`
4364
4381
  # @return [String]
4365
4382
  attr_accessor :agent_uri
@@ -4414,7 +4431,11 @@ module Google
4414
4431
 
4415
4432
  # Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
4416
4433
  # URI to export the flow to. The format of this URI must be `gs:///`. If left
4417
- # unspecified, the serialized flow is returned inline.
4434
+ # unspecified, the serialized flow is returned inline. Dialogflow performs a
4435
+ # write operation for the Cloud Storage object on the caller's behalf, so your
4436
+ # request authentication must have write permissions for the object. For more
4437
+ # information, see [Dialogflow access control](https://cloud.google.com/
4438
+ # dialogflow/cx/docs/concept/access-control#storage).
4418
4439
  # Corresponds to the JSON property `flowUri`
4419
4440
  # @return [String]
4420
4441
  attr_accessor :flow_uri
@@ -4497,7 +4518,11 @@ module Google
4497
4518
 
4498
4519
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
4499
4520
  # export the test cases to. The format of this URI must be `gs:///`. If
4500
- # unspecified, the serialized test cases is returned inline.
4521
+ # unspecified, the serialized test cases is returned inline. Dialogflow performs
4522
+ # a write operation for the Cloud Storage object on the caller's behalf, so your
4523
+ # request authentication must have write permissions for the object. For more
4524
+ # information, see [Dialogflow access control](https://cloud.google.com/
4525
+ # dialogflow/cx/docs/concept/access-control#storage).
4501
4526
  # Corresponds to the JSON property `gcsUri`
4502
4527
  # @return [String]
4503
4528
  attr_accessor :gcs_uri
@@ -5117,7 +5142,11 @@ module Google
5117
5142
  attr_accessor :flow_content
5118
5143
 
5119
5144
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
5120
- # import flow from. The format of this URI must be `gs:///`.
5145
+ # import flow from. The format of this URI must be `gs:///`. Dialogflow performs
5146
+ # a read operation for the Cloud Storage object on the caller's behalf, so your
5147
+ # request authentication must have read permissions for the object. For more
5148
+ # information, see [Dialogflow access control](https://cloud.google.com/
5149
+ # dialogflow/cx/docs/concept/access-control#storage).
5121
5150
  # Corresponds to the JSON property `flowUri`
5122
5151
  # @return [String]
5123
5152
  attr_accessor :flow_uri
@@ -5189,7 +5218,11 @@ module Google
5189
5218
  attr_accessor :content
5190
5219
 
5191
5220
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
5192
- # import test cases from. The format of this URI must be `gs:///`.
5221
+ # import test cases from. The format of this URI must be `gs:///`. Dialogflow
5222
+ # performs a read operation for the Cloud Storage object on the caller's behalf,
5223
+ # so your request authentication must have read permissions for the object. For
5224
+ # more information, see [Dialogflow access control](https://cloud.google.com/
5225
+ # dialogflow/cx/docs/concept/access-control#storage).
5193
5226
  # Corresponds to the JSON property `gcsUri`
5194
5227
  # @return [String]
5195
5228
  attr_accessor :gcs_uri
@@ -6098,7 +6131,8 @@ module Google
6098
6131
  # @return [Float]
6099
6132
  attr_accessor :confidence
6100
6133
 
6101
- # The event that matched the query. Only filled for `EVENT` match type.
6134
+ # The event that matched the query. Filled for `EVENT`, `NO_MATCH` and `NO_INPUT`
6135
+ # match types.
6102
6136
  # Corresponds to the JSON property `event`
6103
6137
  # @return [String]
6104
6138
  attr_accessor :event
@@ -7224,7 +7258,11 @@ module Google
7224
7258
  attr_accessor :agent_content
7225
7259
 
7226
7260
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
7227
- # restore agent from. The format of this URI must be `gs:///`.
7261
+ # restore agent from. The format of this URI must be `gs:///`. Dialogflow
7262
+ # performs a read operation for the Cloud Storage object on the caller's behalf,
7263
+ # so your request authentication must have read permissions for the object. For
7264
+ # more information, see [Dialogflow access control](https://cloud.google.com/
7265
+ # dialogflow/cx/docs/concept/access-control#storage).
7228
7266
  # Corresponds to the JSON property `agentUri`
7229
7267
  # @return [String]
7230
7268
  attr_accessor :agent_uri
@@ -7481,7 +7519,7 @@ module Google
7481
7519
  attr_accessor :display_name
7482
7520
 
7483
7521
  # Settings for exporting conversations to [Insights](https://cloud.google.com/
7484
- # dialogflow/priv/docs/insights).
7522
+ # contact-center/insights/docs).
7485
7523
  # Corresponds to the JSON property `insightsExportSettings`
7486
7524
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings]
7487
7525
  attr_accessor :insights_export_settings
@@ -7552,7 +7590,7 @@ module Google
7552
7590
  end
7553
7591
 
7554
7592
  # Settings for exporting conversations to [Insights](https://cloud.google.com/
7555
- # dialogflow/priv/docs/insights).
7593
+ # contact-center/insights/docs).
7556
7594
  class GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings
7557
7595
  include Google::Apis::Core::Hashable
7558
7596
 
@@ -7927,12 +7965,24 @@ module Google
7927
7965
  class GoogleCloudDialogflowCxV3beta1TestConfig
7928
7966
  include Google::Apis::Core::Hashable
7929
7967
 
7930
- # Flow name. If not set, default start flow is assumed. Format: `projects//
7931
- # locations//agents//flows/`.
7968
+ # Flow name to start the test case with. Format: `projects//locations//agents//
7969
+ # flows/`. Only one of `flow` and `page` should be set to indicate the starting
7970
+ # point of the test case. If both are set, `page` takes precedence over `flow`.
7971
+ # If neither is set, the test case will start with start page on the default
7972
+ # start flow.
7932
7973
  # Corresponds to the JSON property `flow`
7933
7974
  # @return [String]
7934
7975
  attr_accessor :flow
7935
7976
 
7977
+ # The page to start the test case with. Format: `projects//locations//agents//
7978
+ # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
7979
+ # starting point of the test case. If both are set, `page` takes precedence over
7980
+ # `flow`. If neither is set, the test case will start with start page on the
7981
+ # default start flow.
7982
+ # Corresponds to the JSON property `page`
7983
+ # @return [String]
7984
+ attr_accessor :page
7985
+
7936
7986
  # Session parameters to be compared when calculating differences.
7937
7987
  # Corresponds to the JSON property `trackingParameters`
7938
7988
  # @return [Array<String>]
@@ -7945,6 +7995,7 @@ module Google
7945
7995
  # Update properties of this object
7946
7996
  def update!(**args)
7947
7997
  @flow = args[:flow] if args.key?(:flow)
7998
+ @page = args[:page] if args.key?(:page)
7948
7999
  @tracking_parameters = args[:tracking_parameters] if args.key?(:tracking_parameters)
7949
8000
  end
7950
8001
  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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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