AI-generated Key Takeaways
-
Retrieves a generic class with a specific class ID using a GET request.
-
The class ID must be unique across all classes from an issuer and follow a specific format.
-
The request body should be empty, and the response includes the GenericClass object if successful.
-
Requires authorization with the
https://www.googleapis.com/auth/wallet_object.issuer
scope.
Returns the generic class with the given class ID.
HTTP request
GET https://walletobjects.googleapis.com/walletobjects/v1/genericClass/{resourceId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
resourceId |
The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of GenericClass
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/wallet_object.issuer