Method: genericobject.get
指定されたオブジェクト ID の汎用オブジェクトを返します。
HTTP リクエスト
GET https://walletobjects.googleapis.com/walletobjects/v1/genericObject/{resourceId}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
resourceId |
string
オブジェクトの一意の識別子。この ID は、発行者のすべてのオブジェクトで一意である必要があります。この値は issuerID.identifier の形式にする必要があります。issuerID は Google から発行され、identifier はユーザーが選択したものです。一意の識別子には、英数字、. 、_ 、- のみを使用できます。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には GenericObject
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/wallet_object.issuer
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-03-13 UTC。
[null,null,["最終更新日 2025-03-13 UTC。"],[[["Retrieves a generic object using its unique identifier."],["The object ID must follow a specific format: `issuerID.identifier`."],["An empty request body is required."],["Successful responses return a GenericObject instance."],["Requires `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope."]]],["The core content describes retrieving a generic object using a `GET` request to a specific URL. The URL, utilizing gRPC Transcoding syntax, includes a `resourceId` path parameter, which is a unique identifier formatted as `issuerID.identifier`. The request body must be empty. A successful request returns a `GenericObject` instance. The operation requires OAuth scope `https://www.googleapis.com/auth/wallet_object.issuer`. No specific information is provide for HTTP request, path parameters, request body or response body.\n"]]