Xác định các quy tắc hạn chế đối với đối tượng sẽ được xác minh trong quá trình lưu. Lưu ý: đây là tính năng nâng cao, vui lòng liên hệ với Google để được hỗ trợ triển khai.
Biểu diễn dưới dạng JSON
{"restrictToEmailSha256": string}
Trường
restrictToEmailSha256
string
Giới hạn chỉ lưu đối tượng tham chiếu đến địa chỉ email được cung cấp. Đây là kết quả đầu ra hex của tổng SHA256 về địa chỉ email, toàn bộ bằng chữ thường và không có ký hiệu nào như "." hoặc "+", ngoại trừ "@".
Nếu địa chỉ email của người dùng đã đăng nhập cố gắng lưu thẻ/vé này không khớp với giá trị đã xác định tại đây, thì người dùng sẽ không được phép lưu thẻ/vé này. Thay vào đó, họ sẽ nhận được lời nhắc lỗi liên hệ với công ty phát hành thẻ.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["JSON representation defines restrictions to ensure data integrity during the save process, primarily focusing on email verification."],["It uses `restrictToEmailSha256` field to limit saving privileges to a specific email address, enhancing security."],["The email address is SHA256 hashed and compared with the provided value to authorize save operations."],["Users with unmatched email addresses will be denied save permissions and advised to contact the issuer."],["This feature is advanced and requires contacting Google support for implementation and guidance on obtaining user consent via Sign in with Google."]]],["The core content describes a feature called \"Save Restrictions\" that limits object saving to a specific email address. The `restrictToEmailSha256` field, represented as a string, stores the SHA256 hash of the email. Only users whose email's SHA256 hash matches this value can save the object. Mismatched users are prompted to contact the issuer. The hash is lowercase, excluding \".\" or \"+\" but including \"@\". The information needs an explicit user consent. This feature requires contacting Google for support before implementation.\n"]]