You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Provide 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.</p>
<pre>Provide 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.
92
92
93
93
Args:
94
94
body: object, The request body.
95
95
The object takes the form of:
96
96
97
-
{ # Request for sending user private Text or URI by the Issuer.
98
-
"issuerId": "A String", # The ID of the issuer sending the data.
99
-
"text": { # Private data for TextModule. This data will be rendered as a TextModule for a pass. # Private text data of the user.
100
-
"body": { # Translated strings for the body.
101
-
"defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
102
-
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
103
-
"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
104
-
"value": "A String", # The UTF-8 encoded translated string.
105
-
},
106
-
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
107
-
"translatedValues": [ # Contains the translations for the string.
108
-
{
109
-
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
110
-
"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
111
-
"value": "A String", # The UTF-8 encoded translated string.
112
-
},
113
-
],
114
-
},
115
-
"header": { # Translated strings for the header.
116
-
"defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
117
-
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
118
-
"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
119
-
"value": "A String", # The UTF-8 encoded translated string.
120
-
},
121
-
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
122
-
"translatedValues": [ # Contains the translations for the string.
123
-
{
124
-
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
125
-
"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
126
-
"value": "A String", # The UTF-8 encoded translated string.
127
-
},
128
-
],
129
-
},
130
-
},
131
-
"uri": { # Private data for LinkModule. This data will be rendered as the LinkModule for a pass. # Private URIs of the user.
132
-
"description": { # The URI's title appearing in the app as text and its translated strings. Recommended maximum is 20 characters to ensure the full string is displayed on smaller screens.
133
-
"defaultValue": { # Contains the string to be displayed if no appropriate translation is available.
134
-
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
135
-
"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
136
-
"value": "A String", # The UTF-8 encoded translated string.
137
-
},
138
-
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`.
139
-
"translatedValues": [ # Contains the translations for the string.
140
-
{
141
-
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`.
142
-
"language": "A String", # Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT".
143
-
"value": "A String", # The UTF-8 encoded translated string.
144
-
},
145
-
],
146
-
},
147
-
"uri": "A String", # The location of a web page, image, or other resource. URIs in the `LinksModuleData` can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address).
148
-
},
97
+
{ # Request to send a private pass update notice information to Google, so that devices can then fetch the notice prompting the user to update a pass.
98
+
"externalPassId": "A String", # Required. A fully qualified identifier of the pass that the issuer wants to notify the pass holder(s) about. Formatted as .
99
+
"updateUri": "A 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 https://someissuer.com/update/passId=someExternalPassId
100
+
"updatedPassJwtSignature": "A 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.
149
101
}
150
102
151
103
x__xgafv: string, V1 error format.
@@ -156,8 +108,7 @@ <h3>Method Details</h3>
156
108
Returns:
157
109
An object of the form:
158
110
159
-
{ # Response for uploading user private data (text or URIs)
160
-
"privateContentId": "A String", # A 64-bit content id for the private data that was uploaded by the Issuer.
111
+
{ # A response to a request to notify Google of an awaiting update to a private pass.
Copy file name to clipboardexpand all lines: googleapiclient/discovery_cache/documents/walletobjects.v1.json
+56-1
Original file line number
Diff line number
Diff line change
@@ -2679,9 +2679,39 @@
2679
2679
]
2680
2680
}
2681
2681
}
2682
+
},
2683
+
"walletobjects": {
2684
+
"resources": {
2685
+
"v1": {
2686
+
"resources": {
2687
+
"privateContent": {
2688
+
"methods": {
2689
+
"setPassUpdateNotice": {
2690
+
"description": "Provide 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.",
"description": "Request to send a private pass update notice information to Google, so that devices can then fetch the notice prompting the user to update a pass.",
8607
+
"id": "SetPassUpdateNoticeRequest",
8608
+
"properties": {
8609
+
"externalPassId": {
8610
+
"description": "Required. A fully qualified identifier of the pass that the issuer wants to notify the pass holder(s) about. Formatted as .",
8611
+
"type": "string"
8612
+
},
8613
+
"updateUri": {
8614
+
"description": "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 https://someissuer.com/update/passId=someExternalPassId",
8615
+
"type": "string"
8616
+
},
8617
+
"updatedPassJwtSignature": {
8618
+
"description": "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.",
8619
+
"type": "string"
8620
+
}
8621
+
},
8622
+
"type": "object"
8623
+
},
8624
+
"SetPassUpdateNoticeResponse": {
8625
+
"description": "A response to a request to notify Google of an awaiting update to a private pass.",
0 commit comments