Skip to content

Commit

Permalink
feat: Automated regeneration of Tasks client (#11080)
Browse files Browse the repository at this point in the history
Auto-created at 2024-03-14 13:06:50 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Mar 14, 2024
1 parent b112760 commit 8ee1bfa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion clients/tasks/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_tasks, "~> 0.13"}]
[{:google_api_tasks, "~> 0.14"}]
end
```

Expand Down
2 changes: 1 addition & 1 deletion clients/tasks/lib/google_api/tasks/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Tasks.V1 do
API client metadata for GoogleApi.Tasks.V1.
"""

@discovery_revision "20240310"
@discovery_revision "20240312"

def discovery_revision(), do: @discovery_revision
end
5 changes: 4 additions & 1 deletion clients/tasks/lib/google_api/tasks/v1/model/task.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ defmodule GoogleApi.Tasks.V1.Model.Task do
* `status` (*type:* `String.t`, *default:* `nil`) - Status of the task. This is either "needsAction" or "completed".
* `title` (*type:* `String.t`, *default:* `nil`) - Title of the task.
* `updated` (*type:* `String.t`, *default:* `nil`) - Last modification time of the task (as a RFC 3339 timestamp).
* `webViewLink` (*type:* `String.t`, *default:* `nil`) - An absolute link to the task in the Google Tasks Web UI. This field is read-only.
"""

use GoogleApi.Gax.ModelBase
Expand All @@ -55,7 +56,8 @@ defmodule GoogleApi.Tasks.V1.Model.Task do
:selfLink => String.t() | nil,
:status => String.t() | nil,
:title => String.t() | nil,
:updated => String.t() | nil
:updated => String.t() | nil,
:webViewLink => String.t() | nil
}

field(:completed)
Expand All @@ -73,6 +75,7 @@ defmodule GoogleApi.Tasks.V1.Model.Task do
field(:status)
field(:title)
field(:updated)
field(:webViewLink)
end

defimpl Poison.Decoder, for: GoogleApi.Tasks.V1.Model.Task do
Expand Down
2 changes: 1 addition & 1 deletion clients/tasks/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Tasks.Mixfile do
use Mix.Project

@version "0.13.1"
@version "0.14.0"

def project() do
[
Expand Down

0 comments on commit 8ee1bfa

Please sign in to comment.