Skip to content

Commit d8256de

Browse files
feat: Automated regeneration of MerchantAPI client (googleapis#12386)
Auto-created at 2024-10-23 13:17:33 +0000 using the toys pull request generator.
1 parent 8679c4e commit d8256de

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

clients/merchant_api/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_merchant_api, "~> 0.3"}]
14+
[{:google_api_merchant_api, "~> 0.4"}]
1515
end
1616
```
1717

clients/merchant_api/lib/google_api/merchant_api/reports_v1beta/metadata.ex

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

23-
@discovery_revision "20240611"
23+
@discovery_revision "20241022"
2424

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

clients/merchant_api/lib/google_api/merchant_api/reports_v1beta/model/product_status_change_message.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ defmodule GoogleApi.MerchantAPI.Reports_v1beta.Model.ProductStatusChangeMessage
2424
* `account` (*type:* `String.t`, *default:* `nil`) - The target account that owns the entity that changed. Format : `accounts/{merchant_id}`
2525
* `attribute` (*type:* `String.t`, *default:* `nil`) - The attribute in the resource that changed, in this case it will be always `Status`.
2626
* `changes` (*type:* `list(GoogleApi.MerchantAPI.Reports_v1beta.Model.ProductChange.t)`, *default:* `nil`) - A message to describe the change that happened to the product
27+
* `expirationTime` (*type:* `DateTime.t`, *default:* `nil`) - The product expiration time.
2728
* `managingAccount` (*type:* `String.t`, *default:* `nil`) - The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`
2829
* `resource` (*type:* `String.t`, *default:* `nil`) - The product name. Format: `{product.name=accounts/{account}/products/{product}}`
2930
* `resourceId` (*type:* `String.t`, *default:* `nil`) - The product id.
@@ -36,6 +37,7 @@ defmodule GoogleApi.MerchantAPI.Reports_v1beta.Model.ProductStatusChangeMessage
3637
:account => String.t() | nil,
3738
:attribute => String.t() | nil,
3839
:changes => list(GoogleApi.MerchantAPI.Reports_v1beta.Model.ProductChange.t()) | nil,
40+
:expirationTime => DateTime.t() | nil,
3941
:managingAccount => String.t() | nil,
4042
:resource => String.t() | nil,
4143
:resourceId => String.t() | nil,
@@ -45,6 +47,7 @@ defmodule GoogleApi.MerchantAPI.Reports_v1beta.Model.ProductStatusChangeMessage
4547
field(:account)
4648
field(:attribute)
4749
field(:changes, as: GoogleApi.MerchantAPI.Reports_v1beta.Model.ProductChange, type: :list)
50+
field(:expirationTime, as: DateTime)
4851
field(:managingAccount)
4952
field(:resource)
5053
field(:resourceId)

clients/merchant_api/mix.exs

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

21-
@version "0.3.0"
21+
@version "0.4.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)