Skip to content

Commit aa3fd4d

Browse files
feat: Automated regeneration of WalletObjects client (googleapis#12364)
Auto-created at 2024-10-18 13:19:43 +0000 using the toys pull request generator.
1 parent 1b6e2f3 commit aa3fd4d

File tree

15 files changed

+39
-3
lines changed

15 files changed

+39
-3
lines changed

clients/wallet_objects/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_wallet_objects, "~> 0.8"}]
14+
[{:google_api_wallet_objects, "~> 0.9"}]
1515
end
1616
```
1717

clients/wallet_objects/lib/google_api/wallet_objects/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.WalletObjects.V1 do
2020
API client metadata for GoogleApi.WalletObjects.V1.
2121
"""
2222

23-
@discovery_revision "20240927"
23+
@discovery_revision "20241017"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/wallet_objects/lib/google_api/wallet_objects/v1/model/event_ticket_class.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.EventTicketClass do
4848
* `version` (*type:* `String.t`, *default:* `nil`) - Deprecated
4949
* `locations` (*type:* `list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t)`, *default:* `nil`) - Note: This field is currently not supported to trigger geo notifications.
5050
* `sectionLabel` (*type:* `String.t`, *default:* `nil`) - The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used.
51+
* `notifyPreference` (*type:* `String.t`, *default:* `nil`) - Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.
5152
* `homepageUri` (*type:* `GoogleApi.WalletObjects.V1.Model.Uri.t`, *default:* `nil`) - The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object).
5253
* `textModulesData` (*type:* `list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t)`, *default:* `nil`) - Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.
5354
* `linksModuleData` (*type:* `GoogleApi.WalletObjects.V1.Model.LinksModuleData.t`, *default:* `nil`) - Links module data. If links module data is also defined on the object, both will be displayed.
@@ -99,6 +100,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.EventTicketClass do
99100
:version => String.t() | nil,
100101
:locations => list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t()) | nil,
101102
:sectionLabel => String.t() | nil,
103+
:notifyPreference => String.t() | nil,
102104
:homepageUri => GoogleApi.WalletObjects.V1.Model.Uri.t() | nil,
103105
:textModulesData => list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t()) | nil,
104106
:linksModuleData => GoogleApi.WalletObjects.V1.Model.LinksModuleData.t() | nil,
@@ -147,6 +149,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.EventTicketClass do
147149
field(:version)
148150
field(:locations, as: GoogleApi.WalletObjects.V1.Model.LatLongPoint, type: :list)
149151
field(:sectionLabel)
152+
field(:notifyPreference)
150153
field(:homepageUri, as: GoogleApi.WalletObjects.V1.Model.Uri)
151154
field(:textModulesData, as: GoogleApi.WalletObjects.V1.Model.TextModuleData, type: :list)
152155
field(:linksModuleData, as: GoogleApi.WalletObjects.V1.Model.LinksModuleData)

clients/wallet_objects/lib/google_api/wallet_objects/v1/model/event_ticket_object.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.EventTicketObject do
3636
* `version` (*type:* `String.t`, *default:* `nil`) - Deprecated
3737
* `hasUsers` (*type:* `boolean()`, *default:* `nil`) - Indicates if the object has users. This field is set by the platform.
3838
* `locations` (*type:* `list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t)`, *default:* `nil`) - Note: This field is currently not supported to trigger geo notifications.
39+
* `notifyPreference` (*type:* `String.t`, *default:* `nil`) - Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.
3940
* `textModulesData` (*type:* `list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t)`, *default:* `nil`) - Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.
4041
* `linksModuleData` (*type:* `GoogleApi.WalletObjects.V1.Model.LinksModuleData.t`, *default:* `nil`) - Links module data. If links module data is also defined on the class, both will be displayed.
4142
* `ticketNumber` (*type:* `String.t`, *default:* `nil`) - The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.).
@@ -75,6 +76,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.EventTicketObject do
7576
:version => String.t() | nil,
7677
:hasUsers => boolean() | nil,
7778
:locations => list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t()) | nil,
79+
:notifyPreference => String.t() | nil,
7880
:textModulesData => list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t()) | nil,
7981
:linksModuleData => GoogleApi.WalletObjects.V1.Model.LinksModuleData.t() | nil,
8082
:ticketNumber => String.t() | nil,
@@ -112,6 +114,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.EventTicketObject do
112114
field(:version)
113115
field(:hasUsers)
114116
field(:locations, as: GoogleApi.WalletObjects.V1.Model.LatLongPoint, type: :list)
117+
field(:notifyPreference)
115118
field(:textModulesData, as: GoogleApi.WalletObjects.V1.Model.TextModuleData, type: :list)
116119
field(:linksModuleData, as: GoogleApi.WalletObjects.V1.Model.LinksModuleData)
117120
field(:ticketNumber)

clients/wallet_objects/lib/google_api/wallet_objects/v1/model/flight_class.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.FlightClass do
4040
* `imageModulesData` (*type:* `list(GoogleApi.WalletObjects.V1.Model.ImageModuleData.t)`, *default:* `nil`) - Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.
4141
* `version` (*type:* `String.t`, *default:* `nil`) - Deprecated
4242
* `locations` (*type:* `list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t)`, *default:* `nil`) - Note: This field is currently not supported to trigger geo notifications.
43+
* `notifyPreference` (*type:* `String.t`, *default:* `nil`) - Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.
4344
* `homepageUri` (*type:* `GoogleApi.WalletObjects.V1.Model.Uri.t`, *default:* `nil`) - The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object).
4445
* `localBoardingDateTime` (*type:* `String.t`, *default:* `nil`) - The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.
4546
* `textModulesData` (*type:* `list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t)`, *default:* `nil`) - Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.
@@ -86,6 +87,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.FlightClass do
8687
:imageModulesData => list(GoogleApi.WalletObjects.V1.Model.ImageModuleData.t()) | nil,
8788
:version => String.t() | nil,
8889
:locations => list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t()) | nil,
90+
:notifyPreference => String.t() | nil,
8991
:homepageUri => GoogleApi.WalletObjects.V1.Model.Uri.t() | nil,
9092
:localBoardingDateTime => String.t() | nil,
9193
:textModulesData => list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t()) | nil,
@@ -129,6 +131,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.FlightClass do
129131
field(:imageModulesData, as: GoogleApi.WalletObjects.V1.Model.ImageModuleData, type: :list)
130132
field(:version)
131133
field(:locations, as: GoogleApi.WalletObjects.V1.Model.LatLongPoint, type: :list)
134+
field(:notifyPreference)
132135
field(:homepageUri, as: GoogleApi.WalletObjects.V1.Model.Uri)
133136
field(:localBoardingDateTime)
134137
field(:textModulesData, as: GoogleApi.WalletObjects.V1.Model.TextModuleData, type: :list)

clients/wallet_objects/lib/google_api/wallet_objects/v1/model/flight_object.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.FlightObject do
4040
* `linksModuleData` (*type:* `GoogleApi.WalletObjects.V1.Model.LinksModuleData.t`, *default:* `nil`) - Links module data. If links module data is also defined on the class, both will be displayed.
4141
* `locations` (*type:* `list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t)`, *default:* `nil`) - Note: This field is currently not supported to trigger geo notifications.
4242
* `messages` (*type:* `list(GoogleApi.WalletObjects.V1.Model.Message.t)`, *default:* `nil`) - An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.
43+
* `notifyPreference` (*type:* `String.t`, *default:* `nil`) - Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.
4344
* `passConstraints` (*type:* `GoogleApi.WalletObjects.V1.Model.PassConstraints.t`, *default:* `nil`) - Pass constraints for the object. Includes limiting NFC and screenshot behaviors.
4445
* `passengerName` (*type:* `String.t`, *default:* `nil`) - Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM"
4546
* `reservationInfo` (*type:* `GoogleApi.WalletObjects.V1.Model.ReservationInfo.t`, *default:* `nil`) - Required. Information about flight reservation.
@@ -77,6 +78,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.FlightObject do
7778
:linksModuleData => GoogleApi.WalletObjects.V1.Model.LinksModuleData.t() | nil,
7879
:locations => list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t()) | nil,
7980
:messages => list(GoogleApi.WalletObjects.V1.Model.Message.t()) | nil,
81+
:notifyPreference => String.t() | nil,
8082
:passConstraints => GoogleApi.WalletObjects.V1.Model.PassConstraints.t() | nil,
8183
:passengerName => String.t() | nil,
8284
:reservationInfo => GoogleApi.WalletObjects.V1.Model.ReservationInfo.t() | nil,
@@ -111,6 +113,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.FlightObject do
111113
field(:linksModuleData, as: GoogleApi.WalletObjects.V1.Model.LinksModuleData)
112114
field(:locations, as: GoogleApi.WalletObjects.V1.Model.LatLongPoint, type: :list)
113115
field(:messages, as: GoogleApi.WalletObjects.V1.Model.Message, type: :list)
116+
field(:notifyPreference)
114117
field(:passConstraints, as: GoogleApi.WalletObjects.V1.Model.PassConstraints)
115118
field(:passengerName)
116119
field(:reservationInfo, as: GoogleApi.WalletObjects.V1.Model.ReservationInfo)

clients/wallet_objects/lib/google_api/wallet_objects/v1/model/gift_card_class.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.GiftCardClass do
3939
* `imageModulesData` (*type:* `list(GoogleApi.WalletObjects.V1.Model.ImageModuleData.t)`, *default:* `nil`) - Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.
4040
* `version` (*type:* `String.t`, *default:* `nil`) - Deprecated
4141
* `locations` (*type:* `list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t)`, *default:* `nil`) - Note: This field is currently not supported to trigger geo notifications.
42+
* `notifyPreference` (*type:* `String.t`, *default:* `nil`) - Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.
4243
* `homepageUri` (*type:* `GoogleApi.WalletObjects.V1.Model.Uri.t`, *default:* `nil`) - The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object).
4344
* `textModulesData` (*type:* `list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t)`, *default:* `nil`) - Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.
4445
* `linksModuleData` (*type:* `GoogleApi.WalletObjects.V1.Model.LinksModuleData.t`, *default:* `nil`) - Links module data. If links module data is also defined on the object, both will be displayed.
@@ -83,6 +84,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.GiftCardClass do
8384
:imageModulesData => list(GoogleApi.WalletObjects.V1.Model.ImageModuleData.t()) | nil,
8485
:version => String.t() | nil,
8586
:locations => list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t()) | nil,
87+
:notifyPreference => String.t() | nil,
8688
:homepageUri => GoogleApi.WalletObjects.V1.Model.Uri.t() | nil,
8789
:textModulesData => list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t()) | nil,
8890
:linksModuleData => GoogleApi.WalletObjects.V1.Model.LinksModuleData.t() | nil,
@@ -126,6 +128,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.GiftCardClass do
126128
field(:imageModulesData, as: GoogleApi.WalletObjects.V1.Model.ImageModuleData, type: :list)
127129
field(:version)
128130
field(:locations, as: GoogleApi.WalletObjects.V1.Model.LatLongPoint, type: :list)
131+
field(:notifyPreference)
129132
field(:homepageUri, as: GoogleApi.WalletObjects.V1.Model.Uri)
130133
field(:textModulesData, as: GoogleApi.WalletObjects.V1.Model.TextModuleData, type: :list)
131134
field(:linksModuleData, as: GoogleApi.WalletObjects.V1.Model.LinksModuleData)

clients/wallet_objects/lib/google_api/wallet_objects/v1/model/gift_card_object.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.GiftCardObject do
4242
* `linksModuleData` (*type:* `GoogleApi.WalletObjects.V1.Model.LinksModuleData.t`, *default:* `nil`) - Links module data. If links module data is also defined on the class, both will be displayed.
4343
* `locations` (*type:* `list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t)`, *default:* `nil`) - Note: This field is currently not supported to trigger geo notifications.
4444
* `messages` (*type:* `list(GoogleApi.WalletObjects.V1.Model.Message.t)`, *default:* `nil`) - An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.
45+
* `notifyPreference` (*type:* `String.t`, *default:* `nil`) - Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.
4546
* `passConstraints` (*type:* `GoogleApi.WalletObjects.V1.Model.PassConstraints.t`, *default:* `nil`) - Pass constraints for the object. Includes limiting NFC and screenshot behaviors.
4647
* `pin` (*type:* `String.t`, *default:* `nil`) - The card's PIN.
4748
* `rotatingBarcode` (*type:* `GoogleApi.WalletObjects.V1.Model.RotatingBarcode.t`, *default:* `nil`) - The rotating barcode type and value.
@@ -78,6 +79,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.GiftCardObject do
7879
:linksModuleData => GoogleApi.WalletObjects.V1.Model.LinksModuleData.t() | nil,
7980
:locations => list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t()) | nil,
8081
:messages => list(GoogleApi.WalletObjects.V1.Model.Message.t()) | nil,
82+
:notifyPreference => String.t() | nil,
8183
:passConstraints => GoogleApi.WalletObjects.V1.Model.PassConstraints.t() | nil,
8284
:pin => String.t() | nil,
8385
:rotatingBarcode => GoogleApi.WalletObjects.V1.Model.RotatingBarcode.t() | nil,
@@ -112,6 +114,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.GiftCardObject do
112114
field(:linksModuleData, as: GoogleApi.WalletObjects.V1.Model.LinksModuleData)
113115
field(:locations, as: GoogleApi.WalletObjects.V1.Model.LatLongPoint, type: :list)
114116
field(:messages, as: GoogleApi.WalletObjects.V1.Model.Message, type: :list)
117+
field(:notifyPreference)
115118
field(:passConstraints, as: GoogleApi.WalletObjects.V1.Model.PassConstraints)
116119
field(:pin)
117120
field(:rotatingBarcode, as: GoogleApi.WalletObjects.V1.Model.RotatingBarcode)

0 commit comments

Comments
 (0)