Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7b14bd2

Browse files
committedFeb 11, 2025
feat(walletobjects): update the api
#### walletobjects:v1 The following keys were added: - resources.walletobjects.resources.v1.resources.privateContent.methods.setPassUpdateNotice (Total Keys: 8) - schemas.SetPassUpdateNoticeRequest (Total Keys: 5) - schemas.SetPassUpdateNoticeResponse (Total Keys: 2)
1 parent 2381282 commit 7b14bd2

File tree

3 files changed

+70
-59
lines changed

3 files changed

+70
-59
lines changed
 

‎docs/dyn/walletobjects_v1.html

+5
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,11 @@ <h2>Instance Methods</h2>
169169
</p>
170170
<p class="firstline">Returns the transitobject Resource.</p>
171171

172+
<p class="toc_element">
173+
<code><a href="walletobjects_v1.walletobjects.html">walletobjects()</a></code>
174+
</p>
175+
<p class="firstline">Returns the walletobjects Resource.</p>
176+
172177
<p class="toc_element">
173178
<code><a href="#close">close()</a></code></p>
174179
<p class="firstline">Close httplib2 connections.</p>

‎docs/dyn/walletobjects_v1.walletobjects.v1.privateContent.html

+9-58
Original file line numberDiff line numberDiff line change
@@ -78,74 +78,26 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#uploadPrivateData">uploadPrivateData(body=None, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Upload private data (text or URI) and returns an Id to be used in its place.</p>
81+
<code><a href="#setPassUpdateNotice">setPassUpdateNotice(body=None, x__xgafv=None)</a></code></p>
82+
<p class="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>
8383
<h3>Method Details</h3>
8484
<div class="method">
8585
<code class="details" id="close">close()</code>
8686
<pre>Close httplib2 connections.</pre>
8787
</div>
8888

8989
<div class="method">
90-
<code class="details" id="uploadPrivateData">uploadPrivateData(body=None, x__xgafv=None)</code>
91-
<pre>Upload private data (text or URI) and returns an Id to be used in its place.
90+
<code class="details" id="setPassUpdateNotice">setPassUpdateNotice(body=None, x__xgafv=None)</code>
91+
<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.
9292

9393
Args:
9494
body: object, The request body.
9595
The object takes the form of:
9696

97-
{ # Request for sending user private Text or URI by the Issuer.
98-
&quot;issuerId&quot;: &quot;A String&quot;, # The ID of the issuer sending the data.
99-
&quot;text&quot;: { # Private data for TextModule. This data will be rendered as a TextModule for a pass. # Private text data of the user.
100-
&quot;body&quot;: { # Translated strings for the body.
101-
&quot;defaultValue&quot;: { # Contains the string to be displayed if no appropriate translation is available.
102-
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#translatedString&quot;`.
103-
&quot;language&quot;: &quot;A String&quot;, # Represents the BCP 47 language tag. Example values are &quot;en-US&quot;, &quot;en-GB&quot;, &quot;de&quot;, or &quot;de-AT&quot;.
104-
&quot;value&quot;: &quot;A String&quot;, # The UTF-8 encoded translated string.
105-
},
106-
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#localizedString&quot;`.
107-
&quot;translatedValues&quot;: [ # Contains the translations for the string.
108-
{
109-
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#translatedString&quot;`.
110-
&quot;language&quot;: &quot;A String&quot;, # Represents the BCP 47 language tag. Example values are &quot;en-US&quot;, &quot;en-GB&quot;, &quot;de&quot;, or &quot;de-AT&quot;.
111-
&quot;value&quot;: &quot;A String&quot;, # The UTF-8 encoded translated string.
112-
},
113-
],
114-
},
115-
&quot;header&quot;: { # Translated strings for the header.
116-
&quot;defaultValue&quot;: { # Contains the string to be displayed if no appropriate translation is available.
117-
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#translatedString&quot;`.
118-
&quot;language&quot;: &quot;A String&quot;, # Represents the BCP 47 language tag. Example values are &quot;en-US&quot;, &quot;en-GB&quot;, &quot;de&quot;, or &quot;de-AT&quot;.
119-
&quot;value&quot;: &quot;A String&quot;, # The UTF-8 encoded translated string.
120-
},
121-
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#localizedString&quot;`.
122-
&quot;translatedValues&quot;: [ # Contains the translations for the string.
123-
{
124-
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#translatedString&quot;`.
125-
&quot;language&quot;: &quot;A String&quot;, # Represents the BCP 47 language tag. Example values are &quot;en-US&quot;, &quot;en-GB&quot;, &quot;de&quot;, or &quot;de-AT&quot;.
126-
&quot;value&quot;: &quot;A String&quot;, # The UTF-8 encoded translated string.
127-
},
128-
],
129-
},
130-
},
131-
&quot;uri&quot;: { # Private data for LinkModule. This data will be rendered as the LinkModule for a pass. # Private URIs of the user.
132-
&quot;description&quot;: { # The URI&#x27;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-
&quot;defaultValue&quot;: { # Contains the string to be displayed if no appropriate translation is available.
134-
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#translatedString&quot;`.
135-
&quot;language&quot;: &quot;A String&quot;, # Represents the BCP 47 language tag. Example values are &quot;en-US&quot;, &quot;en-GB&quot;, &quot;de&quot;, or &quot;de-AT&quot;.
136-
&quot;value&quot;: &quot;A String&quot;, # The UTF-8 encoded translated string.
137-
},
138-
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#localizedString&quot;`.
139-
&quot;translatedValues&quot;: [ # Contains the translations for the string.
140-
{
141-
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;walletobjects#translatedString&quot;`.
142-
&quot;language&quot;: &quot;A String&quot;, # Represents the BCP 47 language tag. Example values are &quot;en-US&quot;, &quot;en-GB&quot;, &quot;de&quot;, or &quot;de-AT&quot;.
143-
&quot;value&quot;: &quot;A String&quot;, # The UTF-8 encoded translated string.
144-
},
145-
],
146-
},
147-
&quot;uri&quot;: &quot;A String&quot;, # 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+
&quot;externalPassId&quot;: &quot;A String&quot;, # Required. A fully qualified identifier of the pass that the issuer wants to notify the pass holder(s) about. Formatted as .
99+
&quot;updateUri&quot;: &quot;A String&quot;, # 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+
&quot;updatedPassJwtSignature&quot;: &quot;A String&quot;, # 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.
149101
}
150102

151103
x__xgafv: string, V1 error format.
@@ -156,8 +108,7 @@ <h3>Method Details</h3>
156108
Returns:
157109
An object of the form:
158110

159-
{ # Response for uploading user private data (text or URIs)
160-
&quot;privateContentId&quot;: &quot;A String&quot;, # 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.
161112
}</pre>
162113
</div>
163114

‎googleapiclient/discovery_cache/documents/walletobjects.v1.json

+56-1
Original file line numberDiff line numberDiff line change
@@ -2679,9 +2679,39 @@
26792679
]
26802680
}
26812681
}
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.",
2691+
"flatPath": "walletobjects/v1/privateContent/setPassUpdateNotice",
2692+
"httpMethod": "POST",
2693+
"id": "walletobjects.walletobjects.v1.privateContent.setPassUpdateNotice",
2694+
"parameterOrder": [],
2695+
"parameters": {},
2696+
"path": "walletobjects/v1/privateContent/setPassUpdateNotice",
2697+
"request": {
2698+
"$ref": "SetPassUpdateNoticeRequest"
2699+
},
2700+
"response": {
2701+
"$ref": "SetPassUpdateNoticeResponse"
2702+
},
2703+
"scopes": [
2704+
"https://www.googleapis.com/auth/wallet_object.issuer"
2705+
]
2706+
}
2707+
}
2708+
}
2709+
}
2710+
}
2711+
}
26822712
}
26832713
},
2684-
"revision": "20241203",
2714+
"revision": "20250204",
26852715
"rootUrl": "https://walletobjects.googleapis.com/",
26862716
"schemas": {
26872717
"ActivationOptions": {
@@ -8572,6 +8602,31 @@ true
85728602
},
85738603
"type": "object"
85748604
},
8605+
"SetPassUpdateNoticeRequest": {
8606+
"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.",
8626+
"id": "SetPassUpdateNoticeResponse",
8627+
"properties": {},
8628+
"type": "object"
8629+
},
85758630
"SignUpInfo": {
85768631
"id": "SignUpInfo",
85778632
"properties": {

0 commit comments

Comments
 (0)
Please sign in to comment.