Inventory before moving
#Measure source bytes and file counts, choose project and bucket boundaries, and check per-file limits. File paths become relative object names. Reject traversal segments and keep a mapping of local path to object UUID.
Encrypt and verify each object
#Use the SDK with a securely backed-up vault key. Upload each file, retain the returned object ID, and download it to verify decrypted content matches the original. Keep a migration manifest outside the source folder.
Switch reads only after verification
#Update the application to retrieve objects by their identifiers. Retain original data until verification and an independent backup restore test pass. A successful upload alone is not sufficient evidence to delete the source.
Clear documentation is part of the product.