Set the permissions groups has on this object
media_put_optimizations_shares_groups(id, group_ids, permission_level,
share_email_body = NULL, send_shared_email = NULL)
integer required. ID of the resource to be shared
array required. An array of one or more group IDs
string required. Options are: "read", "write", or "manage"
string optional. Custom body text for e-mail sent on a share.
boolean optional. Send email to the recipients of a share.
A list containing the following elements:
list, A list containing the following elements:
users array,
groups array,
list, A list containing the following elements:
users array,
groups array,
list, A list containing the following elements:
users array,
groups array,
integer, For owners, the number of total users shared. For writers and readers, the number of visible users shared.
integer, For owners, the number of total groups shared. For writers and readers, the number of visible groups shared.