Skip to content

Commit 349598e

Browse files
feat: Automated regeneration of Calendar client (googleapis#12848)
Auto-created at 2025-01-22 13:12:04 +0000 using the toys pull request generator.
1 parent 1197ae0 commit 349598e

File tree

5 files changed

+41
-5
lines changed

5 files changed

+41
-5
lines changed

clients/calendar/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_calendar, "~> 0.25"}]
14+
[{:google_api_calendar, "~> 0.26"}]
1515
end
1616
```
1717

clients/calendar/lib/google_api/calendar/v3/connection.ex

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,48 @@ defmodule GoogleApi.Calendar.V3.Connection do
2727
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar
2828
"https://www.googleapis.com/auth/calendar",
2929

30+
# See and change the sharing permissions of Google calendars you own
31+
"https://www.googleapis.com/auth/calendar.acls",
32+
33+
# See the sharing permissions of Google calendars you own
34+
"https://www.googleapis.com/auth/calendar.acls.readonly",
35+
36+
# Make secondary Google calendars, and see, create, change, and delete events on them
37+
"https://www.googleapis.com/auth/calendar.app.created",
38+
39+
# See, add, and remove Google calendars you’re subscribed to
40+
"https://www.googleapis.com/auth/calendar.calendarlist",
41+
42+
# See the list of Google calendars you’re subscribed to
43+
"https://www.googleapis.com/auth/calendar.calendarlist.readonly",
44+
45+
# See and change the properties of Google calendars you have access to, and create secondary calendars
46+
"https://www.googleapis.com/auth/calendar.calendars",
47+
48+
# See the title, description, default time zone, and other properties of Google calendars you have access to
49+
"https://www.googleapis.com/auth/calendar.calendars.readonly",
50+
3051
# View and edit events on all your calendars
3152
"https://www.googleapis.com/auth/calendar.events",
3253

54+
# See the availability on Google calendars you have access to
55+
"https://www.googleapis.com/auth/calendar.events.freebusy",
56+
57+
# See, create, change, and delete events on Google calendars you own
58+
"https://www.googleapis.com/auth/calendar.events.owned",
59+
60+
# See the events on Google calendars you own
61+
"https://www.googleapis.com/auth/calendar.events.owned.readonly",
62+
63+
# See the events on public calendars
64+
"https://www.googleapis.com/auth/calendar.events.public.readonly",
65+
3366
# View events on all your calendars
3467
"https://www.googleapis.com/auth/calendar.events.readonly",
3568

69+
# View your availability in your calendars
70+
"https://www.googleapis.com/auth/calendar.freebusy",
71+
3672
# See and download any calendar you can access using your Google Calendar
3773
"https://www.googleapis.com/auth/calendar.readonly",
3874

clients/calendar/lib/google_api/calendar/v3/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Calendar.V3 do
2020
API client metadata for GoogleApi.Calendar.V3.
2121
"""
2222

23-
@discovery_revision "20241101"
23+
@discovery_revision "20250115"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/calendar/lib/google_api/calendar/v3/model/acl_rule.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ defmodule GoogleApi.Calendar.V3.Model.AclRule do
2828
- "none" - Provides no access.
2929
- "freeBusyReader" - Provides read access to free/busy information.
3030
- "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
31-
- "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
32-
- "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
31+
- "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. Provides read access to the calendar's ACLs.
32+
- "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to manipulate ACLs.
3333
* `scope` (*type:* `GoogleApi.Calendar.V3.Model.AclRuleScope.t`, *default:* `nil`) - The extent to which calendar access is granted by this ACL rule.
3434
"""
3535

clients/calendar/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Calendar.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.25.0"
21+
@version "0.26.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)