google-apis-dialogflow_v3beta1 0.77.0 → 0.79.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9dde322923fbee3997309265121223381b52d949d0078f71aa7bea26de400037
4
- data.tar.gz: 000af6d26fc9c3c9b0cb0c8a431a12138bcd94d97bbd99ae1469d001adc97182
3
+ metadata.gz: 05fe3ca310b6c97e3f740cea9bc33e721bc170729ca2023a6c9699adb74b65df
4
+ data.tar.gz: d878e926d3e070b33a651a7088b41b39e4cfd55d3d41b61cc3594f8a330572da
5
5
  SHA512:
6
- metadata.gz: d84f04dbb34f60c3dd8f6bdcea8aa154c5ee1de7bb19fe8e723e1b4ab2b41a5c8c7d02b086a445dd56d27fc59eb52e9c56e7e94626199a6328de130cfc4af23e
7
- data.tar.gz: ff808a8832a102041dabb54785f1f72c8aed4466dc65683dd41c84a3971c03cd95b612625b4fd34a2549b254180e56be84cda83f8040f1c3148e8b10d93a60b3
6
+ metadata.gz: e3dd39580b01602e26e08294639dde38a57136a724f3455685d7fccc24ae1cd13295e96df47f069bab6c3abb623317d85b9b88e115d405fc84e4fe8b62c84757
7
+ data.tar.gz: d3e36ded4ebf071a6b7501687fd4f1f85215a17fe801fb45c66a579e17126a31565a3f64e22d94b928a2167a6ed010d471cefeda7ddefd9114dc0aa94b9cb46e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.79.0 (2024-02-11)
4
+
5
+ * Regenerated from discovery document revision 20240131
6
+
7
+ ### v0.78.0 (2024-01-28)
8
+
9
+ * Regenerated from discovery document revision 20240122
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.77.0 (2024-01-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20240113
@@ -854,6 +854,46 @@ module Google
854
854
  end
855
855
  end
856
856
 
857
+ # Metadata returned for the EntityTypes.ExportEntityTypes long running operation.
858
+ class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata
859
+ include Google::Apis::Core::Hashable
860
+
861
+ def initialize(**args)
862
+ update!(**args)
863
+ end
864
+
865
+ # Update properties of this object
866
+ def update!(**args)
867
+ end
868
+ end
869
+
870
+ # The response message for EntityTypes.ExportEntityTypes.
871
+ class GoogleCloudDialogflowCxV3ExportEntityTypesResponse
872
+ include Google::Apis::Core::Hashable
873
+
874
+ # Inline destination for a Dialogflow operation that writes or exports objects (
875
+ # e.g. intents) outside of Dialogflow.
876
+ # Corresponds to the JSON property `entityTypesContent`
877
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3InlineDestination]
878
+ attr_accessor :entity_types_content
879
+
880
+ # The URI to a file containing the exported entity types. This field is
881
+ # populated only if `entity_types_uri` is specified in ExportEntityTypesRequest.
882
+ # Corresponds to the JSON property `entityTypesUri`
883
+ # @return [String]
884
+ attr_accessor :entity_types_uri
885
+
886
+ def initialize(**args)
887
+ update!(**args)
888
+ end
889
+
890
+ # Update properties of this object
891
+ def update!(**args)
892
+ @entity_types_content = args[:entity_types_content] if args.key?(:entity_types_content)
893
+ @entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri)
894
+ end
895
+ end
896
+
857
897
  # The response message for Flows.ExportFlow.
858
898
  class GoogleCloudDialogflowCxV3ExportFlowResponse
859
899
  include Google::Apis::Core::Hashable
@@ -1394,6 +1434,74 @@ module Google
1394
1434
  end
1395
1435
  end
1396
1436
 
1437
+ # Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
1438
+ class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
1439
+ include Google::Apis::Core::Hashable
1440
+
1441
+ def initialize(**args)
1442
+ update!(**args)
1443
+ end
1444
+
1445
+ # Update properties of this object
1446
+ def update!(**args)
1447
+ end
1448
+ end
1449
+
1450
+ # The response message for EntityTypes.ImportEntityTypes.
1451
+ class GoogleCloudDialogflowCxV3ImportEntityTypesResponse
1452
+ include Google::Apis::Core::Hashable
1453
+
1454
+ # Conflicting resources detected during the import process. Only filled when
1455
+ # REPORT_CONFLICT is set in the request and there are conflicts in the display
1456
+ # names.
1457
+ # Corresponds to the JSON property `conflictingResources`
1458
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources]
1459
+ attr_accessor :conflicting_resources
1460
+
1461
+ # The unique identifier of the imported entity types. Format: `projects//
1462
+ # locations//agents//entity_types/`.
1463
+ # Corresponds to the JSON property `entityTypes`
1464
+ # @return [Array<String>]
1465
+ attr_accessor :entity_types
1466
+
1467
+ def initialize(**args)
1468
+ update!(**args)
1469
+ end
1470
+
1471
+ # Update properties of this object
1472
+ def update!(**args)
1473
+ @conflicting_resources = args[:conflicting_resources] if args.key?(:conflicting_resources)
1474
+ @entity_types = args[:entity_types] if args.key?(:entity_types)
1475
+ end
1476
+ end
1477
+
1478
+ # Conflicting resources detected during the import process. Only filled when
1479
+ # REPORT_CONFLICT is set in the request and there are conflicts in the display
1480
+ # names.
1481
+ class GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources
1482
+ include Google::Apis::Core::Hashable
1483
+
1484
+ # Display names of conflicting entities.
1485
+ # Corresponds to the JSON property `entityDisplayNames`
1486
+ # @return [Array<String>]
1487
+ attr_accessor :entity_display_names
1488
+
1489
+ # Display names of conflicting entity types.
1490
+ # Corresponds to the JSON property `entityTypeDisplayNames`
1491
+ # @return [Array<String>]
1492
+ attr_accessor :entity_type_display_names
1493
+
1494
+ def initialize(**args)
1495
+ update!(**args)
1496
+ end
1497
+
1498
+ # Update properties of this object
1499
+ def update!(**args)
1500
+ @entity_display_names = args[:entity_display_names] if args.key?(:entity_display_names)
1501
+ @entity_type_display_names = args[:entity_type_display_names] if args.key?(:entity_type_display_names)
1502
+ end
1503
+ end
1504
+
1397
1505
  # The response message for Flows.ImportFlow.
1398
1506
  class GoogleCloudDialogflowCxV3ImportFlowResponse
1399
1507
  include Google::Apis::Core::Hashable
@@ -1593,7 +1701,9 @@ module Google
1593
1701
  attr_accessor :model_variant
1594
1702
 
1595
1703
  # If `true`, the request will opt out for STT conformer model migration. This
1596
- # field will be deprecated once force migration takes place in June 2024.
1704
+ # field will be deprecated once force migration takes place in June 2024. Please
1705
+ # refer to [Dialogflow CX Speech model migration](https://cloud.google.com/
1706
+ # dialogflow/cx/docs/concept/speech-model-migration).
1597
1707
  # Corresponds to the JSON property `optOutConformerModelMigration`
1598
1708
  # @return [Boolean]
1599
1709
  attr_accessor :opt_out_conformer_model_migration
@@ -5773,6 +5883,102 @@ module Google
5773
5883
  end
5774
5884
  end
5775
5885
 
5886
+ # Metadata returned for the EntityTypes.ExportEntityTypes long running operation.
5887
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata
5888
+ include Google::Apis::Core::Hashable
5889
+
5890
+ def initialize(**args)
5891
+ update!(**args)
5892
+ end
5893
+
5894
+ # Update properties of this object
5895
+ def update!(**args)
5896
+ end
5897
+ end
5898
+
5899
+ # The request message for EntityTypes.ExportEntityTypes.
5900
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest
5901
+ include Google::Apis::Core::Hashable
5902
+
5903
+ # Optional. The data format of the exported entity types. If not specified, `
5904
+ # BLOB` is assumed.
5905
+ # Corresponds to the JSON property `dataFormat`
5906
+ # @return [String]
5907
+ attr_accessor :data_format
5908
+
5909
+ # Required. The name of the entity types to export. Format: `projects//locations/
5910
+ # /agents//entityTypes/`.
5911
+ # Corresponds to the JSON property `entityTypes`
5912
+ # @return [Array<String>]
5913
+ attr_accessor :entity_types
5914
+
5915
+ # Optional. The option to return the serialized entity types inline.
5916
+ # Corresponds to the JSON property `entityTypesContentInline`
5917
+ # @return [Boolean]
5918
+ attr_accessor :entity_types_content_inline
5919
+ alias_method :entity_types_content_inline?, :entity_types_content_inline
5920
+
5921
+ # Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
5922
+ # URI to export the entity types to. The format of this URI must be `gs:///`.
5923
+ # Dialogflow performs a write operation for the Cloud Storage object on the
5924
+ # caller's behalf, so your request authentication must have write permissions
5925
+ # for the object. For more information, see [Dialogflow access control](https://
5926
+ # cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
5927
+ # Corresponds to the JSON property `entityTypesUri`
5928
+ # @return [String]
5929
+ attr_accessor :entity_types_uri
5930
+
5931
+ # Optional. The language to retrieve the entity type for. The following fields
5932
+ # are language dependent: * `EntityType.entities.value` * `EntityType.entities.
5933
+ # synonyms` * `EntityType.excluded_phrases.value` If not specified, all language
5934
+ # dependent fields will be retrieved. [Many languages](https://cloud.google.com/
5935
+ # dialogflow/docs/reference/language) are supported. Note: languages must be
5936
+ # enabled in the agent before they can be used.
5937
+ # Corresponds to the JSON property `languageCode`
5938
+ # @return [String]
5939
+ attr_accessor :language_code
5940
+
5941
+ def initialize(**args)
5942
+ update!(**args)
5943
+ end
5944
+
5945
+ # Update properties of this object
5946
+ def update!(**args)
5947
+ @data_format = args[:data_format] if args.key?(:data_format)
5948
+ @entity_types = args[:entity_types] if args.key?(:entity_types)
5949
+ @entity_types_content_inline = args[:entity_types_content_inline] if args.key?(:entity_types_content_inline)
5950
+ @entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri)
5951
+ @language_code = args[:language_code] if args.key?(:language_code)
5952
+ end
5953
+ end
5954
+
5955
+ # The response message for EntityTypes.ExportEntityTypes.
5956
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse
5957
+ include Google::Apis::Core::Hashable
5958
+
5959
+ # Inline destination for a Dialogflow operation that writes or exports objects (
5960
+ # e.g. intents) outside of Dialogflow.
5961
+ # Corresponds to the JSON property `entityTypesContent`
5962
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineDestination]
5963
+ attr_accessor :entity_types_content
5964
+
5965
+ # The URI to a file containing the exported entity types. This field is
5966
+ # populated only if `entity_types_uri` is specified in ExportEntityTypesRequest.
5967
+ # Corresponds to the JSON property `entityTypesUri`
5968
+ # @return [String]
5969
+ attr_accessor :entity_types_uri
5970
+
5971
+ def initialize(**args)
5972
+ update!(**args)
5973
+ end
5974
+
5975
+ # Update properties of this object
5976
+ def update!(**args)
5977
+ @entity_types_content = args[:entity_types_content] if args.key?(:entity_types_content)
5978
+ @entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri)
5979
+ end
5980
+ end
5981
+
5776
5982
  # The request message for Flows.ExportFlow.
5777
5983
  class GoogleCloudDialogflowCxV3beta1ExportFlowRequest
5778
5984
  include Google::Apis::Core::Hashable
@@ -6931,6 +7137,121 @@ module Google
6931
7137
  end
6932
7138
  end
6933
7139
 
7140
+ # Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
7141
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
7142
+ include Google::Apis::Core::Hashable
7143
+
7144
+ def initialize(**args)
7145
+ update!(**args)
7146
+ end
7147
+
7148
+ # Update properties of this object
7149
+ def update!(**args)
7150
+ end
7151
+ end
7152
+
7153
+ # The request message for EntityTypes.ImportEntityTypes.
7154
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest
7155
+ include Google::Apis::Core::Hashable
7156
+
7157
+ # Inline source for a Dialogflow operation that reads or imports objects (e.g.
7158
+ # intents) into Dialogflow.
7159
+ # Corresponds to the JSON property `entityTypesContent`
7160
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource]
7161
+ attr_accessor :entity_types_content
7162
+
7163
+ # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
7164
+ # import entity types from. The format of this URI must be `gs:///`. Dialogflow
7165
+ # performs a read operation for the Cloud Storage object on the caller's behalf,
7166
+ # so your request authentication must have read permissions for the object. For
7167
+ # more information, see [Dialogflow access control](https://cloud.google.com/
7168
+ # dialogflow/cx/docs/concept/access-control#storage).
7169
+ # Corresponds to the JSON property `entityTypesUri`
7170
+ # @return [String]
7171
+ attr_accessor :entity_types_uri
7172
+
7173
+ # Required. Merge option for importing entity types.
7174
+ # Corresponds to the JSON property `mergeOption`
7175
+ # @return [String]
7176
+ attr_accessor :merge_option
7177
+
7178
+ # Optional. The target entity type to import into. Format: `projects//locations//
7179
+ # agents//entity_types/`. If set, there should be only one entity type included
7180
+ # in entity_types, of which the type should match the type of the target entity
7181
+ # type. All entities in the imported entity type will be added to the target
7182
+ # entity type.
7183
+ # Corresponds to the JSON property `targetEntityType`
7184
+ # @return [String]
7185
+ attr_accessor :target_entity_type
7186
+
7187
+ def initialize(**args)
7188
+ update!(**args)
7189
+ end
7190
+
7191
+ # Update properties of this object
7192
+ def update!(**args)
7193
+ @entity_types_content = args[:entity_types_content] if args.key?(:entity_types_content)
7194
+ @entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri)
7195
+ @merge_option = args[:merge_option] if args.key?(:merge_option)
7196
+ @target_entity_type = args[:target_entity_type] if args.key?(:target_entity_type)
7197
+ end
7198
+ end
7199
+
7200
+ # The response message for EntityTypes.ImportEntityTypes.
7201
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse
7202
+ include Google::Apis::Core::Hashable
7203
+
7204
+ # Conflicting resources detected during the import process. Only filled when
7205
+ # REPORT_CONFLICT is set in the request and there are conflicts in the display
7206
+ # names.
7207
+ # Corresponds to the JSON property `conflictingResources`
7208
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources]
7209
+ attr_accessor :conflicting_resources
7210
+
7211
+ # The unique identifier of the imported entity types. Format: `projects//
7212
+ # locations//agents//entity_types/`.
7213
+ # Corresponds to the JSON property `entityTypes`
7214
+ # @return [Array<String>]
7215
+ attr_accessor :entity_types
7216
+
7217
+ def initialize(**args)
7218
+ update!(**args)
7219
+ end
7220
+
7221
+ # Update properties of this object
7222
+ def update!(**args)
7223
+ @conflicting_resources = args[:conflicting_resources] if args.key?(:conflicting_resources)
7224
+ @entity_types = args[:entity_types] if args.key?(:entity_types)
7225
+ end
7226
+ end
7227
+
7228
+ # Conflicting resources detected during the import process. Only filled when
7229
+ # REPORT_CONFLICT is set in the request and there are conflicts in the display
7230
+ # names.
7231
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources
7232
+ include Google::Apis::Core::Hashable
7233
+
7234
+ # Display names of conflicting entities.
7235
+ # Corresponds to the JSON property `entityDisplayNames`
7236
+ # @return [Array<String>]
7237
+ attr_accessor :entity_display_names
7238
+
7239
+ # Display names of conflicting entity types.
7240
+ # Corresponds to the JSON property `entityTypeDisplayNames`
7241
+ # @return [Array<String>]
7242
+ attr_accessor :entity_type_display_names
7243
+
7244
+ def initialize(**args)
7245
+ update!(**args)
7246
+ end
7247
+
7248
+ # Update properties of this object
7249
+ def update!(**args)
7250
+ @entity_display_names = args[:entity_display_names] if args.key?(:entity_display_names)
7251
+ @entity_type_display_names = args[:entity_type_display_names] if args.key?(:entity_type_display_names)
7252
+ end
7253
+ end
7254
+
6934
7255
  # The request message for Flows.ImportFlow.
6935
7256
  class GoogleCloudDialogflowCxV3beta1ImportFlowRequest
6936
7257
  include Google::Apis::Core::Hashable
@@ -7263,7 +7584,9 @@ module Google
7263
7584
  attr_accessor :model_variant
7264
7585
 
7265
7586
  # If `true`, the request will opt out for STT conformer model migration. This
7266
- # field will be deprecated once force migration takes place in June 2024.
7587
+ # field will be deprecated once force migration takes place in June 2024. Please
7588
+ # refer to [Dialogflow CX Speech model migration](https://cloud.google.com/
7589
+ # dialogflow/cx/docs/concept/speech-model-migration).
7267
7590
  # Corresponds to the JSON property `optOutConformerModelMigration`
7268
7591
  # @return [Boolean]
7269
7592
  attr_accessor :opt_out_conformer_model_migration
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.77.0"
19
+ GEM_VERSION = "0.79.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240113"
25
+ REVISION = "20240131"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,18 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleCloudDialogflowCxV3ExportEntityTypesResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class GoogleCloudDialogflowCxV3ExportFlowResponse
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -280,6 +292,24 @@ module Google
280
292
  include Google::Apis::Core::JsonObjectSupport
281
293
  end
282
294
 
295
+ class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleCloudDialogflowCxV3ImportEntityTypesResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
283
313
  class GoogleCloudDialogflowCxV3ImportFlowResponse
284
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
315
 
@@ -970,6 +1000,24 @@ module Google
970
1000
  include Google::Apis::Core::JsonObjectSupport
971
1001
  end
972
1002
 
1003
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata
1004
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1005
+
1006
+ include Google::Apis::Core::JsonObjectSupport
1007
+ end
1008
+
1009
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
1015
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse
1016
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1017
+
1018
+ include Google::Apis::Core::JsonObjectSupport
1019
+ end
1020
+
973
1021
  class GoogleCloudDialogflowCxV3beta1ExportFlowRequest
974
1022
  class Representation < Google::Apis::Core::JsonRepresentation; end
975
1023
 
@@ -1162,6 +1210,30 @@ module Google
1162
1210
  include Google::Apis::Core::JsonObjectSupport
1163
1211
  end
1164
1212
 
1213
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
1214
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1215
+
1216
+ include Google::Apis::Core::JsonObjectSupport
1217
+ end
1218
+
1219
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest
1220
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1221
+
1222
+ include Google::Apis::Core::JsonObjectSupport
1223
+ end
1224
+
1225
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse
1226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1227
+
1228
+ include Google::Apis::Core::JsonObjectSupport
1229
+ end
1230
+
1231
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources
1232
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1233
+
1234
+ include Google::Apis::Core::JsonObjectSupport
1235
+ end
1236
+
1165
1237
  class GoogleCloudDialogflowCxV3beta1ImportFlowRequest
1166
1238
  class Representation < Google::Apis::Core::JsonRepresentation; end
1167
1239
 
@@ -3241,6 +3313,21 @@ module Google
3241
3313
  end
3242
3314
  end
3243
3315
 
3316
+ class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata
3317
+ # @private
3318
+ class Representation < Google::Apis::Core::JsonRepresentation
3319
+ end
3320
+ end
3321
+
3322
+ class GoogleCloudDialogflowCxV3ExportEntityTypesResponse
3323
+ # @private
3324
+ class Representation < Google::Apis::Core::JsonRepresentation
3325
+ property :entity_types_content, as: 'entityTypesContent', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3InlineDestination, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3InlineDestination::Representation
3326
+
3327
+ property :entity_types_uri, as: 'entityTypesUri'
3328
+ end
3329
+ end
3330
+
3244
3331
  class GoogleCloudDialogflowCxV3ExportFlowResponse
3245
3332
  # @private
3246
3333
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3395,6 +3482,29 @@ module Google
3395
3482
  end
3396
3483
  end
3397
3484
 
3485
+ class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
3486
+ # @private
3487
+ class Representation < Google::Apis::Core::JsonRepresentation
3488
+ end
3489
+ end
3490
+
3491
+ class GoogleCloudDialogflowCxV3ImportEntityTypesResponse
3492
+ # @private
3493
+ class Representation < Google::Apis::Core::JsonRepresentation
3494
+ property :conflicting_resources, as: 'conflictingResources', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources::Representation
3495
+
3496
+ collection :entity_types, as: 'entityTypes'
3497
+ end
3498
+ end
3499
+
3500
+ class GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources
3501
+ # @private
3502
+ class Representation < Google::Apis::Core::JsonRepresentation
3503
+ collection :entity_display_names, as: 'entityDisplayNames'
3504
+ collection :entity_type_display_names, as: 'entityTypeDisplayNames'
3505
+ end
3506
+ end
3507
+
3398
3508
  class GoogleCloudDialogflowCxV3ImportFlowResponse
3399
3509
  # @private
3400
3510
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4573,6 +4683,32 @@ module Google
4573
4683
  end
4574
4684
  end
4575
4685
 
4686
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata
4687
+ # @private
4688
+ class Representation < Google::Apis::Core::JsonRepresentation
4689
+ end
4690
+ end
4691
+
4692
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest
4693
+ # @private
4694
+ class Representation < Google::Apis::Core::JsonRepresentation
4695
+ property :data_format, as: 'dataFormat'
4696
+ collection :entity_types, as: 'entityTypes'
4697
+ property :entity_types_content_inline, as: 'entityTypesContentInline'
4698
+ property :entity_types_uri, as: 'entityTypesUri'
4699
+ property :language_code, as: 'languageCode'
4700
+ end
4701
+ end
4702
+
4703
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse
4704
+ # @private
4705
+ class Representation < Google::Apis::Core::JsonRepresentation
4706
+ property :entity_types_content, as: 'entityTypesContent', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineDestination, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineDestination::Representation
4707
+
4708
+ property :entity_types_uri, as: 'entityTypesUri'
4709
+ end
4710
+ end
4711
+
4576
4712
  class GoogleCloudDialogflowCxV3beta1ExportFlowRequest
4577
4713
  # @private
4578
4714
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4887,6 +5023,40 @@ module Google
4887
5023
  end
4888
5024
  end
4889
5025
 
5026
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
5027
+ # @private
5028
+ class Representation < Google::Apis::Core::JsonRepresentation
5029
+ end
5030
+ end
5031
+
5032
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest
5033
+ # @private
5034
+ class Representation < Google::Apis::Core::JsonRepresentation
5035
+ property :entity_types_content, as: 'entityTypesContent', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource::Representation
5036
+
5037
+ property :entity_types_uri, as: 'entityTypesUri'
5038
+ property :merge_option, as: 'mergeOption'
5039
+ property :target_entity_type, as: 'targetEntityType'
5040
+ end
5041
+ end
5042
+
5043
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse
5044
+ # @private
5045
+ class Representation < Google::Apis::Core::JsonRepresentation
5046
+ property :conflicting_resources, as: 'conflictingResources', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources::Representation
5047
+
5048
+ collection :entity_types, as: 'entityTypes'
5049
+ end
5050
+ end
5051
+
5052
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources
5053
+ # @private
5054
+ class Representation < Google::Apis::Core::JsonRepresentation
5055
+ collection :entity_display_names, as: 'entityDisplayNames'
5056
+ collection :entity_type_display_names, as: 'entityTypeDisplayNames'
5057
+ end
5058
+ end
5059
+
4890
5060
  class GoogleCloudDialogflowCxV3beta1ImportFlowRequest
4891
5061
  # @private
4892
5062
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -685,6 +685,40 @@ module Google
685
685
  execute_or_queue_command(command, &block)
686
686
  end
687
687
 
688
+ # Exports the selected entity types.
689
+ # @param [String] parent
690
+ # Required. The name of the parent agent to export entity types. Format: `
691
+ # projects//locations//agents/`.
692
+ # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest] google_cloud_dialogflow_cx_v3beta1_export_entity_types_request_object
693
+ # @param [String] fields
694
+ # Selector specifying which fields to include in a partial response.
695
+ # @param [String] quota_user
696
+ # Available to use for quota purposes for server-side applications. Can be any
697
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
698
+ # @param [Google::Apis::RequestOptions] options
699
+ # Request-specific options
700
+ #
701
+ # @yield [result, err] Result & error if block supplied
702
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
703
+ # @yieldparam err [StandardError] error object if request failed
704
+ #
705
+ # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
706
+ #
707
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
708
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
709
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
710
+ def export_project_location_agent_entity_type(parent, google_cloud_dialogflow_cx_v3beta1_export_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
711
+ command = make_simple_command(:post, 'v3beta1/{+parent}/entityTypes:export', options)
712
+ command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest::Representation
713
+ command.request_object = google_cloud_dialogflow_cx_v3beta1_export_entity_types_request_object
714
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
715
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
716
+ command.params['parent'] = parent unless parent.nil?
717
+ command.query['fields'] = fields unless fields.nil?
718
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
719
+ execute_or_queue_command(command, &block)
720
+ end
721
+
688
722
  # Retrieves the specified entity type.
689
723
  # @param [String] name
690
724
  # Required. The name of the entity type. Format: `projects//locations//agents//
@@ -724,6 +758,40 @@ module Google
724
758
  execute_or_queue_command(command, &block)
725
759
  end
726
760
 
761
+ # Imports the specified entitytypes into the agent.
762
+ # @param [String] parent
763
+ # Required. The agent to import the entity types into. Format: `projects//
764
+ # locations//agents/`.
765
+ # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest] google_cloud_dialogflow_cx_v3beta1_import_entity_types_request_object
766
+ # @param [String] fields
767
+ # Selector specifying which fields to include in a partial response.
768
+ # @param [String] quota_user
769
+ # Available to use for quota purposes for server-side applications. Can be any
770
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
771
+ # @param [Google::Apis::RequestOptions] options
772
+ # Request-specific options
773
+ #
774
+ # @yield [result, err] Result & error if block supplied
775
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
776
+ # @yieldparam err [StandardError] error object if request failed
777
+ #
778
+ # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
779
+ #
780
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
781
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
782
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
783
+ def import_project_location_agent_entity_type(parent, google_cloud_dialogflow_cx_v3beta1_import_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
784
+ command = make_simple_command(:post, 'v3beta1/{+parent}/entityTypes:import', options)
785
+ command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest::Representation
786
+ command.request_object = google_cloud_dialogflow_cx_v3beta1_import_entity_types_request_object
787
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
788
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
789
+ command.params['parent'] = parent unless parent.nil?
790
+ command.query['fields'] = fields unless fields.nil?
791
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
792
+ execute_or_queue_command(command, &block)
793
+ end
794
+
727
795
  # Returns the list of all entity types in the specified agent.
728
796
  # @param [String] parent
729
797
  # Required. The agent to list all entity types for. Format: `projects//locations/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.77.0
4
+ version: 0.79.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.77.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.79.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
63
63
  post_install_message:
64
64
  rdoc_options: []