Skip to content

Commit

Permalink
Regenerate Calendar client (#7685)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈


<details><summary>Log from Synthtool</summary>

```
2021-03-24 05:21:39,575 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-calendar
nothing to commit, working tree clean
2021-03-24 05:21:41,190 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpsgd0yc_m/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Calendar
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpsgd0yc_m/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Calendar
/workspace /workspace
�[33mThe mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.�[0m
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.1
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
* Getting google_api_discovery (Hex package)
* Getting tesla (Hex package)
* Getting oauth2 (Hex package)
* Getting temp (Hex package)
* Getting jason (Hex package)
* Getting poison (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting parse_trans (Hex package)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
�[33mThe mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.�[0m
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app

12:22:09.587 [info]  FETCHING: https://calendar-json.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v3

12:22:09.685 [info]  FETCHING: https://calendar-json.googleapis.com/$discovery/rest?version=v3

12:22:09.746 [info]  FOUND: https://calendar-json.googleapis.com/$discovery/rest?version=v3
Revision check: old=20210222, new=20210322, generating=true
Creating leading directories
Writing Acl to clients/calendar/lib/google_api/calendar/v3/model/acl.ex.
Writing AclRule to clients/calendar/lib/google_api/calendar/v3/model/acl_rule.ex.
Writing AclRuleScope to clients/calendar/lib/google_api/calendar/v3/model/acl_rule_scope.ex.
Writing Calendar to clients/calendar/lib/google_api/calendar/v3/model/calendar.ex.
Writing CalendarList to clients/calendar/lib/google_api/calendar/v3/model/calendar_list.ex.
Writing CalendarListEntry to clients/calendar/lib/google_api/calendar/v3/model/calendar_list_entry.ex.
Writing CalendarListEntryNotificationSettings to clients/calendar/lib/google_api/calendar/v3/model/calendar_list_entry_notification_settings.ex.
Writing CalendarNotification to clients/calendar/lib/google_api/calendar/v3/model/calendar_notification.ex.
Writing Channel to clients/calendar/lib/google_api/calendar/v3/model/channel.ex.
Writing ColorDefinition to clients/calendar/lib/google_api/calendar/v3/model/color_definition.ex.
Writing Colors to clients/calendar/lib/google_api/calendar/v3/model/colors.ex.
Writing ConferenceData to clients/calendar/lib/google_api/calendar/v3/model/conference_data.ex.
Writing ConferenceParameters to clients/calendar/lib/google_api/calendar/v3/model/conference_parameters.ex.
Writing ConferenceParametersAddOnParameters to clients/calendar/lib/google_api/calendar/v3/model/conference_parameters_add_on_parameters.ex.
Writing ConferenceProperties to clients/calendar/lib/google_api/calendar/v3/model/conference_properties.ex.
Writing ConferenceRequestStatus to clients/calendar/lib/google_api/calendar/v3/model/conference_request_status.ex.
Writing ConferenceSolution to clients/calendar/lib/google_api/calendar/v3/model/conference_solution.ex.
Writing ConferenceSolutionKey to clients/calendar/lib/google_api/calendar/v3/model/conference_solution_key.ex.
Writing CreateConferenceRequest to clients/calendar/lib/google_api/calendar/v3/model/create_conference_request.ex.
Writing EntryPoint to clients/calendar/lib/google_api/calendar/v3/model/entry_point.ex.
Writing Error to clients/calendar/lib/google_api/calendar/v3/model/error.ex.
Writing Event to clients/calendar/lib/google_api/calendar/v3/model/event.ex.
Writing EventAttachment to clients/calendar/lib/google_api/calendar/v3/model/event_attachment.ex.
Writing EventAttendee to clients/calendar/lib/google_api/calendar/v3/model/event_attendee.ex.
Writing EventCreator to clients/calendar/lib/google_api/calendar/v3/model/event_creator.ex.
Writing EventDateTime to clients/calendar/lib/google_api/calendar/v3/model/event_date_time.ex.
Writing EventExtendedProperties to clients/calendar/lib/google_api/calendar/v3/model/event_extended_properties.ex.
Writing EventGadget to clients/calendar/lib/google_api/calendar/v3/model/event_gadget.ex.
Writing EventOrganizer to clients/calendar/lib/google_api/calendar/v3/model/event_organizer.ex.
Writing EventReminder to clients/calendar/lib/google_api/calendar/v3/model/event_reminder.ex.
Writing EventReminders to clients/calendar/lib/google_api/calendar/v3/model/event_reminders.ex.
Writing EventSource to clients/calendar/lib/google_api/calendar/v3/model/event_source.ex.
Writing Events to clients/calendar/lib/google_api/calendar/v3/model/events.ex.
Writing FreeBusyCalendar to clients/calendar/lib/google_api/calendar/v3/model/free_busy_calendar.ex.
Writing FreeBusyGroup to clients/calendar/lib/google_api/calendar/v3/model/free_busy_group.ex.
Writing FreeBusyRequest to clients/calendar/lib/google_api/calendar/v3/model/free_busy_request.ex.
Writing FreeBusyRequestItem to clients/calendar/lib/google_api/calendar/v3/model/free_busy_request_item.ex.
Writing FreeBusyResponse to clients/calendar/lib/google_api/calendar/v3/model/free_busy_response.ex.
Writing Setting to clients/calendar/lib/google_api/calendar/v3/model/setting.ex.
Writing Settings to clients/calendar/lib/google_api/calendar/v3/model/settings.ex.
Writing TimePeriod to clients/calendar/lib/google_api/calendar/v3/model/time_period.ex.
Writing Acl to clients/calendar/lib/google_api/calendar/v3/api/acl.ex.
Writing CalendarList to clients/calendar/lib/google_api/calendar/v3/api/calendar_list.ex.
Writing Calendars to clients/calendar/lib/google_api/calendar/v3/api/calendars.ex.
Writing Channels to clients/calendar/lib/google_api/calendar/v3/api/channels.ex.
Writing Colors to clients/calendar/lib/google_api/calendar/v3/api/colors.ex.
Writing Events to clients/calendar/lib/google_api/calendar/v3/api/events.ex.
Writing Freebusy to clients/calendar/lib/google_api/calendar/v3/api/freebusy.ex.
Writing Settings to clients/calendar/lib/google_api/calendar/v3/api/settings.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs
�[33mThe mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.�[0m

12:22:11.233 [info]  Bumping patch
fixing file permissions
2021-03-24 05:22:13,867 synthtool [DEBUG] > Wrote metadata to clients/calendar/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/calendar/synth.metadata.

```
</details>

Full log will be available here:
https://source.cloud.google.com/results/invocations/6c5d3502-11ad-48c1-a798-138f92ada606/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
  • Loading branch information
yoshi-automation authored Mar 24, 2021
1 parent f112663 commit 9b6f621
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion clients/calendar/lib/google_api/calendar/v3/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Calendar.V3 do
API client metadata for GoogleApi.Calendar.V3.
"""

@discovery_revision "20210222"
@discovery_revision "20210322"

def discovery_revision(), do: @discovery_revision
end
4 changes: 2 additions & 2 deletions clients/calendar/lib/google_api/calendar/v3/model/acl_rule.ex
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ defmodule GoogleApi.Calendar.V3.Model.AclRule do
## Attributes
* `etag` (*type:* `String.t`, *default:* `nil`) - ETag of the resource.
* `id` (*type:* `String.t`, *default:* `nil`) - Identifier of the ACL rule.
* `id` (*type:* `String.t`, *default:* `nil`) - Identifier of the Access Control List (ACL) rule. See Sharing calendars.
* `kind` (*type:* `String.t`, *default:* `calendar#aclRule`) - Type of the resource ("calendar#aclRule").
* `role` (*type:* `String.t`, *default:* `nil`) - The role assigned to the scope. Possible values are:
- "none" - Provides no access.
- "freeBusyReader" - Provides read access to free/busy information.
- "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
- "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
- "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.
* `scope` (*type:* `GoogleApi.Calendar.V3.Model.AclRuleScope.t`, *default:* `nil`) - The scope of the rule.
* `scope` (*type:* `GoogleApi.Calendar.V3.Model.AclRuleScope.t`, *default:* `nil`) - The extent to which calendar access is granted by this ACL rule.
"""

use GoogleApi.Gax.ModelBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Calendar.V3.Model.AclRuleScope do
@moduledoc """
The scope of the rule.
The extent to which calendar access is granted by this ACL rule.
## Attributes
Expand Down
2 changes: 1 addition & 1 deletion clients/calendar/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Calendar.Mixfile do
use Mix.Project

@version "0.21.0"
@version "0.21.1"

def project() do
[
Expand Down
2 changes: 1 addition & 1 deletion clients/calendar/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/elixir-google-api.git",
"sha": "948deaf8f5c6f2442829afe6de35c7c4f166a394"
"sha": "f112663e8a89c501930f58ab12840f05c304a19e"
}
}
]
Expand Down

0 comments on commit 9b6f621

Please sign in to comment.