kaltura-client 16.2.0 → 16.4.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: d6ff0445a37009b280e81e6054031885e81e4cba51f30ca52c9cd025d18984fd
4
- data.tar.gz: b83dcfd11779334e38df112e91feb3dc02c148040f1331ad97045a8158687254
3
+ metadata.gz: b3ecc027bf2ab1e47a369193f1321d9f91b2de970a6811daf06c01618ec14ffb
4
+ data.tar.gz: 0e993fdde1919f5b4417ac1a1c68baa08a5e4fa68987a6589fea4fc1221dc879
5
5
  SHA512:
6
- metadata.gz: 6c6d9336f8911a3b8ced6b638fea25823474ef668651261885a6a994f8e1f3893a9cad73372f87896d1519f4e7fbe048c6b0a76e1fd5684d5ab5285d387d0955
7
- data.tar.gz: f88577186be57cb44fe4eeed8788b2ecd40c589cf77700984492b700fc5877a1d03ab61cbc835566ecc8fea5d21ef127d93984975e4163c5f438a1a05c2cbf00
6
+ metadata.gz: 604a4034540c8ff6fdda591e91ee2e19fac493943f88c0b98a471b08ad0230f35a25eddb79f4aa49053f8d81976fb9cac7d60e7d523342cc0bdb711140885ec5
7
+ data.tar.gz: e327c9811b6251ae97e9a76cf20ae12b5e1350b3a2dc9c2ffa887f5e6a5157e3435e6c5f9604f84e6724a8a066612a1876cfcd114af4dcdf589c19f51876260b
data/README CHANGED
@@ -1,5 +1,5 @@
1
1
  Kaltura Ruby API Client Library.
2
- Compatible with Kaltura server version 16.2.0 and above.
2
+ Compatible with Kaltura server version 16.4.0 and above.
3
3
 
4
4
  This source contains:
5
5
  - The Kaltura client library (kaltura_client_base.rb)
@@ -5765,6 +5765,18 @@ module Kaltura
5765
5765
  end
5766
5766
  return client.do_queue()
5767
5767
  end
5768
+
5769
+ # Validate hash key
5770
+ # @return [KalturaAuthentication]
5771
+ def validate_hash_key(hash_key)
5772
+ kparams = {}
5773
+ client.add_param(kparams, 'hashKey', hash_key)
5774
+ client.queue_service_action_call('user', 'validateHashKey', 'KalturaAuthentication', kparams)
5775
+ if (client.is_multirequest)
5776
+ return nil
5777
+ end
5778
+ return client.do_queue()
5779
+ end
5768
5780
  end
5769
5781
 
5770
5782
  # widget service for full widget management
@@ -6281,8 +6293,8 @@ module Kaltura
6281
6293
 
6282
6294
  def initialize(client)
6283
6295
  super(client)
6284
- self.client_tag = 'ruby:20-05-17'
6285
- self.api_version = '16.2.0'
6296
+ self.client_tag = 'ruby:20-06-15'
6297
+ self.api_version = '16.4.0'
6286
6298
  end
6287
6299
 
6288
6300
  def client_tag=(value)
@@ -1133,6 +1133,8 @@ module Kaltura
1133
1133
  LIVE_ENTRY_ARCHIVE = "51"
1134
1134
  STORAGE_UPDATE = "52"
1135
1135
  STORAGE_PERIODIC_EXPORT = "53"
1136
+ STORAGE_PERIODIC_PURGE = "54"
1137
+ STORAGE_PERIODIC_DELETE_LOCAL = "55"
1136
1138
  end
1137
1139
 
1138
1140
  class KalturaBulkUploadAction
@@ -58,6 +58,8 @@ module Kaltura
58
58
  attr_accessor :distributed_metadata
59
59
  # Key-value array where the keys are IDs of distributed caption assets in the source account and the values are the matching IDs in the target account
60
60
  attr_accessor :distributed_caption_assets
61
+ # Key-value array where the keys are IDs of distributed fileassets in the source account and the values are the matching IDs in the target account
62
+ attr_accessor :distributed_file_assets
61
63
  # Key-value array where the keys are IDs of distributed caption assets in the source account and the values are the matching IDs in the target account
62
64
  attr_accessor :distributed_attachment_assets
63
65
  # Key-value array where the keys are IDs of distributed cue points in the source account and the values are the matching IDs in the target account
@@ -82,6 +84,9 @@ module Kaltura
82
84
  if xml_element.elements['distributedCaptionAssets'] != nil
83
85
  self.distributed_caption_assets = xml_element.elements['distributedCaptionAssets'].text
84
86
  end
87
+ if xml_element.elements['distributedFileAssets'] != nil
88
+ self.distributed_file_assets = xml_element.elements['distributedFileAssets'].text
89
+ end
85
90
  if xml_element.elements['distributedAttachmentAssets'] != nil
86
91
  self.distributed_attachment_assets = xml_element.elements['distributedAttachmentAssets'].text
87
92
  end
@@ -86,6 +86,7 @@ module Kaltura
86
86
  attr_accessor :original_id
87
87
  attr_accessor :src_path
88
88
  attr_accessor :src_enc_key
89
+ attr_accessor :storage_class
89
90
 
90
91
  def id=(val)
91
92
  @id = val.to_i
@@ -222,6 +223,9 @@ module Kaltura
222
223
  if xml_element.elements['srcEncKey'] != nil
223
224
  self.src_enc_key = xml_element.elements['srcEncKey'].text
224
225
  end
226
+ if xml_element.elements['storageClass'] != nil
227
+ self.storage_class = xml_element.elements['storageClass'].text
228
+ end
225
229
  end
226
230
 
227
231
  end
@@ -717,30 +717,6 @@ module Kaltura
717
717
 
718
718
  end
719
719
 
720
- class KalturaAlignmentVendorTaskData < KalturaVendorTaskData
721
- # The id of the text transcript object the vendor should use while runing the alignment task
722
- attr_accessor :text_transcript_asset_id
723
- # Optional - The id of the json transcript object the vendor should update once alignment task processing is done
724
- attr_accessor :json_transcript_asset_id
725
- # Optional - The id of the caption asset object the vendor should update once alignment task processing is done
726
- attr_accessor :caption_asset_id
727
-
728
-
729
- def from_xml(xml_element)
730
- super
731
- if xml_element.elements['textTranscriptAssetId'] != nil
732
- self.text_transcript_asset_id = xml_element.elements['textTranscriptAssetId'].text
733
- end
734
- if xml_element.elements['jsonTranscriptAssetId'] != nil
735
- self.json_transcript_asset_id = xml_element.elements['jsonTranscriptAssetId'].text
736
- end
737
- if xml_element.elements['captionAssetId'] != nil
738
- self.caption_asset_id = xml_element.elements['captionAssetId'].text
739
- end
740
- end
741
-
742
- end
743
-
744
720
  class KalturaCatalogItemAdvancedFilter < KalturaSearchItem
745
721
  attr_accessor :service_type_equal
746
722
  attr_accessor :service_type_in
@@ -1019,6 +995,39 @@ module Kaltura
1019
995
 
1020
996
  end
1021
997
 
998
+ class KalturaVendorTaskDataCaptionAsset < KalturaVendorTaskData
999
+ # Optional - The id of the caption asset object
1000
+ attr_accessor :caption_asset_id
1001
+
1002
+
1003
+ def from_xml(xml_element)
1004
+ super
1005
+ if xml_element.elements['captionAssetId'] != nil
1006
+ self.caption_asset_id = xml_element.elements['captionAssetId'].text
1007
+ end
1008
+ end
1009
+
1010
+ end
1011
+
1012
+ class KalturaAlignmentVendorTaskData < KalturaVendorTaskDataCaptionAsset
1013
+ # The id of the text transcript object the vendor should use while runing the alignment task
1014
+ attr_accessor :text_transcript_asset_id
1015
+ # Optional - The id of the json transcript object the vendor should update once alignment task processing is done
1016
+ attr_accessor :json_transcript_asset_id
1017
+
1018
+
1019
+ def from_xml(xml_element)
1020
+ super
1021
+ if xml_element.elements['textTranscriptAssetId'] != nil
1022
+ self.text_transcript_asset_id = xml_element.elements['textTranscriptAssetId'].text
1023
+ end
1024
+ if xml_element.elements['jsonTranscriptAssetId'] != nil
1025
+ self.json_transcript_asset_id = xml_element.elements['jsonTranscriptAssetId'].text
1026
+ end
1027
+ end
1028
+
1029
+ end
1030
+
1022
1031
  class KalturaEntryVendorTaskBaseFilter < KalturaRelatedFilter
1023
1032
  attr_accessor :id_equal
1024
1033
  attr_accessor :id_in
@@ -1308,6 +1317,15 @@ module Kaltura
1308
1317
 
1309
1318
  end
1310
1319
 
1320
+ class KalturaTranslationVendorTaskData < KalturaVendorTaskDataCaptionAsset
1321
+
1322
+
1323
+ def from_xml(xml_element)
1324
+ super
1325
+ end
1326
+
1327
+ end
1328
+
1311
1329
  class KalturaVendorCatalogItemBaseFilter < KalturaRelatedFilter
1312
1330
  attr_accessor :id_equal
1313
1331
  attr_accessor :id_in
@@ -7494,6 +7494,7 @@ module Kaltura
7494
7494
 
7495
7495
  class KalturaBaseEntryFilter < KalturaBaseEntryBaseFilter
7496
7496
  attr_accessor :free_text
7497
+ attr_accessor :excluded_free_text_groups
7497
7498
  attr_accessor :is_root
7498
7499
  attr_accessor :categories_full_name_in
7499
7500
  # All entries within this categoy or in child categories
@@ -7510,6 +7511,9 @@ module Kaltura
7510
7511
  if xml_element.elements['freeText'] != nil
7511
7512
  self.free_text = xml_element.elements['freeText'].text
7512
7513
  end
7514
+ if xml_element.elements['excludedFreeTextGroups'] != nil
7515
+ self.excluded_free_text_groups = xml_element.elements['excludedFreeTextGroups'].text
7516
+ end
7513
7517
  if xml_element.elements['isRoot'] != nil
7514
7518
  self.is_root = xml_element.elements['isRoot'].text
7515
7519
  end
@@ -16737,7 +16741,11 @@ module Kaltura
16737
16741
  attr_accessor :custom_data
16738
16742
  attr_accessor :extra_dest_file_syncs
16739
16743
  attr_accessor :engine_message
16744
+ attr_accessor :user_cpu
16740
16745
 
16746
+ def user_cpu=(val)
16747
+ @user_cpu = val.to_i
16748
+ end
16741
16749
 
16742
16750
  def from_xml(xml_element)
16743
16751
  super
@@ -16768,6 +16776,9 @@ module Kaltura
16768
16776
  if xml_element.elements['engineMessage'] != nil
16769
16777
  self.engine_message = xml_element.elements['engineMessage'].text
16770
16778
  end
16779
+ if xml_element.elements['userCpu'] != nil
16780
+ self.user_cpu = xml_element.elements['userCpu'].text
16781
+ end
16771
16782
  end
16772
16783
 
16773
16784
  end
@@ -17933,6 +17944,8 @@ module Kaltura
17933
17944
  class KalturaStorageExportJobData < KalturaStorageJobData
17934
17945
  attr_accessor :force
17935
17946
  attr_accessor :create_link
17947
+ attr_accessor :asset_id
17948
+ attr_accessor :external_url
17936
17949
 
17937
17950
  def force=(val)
17938
17951
  @force = to_b(val)
@@ -17949,6 +17962,12 @@ module Kaltura
17949
17962
  if xml_element.elements['createLink'] != nil
17950
17963
  self.create_link = xml_element.elements['createLink'].text
17951
17964
  end
17965
+ if xml_element.elements['assetId'] != nil
17966
+ self.asset_id = xml_element.elements['assetId'].text
17967
+ end
17968
+ if xml_element.elements['externalUrl'] != nil
17969
+ self.external_url = xml_element.elements['externalUrl'].text
17970
+ end
17952
17971
  end
17953
17972
 
17954
17973
  end
@@ -18263,6 +18282,7 @@ module Kaltura
18263
18282
  attr_accessor :sse_kms_key_id
18264
18283
  attr_accessor :signature_type
18265
18284
  attr_accessor :end_point
18285
+ attr_accessor :storage_class
18266
18286
 
18267
18287
 
18268
18288
  def from_xml(xml_element)
@@ -18285,6 +18305,9 @@ module Kaltura
18285
18305
  if xml_element.elements['endPoint'] != nil
18286
18306
  self.end_point = xml_element.elements['endPoint'].text
18287
18307
  end
18308
+ if xml_element.elements['storageClass'] != nil
18309
+ self.storage_class = xml_element.elements['storageClass'].text
18310
+ end
18288
18311
  end
18289
18312
 
18290
18313
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaltura-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.2.0
4
+ version: 16.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaltura Inc.