google-apis-dialogflow_v3beta1 0.68.0 → 0.70.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d771f430277184598499614c840e7006c10e98c24bd2d6f2e85accb8280db30
4
- data.tar.gz: df1ee47f1bbb432aa38565d35d0b3b8c8680e072eeba01f10a684f5d26227201
3
+ metadata.gz: b462c76566721eee6f12bc7d280cd473bdc0472773813c27591a614b53d9142b
4
+ data.tar.gz: f1b5a9aa764fc38e0af00b7fc26740f189bab67e7ec4439da3ad6d5ef7256d50
5
5
  SHA512:
6
- metadata.gz: 551105e0d6b80cc33c79d0ff9ec3f565f382869b81c951a2bb8284832a6bcdb2a412bb482405d91b5c587c3faffe9559895df44127c0a585e133b72a67e14d19
7
- data.tar.gz: 9f4652e9f01ab89777094942975c34de700d7347d704f291fc9677370b0e5d0996a287d11caaf2890533475be41f0219c0d14cf726d8683a4eb2eef78b74760f
6
+ metadata.gz: b57b4c57b5dae9e9a5dd4624020c123db49a8c983cd204eeb0c00a4f80b3caaedf1ae1c680c6026b9be9a4aaaff76793e1ec11c0dc09c33d25b6bd69e1c74f5e
7
+ data.tar.gz: 15ac44204f97af8d164ccd7d7ed5086d933bad1e79e0bef38a5041485fd172bca01592b6f56a0b9996d8be68aeeb5daa9f5509a9b5d4a1210c126dae46abc584
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.70.0 (2023-10-22)
4
+
5
+ * Regenerated from discovery document revision 20231011
6
+
7
+ ### v0.69.0 (2023-09-24)
8
+
9
+ * Regenerated from discovery document revision 20230919
10
+
3
11
  ### v0.68.0 (2023-09-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20230906
@@ -841,6 +841,46 @@ module Google
841
841
  end
842
842
  end
843
843
 
844
+ # Metadata returned for the Intents.ExportIntents long running operation.
845
+ class GoogleCloudDialogflowCxV3ExportIntentsMetadata
846
+ include Google::Apis::Core::Hashable
847
+
848
+ def initialize(**args)
849
+ update!(**args)
850
+ end
851
+
852
+ # Update properties of this object
853
+ def update!(**args)
854
+ end
855
+ end
856
+
857
+ # The response message for Intents.ExportIntents.
858
+ class GoogleCloudDialogflowCxV3ExportIntentsResponse
859
+ include Google::Apis::Core::Hashable
860
+
861
+ # Inline destination for a Dialogflow operation that writes or exports objects (
862
+ # e.g. intents) outside of Dialogflow.
863
+ # Corresponds to the JSON property `intentsContent`
864
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3InlineDestination]
865
+ attr_accessor :intents_content
866
+
867
+ # The URI to a file containing the exported intents. This field is populated
868
+ # only if `intents_uri` is specified in ExportIntentsRequest.
869
+ # Corresponds to the JSON property `intentsUri`
870
+ # @return [String]
871
+ attr_accessor :intents_uri
872
+
873
+ def initialize(**args)
874
+ update!(**args)
875
+ end
876
+
877
+ # Update properties of this object
878
+ def update!(**args)
879
+ @intents_content = args[:intents_content] if args.key?(:intents_content)
880
+ @intents_uri = args[:intents_uri] if args.key?(:intents_uri)
881
+ end
882
+ end
883
+
844
884
  # Metadata returned for the TestCases.ExportTestCases long running operation.
845
885
  # This message currently has no fields.
846
886
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
@@ -1334,6 +1374,74 @@ module Google
1334
1374
  end
1335
1375
  end
1336
1376
 
1377
+ # Metadata returned for the Intents.ImportIntents long running operation.
1378
+ class GoogleCloudDialogflowCxV3ImportIntentsMetadata
1379
+ include Google::Apis::Core::Hashable
1380
+
1381
+ def initialize(**args)
1382
+ update!(**args)
1383
+ end
1384
+
1385
+ # Update properties of this object
1386
+ def update!(**args)
1387
+ end
1388
+ end
1389
+
1390
+ # The response message for Intents.ImportIntents.
1391
+ class GoogleCloudDialogflowCxV3ImportIntentsResponse
1392
+ include Google::Apis::Core::Hashable
1393
+
1394
+ # Conflicting resources detected during the import process. Only filled when
1395
+ # REPORT_CONFLICT is set in the request and there are conflicts in the display
1396
+ # names.
1397
+ # Corresponds to the JSON property `conflictingResources`
1398
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources]
1399
+ attr_accessor :conflicting_resources
1400
+
1401
+ # The unique identifier of the imported intents. Format: `projects//locations//
1402
+ # agents//intents/`.
1403
+ # Corresponds to the JSON property `intents`
1404
+ # @return [Array<String>]
1405
+ attr_accessor :intents
1406
+
1407
+ def initialize(**args)
1408
+ update!(**args)
1409
+ end
1410
+
1411
+ # Update properties of this object
1412
+ def update!(**args)
1413
+ @conflicting_resources = args[:conflicting_resources] if args.key?(:conflicting_resources)
1414
+ @intents = args[:intents] if args.key?(:intents)
1415
+ end
1416
+ end
1417
+
1418
+ # Conflicting resources detected during the import process. Only filled when
1419
+ # REPORT_CONFLICT is set in the request and there are conflicts in the display
1420
+ # names.
1421
+ class GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources
1422
+ include Google::Apis::Core::Hashable
1423
+
1424
+ # Display names of conflicting entities.
1425
+ # Corresponds to the JSON property `entityDisplayNames`
1426
+ # @return [Array<String>]
1427
+ attr_accessor :entity_display_names
1428
+
1429
+ # Display names of conflicting intents.
1430
+ # Corresponds to the JSON property `intentDisplayNames`
1431
+ # @return [Array<String>]
1432
+ attr_accessor :intent_display_names
1433
+
1434
+ def initialize(**args)
1435
+ update!(**args)
1436
+ end
1437
+
1438
+ # Update properties of this object
1439
+ def update!(**args)
1440
+ @entity_display_names = args[:entity_display_names] if args.key?(:entity_display_names)
1441
+ @intent_display_names = args[:intent_display_names] if args.key?(:intent_display_names)
1442
+ end
1443
+ end
1444
+
1337
1445
  # Metadata returned for the TestCases.ImportTestCases long running operation.
1338
1446
  class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
1339
1447
  include Google::Apis::Core::Hashable
@@ -1373,6 +1481,28 @@ module Google
1373
1481
  end
1374
1482
  end
1375
1483
 
1484
+ # Inline destination for a Dialogflow operation that writes or exports objects (
1485
+ # e.g. intents) outside of Dialogflow.
1486
+ class GoogleCloudDialogflowCxV3InlineDestination
1487
+ include Google::Apis::Core::Hashable
1488
+
1489
+ # Output only. The uncompressed byte content for the objects. Only populated in
1490
+ # responses.
1491
+ # Corresponds to the JSON property `content`
1492
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1493
+ # @return [String]
1494
+ attr_accessor :content
1495
+
1496
+ def initialize(**args)
1497
+ update!(**args)
1498
+ end
1499
+
1500
+ # Update properties of this object
1501
+ def update!(**args)
1502
+ @content = args[:content] if args.key?(:content)
1503
+ end
1504
+ end
1505
+
1376
1506
  # Instructs the speech recognizer on how to process the audio content.
1377
1507
  class GoogleCloudDialogflowCxV3InputAudioConfig
1378
1508
  include Google::Apis::Core::Hashable
@@ -5415,6 +5545,91 @@ module Google
5415
5545
  end
5416
5546
  end
5417
5547
 
5548
+ # Metadata returned for the Intents.ExportIntents long running operation.
5549
+ class GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata
5550
+ include Google::Apis::Core::Hashable
5551
+
5552
+ def initialize(**args)
5553
+ update!(**args)
5554
+ end
5555
+
5556
+ # Update properties of this object
5557
+ def update!(**args)
5558
+ end
5559
+ end
5560
+
5561
+ # The request message for Intents.ExportIntents.
5562
+ class GoogleCloudDialogflowCxV3beta1ExportIntentsRequest
5563
+ include Google::Apis::Core::Hashable
5564
+
5565
+ # Optional. The data format of the exported intents. If not specified, `BLOB` is
5566
+ # assumed.
5567
+ # Corresponds to the JSON property `dataFormat`
5568
+ # @return [String]
5569
+ attr_accessor :data_format
5570
+
5571
+ # Required. The name of the intents to export. Format: `projects//locations//
5572
+ # agents//intents/`.
5573
+ # Corresponds to the JSON property `intents`
5574
+ # @return [Array<String>]
5575
+ attr_accessor :intents
5576
+
5577
+ # Optional. The option to return the serialized intents inline.
5578
+ # Corresponds to the JSON property `intentsContentInline`
5579
+ # @return [Boolean]
5580
+ attr_accessor :intents_content_inline
5581
+ alias_method :intents_content_inline?, :intents_content_inline
5582
+
5583
+ # Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
5584
+ # URI to export the intents to. The format of this URI must be `gs:///`.
5585
+ # Dialogflow performs a write operation for the Cloud Storage object on the
5586
+ # caller's behalf, so your request authentication must have write permissions
5587
+ # for the object. For more information, see [Dialogflow access control](https://
5588
+ # cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
5589
+ # Corresponds to the JSON property `intentsUri`
5590
+ # @return [String]
5591
+ attr_accessor :intents_uri
5592
+
5593
+ def initialize(**args)
5594
+ update!(**args)
5595
+ end
5596
+
5597
+ # Update properties of this object
5598
+ def update!(**args)
5599
+ @data_format = args[:data_format] if args.key?(:data_format)
5600
+ @intents = args[:intents] if args.key?(:intents)
5601
+ @intents_content_inline = args[:intents_content_inline] if args.key?(:intents_content_inline)
5602
+ @intents_uri = args[:intents_uri] if args.key?(:intents_uri)
5603
+ end
5604
+ end
5605
+
5606
+ # The response message for Intents.ExportIntents.
5607
+ class GoogleCloudDialogflowCxV3beta1ExportIntentsResponse
5608
+ include Google::Apis::Core::Hashable
5609
+
5610
+ # Inline destination for a Dialogflow operation that writes or exports objects (
5611
+ # e.g. intents) outside of Dialogflow.
5612
+ # Corresponds to the JSON property `intentsContent`
5613
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineDestination]
5614
+ attr_accessor :intents_content
5615
+
5616
+ # The URI to a file containing the exported intents. This field is populated
5617
+ # only if `intents_uri` is specified in ExportIntentsRequest.
5618
+ # Corresponds to the JSON property `intentsUri`
5619
+ # @return [String]
5620
+ attr_accessor :intents_uri
5621
+
5622
+ def initialize(**args)
5623
+ update!(**args)
5624
+ end
5625
+
5626
+ # Update properties of this object
5627
+ def update!(**args)
5628
+ @intents_content = args[:intents_content] if args.key?(:intents_content)
5629
+ @intents_uri = args[:intents_uri] if args.key?(:intents_uri)
5630
+ end
5631
+ end
5632
+
5418
5633
  # Metadata returned for the TestCases.ExportTestCases long running operation.
5419
5634
  # This message currently has no fields.
5420
5635
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
@@ -6385,6 +6600,111 @@ module Google
6385
6600
  end
6386
6601
  end
6387
6602
 
6603
+ # Metadata returned for the Intents.ImportIntents long running operation.
6604
+ class GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata
6605
+ include Google::Apis::Core::Hashable
6606
+
6607
+ def initialize(**args)
6608
+ update!(**args)
6609
+ end
6610
+
6611
+ # Update properties of this object
6612
+ def update!(**args)
6613
+ end
6614
+ end
6615
+
6616
+ # The request message for Intents.ImportIntents.
6617
+ class GoogleCloudDialogflowCxV3beta1ImportIntentsRequest
6618
+ include Google::Apis::Core::Hashable
6619
+
6620
+ # Inline source for a Dialogflow operation that reads or imports objects (e.g.
6621
+ # intents) into Dialogflow.
6622
+ # Corresponds to the JSON property `intentsContent`
6623
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource]
6624
+ attr_accessor :intents_content
6625
+
6626
+ # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
6627
+ # import intents from. The format of this URI must be `gs:///`. Dialogflow
6628
+ # performs a read operation for the Cloud Storage object on the caller's behalf,
6629
+ # so your request authentication must have read permissions for the object. For
6630
+ # more information, see [Dialogflow access control](https://cloud.google.com/
6631
+ # dialogflow/cx/docs/concept/access-control#storage).
6632
+ # Corresponds to the JSON property `intentsUri`
6633
+ # @return [String]
6634
+ attr_accessor :intents_uri
6635
+
6636
+ # Merge option for importing intents. If not specified, `REJECT` is assumed.
6637
+ # Corresponds to the JSON property `mergeOption`
6638
+ # @return [String]
6639
+ attr_accessor :merge_option
6640
+
6641
+ def initialize(**args)
6642
+ update!(**args)
6643
+ end
6644
+
6645
+ # Update properties of this object
6646
+ def update!(**args)
6647
+ @intents_content = args[:intents_content] if args.key?(:intents_content)
6648
+ @intents_uri = args[:intents_uri] if args.key?(:intents_uri)
6649
+ @merge_option = args[:merge_option] if args.key?(:merge_option)
6650
+ end
6651
+ end
6652
+
6653
+ # The response message for Intents.ImportIntents.
6654
+ class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse
6655
+ include Google::Apis::Core::Hashable
6656
+
6657
+ # Conflicting resources detected during the import process. Only filled when
6658
+ # REPORT_CONFLICT is set in the request and there are conflicts in the display
6659
+ # names.
6660
+ # Corresponds to the JSON property `conflictingResources`
6661
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources]
6662
+ attr_accessor :conflicting_resources
6663
+
6664
+ # The unique identifier of the imported intents. Format: `projects//locations//
6665
+ # agents//intents/`.
6666
+ # Corresponds to the JSON property `intents`
6667
+ # @return [Array<String>]
6668
+ attr_accessor :intents
6669
+
6670
+ def initialize(**args)
6671
+ update!(**args)
6672
+ end
6673
+
6674
+ # Update properties of this object
6675
+ def update!(**args)
6676
+ @conflicting_resources = args[:conflicting_resources] if args.key?(:conflicting_resources)
6677
+ @intents = args[:intents] if args.key?(:intents)
6678
+ end
6679
+ end
6680
+
6681
+ # Conflicting resources detected during the import process. Only filled when
6682
+ # REPORT_CONFLICT is set in the request and there are conflicts in the display
6683
+ # names.
6684
+ class GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources
6685
+ include Google::Apis::Core::Hashable
6686
+
6687
+ # Display names of conflicting entities.
6688
+ # Corresponds to the JSON property `entityDisplayNames`
6689
+ # @return [Array<String>]
6690
+ attr_accessor :entity_display_names
6691
+
6692
+ # Display names of conflicting intents.
6693
+ # Corresponds to the JSON property `intentDisplayNames`
6694
+ # @return [Array<String>]
6695
+ attr_accessor :intent_display_names
6696
+
6697
+ def initialize(**args)
6698
+ update!(**args)
6699
+ end
6700
+
6701
+ # Update properties of this object
6702
+ def update!(**args)
6703
+ @entity_display_names = args[:entity_display_names] if args.key?(:entity_display_names)
6704
+ @intent_display_names = args[:intent_display_names] if args.key?(:intent_display_names)
6705
+ end
6706
+ end
6707
+
6388
6708
  # Metadata returned for the TestCases.ImportTestCases long running operation.
6389
6709
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
6390
6710
  include Google::Apis::Core::Hashable
@@ -6455,6 +6775,49 @@ module Google
6455
6775
  end
6456
6776
  end
6457
6777
 
6778
+ # Inline destination for a Dialogflow operation that writes or exports objects (
6779
+ # e.g. intents) outside of Dialogflow.
6780
+ class GoogleCloudDialogflowCxV3beta1InlineDestination
6781
+ include Google::Apis::Core::Hashable
6782
+
6783
+ # Output only. The uncompressed byte content for the objects. Only populated in
6784
+ # responses.
6785
+ # Corresponds to the JSON property `content`
6786
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
6787
+ # @return [String]
6788
+ attr_accessor :content
6789
+
6790
+ def initialize(**args)
6791
+ update!(**args)
6792
+ end
6793
+
6794
+ # Update properties of this object
6795
+ def update!(**args)
6796
+ @content = args[:content] if args.key?(:content)
6797
+ end
6798
+ end
6799
+
6800
+ # Inline source for a Dialogflow operation that reads or imports objects (e.g.
6801
+ # intents) into Dialogflow.
6802
+ class GoogleCloudDialogflowCxV3beta1InlineSource
6803
+ include Google::Apis::Core::Hashable
6804
+
6805
+ # The uncompressed byte content for the objects.
6806
+ # Corresponds to the JSON property `content`
6807
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
6808
+ # @return [String]
6809
+ attr_accessor :content
6810
+
6811
+ def initialize(**args)
6812
+ update!(**args)
6813
+ end
6814
+
6815
+ # Update properties of this object
6816
+ def update!(**args)
6817
+ @content = args[:content] if args.key?(:content)
6818
+ end
6819
+ end
6820
+
6458
6821
  # Instructs the speech recognizer on how to process the audio content.
6459
6822
  class GoogleCloudDialogflowCxV3beta1InputAudioConfig
6460
6823
  include Google::Apis::Core::Hashable
@@ -7929,6 +8292,16 @@ module Google
7929
8292
  attr_accessor :disable_webhook
7930
8293
  alias_method :disable_webhook?, :disable_webhook
7931
8294
 
8295
+ # Optional. Information about the end-user to improve the relevance and accuracy
8296
+ # of generative answers. This will be interpreted and used by a language model,
8297
+ # so, for good results, the data should be self-descriptive, and in a simple
8298
+ # structure. Example: ```json ` "subscription plan": "Business Premium Plus", "
8299
+ # devices owned": [ `"model": "Google Pixel 7"`, `"model": "Google Pixel Tablet"`
8300
+ # ] ` ```
8301
+ # Corresponds to the JSON property `endUserMetadata`
8302
+ # @return [Hash<String,Object>]
8303
+ attr_accessor :end_user_metadata
8304
+
7932
8305
  # A list of flow versions to override for the request. Format: `projects//
7933
8306
  # locations//agents//flows//versions/`. If version 1 of flow X is included in
7934
8307
  # this list, the traffic of flow X will go through version 1 regardless of the
@@ -8014,6 +8387,7 @@ module Google
8014
8387
  @channel = args[:channel] if args.key?(:channel)
8015
8388
  @current_page = args[:current_page] if args.key?(:current_page)
8016
8389
  @disable_webhook = args[:disable_webhook] if args.key?(:disable_webhook)
8390
+ @end_user_metadata = args[:end_user_metadata] if args.key?(:end_user_metadata)
8017
8391
  @flow_versions = args[:flow_versions] if args.key?(:flow_versions)
8018
8392
  @geo_location = args[:geo_location] if args.key?(:geo_location)
8019
8393
  @parameters = args[:parameters] if args.key?(:parameters)
@@ -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.68.0"
19
+ GEM_VERSION = "0.70.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230906"
25
+ REVISION = "20231011"
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 GoogleCloudDialogflowCxV3ExportIntentsMetadata
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleCloudDialogflowCxV3ExportIntentsResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -268,6 +280,24 @@ module Google
268
280
  include Google::Apis::Core::JsonObjectSupport
269
281
  end
270
282
 
283
+ class GoogleCloudDialogflowCxV3ImportIntentsMetadata
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleCloudDialogflowCxV3ImportIntentsResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
271
301
  class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
272
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
303
 
@@ -280,6 +310,12 @@ module Google
280
310
  include Google::Apis::Core::JsonObjectSupport
281
311
  end
282
312
 
313
+ class GoogleCloudDialogflowCxV3InlineDestination
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
283
319
  class GoogleCloudDialogflowCxV3InputAudioConfig
284
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
321
 
@@ -898,6 +934,24 @@ module Google
898
934
  include Google::Apis::Core::JsonObjectSupport
899
935
  end
900
936
 
937
+ class GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
943
+ class GoogleCloudDialogflowCxV3beta1ExportIntentsRequest
944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
945
+
946
+ include Google::Apis::Core::JsonObjectSupport
947
+ end
948
+
949
+ class GoogleCloudDialogflowCxV3beta1ExportIntentsResponse
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
901
955
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
902
956
  class Representation < Google::Apis::Core::JsonRepresentation; end
903
957
 
@@ -1054,6 +1108,30 @@ module Google
1054
1108
  include Google::Apis::Core::JsonObjectSupport
1055
1109
  end
1056
1110
 
1111
+ class GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata
1112
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1113
+
1114
+ include Google::Apis::Core::JsonObjectSupport
1115
+ end
1116
+
1117
+ class GoogleCloudDialogflowCxV3beta1ImportIntentsRequest
1118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1119
+
1120
+ include Google::Apis::Core::JsonObjectSupport
1121
+ end
1122
+
1123
+ class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse
1124
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1125
+
1126
+ include Google::Apis::Core::JsonObjectSupport
1127
+ end
1128
+
1129
+ class GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources
1130
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1131
+
1132
+ include Google::Apis::Core::JsonObjectSupport
1133
+ end
1134
+
1057
1135
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
1058
1136
  class Representation < Google::Apis::Core::JsonRepresentation; end
1059
1137
 
@@ -1072,6 +1150,18 @@ module Google
1072
1150
  include Google::Apis::Core::JsonObjectSupport
1073
1151
  end
1074
1152
 
1153
+ class GoogleCloudDialogflowCxV3beta1InlineDestination
1154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1155
+
1156
+ include Google::Apis::Core::JsonObjectSupport
1157
+ end
1158
+
1159
+ class GoogleCloudDialogflowCxV3beta1InlineSource
1160
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1161
+
1162
+ include Google::Apis::Core::JsonObjectSupport
1163
+ end
1164
+
1075
1165
  class GoogleCloudDialogflowCxV3beta1InputAudioConfig
1076
1166
  class Representation < Google::Apis::Core::JsonRepresentation; end
1077
1167
 
@@ -3061,6 +3151,21 @@ module Google
3061
3151
  end
3062
3152
  end
3063
3153
 
3154
+ class GoogleCloudDialogflowCxV3ExportIntentsMetadata
3155
+ # @private
3156
+ class Representation < Google::Apis::Core::JsonRepresentation
3157
+ end
3158
+ end
3159
+
3160
+ class GoogleCloudDialogflowCxV3ExportIntentsResponse
3161
+ # @private
3162
+ class Representation < Google::Apis::Core::JsonRepresentation
3163
+ property :intents_content, as: 'intentsContent', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3InlineDestination, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3InlineDestination::Representation
3164
+
3165
+ property :intents_uri, as: 'intentsUri'
3166
+ end
3167
+ end
3168
+
3064
3169
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
3065
3170
  # @private
3066
3171
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3199,6 +3304,29 @@ module Google
3199
3304
  end
3200
3305
  end
3201
3306
 
3307
+ class GoogleCloudDialogflowCxV3ImportIntentsMetadata
3308
+ # @private
3309
+ class Representation < Google::Apis::Core::JsonRepresentation
3310
+ end
3311
+ end
3312
+
3313
+ class GoogleCloudDialogflowCxV3ImportIntentsResponse
3314
+ # @private
3315
+ class Representation < Google::Apis::Core::JsonRepresentation
3316
+ property :conflicting_resources, as: 'conflictingResources', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources::Representation
3317
+
3318
+ collection :intents, as: 'intents'
3319
+ end
3320
+ end
3321
+
3322
+ class GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources
3323
+ # @private
3324
+ class Representation < Google::Apis::Core::JsonRepresentation
3325
+ collection :entity_display_names, as: 'entityDisplayNames'
3326
+ collection :intent_display_names, as: 'intentDisplayNames'
3327
+ end
3328
+ end
3329
+
3202
3330
  class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
3203
3331
  # @private
3204
3332
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3214,6 +3342,13 @@ module Google
3214
3342
  end
3215
3343
  end
3216
3344
 
3345
+ class GoogleCloudDialogflowCxV3InlineDestination
3346
+ # @private
3347
+ class Representation < Google::Apis::Core::JsonRepresentation
3348
+ property :content, :base64 => true, as: 'content'
3349
+ end
3350
+ end
3351
+
3217
3352
  class GoogleCloudDialogflowCxV3InputAudioConfig
3218
3353
  # @private
3219
3354
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4292,6 +4427,31 @@ module Google
4292
4427
  end
4293
4428
  end
4294
4429
 
4430
+ class GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata
4431
+ # @private
4432
+ class Representation < Google::Apis::Core::JsonRepresentation
4433
+ end
4434
+ end
4435
+
4436
+ class GoogleCloudDialogflowCxV3beta1ExportIntentsRequest
4437
+ # @private
4438
+ class Representation < Google::Apis::Core::JsonRepresentation
4439
+ property :data_format, as: 'dataFormat'
4440
+ collection :intents, as: 'intents'
4441
+ property :intents_content_inline, as: 'intentsContentInline'
4442
+ property :intents_uri, as: 'intentsUri'
4443
+ end
4444
+ end
4445
+
4446
+ class GoogleCloudDialogflowCxV3beta1ExportIntentsResponse
4447
+ # @private
4448
+ class Representation < Google::Apis::Core::JsonRepresentation
4449
+ property :intents_content, as: 'intentsContent', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineDestination, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineDestination::Representation
4450
+
4451
+ property :intents_uri, as: 'intentsUri'
4452
+ end
4453
+ end
4454
+
4295
4455
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
4296
4456
  # @private
4297
4457
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4554,6 +4714,39 @@ module Google
4554
4714
  end
4555
4715
  end
4556
4716
 
4717
+ class GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata
4718
+ # @private
4719
+ class Representation < Google::Apis::Core::JsonRepresentation
4720
+ end
4721
+ end
4722
+
4723
+ class GoogleCloudDialogflowCxV3beta1ImportIntentsRequest
4724
+ # @private
4725
+ class Representation < Google::Apis::Core::JsonRepresentation
4726
+ property :intents_content, as: 'intentsContent', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource::Representation
4727
+
4728
+ property :intents_uri, as: 'intentsUri'
4729
+ property :merge_option, as: 'mergeOption'
4730
+ end
4731
+ end
4732
+
4733
+ class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse
4734
+ # @private
4735
+ class Representation < Google::Apis::Core::JsonRepresentation
4736
+ property :conflicting_resources, as: 'conflictingResources', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources::Representation
4737
+
4738
+ collection :intents, as: 'intents'
4739
+ end
4740
+ end
4741
+
4742
+ class GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources
4743
+ # @private
4744
+ class Representation < Google::Apis::Core::JsonRepresentation
4745
+ collection :entity_display_names, as: 'entityDisplayNames'
4746
+ collection :intent_display_names, as: 'intentDisplayNames'
4747
+ end
4748
+ end
4749
+
4557
4750
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
4558
4751
  # @private
4559
4752
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4577,6 +4770,20 @@ module Google
4577
4770
  end
4578
4771
  end
4579
4772
 
4773
+ class GoogleCloudDialogflowCxV3beta1InlineDestination
4774
+ # @private
4775
+ class Representation < Google::Apis::Core::JsonRepresentation
4776
+ property :content, :base64 => true, as: 'content'
4777
+ end
4778
+ end
4779
+
4780
+ class GoogleCloudDialogflowCxV3beta1InlineSource
4781
+ # @private
4782
+ class Representation < Google::Apis::Core::JsonRepresentation
4783
+ property :content, :base64 => true, as: 'content'
4784
+ end
4785
+ end
4786
+
4580
4787
  class GoogleCloudDialogflowCxV3beta1InputAudioConfig
4581
4788
  # @private
4582
4789
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4971,6 +5178,7 @@ module Google
4971
5178
  property :channel, as: 'channel'
4972
5179
  property :current_page, as: 'currentPage'
4973
5180
  property :disable_webhook, as: 'disableWebhook'
5181
+ hash :end_user_metadata, as: 'endUserMetadata'
4974
5182
  collection :flow_versions, as: 'flowVersions'
4975
5183
  property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng::Representation
4976
5184
 
@@ -2967,6 +2967,43 @@ module Google
2967
2967
  execute_or_queue_command(command, &block)
2968
2968
  end
2969
2969
 
2970
+ # Exports the selected intents. This method is a [long-running operation](https:/
2971
+ # /cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned
2972
+ # `Operation` type has the following method-specific fields: - `metadata`:
2973
+ # ExportIntentsMetadata - `response`: ExportIntentsResponse
2974
+ # @param [String] parent
2975
+ # Required. The name of the parent agent to export intents. Format: `projects//
2976
+ # locations//agents/`.
2977
+ # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportIntentsRequest] google_cloud_dialogflow_cx_v3beta1_export_intents_request_object
2978
+ # @param [String] fields
2979
+ # Selector specifying which fields to include in a partial response.
2980
+ # @param [String] quota_user
2981
+ # Available to use for quota purposes for server-side applications. Can be any
2982
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2983
+ # @param [Google::Apis::RequestOptions] options
2984
+ # Request-specific options
2985
+ #
2986
+ # @yield [result, err] Result & error if block supplied
2987
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
2988
+ # @yieldparam err [StandardError] error object if request failed
2989
+ #
2990
+ # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
2991
+ #
2992
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2993
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2994
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2995
+ def export_project_location_agent_intent(parent, google_cloud_dialogflow_cx_v3beta1_export_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2996
+ command = make_simple_command(:post, 'v3beta1/{+parent}/intents:export', options)
2997
+ command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportIntentsRequest::Representation
2998
+ command.request_object = google_cloud_dialogflow_cx_v3beta1_export_intents_request_object
2999
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
3000
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
3001
+ command.params['parent'] = parent unless parent.nil?
3002
+ command.query['fields'] = fields unless fields.nil?
3003
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3004
+ execute_or_queue_command(command, &block)
3005
+ end
3006
+
2970
3007
  # Retrieves the specified intent.
2971
3008
  # @param [String] name
2972
3009
  # Required. The name of the intent. Format: `projects//locations//agents//
@@ -3005,6 +3042,44 @@ module Google
3005
3042
  execute_or_queue_command(command, &block)
3006
3043
  end
3007
3044
 
3045
+ # Imports the specified intents into the agent. This method is a [long-running
3046
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
3047
+ # operation). The returned `Operation` type has the following method-specific
3048
+ # fields: - `metadata`: ImportIntentsMetadata - `response`:
3049
+ # ImportIntentsResponse
3050
+ # @param [String] parent
3051
+ # Required. The agent to import the intents into. Format: `projects//locations//
3052
+ # agents/`.
3053
+ # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportIntentsRequest] google_cloud_dialogflow_cx_v3beta1_import_intents_request_object
3054
+ # @param [String] fields
3055
+ # Selector specifying which fields to include in a partial response.
3056
+ # @param [String] quota_user
3057
+ # Available to use for quota purposes for server-side applications. Can be any
3058
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3059
+ # @param [Google::Apis::RequestOptions] options
3060
+ # Request-specific options
3061
+ #
3062
+ # @yield [result, err] Result & error if block supplied
3063
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
3064
+ # @yieldparam err [StandardError] error object if request failed
3065
+ #
3066
+ # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
3067
+ #
3068
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3069
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3070
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3071
+ def import_project_location_agent_intent(parent, google_cloud_dialogflow_cx_v3beta1_import_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3072
+ command = make_simple_command(:post, 'v3beta1/{+parent}/intents:import', options)
3073
+ command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportIntentsRequest::Representation
3074
+ command.request_object = google_cloud_dialogflow_cx_v3beta1_import_intents_request_object
3075
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
3076
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
3077
+ command.params['parent'] = parent unless parent.nil?
3078
+ command.query['fields'] = fields unless fields.nil?
3079
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3080
+ execute_or_queue_command(command, &block)
3081
+ end
3082
+
3008
3083
  # Returns the list of all intents in the specified agent.
3009
3084
  # @param [String] parent
3010
3085
  # Required. The agent to list all intents 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.68.0
4
+ version: 0.70.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: 2023-09-10 00:00:00.000000000 Z
11
+ date: 2023-10-29 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.68.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.70.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: []