Method: walletobjects.v1.privateContent.setPassUpdateNotice
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
プライベート パスの更新待ちに関する情報を Google に提供します。これにより、現在このパスを保持しているデバイスに更新通知を送信できます。
HTTP リクエスト
POST https://walletobjects.googleapis.com/walletobjects/v1/privateContent/setPassUpdateNotice
この URL は gRPC Transcoding 構文を使用します。
リクエストの本文
リクエストの本文には、次の構造のデータが含まれます。
JSON 表現 |
{
"externalPassId": string,
"updatedPassJwtSignature": string,
"updateUri": string
} |
フィールド |
externalPassId |
string
必須。発行元がパス所有者に通知するパスの完全修飾識別子。<issuerId.externalUid> の形式です。
|
updatedPassJwtSignature |
string
必須。発行元が Google に通知する更新されたパスの JWT 署名。この JWT 署名と異なる JWT 署名を報告するデバイスのみが、アップデート通知を受け取ります。
|
updateUri |
string
必須。更新されたパス JWT を受け取るためにパス所有者がアクセスする必要がある発行元エンドポイント URI。機密情報は含めることはできません。エンドポイントは、更新された JWT をユーザーに提供する前に、ユーザーを認証する必要があります。更新 URI の例: https://someissuer.com/update/passId=someExternalPassId
|
レスポンスの本文
成功すると、レスポンスの本文は空になります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/wallet_object.issuer
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# Method: walletobjects.v1.privateContent.setPassUpdateNotice\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nProvide Google with information about awaiting private pass update. This will allow Google to provide the update notification to the device that currently holds this pass.\n\n### HTTP request\n\n`POST https://walletobjects.googleapis.com/walletobjects/v1/privateContent/setPassUpdateNotice`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------|\n| ``` { \"externalPassId\": string, \"updatedPassJwtSignature\": string, \"updateUri\": string } ``` |\n\n| Fields ||\n|---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `externalPassId` | `string` Required. A fully qualified identifier of the pass that the issuer wants to notify the pass holder(s) about. Formatted as \\\u003cissuerId.externalUid\\\u003e. |\n| `updatedPassJwtSignature` | `string` Required. The JWT signature of the updated pass that the issuer wants to notify Google about. Only devices that report a different JWT signature than this JWT signature will receive the update notification. |\n| `updateUri` | `string` Required. The issuer endpoint URI the pass holder needs to follow in order to receive an updated pass JWT. It can not contain any sensitive information. The endpoint needs to authenticate the user before giving the user the updated JWT. Example update URI \u003chttps://someissuer.com/update/passId=someExternalPassId\u003e |\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/wallet_object.issuer`"]]