google-apis-dialogflow_v3 0.78.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: 0337564f28ea85661c9ccbe73025fc06cd9fba43606162f87c6b1d632bde1d7c
4
- data.tar.gz: 3d69c259d26f12dcc824c7b4fb6663f00f7e714add4789fe0b32b92d15034088
3
+ metadata.gz: 5e8c8bba2a164153641311e246fbd59c717bab297711b2f639aa57bed8883e52
4
+ data.tar.gz: bcf9171c21ff18702a1466670baecd6309f78b3212676bf0feaabb11e69c19db
5
5
  SHA512:
6
- metadata.gz: 8ff29db44077bb124e85d2f3e93af94910f8a5df7df1cc7c901836ca24cbb8fdca59326b14b9bda921c0dc934b11b1c8338d4b6bc07c9adba1409a44d2d564d4
7
- data.tar.gz: b1a0c884d6b9705c60f79c4fae414bc9da7ff5992f237a526123818f4661229793e7b2e5743ceea7af339d2db585e59a31a2d9d0189fc097a63eba267a1886d3
6
+ metadata.gz: 625a500456e54c400718225cff6157e6341c656887237fd542403d67522b3f0f2298634a9440e68fd6feb73e1225499f043a166e4898440927e72c2c89e490c8
7
+ data.tar.gz: 623313d067550cdf482aea6871677374e793805aae9065670055e7214a3511ce3112e3848d9514a951fe0208e0ad008c0a470e2456cb362be8a7d52aac291f2d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.79.0 (2024-02-11)
4
+
5
+ * Regenerated from discovery document revision 20240131
6
+
3
7
  ### v0.78.0 (2024-01-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20240122
@@ -2189,6 +2189,102 @@ module Google
2189
2189
  end
2190
2190
  end
2191
2191
 
2192
+ # Metadata returned for the EntityTypes.ExportEntityTypes long running operation.
2193
+ class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata
2194
+ include Google::Apis::Core::Hashable
2195
+
2196
+ def initialize(**args)
2197
+ update!(**args)
2198
+ end
2199
+
2200
+ # Update properties of this object
2201
+ def update!(**args)
2202
+ end
2203
+ end
2204
+
2205
+ # The request message for EntityTypes.ExportEntityTypes.
2206
+ class GoogleCloudDialogflowCxV3ExportEntityTypesRequest
2207
+ include Google::Apis::Core::Hashable
2208
+
2209
+ # Optional. The data format of the exported entity types. If not specified, `
2210
+ # BLOB` is assumed.
2211
+ # Corresponds to the JSON property `dataFormat`
2212
+ # @return [String]
2213
+ attr_accessor :data_format
2214
+
2215
+ # Required. The name of the entity types to export. Format: `projects//locations/
2216
+ # /agents//entityTypes/`.
2217
+ # Corresponds to the JSON property `entityTypes`
2218
+ # @return [Array<String>]
2219
+ attr_accessor :entity_types
2220
+
2221
+ # Optional. The option to return the serialized entity types inline.
2222
+ # Corresponds to the JSON property `entityTypesContentInline`
2223
+ # @return [Boolean]
2224
+ attr_accessor :entity_types_content_inline
2225
+ alias_method :entity_types_content_inline?, :entity_types_content_inline
2226
+
2227
+ # Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
2228
+ # URI to export the entity types to. The format of this URI must be `gs:///`.
2229
+ # Dialogflow performs a write operation for the Cloud Storage object on the
2230
+ # caller's behalf, so your request authentication must have write permissions
2231
+ # for the object. For more information, see [Dialogflow access control](https://
2232
+ # cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
2233
+ # Corresponds to the JSON property `entityTypesUri`
2234
+ # @return [String]
2235
+ attr_accessor :entity_types_uri
2236
+
2237
+ # Optional. The language to retrieve the entity type for. The following fields
2238
+ # are language dependent: * `EntityType.entities.value` * `EntityType.entities.
2239
+ # synonyms` * `EntityType.excluded_phrases.value` If not specified, all language
2240
+ # dependent fields will be retrieved. [Many languages](https://cloud.google.com/
2241
+ # dialogflow/docs/reference/language) are supported. Note: languages must be
2242
+ # enabled in the agent before they can be used.
2243
+ # Corresponds to the JSON property `languageCode`
2244
+ # @return [String]
2245
+ attr_accessor :language_code
2246
+
2247
+ def initialize(**args)
2248
+ update!(**args)
2249
+ end
2250
+
2251
+ # Update properties of this object
2252
+ def update!(**args)
2253
+ @data_format = args[:data_format] if args.key?(:data_format)
2254
+ @entity_types = args[:entity_types] if args.key?(:entity_types)
2255
+ @entity_types_content_inline = args[:entity_types_content_inline] if args.key?(:entity_types_content_inline)
2256
+ @entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri)
2257
+ @language_code = args[:language_code] if args.key?(:language_code)
2258
+ end
2259
+ end
2260
+
2261
+ # The response message for EntityTypes.ExportEntityTypes.
2262
+ class GoogleCloudDialogflowCxV3ExportEntityTypesResponse
2263
+ include Google::Apis::Core::Hashable
2264
+
2265
+ # Inline destination for a Dialogflow operation that writes or exports objects (
2266
+ # e.g. intents) outside of Dialogflow.
2267
+ # Corresponds to the JSON property `entityTypesContent`
2268
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineDestination]
2269
+ attr_accessor :entity_types_content
2270
+
2271
+ # The URI to a file containing the exported entity types. This field is
2272
+ # populated only if `entity_types_uri` is specified in ExportEntityTypesRequest.
2273
+ # Corresponds to the JSON property `entityTypesUri`
2274
+ # @return [String]
2275
+ attr_accessor :entity_types_uri
2276
+
2277
+ def initialize(**args)
2278
+ update!(**args)
2279
+ end
2280
+
2281
+ # Update properties of this object
2282
+ def update!(**args)
2283
+ @entity_types_content = args[:entity_types_content] if args.key?(:entity_types_content)
2284
+ @entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri)
2285
+ end
2286
+ end
2287
+
2192
2288
  # The request message for Flows.ExportFlow.
2193
2289
  class GoogleCloudDialogflowCxV3ExportFlowRequest
2194
2290
  include Google::Apis::Core::Hashable
@@ -3346,6 +3442,121 @@ module Google
3346
3442
  end
3347
3443
  end
3348
3444
 
3445
+ # Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
3446
+ class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
3447
+ include Google::Apis::Core::Hashable
3448
+
3449
+ def initialize(**args)
3450
+ update!(**args)
3451
+ end
3452
+
3453
+ # Update properties of this object
3454
+ def update!(**args)
3455
+ end
3456
+ end
3457
+
3458
+ # The request message for EntityTypes.ImportEntityTypes.
3459
+ class GoogleCloudDialogflowCxV3ImportEntityTypesRequest
3460
+ include Google::Apis::Core::Hashable
3461
+
3462
+ # Inline source for a Dialogflow operation that reads or imports objects (e.g.
3463
+ # intents) into Dialogflow.
3464
+ # Corresponds to the JSON property `entityTypesContent`
3465
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource]
3466
+ attr_accessor :entity_types_content
3467
+
3468
+ # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
3469
+ # import entity types from. The format of this URI must be `gs:///`. Dialogflow
3470
+ # performs a read operation for the Cloud Storage object on the caller's behalf,
3471
+ # so your request authentication must have read permissions for the object. For
3472
+ # more information, see [Dialogflow access control](https://cloud.google.com/
3473
+ # dialogflow/cx/docs/concept/access-control#storage).
3474
+ # Corresponds to the JSON property `entityTypesUri`
3475
+ # @return [String]
3476
+ attr_accessor :entity_types_uri
3477
+
3478
+ # Required. Merge option for importing entity types.
3479
+ # Corresponds to the JSON property `mergeOption`
3480
+ # @return [String]
3481
+ attr_accessor :merge_option
3482
+
3483
+ # Optional. The target entity type to import into. Format: `projects//locations//
3484
+ # agents//entity_types/`. If set, there should be only one entity type included
3485
+ # in entity_types, of which the type should match the type of the target entity
3486
+ # type. All entities in the imported entity type will be added to the target
3487
+ # entity type.
3488
+ # Corresponds to the JSON property `targetEntityType`
3489
+ # @return [String]
3490
+ attr_accessor :target_entity_type
3491
+
3492
+ def initialize(**args)
3493
+ update!(**args)
3494
+ end
3495
+
3496
+ # Update properties of this object
3497
+ def update!(**args)
3498
+ @entity_types_content = args[:entity_types_content] if args.key?(:entity_types_content)
3499
+ @entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri)
3500
+ @merge_option = args[:merge_option] if args.key?(:merge_option)
3501
+ @target_entity_type = args[:target_entity_type] if args.key?(:target_entity_type)
3502
+ end
3503
+ end
3504
+
3505
+ # The response message for EntityTypes.ImportEntityTypes.
3506
+ class GoogleCloudDialogflowCxV3ImportEntityTypesResponse
3507
+ include Google::Apis::Core::Hashable
3508
+
3509
+ # Conflicting resources detected during the import process. Only filled when
3510
+ # REPORT_CONFLICT is set in the request and there are conflicts in the display
3511
+ # names.
3512
+ # Corresponds to the JSON property `conflictingResources`
3513
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources]
3514
+ attr_accessor :conflicting_resources
3515
+
3516
+ # The unique identifier of the imported entity types. Format: `projects//
3517
+ # locations//agents//entity_types/`.
3518
+ # Corresponds to the JSON property `entityTypes`
3519
+ # @return [Array<String>]
3520
+ attr_accessor :entity_types
3521
+
3522
+ def initialize(**args)
3523
+ update!(**args)
3524
+ end
3525
+
3526
+ # Update properties of this object
3527
+ def update!(**args)
3528
+ @conflicting_resources = args[:conflicting_resources] if args.key?(:conflicting_resources)
3529
+ @entity_types = args[:entity_types] if args.key?(:entity_types)
3530
+ end
3531
+ end
3532
+
3533
+ # Conflicting resources detected during the import process. Only filled when
3534
+ # REPORT_CONFLICT is set in the request and there are conflicts in the display
3535
+ # names.
3536
+ class GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources
3537
+ include Google::Apis::Core::Hashable
3538
+
3539
+ # Display names of conflicting entities.
3540
+ # Corresponds to the JSON property `entityDisplayNames`
3541
+ # @return [Array<String>]
3542
+ attr_accessor :entity_display_names
3543
+
3544
+ # Display names of conflicting entity types.
3545
+ # Corresponds to the JSON property `entityTypeDisplayNames`
3546
+ # @return [Array<String>]
3547
+ attr_accessor :entity_type_display_names
3548
+
3549
+ def initialize(**args)
3550
+ update!(**args)
3551
+ end
3552
+
3553
+ # Update properties of this object
3554
+ def update!(**args)
3555
+ @entity_display_names = args[:entity_display_names] if args.key?(:entity_display_names)
3556
+ @entity_type_display_names = args[:entity_type_display_names] if args.key?(:entity_type_display_names)
3557
+ end
3558
+ end
3559
+
3349
3560
  # The request message for Flows.ImportFlow.
3350
3561
  class GoogleCloudDialogflowCxV3ImportFlowRequest
3351
3562
  include Google::Apis::Core::Hashable
@@ -8917,6 +9128,46 @@ module Google
8917
9128
  end
8918
9129
  end
8919
9130
 
9131
+ # Metadata returned for the EntityTypes.ExportEntityTypes long running operation.
9132
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata
9133
+ include Google::Apis::Core::Hashable
9134
+
9135
+ def initialize(**args)
9136
+ update!(**args)
9137
+ end
9138
+
9139
+ # Update properties of this object
9140
+ def update!(**args)
9141
+ end
9142
+ end
9143
+
9144
+ # The response message for EntityTypes.ExportEntityTypes.
9145
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse
9146
+ include Google::Apis::Core::Hashable
9147
+
9148
+ # Inline destination for a Dialogflow operation that writes or exports objects (
9149
+ # e.g. intents) outside of Dialogflow.
9150
+ # Corresponds to the JSON property `entityTypesContent`
9151
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InlineDestination]
9152
+ attr_accessor :entity_types_content
9153
+
9154
+ # The URI to a file containing the exported entity types. This field is
9155
+ # populated only if `entity_types_uri` is specified in ExportEntityTypesRequest.
9156
+ # Corresponds to the JSON property `entityTypesUri`
9157
+ # @return [String]
9158
+ attr_accessor :entity_types_uri
9159
+
9160
+ def initialize(**args)
9161
+ update!(**args)
9162
+ end
9163
+
9164
+ # Update properties of this object
9165
+ def update!(**args)
9166
+ @entity_types_content = args[:entity_types_content] if args.key?(:entity_types_content)
9167
+ @entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri)
9168
+ end
9169
+ end
9170
+
8920
9171
  # The response message for Flows.ExportFlow.
8921
9172
  class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
8922
9173
  include Google::Apis::Core::Hashable
@@ -9457,6 +9708,74 @@ module Google
9457
9708
  end
9458
9709
  end
9459
9710
 
9711
+ # Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
9712
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
9713
+ include Google::Apis::Core::Hashable
9714
+
9715
+ def initialize(**args)
9716
+ update!(**args)
9717
+ end
9718
+
9719
+ # Update properties of this object
9720
+ def update!(**args)
9721
+ end
9722
+ end
9723
+
9724
+ # The response message for EntityTypes.ImportEntityTypes.
9725
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse
9726
+ include Google::Apis::Core::Hashable
9727
+
9728
+ # Conflicting resources detected during the import process. Only filled when
9729
+ # REPORT_CONFLICT is set in the request and there are conflicts in the display
9730
+ # names.
9731
+ # Corresponds to the JSON property `conflictingResources`
9732
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources]
9733
+ attr_accessor :conflicting_resources
9734
+
9735
+ # The unique identifier of the imported entity types. Format: `projects//
9736
+ # locations//agents//entity_types/`.
9737
+ # Corresponds to the JSON property `entityTypes`
9738
+ # @return [Array<String>]
9739
+ attr_accessor :entity_types
9740
+
9741
+ def initialize(**args)
9742
+ update!(**args)
9743
+ end
9744
+
9745
+ # Update properties of this object
9746
+ def update!(**args)
9747
+ @conflicting_resources = args[:conflicting_resources] if args.key?(:conflicting_resources)
9748
+ @entity_types = args[:entity_types] if args.key?(:entity_types)
9749
+ end
9750
+ end
9751
+
9752
+ # Conflicting resources detected during the import process. Only filled when
9753
+ # REPORT_CONFLICT is set in the request and there are conflicts in the display
9754
+ # names.
9755
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources
9756
+ include Google::Apis::Core::Hashable
9757
+
9758
+ # Display names of conflicting entities.
9759
+ # Corresponds to the JSON property `entityDisplayNames`
9760
+ # @return [Array<String>]
9761
+ attr_accessor :entity_display_names
9762
+
9763
+ # Display names of conflicting entity types.
9764
+ # Corresponds to the JSON property `entityTypeDisplayNames`
9765
+ # @return [Array<String>]
9766
+ attr_accessor :entity_type_display_names
9767
+
9768
+ def initialize(**args)
9769
+ update!(**args)
9770
+ end
9771
+
9772
+ # Update properties of this object
9773
+ def update!(**args)
9774
+ @entity_display_names = args[:entity_display_names] if args.key?(:entity_display_names)
9775
+ @entity_type_display_names = args[:entity_type_display_names] if args.key?(:entity_type_display_names)
9776
+ end
9777
+ end
9778
+
9460
9779
  # The response message for Flows.ImportFlow.
9461
9780
  class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
9462
9781
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.78.0"
19
+ GEM_VERSION = "0.79.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240122"
25
+ REVISION = "20240131"
26
26
  end
27
27
  end
28
28
  end
@@ -376,6 +376,24 @@ module Google
376
376
  include Google::Apis::Core::JsonObjectSupport
377
377
  end
378
378
 
379
+ class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class GoogleCloudDialogflowCxV3ExportEntityTypesRequest
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class GoogleCloudDialogflowCxV3ExportEntityTypesResponse
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
379
397
  class GoogleCloudDialogflowCxV3ExportFlowRequest
380
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
399
 
@@ -568,6 +586,30 @@ module Google
568
586
  include Google::Apis::Core::JsonObjectSupport
569
587
  end
570
588
 
589
+ class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
595
+ class GoogleCloudDialogflowCxV3ImportEntityTypesRequest
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class GoogleCloudDialogflowCxV3ImportEntityTypesResponse
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
571
613
  class GoogleCloudDialogflowCxV3ImportFlowRequest
572
614
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
615
 
@@ -1492,6 +1534,18 @@ module Google
1492
1534
  include Google::Apis::Core::JsonObjectSupport
1493
1535
  end
1494
1536
 
1537
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata
1538
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1539
+
1540
+ include Google::Apis::Core::JsonObjectSupport
1541
+ end
1542
+
1543
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse
1544
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1545
+
1546
+ include Google::Apis::Core::JsonObjectSupport
1547
+ end
1548
+
1495
1549
  class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
1496
1550
  class Representation < Google::Apis::Core::JsonRepresentation; end
1497
1551
 
@@ -1594,6 +1648,24 @@ module Google
1594
1648
  include Google::Apis::Core::JsonObjectSupport
1595
1649
  end
1596
1650
 
1651
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
1652
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1653
+
1654
+ include Google::Apis::Core::JsonObjectSupport
1655
+ end
1656
+
1657
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse
1658
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1659
+
1660
+ include Google::Apis::Core::JsonObjectSupport
1661
+ end
1662
+
1663
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources
1664
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1665
+
1666
+ include Google::Apis::Core::JsonObjectSupport
1667
+ end
1668
+
1597
1669
  class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
1598
1670
  class Representation < Google::Apis::Core::JsonRepresentation; end
1599
1671
 
@@ -3595,6 +3667,32 @@ module Google
3595
3667
  end
3596
3668
  end
3597
3669
 
3670
+ class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata
3671
+ # @private
3672
+ class Representation < Google::Apis::Core::JsonRepresentation
3673
+ end
3674
+ end
3675
+
3676
+ class GoogleCloudDialogflowCxV3ExportEntityTypesRequest
3677
+ # @private
3678
+ class Representation < Google::Apis::Core::JsonRepresentation
3679
+ property :data_format, as: 'dataFormat'
3680
+ collection :entity_types, as: 'entityTypes'
3681
+ property :entity_types_content_inline, as: 'entityTypesContentInline'
3682
+ property :entity_types_uri, as: 'entityTypesUri'
3683
+ property :language_code, as: 'languageCode'
3684
+ end
3685
+ end
3686
+
3687
+ class GoogleCloudDialogflowCxV3ExportEntityTypesResponse
3688
+ # @private
3689
+ class Representation < Google::Apis::Core::JsonRepresentation
3690
+ property :entity_types_content, as: 'entityTypesContent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineDestination, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineDestination::Representation
3691
+
3692
+ property :entity_types_uri, as: 'entityTypesUri'
3693
+ end
3694
+ end
3695
+
3598
3696
  class GoogleCloudDialogflowCxV3ExportFlowRequest
3599
3697
  # @private
3600
3698
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3909,6 +4007,40 @@ module Google
3909
4007
  end
3910
4008
  end
3911
4009
 
4010
+ class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
4011
+ # @private
4012
+ class Representation < Google::Apis::Core::JsonRepresentation
4013
+ end
4014
+ end
4015
+
4016
+ class GoogleCloudDialogflowCxV3ImportEntityTypesRequest
4017
+ # @private
4018
+ class Representation < Google::Apis::Core::JsonRepresentation
4019
+ property :entity_types_content, as: 'entityTypesContent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource::Representation
4020
+
4021
+ property :entity_types_uri, as: 'entityTypesUri'
4022
+ property :merge_option, as: 'mergeOption'
4023
+ property :target_entity_type, as: 'targetEntityType'
4024
+ end
4025
+ end
4026
+
4027
+ class GoogleCloudDialogflowCxV3ImportEntityTypesResponse
4028
+ # @private
4029
+ class Representation < Google::Apis::Core::JsonRepresentation
4030
+ property :conflicting_resources, as: 'conflictingResources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources::Representation
4031
+
4032
+ collection :entity_types, as: 'entityTypes'
4033
+ end
4034
+ end
4035
+
4036
+ class GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources
4037
+ # @private
4038
+ class Representation < Google::Apis::Core::JsonRepresentation
4039
+ collection :entity_display_names, as: 'entityDisplayNames'
4040
+ collection :entity_type_display_names, as: 'entityTypeDisplayNames'
4041
+ end
4042
+ end
4043
+
3912
4044
  class GoogleCloudDialogflowCxV3ImportFlowRequest
3913
4045
  # @private
3914
4046
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5432,6 +5564,21 @@ module Google
5432
5564
  end
5433
5565
  end
5434
5566
 
5567
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata
5568
+ # @private
5569
+ class Representation < Google::Apis::Core::JsonRepresentation
5570
+ end
5571
+ end
5572
+
5573
+ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse
5574
+ # @private
5575
+ class Representation < Google::Apis::Core::JsonRepresentation
5576
+ property :entity_types_content, as: 'entityTypesContent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InlineDestination, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InlineDestination::Representation
5577
+
5578
+ property :entity_types_uri, as: 'entityTypesUri'
5579
+ end
5580
+ end
5581
+
5435
5582
  class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
5436
5583
  # @private
5437
5584
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5586,6 +5733,29 @@ module Google
5586
5733
  end
5587
5734
  end
5588
5735
 
5736
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
5737
+ # @private
5738
+ class Representation < Google::Apis::Core::JsonRepresentation
5739
+ end
5740
+ end
5741
+
5742
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse
5743
+ # @private
5744
+ class Representation < Google::Apis::Core::JsonRepresentation
5745
+ property :conflicting_resources, as: 'conflictingResources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources::Representation
5746
+
5747
+ collection :entity_types, as: 'entityTypes'
5748
+ end
5749
+ end
5750
+
5751
+ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources
5752
+ # @private
5753
+ class Representation < Google::Apis::Core::JsonRepresentation
5754
+ collection :entity_display_names, as: 'entityDisplayNames'
5755
+ collection :entity_type_display_names, as: 'entityTypeDisplayNames'
5756
+ end
5757
+ end
5758
+
5589
5759
  class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
5590
5760
  # @private
5591
5761
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -687,6 +687,40 @@ module Google
687
687
  execute_or_queue_command(command, &block)
688
688
  end
689
689
 
690
+ # Exports the selected entity types.
691
+ # @param [String] parent
692
+ # Required. The name of the parent agent to export entity types. Format: `
693
+ # projects//locations//agents/`.
694
+ # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportEntityTypesRequest] google_cloud_dialogflow_cx_v3_export_entity_types_request_object
695
+ # @param [String] fields
696
+ # Selector specifying which fields to include in a partial response.
697
+ # @param [String] quota_user
698
+ # Available to use for quota purposes for server-side applications. Can be any
699
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
700
+ # @param [Google::Apis::RequestOptions] options
701
+ # Request-specific options
702
+ #
703
+ # @yield [result, err] Result & error if block supplied
704
+ # @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object
705
+ # @yieldparam err [StandardError] error object if request failed
706
+ #
707
+ # @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation]
708
+ #
709
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
710
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
711
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
712
+ def export_project_location_agent_entity_type(parent, google_cloud_dialogflow_cx_v3_export_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
713
+ command = make_simple_command(:post, 'v3/{+parent}/entityTypes:export', options)
714
+ command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportEntityTypesRequest::Representation
715
+ command.request_object = google_cloud_dialogflow_cx_v3_export_entity_types_request_object
716
+ command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
717
+ command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
718
+ command.params['parent'] = parent unless parent.nil?
719
+ command.query['fields'] = fields unless fields.nil?
720
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
721
+ execute_or_queue_command(command, &block)
722
+ end
723
+
690
724
  # Retrieves the specified entity type.
691
725
  # @param [String] name
692
726
  # Required. The name of the entity type. Format: `projects//locations//agents//
@@ -726,6 +760,40 @@ module Google
726
760
  execute_or_queue_command(command, &block)
727
761
  end
728
762
 
763
+ # Imports the specified entitytypes into the agent.
764
+ # @param [String] parent
765
+ # Required. The agent to import the entity types into. Format: `projects//
766
+ # locations//agents/`.
767
+ # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportEntityTypesRequest] google_cloud_dialogflow_cx_v3_import_entity_types_request_object
768
+ # @param [String] fields
769
+ # Selector specifying which fields to include in a partial response.
770
+ # @param [String] quota_user
771
+ # Available to use for quota purposes for server-side applications. Can be any
772
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
773
+ # @param [Google::Apis::RequestOptions] options
774
+ # Request-specific options
775
+ #
776
+ # @yield [result, err] Result & error if block supplied
777
+ # @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object
778
+ # @yieldparam err [StandardError] error object if request failed
779
+ #
780
+ # @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation]
781
+ #
782
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
783
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
784
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
785
+ def import_project_location_agent_entity_type(parent, google_cloud_dialogflow_cx_v3_import_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
786
+ command = make_simple_command(:post, 'v3/{+parent}/entityTypes:import', options)
787
+ command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportEntityTypesRequest::Representation
788
+ command.request_object = google_cloud_dialogflow_cx_v3_import_entity_types_request_object
789
+ command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
790
+ command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
791
+ command.params['parent'] = parent unless parent.nil?
792
+ command.query['fields'] = fields unless fields.nil?
793
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
794
+ execute_or_queue_command(command, &block)
795
+ end
796
+
729
797
  # Returns the list of all entity types in the specified agent.
730
798
  # @param [String] parent
731
799
  # 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_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.78.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-28 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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.78.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.79.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
63
63
  post_install_message:
64
64
  rdoc_options: []