func (client *Client) UpdateRole(name string, role *graylog.RoleUpdateParams) (
	*graylog.Role, *ErrorInfo, error,
) {
	return client.UpdateRoleContext(context.Background(), name, role)
}
// UpdateRole updates a given role.
UpdateRole updates a given role.
// UpdateRole updates a given role .
func (client *Client) UpdateRole(name string, role *graylog.RoleUpdateParams) (
	*graylog.Role, *ErrorInfo, error,
) {
	return client.UpdateRoleContext(context.Background(), name, role)
}
func ( client * Client ) UpdateRole ( name string , role * graylog . RoleUpdateParams ) ( * graylog . Role , * ErrorInfo , error , ) { return client . UpdateRoleContext ( context . Background ( ) , name , role ) }
UpdateRole updates a given role.
UpdateRole updates a given role .