google-apis-dialogflow_v3beta1 0.28.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
@@ -6120,12 +6153,12 @@ module Google
6120
6153
  # The collection of parameters extracted from the query. Depending on your
6121
6154
  # protocol or client library language, this is a map, associative array, symbol
6122
6155
  # table, dictionary, or JSON object composed of a collection of (MapKey,
6123
- # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
6124
- # MapValue type: - If parameter's entity type is a composite entity: map - Else:
6125
- # depending on parameter value type, could be one of string, number, boolean,
6126
- # null, list or map - MapValue value: - If parameter's entity type is a
6127
- # composite entity: map from composite entity property names to property values -
6128
- # Else: parameter value
6156
+ # MapValue) pairs: * MapKey type: string * MapKey value: parameter name *
6157
+ # MapValue type: If parameter's entity type is a composite entity then use map,
6158
+ # otherwise, depending on the parameter value type, it could be one of string,
6159
+ # number, boolean, null, list or map. * MapValue value: If parameter's entity
6160
+ # type is a composite entity then use map from composite entity property names
6161
+ # to property values, otherwise, use parameter value.
6129
6162
  # Corresponds to the JSON property `parameters`
6130
6163
  # @return [Hash<String,Object>]
6131
6164
  attr_accessor :parameters
@@ -6623,12 +6656,13 @@ module Google
6623
6656
  # You can reference the session parameters in the agent with the following
6624
6657
  # format: $session.params.parameter-id. Depending on your protocol or client
6625
6658
  # library language, this is a map, associative array, symbol table, dictionary,
6626
- # or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey
6627
- # type: string - MapKey value: parameter name - MapValue type: - If parameter's
6628
- # entity type is a composite entity: map - Else: depending on parameter value
6629
- # type, could be one of string, number, boolean, null, list or map - MapValue
6630
- # value: - If parameter's entity type is a composite entity: map from composite
6631
- # entity property names to property values - Else: parameter value
6659
+ # or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey
6660
+ # type: string * MapKey value: parameter name * MapValue type: If parameter's
6661
+ # entity type is a composite entity then use map, otherwise, depending on the
6662
+ # parameter value type, it could be one of string, number, boolean, null, list
6663
+ # or map. * MapValue value: If parameter's entity type is a composite entity
6664
+ # then use map from composite entity property names to property values,
6665
+ # otherwise, use parameter value.
6632
6666
  # Corresponds to the JSON property `parameters`
6633
6667
  # @return [Hash<String,Object>]
6634
6668
  attr_accessor :parameters
@@ -6751,12 +6785,13 @@ module Google
6751
6785
 
6752
6786
  # The collected session parameters. Depending on your protocol or client library
6753
6787
  # language, this is a map, associative array, symbol table, dictionary, or JSON
6754
- # object composed of a collection of (MapKey, MapValue) pairs: - MapKey type:
6755
- # string - MapKey value: parameter name - MapValue type: - If parameter's entity
6756
- # type is a composite entity: map - Else: depending on parameter value type,
6757
- # could be one of string, number, boolean, null, list or map - MapValue value: -
6758
- # If parameter's entity type is a composite entity: map from composite entity
6759
- # property names to property values - Else: parameter value
6788
+ # object composed of a collection of (MapKey, MapValue) pairs: * MapKey type:
6789
+ # string * MapKey value: parameter name * MapValue type: If parameter's entity
6790
+ # type is a composite entity then use map, otherwise, depending on the parameter
6791
+ # value type, it could be one of string, number, boolean, null, list or map. *
6792
+ # MapValue value: If parameter's entity type is a composite entity then use map
6793
+ # from composite entity property names to property values, otherwise, use
6794
+ # parameter value.
6760
6795
  # Corresponds to the JSON property `parameters`
6761
6796
  # @return [Hash<String,Object>]
6762
6797
  attr_accessor :parameters
@@ -7225,7 +7260,11 @@ module Google
7225
7260
  attr_accessor :agent_content
7226
7261
 
7227
7262
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
7228
- # restore agent from. The format of this URI must be `gs:///`.
7263
+ # restore agent from. The format of this URI must be `gs:///`. Dialogflow
7264
+ # performs a read operation for the Cloud Storage object on the caller's behalf,
7265
+ # so your request authentication must have read permissions for the object. For
7266
+ # more information, see [Dialogflow access control](https://cloud.google.com/
7267
+ # dialogflow/cx/docs/concept/access-control#storage).
7229
7268
  # Corresponds to the JSON property `agentUri`
7230
7269
  # @return [String]
7231
7270
  attr_accessor :agent_uri
@@ -7928,12 +7967,24 @@ module Google
7928
7967
  class GoogleCloudDialogflowCxV3beta1TestConfig
7929
7968
  include Google::Apis::Core::Hashable
7930
7969
 
7931
- # Flow name. If not set, default start flow is assumed. Format: `projects//
7932
- # locations//agents//flows/`.
7970
+ # Flow name to start the test case with. Format: `projects//locations//agents//
7971
+ # flows/`. Only one of `flow` and `page` should be set to indicate the starting
7972
+ # point of the test case. If both are set, `page` takes precedence over `flow`.
7973
+ # If neither is set, the test case will start with start page on the default
7974
+ # start flow.
7933
7975
  # Corresponds to the JSON property `flow`
7934
7976
  # @return [String]
7935
7977
  attr_accessor :flow
7936
7978
 
7979
+ # The page to start the test case with. Format: `projects//locations//agents//
7980
+ # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
7981
+ # starting point of the test case. If both are set, `page` takes precedence over
7982
+ # `flow`. If neither is set, the test case will start with start page on the
7983
+ # default start flow.
7984
+ # Corresponds to the JSON property `page`
7985
+ # @return [String]
7986
+ attr_accessor :page
7987
+
7937
7988
  # Session parameters to be compared when calculating differences.
7938
7989
  # Corresponds to the JSON property `trackingParameters`
7939
7990
  # @return [Array<String>]
@@ -7946,6 +7997,7 @@ module Google
7946
7997
  # Update properties of this object
7947
7998
  def update!(**args)
7948
7999
  @flow = args[:flow] if args.key?(:flow)
8000
+ @page = args[:page] if args.key?(:page)
7949
8001
  @tracking_parameters = args[:tracking_parameters] if args.key?(:tracking_parameters)
7950
8002
  end
7951
8003
  end
@@ -8708,9 +8760,9 @@ module Google
8708
8760
  # empty or unspecified, Dialogflow will use Google's default trust store to
8709
8761
  # verify certificates. N.B. Make sure the HTTPS server certificates are signed
8710
8762
  # with "subject alt name". For instance a certificate can be self-signed using
8711
- # the following command, openssl x509 -req -days 200 -in example.com.csr \ -
8763
+ # the following command, ``` openssl x509 -req -days 200 -in example.com.csr \ -
8712
8764
  # signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
8713
- # nsubjectAltName='DNS:www.example.com'")
8765
+ # nsubjectAltName='DNS:www.example.com'") ```
8714
8766
  # Corresponds to the JSON property `allowedCaCerts`
8715
8767
  # @return [Array<String>]
8716
8768
  attr_accessor :allowed_ca_certs
@@ -9157,6 +9209,26 @@ module Google
9157
9209
  end
9158
9210
  end
9159
9211
 
9212
+ # Metadata for article suggestion models.
9213
+ class GoogleCloudDialogflowV2ArticleSuggestionModelMetadata
9214
+ include Google::Apis::Core::Hashable
9215
+
9216
+ # Optional. Type of the article suggestion model. If not provided, model_type is
9217
+ # used.
9218
+ # Corresponds to the JSON property `trainingModelType`
9219
+ # @return [String]
9220
+ attr_accessor :training_model_type
9221
+
9222
+ def initialize(**args)
9223
+ update!(**args)
9224
+ end
9225
+
9226
+ # Update properties of this object
9227
+ def update!(**args)
9228
+ @training_model_type = args[:training_model_type] if args.key?(:training_model_type)
9229
+ end
9230
+ end
9231
+
9160
9232
  # The response message for EntityTypes.BatchUpdateEntityTypes.
9161
9233
  class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
9162
9234
  include Google::Apis::Core::Hashable
@@ -9195,6 +9267,45 @@ module Google
9195
9267
  end
9196
9268
  end
9197
9269
 
9270
+ # Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
9271
+ class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
9272
+ include Google::Apis::Core::Hashable
9273
+
9274
+ # The resource name of the conversation profile. Format: `projects//locations//
9275
+ # conversationProfiles/`
9276
+ # Corresponds to the JSON property `conversationProfile`
9277
+ # @return [String]
9278
+ attr_accessor :conversation_profile
9279
+
9280
+ # Timestamp whe the request was created. The time is measured on server side.
9281
+ # Corresponds to the JSON property `createTime`
9282
+ # @return [String]
9283
+ attr_accessor :create_time
9284
+
9285
+ # Required. The participant role to remove the suggestion feature config. Only
9286
+ # HUMAN_AGENT or END_USER can be used.
9287
+ # Corresponds to the JSON property `participantRole`
9288
+ # @return [String]
9289
+ attr_accessor :participant_role
9290
+
9291
+ # Required. The type of the suggestion feature to remove.
9292
+ # Corresponds to the JSON property `suggestionFeatureType`
9293
+ # @return [String]
9294
+ attr_accessor :suggestion_feature_type
9295
+
9296
+ def initialize(**args)
9297
+ update!(**args)
9298
+ end
9299
+
9300
+ # Update properties of this object
9301
+ def update!(**args)
9302
+ @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
9303
+ @create_time = args[:create_time] if args.key?(:create_time)
9304
+ @participant_role = args[:participant_role] if args.key?(:participant_role)
9305
+ @suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
9306
+ end
9307
+ end
9308
+
9198
9309
  # Dialogflow contexts are similar to natural language context. If a person says
9199
9310
  # to you "they are orange", you need context in order to understand what "they"
9200
9311
  # is referring to. Similarly, for Dialogflow to handle an end-user expression
@@ -9300,6 +9411,224 @@ module Google
9300
9411
  end
9301
9412
  end
9302
9413
 
9414
+ # Represents a conversation model.
9415
+ class GoogleCloudDialogflowV2ConversationModel
9416
+ include Google::Apis::Core::Hashable
9417
+
9418
+ # Metadata for article suggestion models.
9419
+ # Corresponds to the JSON property `articleSuggestionModelMetadata`
9420
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ArticleSuggestionModelMetadata]
9421
+ attr_accessor :article_suggestion_model_metadata
9422
+
9423
+ # Output only. Creation time of this model.
9424
+ # Corresponds to the JSON property `createTime`
9425
+ # @return [String]
9426
+ attr_accessor :create_time
9427
+
9428
+ # Required. Datasets used to create model.
9429
+ # Corresponds to the JSON property `datasets`
9430
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InputDataset>]
9431
+ attr_accessor :datasets
9432
+
9433
+ # Required. The display name of the model. At most 64 bytes long.
9434
+ # Corresponds to the JSON property `displayName`
9435
+ # @return [String]
9436
+ attr_accessor :display_name
9437
+
9438
+ # Language code for the conversation model. If not specified, the language is en-
9439
+ # US. Language at ConversationModel should be set for all non en-us languages.
9440
+ # This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
9441
+ # language tag. Example: "en-US".
9442
+ # Corresponds to the JSON property `languageCode`
9443
+ # @return [String]
9444
+ attr_accessor :language_code
9445
+
9446
+ # ConversationModel resource name. Format: `projects//conversationModels/`
9447
+ # Corresponds to the JSON property `name`
9448
+ # @return [String]
9449
+ attr_accessor :name
9450
+
9451
+ # Metadata for smart reply models.
9452
+ # Corresponds to the JSON property `smartReplyModelMetadata`
9453
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SmartReplyModelMetadata]
9454
+ attr_accessor :smart_reply_model_metadata
9455
+
9456
+ # Output only. State of the model. A model can only serve prediction requests
9457
+ # after it gets deployed.
9458
+ # Corresponds to the JSON property `state`
9459
+ # @return [String]
9460
+ attr_accessor :state
9461
+
9462
+ def initialize(**args)
9463
+ update!(**args)
9464
+ end
9465
+
9466
+ # Update properties of this object
9467
+ def update!(**args)
9468
+ @article_suggestion_model_metadata = args[:article_suggestion_model_metadata] if args.key?(:article_suggestion_model_metadata)
9469
+ @create_time = args[:create_time] if args.key?(:create_time)
9470
+ @datasets = args[:datasets] if args.key?(:datasets)
9471
+ @display_name = args[:display_name] if args.key?(:display_name)
9472
+ @language_code = args[:language_code] if args.key?(:language_code)
9473
+ @name = args[:name] if args.key?(:name)
9474
+ @smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
9475
+ @state = args[:state] if args.key?(:state)
9476
+ end
9477
+ end
9478
+
9479
+ # Metadata for ConversationDatasets.
9480
+ class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
9481
+ include Google::Apis::Core::Hashable
9482
+
9483
+ def initialize(**args)
9484
+ update!(**args)
9485
+ end
9486
+
9487
+ # Update properties of this object
9488
+ def update!(**args)
9489
+ end
9490
+ end
9491
+
9492
+ # Metadata for a ConversationModels.CreateConversationModelEvaluation operation.
9493
+ class GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata
9494
+ include Google::Apis::Core::Hashable
9495
+
9496
+ # The resource name of the conversation model. Format: `projects//locations//
9497
+ # conversationModels/`
9498
+ # Corresponds to the JSON property `conversationModel`
9499
+ # @return [String]
9500
+ attr_accessor :conversation_model
9501
+
9502
+ # The resource name of the conversation model. Format: `projects//locations//
9503
+ # conversationModels//evaluations/`
9504
+ # Corresponds to the JSON property `conversationModelEvaluation`
9505
+ # @return [String]
9506
+ attr_accessor :conversation_model_evaluation
9507
+
9508
+ # Timestamp when the request to create conversation model was submitted. The
9509
+ # time is measured on server side.
9510
+ # Corresponds to the JSON property `createTime`
9511
+ # @return [String]
9512
+ attr_accessor :create_time
9513
+
9514
+ # State of CreateConversationModel operation.
9515
+ # Corresponds to the JSON property `state`
9516
+ # @return [String]
9517
+ attr_accessor :state
9518
+
9519
+ def initialize(**args)
9520
+ update!(**args)
9521
+ end
9522
+
9523
+ # Update properties of this object
9524
+ def update!(**args)
9525
+ @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
9526
+ @conversation_model_evaluation = args[:conversation_model_evaluation] if args.key?(:conversation_model_evaluation)
9527
+ @create_time = args[:create_time] if args.key?(:create_time)
9528
+ @state = args[:state] if args.key?(:state)
9529
+ end
9530
+ end
9531
+
9532
+ # Metadata for a ConversationModels.CreateConversationModel operation.
9533
+ class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata
9534
+ include Google::Apis::Core::Hashable
9535
+
9536
+ # The resource name of the conversation model. Format: `projects//
9537
+ # conversationModels/`
9538
+ # Corresponds to the JSON property `conversationModel`
9539
+ # @return [String]
9540
+ attr_accessor :conversation_model
9541
+
9542
+ # Timestamp when the request to create conversation model is submitted. The time
9543
+ # is measured on server side.
9544
+ # Corresponds to the JSON property `createTime`
9545
+ # @return [String]
9546
+ attr_accessor :create_time
9547
+
9548
+ # State of CreateConversationModel operation.
9549
+ # Corresponds to the JSON property `state`
9550
+ # @return [String]
9551
+ attr_accessor :state
9552
+
9553
+ def initialize(**args)
9554
+ update!(**args)
9555
+ end
9556
+
9557
+ # Update properties of this object
9558
+ def update!(**args)
9559
+ @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
9560
+ @create_time = args[:create_time] if args.key?(:create_time)
9561
+ @state = args[:state] if args.key?(:state)
9562
+ end
9563
+ end
9564
+
9565
+ # Metadata for ConversationDatasets.
9566
+ class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
9567
+ include Google::Apis::Core::Hashable
9568
+
9569
+ def initialize(**args)
9570
+ update!(**args)
9571
+ end
9572
+
9573
+ # Update properties of this object
9574
+ def update!(**args)
9575
+ end
9576
+ end
9577
+
9578
+ # Metadata for a ConversationModels.DeleteConversationModel operation.
9579
+ class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata
9580
+ include Google::Apis::Core::Hashable
9581
+
9582
+ # The resource name of the conversation model. Format: `projects//
9583
+ # conversationModels/`
9584
+ # Corresponds to the JSON property `conversationModel`
9585
+ # @return [String]
9586
+ attr_accessor :conversation_model
9587
+
9588
+ # Timestamp when delete conversation model request was created. The time is
9589
+ # measured on server side.
9590
+ # Corresponds to the JSON property `createTime`
9591
+ # @return [String]
9592
+ attr_accessor :create_time
9593
+
9594
+ def initialize(**args)
9595
+ update!(**args)
9596
+ end
9597
+
9598
+ # Update properties of this object
9599
+ def update!(**args)
9600
+ @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
9601
+ @create_time = args[:create_time] if args.key?(:create_time)
9602
+ end
9603
+ end
9604
+
9605
+ # Metadata for a ConversationModels.DeployConversationModel operation.
9606
+ class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata
9607
+ include Google::Apis::Core::Hashable
9608
+
9609
+ # The resource name of the conversation model. Format: `projects//
9610
+ # conversationModels/`
9611
+ # Corresponds to the JSON property `conversationModel`
9612
+ # @return [String]
9613
+ attr_accessor :conversation_model
9614
+
9615
+ # Timestamp when request to deploy conversation model was submitted. The time is
9616
+ # measured on server side.
9617
+ # Corresponds to the JSON property `createTime`
9618
+ # @return [String]
9619
+ attr_accessor :create_time
9620
+
9621
+ def initialize(**args)
9622
+ update!(**args)
9623
+ end
9624
+
9625
+ # Update properties of this object
9626
+ def update!(**args)
9627
+ @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
9628
+ @create_time = args[:create_time] if args.key?(:create_time)
9629
+ end
9630
+ end
9631
+
9303
9632
  # Each intent parameter has a type, called the entity type, which dictates
9304
9633
  # exactly how data from an end-user expression is extracted. Dialogflow provides
9305
9634
  # predefined system entities that can match many common types of data. For
@@ -9402,7 +9731,9 @@ module Google
9402
9731
  # Required. The language of this query. See [Language Support](https://cloud.
9403
9732
  # google.com/dialogflow/docs/reference/language) for a list of the currently
9404
9733
  # supported language codes. Note that queries in the same session do not
9405
- # necessarily need to specify the same language.
9734
+ # necessarily need to specify the same language. This field is ignored when used
9735
+ # in the context of a WebhookResponse.followup_event_input field, because the
9736
+ # language was already defined in the originating detect intent request.
9406
9737
  # Corresponds to the JSON property `languageCode`
9407
9738
  # @return [String]
9408
9739
  attr_accessor :language_code
@@ -9464,6 +9795,25 @@ module Google
9464
9795
  end
9465
9796
  end
9466
9797
 
9798
+ # Metadata related to the Export Data Operations (e.g. ExportDocument).
9799
+ class GoogleCloudDialogflowV2ExportOperationMetadata
9800
+ include Google::Apis::Core::Hashable
9801
+
9802
+ # Google Cloud Storage location for the output.
9803
+ # Corresponds to the JSON property `exportedGcsDestination`
9804
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2GcsDestination]
9805
+ attr_accessor :exported_gcs_destination
9806
+
9807
+ def initialize(**args)
9808
+ update!(**args)
9809
+ end
9810
+
9811
+ # Update properties of this object
9812
+ def update!(**args)
9813
+ @exported_gcs_destination = args[:exported_gcs_destination] if args.key?(:exported_gcs_destination)
9814
+ end
9815
+ end
9816
+
9467
9817
  # Represents answer from "frequently asked questions".
9468
9818
  class GoogleCloudDialogflowV2FaqAnswer
9469
9819
  include Google::Apis::Core::Hashable
@@ -9518,6 +9868,27 @@ module Google
9518
9868
  end
9519
9869
  end
9520
9870
 
9871
+ # Google Cloud Storage location for the output.
9872
+ class GoogleCloudDialogflowV2GcsDestination
9873
+ include Google::Apis::Core::Hashable
9874
+
9875
+ # The Google Cloud Storage URIs for the output. A URI is of the form: gs://
9876
+ # bucket/object-prefix-or-name Whether a prefix or name is used depends on the
9877
+ # use case. The requesting user must have "write-permission" to the bucket.
9878
+ # Corresponds to the JSON property `uri`
9879
+ # @return [String]
9880
+ attr_accessor :uri
9881
+
9882
+ def initialize(**args)
9883
+ update!(**args)
9884
+ end
9885
+
9886
+ # Update properties of this object
9887
+ def update!(**args)
9888
+ @uri = args[:uri] if args.key?(:uri)
9889
+ end
9890
+ end
9891
+
9521
9892
  # Represents a notification sent to Cloud Pub/Sub subscribers for human agent
9522
9893
  # assistant events in a specific conversation.
9523
9894
  class GoogleCloudDialogflowV2HumanAgentAssistantEvent
@@ -9552,6 +9923,67 @@ module Google
9552
9923
  end
9553
9924
  end
9554
9925
 
9926
+ # Metadata for a ConversationDatasets.ImportConversationData operation.
9927
+ class GoogleCloudDialogflowV2ImportConversationDataOperationMetadata
9928
+ include Google::Apis::Core::Hashable
9929
+
9930
+ # The resource name of the imported conversation dataset. Format: `projects//
9931
+ # locations//conversationDatasets/`
9932
+ # Corresponds to the JSON property `conversationDataset`
9933
+ # @return [String]
9934
+ attr_accessor :conversation_dataset
9935
+
9936
+ # Timestamp when import conversation data request was created. The time is
9937
+ # measured on server side.
9938
+ # Corresponds to the JSON property `createTime`
9939
+ # @return [String]
9940
+ attr_accessor :create_time
9941
+
9942
+ # Partial failures are failures that don't fail the whole long running operation,
9943
+ # e.g. single files that couldn't be read.
9944
+ # Corresponds to the JSON property `partialFailures`
9945
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
9946
+ attr_accessor :partial_failures
9947
+
9948
+ def initialize(**args)
9949
+ update!(**args)
9950
+ end
9951
+
9952
+ # Update properties of this object
9953
+ def update!(**args)
9954
+ @conversation_dataset = args[:conversation_dataset] if args.key?(:conversation_dataset)
9955
+ @create_time = args[:create_time] if args.key?(:create_time)
9956
+ @partial_failures = args[:partial_failures] if args.key?(:partial_failures)
9957
+ end
9958
+ end
9959
+
9960
+ # Response used for ConversationDatasets.ImportConversationData long running
9961
+ # operation.
9962
+ class GoogleCloudDialogflowV2ImportConversationDataOperationResponse
9963
+ include Google::Apis::Core::Hashable
9964
+
9965
+ # The resource name of the imported conversation dataset. Format: `projects//
9966
+ # locations//conversationDatasets/`
9967
+ # Corresponds to the JSON property `conversationDataset`
9968
+ # @return [String]
9969
+ attr_accessor :conversation_dataset
9970
+
9971
+ # Number of conversations imported successfully.
9972
+ # Corresponds to the JSON property `importCount`
9973
+ # @return [Fixnum]
9974
+ attr_accessor :import_count
9975
+
9976
+ def initialize(**args)
9977
+ update!(**args)
9978
+ end
9979
+
9980
+ # Update properties of this object
9981
+ def update!(**args)
9982
+ @conversation_dataset = args[:conversation_dataset] if args.key?(:conversation_dataset)
9983
+ @import_count = args[:import_count] if args.key?(:import_count)
9984
+ end
9985
+ end
9986
+
9555
9987
  # Response message for Documents.ImportDocuments.
9556
9988
  class GoogleCloudDialogflowV2ImportDocumentsResponse
9557
9989
  include Google::Apis::Core::Hashable
@@ -9571,6 +10003,26 @@ module Google
9571
10003
  end
9572
10004
  end
9573
10005
 
10006
+ # InputDataset used to create model or do evaluation. NextID:5
10007
+ class GoogleCloudDialogflowV2InputDataset
10008
+ include Google::Apis::Core::Hashable
10009
+
10010
+ # Required. ConversationDataset resource name. Format: `projects//locations//
10011
+ # conversationDatasets/`
10012
+ # Corresponds to the JSON property `dataset`
10013
+ # @return [String]
10014
+ attr_accessor :dataset
10015
+
10016
+ def initialize(**args)
10017
+ update!(**args)
10018
+ end
10019
+
10020
+ # Update properties of this object
10021
+ def update!(**args)
10022
+ @dataset = args[:dataset] if args.key?(:dataset)
10023
+ end
10024
+ end
10025
+
9574
10026
  # An intent categorizes an end-user's intention for one conversation turn. For
9575
10027
  # each agent, you define many intents, where your combined intents can handle a
9576
10028
  # complete conversation. When an end-user writes or says something, referred to
@@ -10826,6 +11278,11 @@ module Google
10826
11278
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
10827
11279
  include Google::Apis::Core::Hashable
10828
11280
 
11281
+ # Metadata related to the Export Data Operations (e.g. ExportDocument).
11282
+ # Corresponds to the JSON property `exportOperationMetadata`
11283
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ExportOperationMetadata]
11284
+ attr_accessor :export_operation_metadata
11285
+
10829
11286
  # The name of the knowledge base interacted with during the operation.
10830
11287
  # Corresponds to the JSON property `knowledgeBase`
10831
11288
  # @return [String]
@@ -10842,6 +11299,7 @@ module Google
10842
11299
 
10843
11300
  # Update properties of this object
10844
11301
  def update!(**args)
11302
+ @export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
10845
11303
  @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
10846
11304
  @state = args[:state] if args.key?(:state)
10847
11305
  end
@@ -11250,6 +11708,45 @@ module Google
11250
11708
  end
11251
11709
  end
11252
11710
 
11711
+ # Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
11712
+ class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
11713
+ include Google::Apis::Core::Hashable
11714
+
11715
+ # The resource name of the conversation profile. Format: `projects//locations//
11716
+ # conversationProfiles/`
11717
+ # Corresponds to the JSON property `conversationProfile`
11718
+ # @return [String]
11719
+ attr_accessor :conversation_profile
11720
+
11721
+ # Timestamp whe the request was created. The time is measured on server side.
11722
+ # Corresponds to the JSON property `createTime`
11723
+ # @return [String]
11724
+ attr_accessor :create_time
11725
+
11726
+ # Required. The participant role to add or update the suggestion feature config.
11727
+ # Only HUMAN_AGENT or END_USER can be used.
11728
+ # Corresponds to the JSON property `participantRole`
11729
+ # @return [String]
11730
+ attr_accessor :participant_role
11731
+
11732
+ # Required. The type of the suggestion feature to add or update.
11733
+ # Corresponds to the JSON property `suggestionFeatureType`
11734
+ # @return [String]
11735
+ attr_accessor :suggestion_feature_type
11736
+
11737
+ def initialize(**args)
11738
+ update!(**args)
11739
+ end
11740
+
11741
+ # Update properties of this object
11742
+ def update!(**args)
11743
+ @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
11744
+ @create_time = args[:create_time] if args.key?(:create_time)
11745
+ @participant_role = args[:participant_role] if args.key?(:participant_role)
11746
+ @suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
11747
+ end
11748
+ end
11749
+
11253
11750
  # Represents a smart reply answer.
11254
11751
  class GoogleCloudDialogflowV2SmartReplyAnswer
11255
11752
  include Google::Apis::Core::Hashable
@@ -11284,6 +11781,25 @@ module Google
11284
11781
  end
11285
11782
  end
11286
11783
 
11784
+ # Metadata for smart reply models.
11785
+ class GoogleCloudDialogflowV2SmartReplyModelMetadata
11786
+ include Google::Apis::Core::Hashable
11787
+
11788
+ # Optional. Type of the smart reply model. If not provided, model_type is used.
11789
+ # Corresponds to the JSON property `trainingModelType`
11790
+ # @return [String]
11791
+ attr_accessor :training_model_type
11792
+
11793
+ def initialize(**args)
11794
+ update!(**args)
11795
+ end
11796
+
11797
+ # Update properties of this object
11798
+ def update!(**args)
11799
+ @training_model_type = args[:training_model_type] if args.key?(:training_model_type)
11800
+ end
11801
+ end
11802
+
11287
11803
  # The response message for Participants.SuggestArticles.
11288
11804
  class GoogleCloudDialogflowV2SuggestArticlesResponse
11289
11805
  include Google::Apis::Core::Hashable
@@ -11432,6 +11948,33 @@ module Google
11432
11948
  end
11433
11949
  end
11434
11950
 
11951
+ # Metadata for a ConversationModels.UndeployConversationModel operation.
11952
+ class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
11953
+ include Google::Apis::Core::Hashable
11954
+
11955
+ # The resource name of the conversation model. Format: `projects//
11956
+ # conversationModels/`
11957
+ # Corresponds to the JSON property `conversationModel`
11958
+ # @return [String]
11959
+ attr_accessor :conversation_model
11960
+
11961
+ # Timestamp when the request to undeploy conversation model was submitted. The
11962
+ # time is measured on server side.
11963
+ # Corresponds to the JSON property `createTime`
11964
+ # @return [String]
11965
+ attr_accessor :create_time
11966
+
11967
+ def initialize(**args)
11968
+ update!(**args)
11969
+ end
11970
+
11971
+ # Update properties of this object
11972
+ def update!(**args)
11973
+ @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
11974
+ @create_time = args[:create_time] if args.key?(:create_time)
11975
+ end
11976
+ end
11977
+
11435
11978
  # The request message for a webhook call.
11436
11979
  class GoogleCloudDialogflowV2WebhookRequest
11437
11980
  include Google::Apis::Core::Hashable
@@ -11679,6 +12222,45 @@ module Google
11679
12222
  end
11680
12223
  end
11681
12224
 
12225
+ # Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
12226
+ class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata
12227
+ include Google::Apis::Core::Hashable
12228
+
12229
+ # The resource name of the conversation profile. Format: `projects//locations//
12230
+ # conversationProfiles/`
12231
+ # Corresponds to the JSON property `conversationProfile`
12232
+ # @return [String]
12233
+ attr_accessor :conversation_profile
12234
+
12235
+ # Timestamp whe the request was created. The time is measured on server side.
12236
+ # Corresponds to the JSON property `createTime`
12237
+ # @return [String]
12238
+ attr_accessor :create_time
12239
+
12240
+ # Required. The participant role to remove the suggestion feature config. Only
12241
+ # HUMAN_AGENT or END_USER can be used.
12242
+ # Corresponds to the JSON property `participantRole`
12243
+ # @return [String]
12244
+ attr_accessor :participant_role
12245
+
12246
+ # Required. The type of the suggestion feature to remove.
12247
+ # Corresponds to the JSON property `suggestionFeatureType`
12248
+ # @return [String]
12249
+ attr_accessor :suggestion_feature_type
12250
+
12251
+ def initialize(**args)
12252
+ update!(**args)
12253
+ end
12254
+
12255
+ # Update properties of this object
12256
+ def update!(**args)
12257
+ @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
12258
+ @create_time = args[:create_time] if args.key?(:create_time)
12259
+ @participant_role = args[:participant_role] if args.key?(:participant_role)
12260
+ @suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
12261
+ end
12262
+ end
12263
+
11682
12264
  # Dialogflow contexts are similar to natural language context. If a person says
11683
12265
  # to you "they are orange", you need context in order to understand what "they"
11684
12266
  # is referring to. Similarly, for Dialogflow to handle an end-user expression
@@ -11888,7 +12470,9 @@ module Google
11888
12470
  # Required. The language of this query. See [Language Support](https://cloud.
11889
12471
  # google.com/dialogflow/docs/reference/language) for a list of the currently
11890
12472
  # supported language codes. Note that queries in the same session do not
11891
- # necessarily need to specify the same language.
12473
+ # necessarily need to specify the same language. This field is ignored when used
12474
+ # in the context of a WebhookResponse.followup_event_input field, because the
12475
+ # language was already defined in the originating detect intent request.
11892
12476
  # Corresponds to the JSON property `languageCode`
11893
12477
  # @return [String]
11894
12478
  attr_accessor :language_code
@@ -11950,6 +12534,25 @@ module Google
11950
12534
  end
11951
12535
  end
11952
12536
 
12537
+ # Metadata related to the Export Data Operations (e.g. ExportDocument).
12538
+ class GoogleCloudDialogflowV2beta1ExportOperationMetadata
12539
+ include Google::Apis::Core::Hashable
12540
+
12541
+ # Google Cloud Storage location for the output.
12542
+ # Corresponds to the JSON property `exportedGcsDestination`
12543
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GcsDestination]
12544
+ attr_accessor :exported_gcs_destination
12545
+
12546
+ def initialize(**args)
12547
+ update!(**args)
12548
+ end
12549
+
12550
+ # Update properties of this object
12551
+ def update!(**args)
12552
+ @exported_gcs_destination = args[:exported_gcs_destination] if args.key?(:exported_gcs_destination)
12553
+ end
12554
+ end
12555
+
11953
12556
  # Represents answer from "frequently asked questions".
11954
12557
  class GoogleCloudDialogflowV2beta1FaqAnswer
11955
12558
  include Google::Apis::Core::Hashable
@@ -12004,6 +12607,27 @@ module Google
12004
12607
  end
12005
12608
  end
12006
12609
 
12610
+ # Google Cloud Storage location for the output.
12611
+ class GoogleCloudDialogflowV2beta1GcsDestination
12612
+ include Google::Apis::Core::Hashable
12613
+
12614
+ # Required. The Google Cloud Storage URIs for the output. A URI is of the form:
12615
+ # gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on
12616
+ # the use case. The requesting user must have "write-permission" to the bucket.
12617
+ # Corresponds to the JSON property `uri`
12618
+ # @return [String]
12619
+ attr_accessor :uri
12620
+
12621
+ def initialize(**args)
12622
+ update!(**args)
12623
+ end
12624
+
12625
+ # Update properties of this object
12626
+ def update!(**args)
12627
+ @uri = args[:uri] if args.key?(:uri)
12628
+ end
12629
+ end
12630
+
12007
12631
  # Output only. Represents a notification sent to Pub/Sub subscribers for agent
12008
12632
  # assistant events in a specific conversation.
12009
12633
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
@@ -13863,6 +14487,11 @@ module Google
13863
14487
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
13864
14488
  include Google::Apis::Core::Hashable
13865
14489
 
14490
+ # Metadata related to the Export Data Operations (e.g. ExportDocument).
14491
+ # Corresponds to the JSON property `exportOperationMetadata`
14492
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ExportOperationMetadata]
14493
+ attr_accessor :export_operation_metadata
14494
+
13866
14495
  # The name of the knowledge base interacted with during the operation.
13867
14496
  # Corresponds to the JSON property `knowledgeBase`
13868
14497
  # @return [String]
@@ -13879,6 +14508,7 @@ module Google
13879
14508
 
13880
14509
  # Update properties of this object
13881
14510
  def update!(**args)
14511
+ @export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
13882
14512
  @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
13883
14513
  @state = args[:state] if args.key?(:state)
13884
14514
  end
@@ -14296,6 +14926,45 @@ module Google
14296
14926
  end
14297
14927
  end
14298
14928
 
14929
+ # Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
14930
+ class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata
14931
+ include Google::Apis::Core::Hashable
14932
+
14933
+ # The resource name of the conversation profile. Format: `projects//locations//
14934
+ # conversationProfiles/`
14935
+ # Corresponds to the JSON property `conversationProfile`
14936
+ # @return [String]
14937
+ attr_accessor :conversation_profile
14938
+
14939
+ # Timestamp whe the request was created. The time is measured on server side.
14940
+ # Corresponds to the JSON property `createTime`
14941
+ # @return [String]
14942
+ attr_accessor :create_time
14943
+
14944
+ # Required. The participant role to add or update the suggestion feature config.
14945
+ # Only HUMAN_AGENT or END_USER can be used.
14946
+ # Corresponds to the JSON property `participantRole`
14947
+ # @return [String]
14948
+ attr_accessor :participant_role
14949
+
14950
+ # Required. The type of the suggestion feature to add or update.
14951
+ # Corresponds to the JSON property `suggestionFeatureType`
14952
+ # @return [String]
14953
+ attr_accessor :suggestion_feature_type
14954
+
14955
+ def initialize(**args)
14956
+ update!(**args)
14957
+ end
14958
+
14959
+ # Update properties of this object
14960
+ def update!(**args)
14961
+ @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
14962
+ @create_time = args[:create_time] if args.key?(:create_time)
14963
+ @participant_role = args[:participant_role] if args.key?(:participant_role)
14964
+ @suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type)
14965
+ end
14966
+ end
14967
+
14299
14968
  # Represents a smart reply answer.
14300
14969
  class GoogleCloudDialogflowV2beta1SmartReplyAnswer
14301
14970
  include Google::Apis::Core::Hashable