SaveRestrictions
保存時に検証されるオブジェクトの制限を定義します。注: これは高度な機能です。実装サポートについては、Google にお問い合わせください。
JSON 表現 |
{
"restrictToEmailSha256": string
} |
フィールド |
restrictToEmailSha256 |
string
参照オブジェクトの保存を指定したメールアドレスのみに制限します。メールアドレスを SHA256 で合計した 16 進数出力です。すべて小文字で、「」などの表記はありません。または「+」(「@」を除く) たとえば、example@example.com の場合、この値は 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 になります。この値は、Example@example.com の場合、62c3ce3765af1765af76565757576343767676767676767676767676767676767676767678777777777777777f767678787f878a8f878a8f878f878a8f87a このパスを保存しようとするログイン ユーザーのメールアドレスが、ここで定義された値と一致しない場合、ユーザーはこのパスを保存できません。代わりに、カード発行会社に問い合わせるよう求めるエラー メッセージが表示されます。 この情報は、「Google でログイン」の統合(https://developers.google.com/identity/authentication)を通じて、明示的な同意を得たうえでユーザーから収集する必要があります。保存制限を使用する前に、サポートにお問い合わせください。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-03-13 UTC。
[null,null,["最終更新日 2025-03-13 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"]]