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
Copy file name to clipboardExpand all lines: discovery/walletobjects-v1.json
+57-2Lines changed: 57 additions & 2 deletions
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": "Wrapping type for Google hosted images. Next ID: 7",
6197
+
"description": "Wrapping type for Google hosted images.",
6168
6198
"id": "Image",
6169
6199
"properties": {
6170
6200
"contentDescription": {
@@ -8572,6 +8602,31 @@
8572
8602
},
8573
8603
"type": "object"
8574
8604
},
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.",
* Required. A fully qualified identifier of the pass that the issuer wants to notify the pass holder(s) about. Formatted as .
3595
+
*/
3596
+
externalPassId?: string | null;
3597
+
/**
3598
+
* 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.
3599
+
*/
3600
+
updatedPassJwtSignature?: string | null;
3601
+
/**
3602
+
* 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
3603
+
*/
3604
+
updateUri?: string | null;
3605
+
}
3606
+
/**
3607
+
* A response to a request to notify Google of an awaiting update to a private pass.
this.privateContent = new Resource$Walletobjects$V1$Privatecontent(
14334
+
this.context
14335
+
);
14336
+
}
14337
+
}
14338
+
14339
+
export class Resource$Walletobjects$V1$Privatecontent {
14340
+
context: APIRequestContext;
14341
+
constructor(context: APIRequestContext) {
14342
+
this.context = context;
14343
+
}
14344
+
14345
+
/**
14346
+
* 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.
14347
+
*
14348
+
* @param params - Parameters for request
14349
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
14350
+
* @param callback - Optional callback that handles the response.
14351
+
* @returns A promise if used with async/await, or void if used with a callback.
0 commit comments