Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of MyBusinessVerifications client #10981

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clients/my_business_verifications/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_my_business_verifications, "~> 0.3"}]
[{:google_api_my_business_verifications, "~> 0.4"}]
end
```

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.MyBusinessVerifications.V1 do
API client metadata for GoogleApi.MyBusinessVerifications.V1.
"""

@discovery_revision "20220815"
@discovery_revision "20240310"

def discovery_revision(), do: @discovery_revision
end

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ defmodule GoogleApi.MyBusinessVerifications.V1.Model.Verification do

## Attributes

* `announcement` (*type:* `String.t`, *default:* `nil`) - Optional. Response announcement set only if the method is VETTED_PARTNER.
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - The timestamp when the verification is requested.
* `method` (*type:* `String.t`, *default:* `nil`) - The method of the verification.
* `name` (*type:* `String.t`, *default:* `nil`) - Resource name of the verification.
Expand All @@ -30,12 +31,14 @@ defmodule GoogleApi.MyBusinessVerifications.V1.Model.Verification do
use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:announcement => String.t() | nil,
:createTime => DateTime.t() | nil,
:method => String.t() | nil,
:name => String.t() | nil,
:state => String.t() | nil
}

field(:announcement)
field(:createTime, as: DateTime)
field(:method)
field(:name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ defmodule GoogleApi.MyBusinessVerifications.V1.Model.VerificationOption do
## Attributes

* `addressData` (*type:* `GoogleApi.MyBusinessVerifications.V1.Model.AddressVerificationData.t`, *default:* `nil`) - Set only if the method is MAIL.
* `announcement` (*type:* `String.t`, *default:* `nil`) - Set only if the method is VETTED_PARTNER.
* `emailData` (*type:* `GoogleApi.MyBusinessVerifications.V1.Model.EmailVerificationData.t`, *default:* `nil`) - Set only if the method is EMAIL.
* `phoneNumber` (*type:* `String.t`, *default:* `nil`) - Set only if the method is PHONE_CALL or SMS. Phone number that the PIN will be sent to.
* `verificationMethod` (*type:* `String.t`, *default:* `nil`) - Method to verify the location.
Expand All @@ -32,13 +33,15 @@ defmodule GoogleApi.MyBusinessVerifications.V1.Model.VerificationOption do
@type t :: %__MODULE__{
:addressData =>
GoogleApi.MyBusinessVerifications.V1.Model.AddressVerificationData.t() | nil,
:announcement => String.t() | nil,
:emailData =>
GoogleApi.MyBusinessVerifications.V1.Model.EmailVerificationData.t() | nil,
:phoneNumber => String.t() | nil,
:verificationMethod => String.t() | nil
}

field(:addressData, as: GoogleApi.MyBusinessVerifications.V1.Model.AddressVerificationData)
field(:announcement)
field(:emailData, as: GoogleApi.MyBusinessVerifications.V1.Model.EmailVerificationData)
field(:phoneNumber)
field(:verificationMethod)
Expand Down
2 changes: 1 addition & 1 deletion clients/my_business_verifications/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.MyBusinessVerifications.Mixfile do
use Mix.Project

@version "0.3.1"
@version "0.4.0"

def project() do
[
Expand Down
Loading