From c4b0358de493547204f1b1285129f4a673a2e25c Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Mon, 11 Mar 2024 19:46:32 -0700 Subject: [PATCH] feat: Automated regeneration of LocalServices client (#10970) Auto-created at 2024-03-12 02:43:55 +0000 using the toys pull request generator. --- clients/local_services/README.md | 2 +- .../lib/google_api/local_services/v1/connection.ex | 2 +- .../lib/google_api/local_services/v1/metadata.ex | 2 +- ...ads_homeservices_localservices_v1_detailed_lead_report.ex | 5 ++++- clients/local_services/mix.exs | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/clients/local_services/README.md b/clients/local_services/README.md index c51b5afec8..9fc83970d6 100644 --- a/clients/local_services/README.md +++ b/clients/local_services/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_local_services, "~> 0.7"}] + [{:google_api_local_services, "~> 0.8"}] end ``` diff --git a/clients/local_services/lib/google_api/local_services/v1/connection.ex b/clients/local_services/lib/google_api/local_services/v1/connection.ex index 4b50938d18..1bc5f6aed4 100644 --- a/clients/local_services/lib/google_api/local_services/v1/connection.ex +++ b/clients/local_services/lib/google_api/local_services/v1/connection.ex @@ -24,7 +24,7 @@ defmodule GoogleApi.LocalServices.V1.Connection do use GoogleApi.Gax.Connection, scopes: [ - # Manage your AdWords campaigns + # See, edit, create, and delete your Google Ads accounts and data. "https://www.googleapis.com/auth/adwords" ], otp_app: :google_api_local_services, diff --git a/clients/local_services/lib/google_api/local_services/v1/metadata.ex b/clients/local_services/lib/google_api/local_services/v1/metadata.ex index a3234994bb..f512a26d31 100644 --- a/clients/local_services/lib/google_api/local_services/v1/metadata.ex +++ b/clients/local_services/lib/google_api/local_services/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.LocalServices.V1 do API client metadata for GoogleApi.LocalServices.V1. """ - @discovery_revision "20211011" + @discovery_revision "20240310" def discovery_revision(), do: @discovery_revision end diff --git a/clients/local_services/lib/google_api/local_services/v1/model/google_ads_homeservices_localservices_v1_detailed_lead_report.ex b/clients/local_services/lib/google_api/local_services/v1/model/google_ads_homeservices_localservices_v1_detailed_lead_report.ex index 4eb2df06be..3f9a238c7d 100644 --- a/clients/local_services/lib/google_api/local_services/v1/model/google_ads_homeservices_localservices_v1_detailed_lead_report.ex +++ b/clients/local_services/lib/google_api/local_services/v1/model/google_ads_homeservices_localservices_v1_detailed_lead_report.ex @@ -29,9 +29,10 @@ defmodule GoogleApi.LocalServices.V1.Model.GoogleAdsHomeservicesLocalservicesV1D * `currencyCode` (*type:* `String.t`, *default:* `nil`) - Currency code. * `disputeStatus` (*type:* `String.t`, *default:* `nil`) - Dispute status related to the lead. * `geo` (*type:* `String.t`, *default:* `nil`) - Location of the associated account's home city. + * `googleAdsLeadId` (*type:* `String.t`, *default:* `nil`) - Unique identifier of a Detailed Lead Report. * `leadCategory` (*type:* `String.t`, *default:* `nil`) - Lead category (e.g. hvac, plumber) * `leadCreationTimestamp` (*type:* `DateTime.t`, *default:* `nil`) - Timestamp of when the lead was created. - * `leadId` (*type:* `String.t`, *default:* `nil`) - Unique identifier of a Detailed Lead Report. + * `leadId` (*type:* `String.t`, *default:* `nil`) - Deprecated in favor of google_ads_lead_id. Unique identifier of a Detailed Lead Report. * `leadPrice` (*type:* `float()`, *default:* `nil`) - Price of the lead (available only after it has been charged). * `leadType` (*type:* `String.t`, *default:* `nil`) - Lead type. * `messageLead` (*type:* `GoogleApi.LocalServices.V1.Model.GoogleAdsHomeservicesLocalservicesV1MessageLead.t`, *default:* `nil`) - More information associated to only message leads. @@ -54,6 +55,7 @@ defmodule GoogleApi.LocalServices.V1.Model.GoogleAdsHomeservicesLocalservicesV1D :currencyCode => String.t() | nil, :disputeStatus => String.t() | nil, :geo => String.t() | nil, + :googleAdsLeadId => String.t() | nil, :leadCategory => String.t() | nil, :leadCreationTimestamp => DateTime.t() | nil, :leadId => String.t() | nil, @@ -83,6 +85,7 @@ defmodule GoogleApi.LocalServices.V1.Model.GoogleAdsHomeservicesLocalservicesV1D field(:currencyCode) field(:disputeStatus) field(:geo) + field(:googleAdsLeadId) field(:leadCategory) field(:leadCreationTimestamp, as: DateTime) field(:leadId) diff --git a/clients/local_services/mix.exs b/clients/local_services/mix.exs index 15615a6a7b..e335c2c066 100644 --- a/clients/local_services/mix.exs +++ b/clients/local_services/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.LocalServices.Mixfile do use Mix.Project - @version "0.7.0" + @version "0.8.0" def project() do [