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 প্রয়োজন। আপডেট করা পাসের JWT স্বাক্ষর যা ইস্যুকারী Google কে জানাতে চায়। শুধুমাত্র যে ডিভাইসগুলি এই 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 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, 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`"]]