Es el identificador único de un objeto. Este ID debe ser único en todas las clases de una entidad emisora. Este valor debe seguir el formato issuer ID.identifier, donde Google emite el primero y tú eliges el segundo. Tu identificador único solo debe incluir caracteres alfanuméricos, '.', '_' o '-'.
Cuerpo de la solicitud
El cuerpo de la solicitud contiene una instancia de AddMessageRequest.
Cuerpo de la respuesta
Respuesta para agregar un nuevo mensaje de entidad emisora al objeto. Contiene todo el GenericObject actualizado.
Si se ejecuta correctamente, el cuerpo de la respuesta contendrá datos con la siguiente estructura:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2024-11-07 (UTC)"],[[["Adds a message to an existing generic object using its unique identifier."],["The request should be a `POST` request to the specified URL with the object ID as a path parameter and an `AddMessageRequest` in the body."],["Successful responses will contain the updated `GenericObject` resource in JSON format."],["Requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization."]]],["This document details adding a message to a generic object via an HTTP POST request to `https://walletobjects.googleapis.com/walletobjects/v1/genericObject/{resourceId}/addMessage`. The `resourceId`, a unique object identifier, is a required path parameter. The request body contains an `AddMessageRequest`. A successful request returns an updated `GenericObject` in the response body, represented in JSON, including the `resource` field. This action requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"]]