Skip to content

Commit

Permalink
feat: Generate Google.Apis.Walletobjects.v1 version 1.68.0.3557
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-tarafa authored and jskeet committed Sep 30, 2024
1 parent 06dfa33 commit 5b9591e
Show file tree
Hide file tree
Showing 3 changed files with 280 additions and 2 deletions.
143 changes: 142 additions & 1 deletion DiscoveryJson/walletobjects.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2681,7 +2681,7 @@
}
}
},
"revision": "20240919",
"revision": "20240927",
"rootUrl": "https://walletobjects.googleapis.com/",
"schemas": {
"ActivationOptions": {
Expand Down Expand Up @@ -4078,6 +4078,13 @@
},
"type": "array"
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the class. For a pass only ten will be displayed, prioritizing those from the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"venue": {
"$ref": "EventVenue",
"description": "Event venue details."
Expand Down Expand Up @@ -4325,6 +4332,13 @@
"$ref": "TimeInterval",
"description": "The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed."
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"version": {
"deprecated": true,
"description": "Deprecated",
Expand Down Expand Up @@ -4812,6 +4826,13 @@
},
"type": "array"
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the class. For a pass only ten will be displayed, prioritizing those from the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"version": {
"deprecated": true,
"description": "Deprecated",
Expand Down Expand Up @@ -5067,6 +5088,13 @@
"$ref": "TimeInterval",
"description": "The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed."
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"version": {
"deprecated": true,
"description": "Deprecated",
Expand Down Expand Up @@ -5214,6 +5242,13 @@
},
"type": "array"
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the class. For a pass only ten will be displayed, prioritizing those from the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"viewUnlockRequirement": {
"description": "View Unlock Requirement options for the generic pass.",
"enum": [
Expand Down Expand Up @@ -5439,6 +5474,13 @@
"$ref": "TimeInterval",
"description": "The time period this object will be considered valid or usable. When the time period is passed, the object will be considered expired, which will affect the rendering on user's devices."
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"wideLogo": {
"$ref": "Image",
"description": "The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view."
Expand Down Expand Up @@ -5694,6 +5736,13 @@
},
"type": "array"
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the class. For a pass only ten will be displayed, prioritizing those from the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"version": {
"deprecated": true,
"description": "Deprecated",
Expand Down Expand Up @@ -5922,6 +5971,13 @@
"$ref": "TimeInterval",
"description": "The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed."
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"version": {
"deprecated": true,
"description": "Deprecated",
Expand Down Expand Up @@ -6532,6 +6588,13 @@
},
"type": "array"
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the class. For a pass only ten will be displayed, prioritizing those from the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"version": {
"deprecated": true,
"description": "Deprecated",
Expand Down Expand Up @@ -6763,6 +6826,13 @@
"$ref": "TimeInterval",
"description": "The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed."
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"version": {
"deprecated": true,
"description": "Deprecated",
Expand Down Expand Up @@ -7171,6 +7241,17 @@
},
"type": "object"
},
"ModuleViewConstraints": {
"description": "Constraints that all must be met for the module to be shown.",
"id": "ModuleViewConstraints",
"properties": {
"displayInterval": {
"$ref": "TimeInterval",
"description": "The period of time that the module will be displayed to users. Can define both a `startTime` and `endTime`. The module is displayed immediately after insertion unless a `startTime` is set. The module is displayed indefinitely if `endTime` is not set."
}
},
"type": "object"
},
"Money": {
"id": "Money",
"properties": {
Expand Down Expand Up @@ -7490,6 +7571,13 @@
"$ref": "Image",
"description": "The title image of the offer. This image is displayed in both the details and list views of the app."
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the class. For a pass only ten will be displayed, prioritizing those from the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"version": {
"deprecated": true,
"description": "Deprecated",
Expand Down Expand Up @@ -7697,6 +7785,13 @@
"$ref": "TimeInterval",
"description": "The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed."
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"version": {
"deprecated": true,
"description": "Deprecated",
Expand Down Expand Up @@ -8861,6 +8956,13 @@
],
"type": "string"
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the class. For a pass only ten will be displayed, prioritizing those from the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"version": {
"deprecated": true,
"description": "Deprecated",
Expand Down Expand Up @@ -9231,6 +9333,13 @@
"$ref": "TimeInterval",
"description": "The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed."
},
"valueAddedModuleData": {
"description": "Optional value added module data. Maximum of ten on the object.",
"items": {
"$ref": "ValueAddedModuleData"
},
"type": "array"
},
"version": {
"deprecated": true,
"description": "Deprecated",
Expand Down Expand Up @@ -9344,6 +9453,38 @@
}
},
"type": "object"
},
"ValueAddedModuleData": {
"description": "Data for Value Added module. Required fields are header and uri.",
"id": "ValueAddedModuleData",
"properties": {
"body": {
"$ref": "LocalizedString",
"description": "Body to be displayed on the module. Character limit is 50 and longer strings will be truncated."
},
"header": {
"$ref": "LocalizedString",
"description": "Header to be displayed on the module. Character limit is 60 and longer strings will be truncated."
},
"image": {
"$ref": "Image",
"description": "Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio."
},
"sortIndex": {
"description": "The index for sorting the modules. Modules with a lower sort index are shown before modules with a higher sort index. If unspecified, the sort index is assumed to be INT_MAX. For two modules with the same index, the sorting behavior is undefined.",
"format": "int32",
"type": "integer"
},
"uri": {
"description": "URI that the module leads to on click. This can be a web link or a deep link as mentioned in https://developer.android.com/training/app-links/deep-linking.",
"type": "string"
},
"viewConstraints": {
"$ref": "ModuleViewConstraints",
"description": "Constraints that all must be met for the module to be shown."
}
},
"type": "object"
}
},
"servicePath": "",
Expand Down
Loading

0 comments on commit 5b9591e

Please sign in to comment.