Skip to content

Commit

Permalink
feat: Automated regeneration of MyBusinessVerifications client (#10981)
Browse files Browse the repository at this point in the history
Auto-created at 2024-03-12 02:47:09 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Mar 12, 2024
1 parent 465d2b3 commit c916d7d
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 260 deletions.
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

0 comments on commit c916d7d

Please sign in to comment.