Method: walletobjects.v1.privateContent.setPassUpdateNotice
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
대기 중인 비공개 패스 업데이트에 관한 정보를 Google에 제공합니다. 이렇게 하면 Google에서 현재 이 패스를 보유한 기기에 업데이트 알림을 제공할 수 있습니다.
HTTP 요청
POST https://walletobjects.googleapis.com/walletobjects/v1/privateContent/setPassUpdateNotice
URL은 gRPC 트랜스코딩 구문을 사용합니다.
요청 본문
요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.
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
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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`"]]