set_access_control


Description:

[ Version ( since = "0.7.0" ) ]
public void set_access_control (string action, YouTubePermission permission)

Sets the permission associated with action on the YouTubeVideo, allowing restriction or derestriction of various operations on YouTube videos.

Note that only gdata_youtube_action_rate and gdata_youtube_action_comment actions can have the gdata_youtube_permission_moderated permission.

Parameters:

this

a YouTubeVideo

action

the action whose permission is being set

permission

the permission to give to the action