Hi TFM,
The metal piece is a clevis, although some might call it a shackle. The pin they insert is a clevis pin.
I think the idea is to have that end of the dock rise with the ship as she discharges her load. This is so that the metal ramp does not become too steep.
Regards,
Marty