Skip to content

Commit

Permalink
feat: Automated regeneration of LocalServices client (#10970)
Browse files Browse the repository at this point in the history
Auto-created at 2024-03-12 02:43:55 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Mar 12, 2024
1 parent 876ed70 commit c4b0358
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clients/local_services/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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,
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion clients/local_services/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.LocalServices.Mixfile do
use Mix.Project

@version "0.7.0"
@version "0.8.0"

def project() do
[
Expand Down

0 comments on commit c4b0358

Please sign in to comment.