From 3b4df2fc29d30a7a97a2c84a548e23b5f531a7a5 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 12 Mar 2024 00:57:31 +0000 Subject: [PATCH] feat: Automated regeneration of Reseller client --- clients/reseller/README.md | 2 +- .../reseller/lib/google_api/reseller/v1/api/subscriptions.ex | 4 ++++ clients/reseller/lib/google_api/reseller/v1/metadata.ex | 2 +- clients/reseller/mix.exs | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/clients/reseller/README.md b/clients/reseller/README.md index b6f22a5a93..fe54ea6b24 100644 --- a/clients/reseller/README.md +++ b/clients/reseller/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_reseller, "~> 0.17"}] + [{:google_api_reseller, "~> 0.18"}] end ``` diff --git a/clients/reseller/lib/google_api/reseller/v1/api/subscriptions.ex b/clients/reseller/lib/google_api/reseller/v1/api/subscriptions.ex index 55eba7fa9b..83e71a2c9e 100644 --- a/clients/reseller/lib/google_api/reseller/v1/api/subscriptions.ex +++ b/clients/reseller/lib/google_api/reseller/v1/api/subscriptions.ex @@ -506,7 +506,9 @@ defmodule GoogleApi.Reseller.V1.Api.Subscriptions do * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). + * `:action` (*type:* `String.t`) - The intented insert action. The usage of this field is governed by certain policies which are being developed & tested currently. Hence, these might not work as intended. Once this is fully tested & available to consume, we will share more information about its usage, limitations and policy documentation. * `:customerAuthToken` (*type:* `String.t`) - The `customerAuthToken` query string is required when creating a resold account that transfers a direct customer's subscription or transfers another reseller customer's subscription to your reseller management. This is a hexadecimal authentication token needed to complete the subscription transfer. For more information, see the administrator help center. + * `:sourceSkuId` (*type:* `String.t`) - The sku_id of the existing subscription to be upgraded or downgraded. This is required when action is SWITCH. The usage of this field is governed by certain policies which are being developed & tested currently. Hence, these might not work as intended. Once this is fully tested & available to consume, we will share more information about its usage, limitations and policy documentation. * `:body` (*type:* `GoogleApi.Reseller.V1.Model.Subscription.t`) - * `opts` (*type:* `keyword()`) - Call options @@ -533,7 +535,9 @@ defmodule GoogleApi.Reseller.V1.Api.Subscriptions do :quotaUser => :query, :uploadType => :query, :upload_protocol => :query, + :action => :query, :customerAuthToken => :query, + :sourceSkuId => :query, :body => :body } diff --git a/clients/reseller/lib/google_api/reseller/v1/metadata.ex b/clients/reseller/lib/google_api/reseller/v1/metadata.ex index a9c2c6438a..eae2a8ee06 100644 --- a/clients/reseller/lib/google_api/reseller/v1/metadata.ex +++ b/clients/reseller/lib/google_api/reseller/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Reseller.V1 do API client metadata for GoogleApi.Reseller.V1. """ - @discovery_revision "20211019" + @discovery_revision "20240305" def discovery_revision(), do: @discovery_revision end diff --git a/clients/reseller/mix.exs b/clients/reseller/mix.exs index c456867037..a45756618e 100644 --- a/clients/reseller/mix.exs +++ b/clients/reseller/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.Reseller.Mixfile do use Mix.Project - @version "0.17.3" + @version "0.18.0" def project() do [