class Kaltura::KalturaStorageProfileService
The Storage Profile service allows you to export your Kaltura
content to external storage volumes.
This service is disabled by default, please contact your account manager if you wish to enable it for your partner.
Public Class Methods
new(client)
click to toggle source
Calls superclass method
# File lib/kaltura_client.rb, line 4565 def initialize(client) super(client) end
Public Instance Methods
add(storage_profile)
click to toggle source
Adds a storage profile to the Kaltura
DB. @return [KalturaStorageProfile]
# File lib/kaltura_client.rb, line 4571 def add(storage_profile) kparams = {} client.add_param(kparams, 'storageProfile', storage_profile) client.queue_service_action_call('storageprofile', 'add', 'KalturaStorageProfile', kparams) if (client.is_multirequest) return nil end return client.do_queue() end
get(storage_profile_id)
click to toggle source
Get storage profile by id @return [KalturaStorageProfile]
# File lib/kaltura_client.rb, line 4583 def get(storage_profile_id) kparams = {} client.add_param(kparams, 'storageProfileId', storage_profile_id) client.queue_service_action_call('storageprofile', 'get', 'KalturaStorageProfile', kparams) if (client.is_multirequest) return nil end return client.do_queue() end
list(filter=KalturaNotImplemented, pager=KalturaNotImplemented)
click to toggle source
@return [KalturaStorageProfileListResponse]
# File lib/kaltura_client.rb, line 4594 def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented) kparams = {} client.add_param(kparams, 'filter', filter) client.add_param(kparams, 'pager', pager) client.queue_service_action_call('storageprofile', 'list', 'KalturaStorageProfileListResponse', kparams) if (client.is_multirequest) return nil end return client.do_queue() end
update(storage_profile_id, storage_profile)
click to toggle source
Update storage profile by id @return [KalturaStorageProfile]
# File lib/kaltura_client.rb, line 4607 def update(storage_profile_id, storage_profile) kparams = {} client.add_param(kparams, 'storageProfileId', storage_profile_id) client.add_param(kparams, 'storageProfile', storage_profile) client.queue_service_action_call('storageprofile', 'update', 'KalturaStorageProfile', kparams) if (client.is_multirequest) return nil end return client.do_queue() end
update_status(storage_id, status)
click to toggle source
@return []
# File lib/kaltura_client.rb, line 4619 def update_status(storage_id, status) kparams = {} client.add_param(kparams, 'storageId', storage_id) client.add_param(kparams, 'status', status) client.queue_service_action_call('storageprofile', 'updateStatus', '', kparams) if (client.is_multirequest) return nil end return client.do_queue() end