Skip to content

Commit ded4e73

Browse files
feat: Automated regeneration of PaymentsResellerSubscription client (googleapis#12964)
Auto-created at 2025-02-14 13:16:26 +0000 using the toys pull request generator.
1 parent cfbf9b1 commit ded4e73

File tree

5 files changed

+65
-3
lines changed

5 files changed

+65
-3
lines changed

clients/payments_reseller_subscription/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_payments_reseller_subscription, "~> 0.7"}]
14+
[{:google_api_payments_reseller_subscription, "~> 0.8"}]
1515
end
1616
```
1717

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

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

23-
@discovery_revision "20241211"
23+
@discovery_revision "20250212"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload do
19+
@moduledoc """
20+
Payload specific for Google Home products.
21+
22+
## Attributes
23+
24+
* `partnerStructureId` (*type:* `String.t`, *default:* `nil`) - Optional. This identifies the structure ID on partner side that the subscription should be applied to. Only required when the partner requires structure mapping.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:partnerStructureId => String.t() | nil
31+
}
32+
33+
field(:partnerStructureId)
34+
end
35+
36+
defimpl Poison.Decoder,
37+
for:
38+
GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload do
39+
def decode(value, options) do
40+
GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload.decode(
41+
value,
42+
options
43+
)
44+
end
45+
end
46+
47+
defimpl Poison.Encoder,
48+
for:
49+
GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload do
50+
def encode(value, options) do
51+
GoogleApi.Gax.ModelBase.encode(value, options)
52+
end
53+
end

clients/payments_reseller_subscription/lib/google_api/payments_reseller_subscription/v1/model/google_cloud_payments_reseller_subscription_v1_product_payload.ex

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,17 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsRes
2121
2222
## Attributes
2323
24+
* `googleHomePayload` (*type:* `GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload.t`, *default:* `nil`) - Payload specific to Google Home products.
2425
* `googleOnePayload` (*type:* `GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload.t`, *default:* `nil`) - Product-specific payloads. Payload specific to Google One products.
2526
* `youtubePayload` (*type:* `GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.t`, *default:* `nil`) - Payload specific to Youtube products.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
32+
:googleHomePayload =>
33+
GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload.t()
34+
| nil,
3135
:googleOnePayload =>
3236
GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload.t()
3337
| nil,
@@ -36,6 +40,11 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsRes
3640
| nil
3741
}
3842

43+
field(:googleHomePayload,
44+
as:
45+
GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload
46+
)
47+
3948
field(:googleOnePayload,
4049
as:
4150
GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload

clients/payments_reseller_subscription/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.PaymentsResellerSubscription.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.7.0"
21+
@version "0.8.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)