google-apis-calendar_v3 0.44.0 → 0.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c9649d65db24540601e7543de15d241e1b1e28cf4051b9a977a2d34f9123eea
4
- data.tar.gz: 0caf653078f196c8771487dec346f40a434417ac951df8971bec42205fd66129
3
+ metadata.gz: '0418ab266bf63d69cba897049b64c5e21aaa1b97befe211d5006d18fc1f0e061'
4
+ data.tar.gz: cf7ad3622e59bc83ce77baaeaf02df3fd5453abdbb21ffc5feba90f4fb0b0059
5
5
  SHA512:
6
- metadata.gz: c7222ffb8eef32df7b0c23f126638885096f262e9da5a6ea7d27cb322a11ae7fe8593de70cd63c2bd856654db04fd0a7a600c6e1f74edf53b3cfabcf48d42929
7
- data.tar.gz: 1d2fd437f12a7a3c0d2a76d9eb6e1c08be014dc2eae60b2b4f43f1a9fa00b197a36fe5d6330df7a39f284f13327e365b5153bd6b6f9be5f4b0bda2c4ce6e0cfe
6
+ metadata.gz: ee6f3da166eee3bd45b541752eea40789bd34f0eef793488f686305d2c5c2b990fe05d2d0bec4efe46f82d54fa8cecde9ab647593949048eb5b6d2ae2a72a646
7
+ data.tar.gz: 469ef4786e22381ae496d3c8815c3a3e4673a24b9ecb478252226879838533d65d1efb768c7fec05c24075108ea06c5bb324cacf48fbb42d43fcbbc39628513c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-calendar_v3
2
2
 
3
+ ### v0.46.0 (2025-01-26)
4
+
5
+ * Regenerated from discovery document revision 20250115
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.45.0 (2024-11-17)
9
+
10
+ * Regenerated from discovery document revision 20241101
11
+
3
12
  ### v0.44.0 (2024-10-06)
4
13
 
5
14
  * Regenerated from discovery document revision 20240927
@@ -94,9 +94,9 @@ module Google
94
94
  # to users with reader access, but event details will be hidden.
95
95
  # - "writer" - Provides read and write access to the calendar. Private events
96
96
  # will appear to users with writer access, and event details will be visible.
97
+ # Provides read access to the calendar's ACLs.
97
98
  # - "owner" - Provides ownership of the calendar. This role has all of the
98
- # permissions of the writer role with the additional ability to see and
99
- # manipulate ACLs.
99
+ # permissions of the writer role with the additional ability to manipulate ACLs.
100
100
  # Corresponds to the JSON property `role`
101
101
  # @return [String]
102
102
  attr_accessor :role
@@ -1062,6 +1062,11 @@ module Google
1062
1062
  attr_accessor :attendees_omitted
1063
1063
  alias_method :attendees_omitted?, :attendees_omitted
1064
1064
 
1065
+ # Birthday or special event data. Used if eventType is "birthday". Immutable.
1066
+ # Corresponds to the JSON property `birthdayProperties`
1067
+ # @return [Google::Apis::CalendarV3::EventBirthdayProperties]
1068
+ attr_accessor :birthday_properties
1069
+
1065
1070
  # The color of the event. This is an ID referring to an entry in the event
1066
1071
  # section of the colors definition (see the colors endpoint). Optional.
1067
1072
  # Corresponds to the JSON property `colorId`
@@ -1365,6 +1370,7 @@ module Google
1365
1370
  @attachments = args[:attachments] if args.key?(:attachments)
1366
1371
  @attendees = args[:attendees] if args.key?(:attendees)
1367
1372
  @attendees_omitted = args[:attendees_omitted] if args.key?(:attendees_omitted)
1373
+ @birthday_properties = args[:birthday_properties] if args.key?(:birthday_properties)
1368
1374
  @color_id = args[:color_id] if args.key?(:color_id)
1369
1375
  @conference_data = args[:conference_data] if args.key?(:conference_data)
1370
1376
  @created = args[:created] if args.key?(:created)
@@ -1781,6 +1787,49 @@ module Google
1781
1787
  end
1782
1788
  end
1783
1789
 
1790
+ #
1791
+ class EventBirthdayProperties
1792
+ include Google::Apis::Core::Hashable
1793
+
1794
+ # Resource name of the contact this birthday event is linked to. This can be
1795
+ # used to fetch contact details from People API. Format: "people/c12345". Read-
1796
+ # only.
1797
+ # Corresponds to the JSON property `contact`
1798
+ # @return [String]
1799
+ attr_accessor :contact
1800
+
1801
+ # Custom type label specified for this event. This is populated if
1802
+ # birthdayProperties.type is set to "custom". Read-only.
1803
+ # Corresponds to the JSON property `customTypeName`
1804
+ # @return [String]
1805
+ attr_accessor :custom_type_name
1806
+
1807
+ # Type of birthday or special event. Possible values are:
1808
+ # - "anniversary" - An anniversary other than birthday. Always has a contact.
1809
+ # - "birthday" - A birthday event. This is the default value.
1810
+ # - "custom" - A special date whose label is further specified in the
1811
+ # customTypeName field. Always has a contact.
1812
+ # - "other" - A special date which does not fall into the other categories, and
1813
+ # does not have a custom label. Always has a contact.
1814
+ # - "self" - Calendar owner's own birthday. Cannot have a contact. The Calendar
1815
+ # API only supports creating events with the type "birthday". The type cannot be
1816
+ # changed after the event is created.
1817
+ # Corresponds to the JSON property `type`
1818
+ # @return [String]
1819
+ attr_accessor :type
1820
+
1821
+ def initialize(**args)
1822
+ update!(**args)
1823
+ end
1824
+
1825
+ # Update properties of this object
1826
+ def update!(**args)
1827
+ @contact = args[:contact] if args.key?(:contact)
1828
+ @custom_type_name = args[:custom_type_name] if args.key?(:custom_type_name)
1829
+ @type = args[:type] if args.key?(:type)
1830
+ end
1831
+ end
1832
+
1784
1833
  #
1785
1834
  class EventDateTime
1786
1835
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CalendarV3
18
18
  # Version of the google-apis-calendar_v3 gem
19
- GEM_VERSION = "0.44.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240927"
25
+ REVISION = "20250115"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class EventBirthdayProperties
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class EventDateTime
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -545,6 +551,8 @@ module Google
545
551
  collection :attendees, as: 'attendees', class: Google::Apis::CalendarV3::EventAttendee, decorator: Google::Apis::CalendarV3::EventAttendee::Representation
546
552
 
547
553
  property :attendees_omitted, as: 'attendeesOmitted'
554
+ property :birthday_properties, as: 'birthdayProperties', class: Google::Apis::CalendarV3::EventBirthdayProperties, decorator: Google::Apis::CalendarV3::EventBirthdayProperties::Representation
555
+
548
556
  property :color_id, as: 'colorId'
549
557
  property :conference_data, as: 'conferenceData', class: Google::Apis::CalendarV3::ConferenceData, decorator: Google::Apis::CalendarV3::ConferenceData::Representation
550
558
 
@@ -687,6 +695,15 @@ module Google
687
695
  end
688
696
  end
689
697
 
698
+ class EventBirthdayProperties
699
+ # @private
700
+ class Representation < Google::Apis::Core::JsonRepresentation
701
+ property :contact, as: 'contact'
702
+ property :custom_type_name, as: 'customTypeName'
703
+ property :type, as: 'type'
704
+ end
705
+ end
706
+
690
707
  class EventDateTime
691
708
  # @private
692
709
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -32,12 +32,48 @@ module Google
32
32
  # See, edit, share, and permanently delete all the calendars you can access using Google Calendar
33
33
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
34
34
 
35
+ # See and change the sharing permissions of Google calendars you own
36
+ AUTH_CALENDAR_ACLS = 'https://www.googleapis.com/auth/calendar.acls'
37
+
38
+ # See the sharing permissions of Google calendars you own
39
+ AUTH_CALENDAR_ACLS_READONLY = 'https://www.googleapis.com/auth/calendar.acls.readonly'
40
+
41
+ # Make secondary Google calendars, and see, create, change, and delete events on them
42
+ AUTH_CALENDAR_APP_CREATED = 'https://www.googleapis.com/auth/calendar.app.created'
43
+
44
+ # See, add, and remove Google calendars you’re subscribed to
45
+ AUTH_CALENDAR_CALENDARLIST = 'https://www.googleapis.com/auth/calendar.calendarlist'
46
+
47
+ # See the list of Google calendars you’re subscribed to
48
+ AUTH_CALENDAR_CALENDARLIST_READONLY = 'https://www.googleapis.com/auth/calendar.calendarlist.readonly'
49
+
50
+ # See and change the properties of Google calendars you have access to, and create secondary calendars
51
+ AUTH_CALENDAR_CALENDARS = 'https://www.googleapis.com/auth/calendar.calendars'
52
+
53
+ # See the title, description, default time zone, and other properties of Google calendars you have access to
54
+ AUTH_CALENDAR_CALENDARS_READONLY = 'https://www.googleapis.com/auth/calendar.calendars.readonly'
55
+
35
56
  # View and edit events on all your calendars
36
57
  AUTH_CALENDAR_EVENTS = 'https://www.googleapis.com/auth/calendar.events'
37
58
 
59
+ # See the availability on Google calendars you have access to
60
+ AUTH_CALENDAR_EVENTS_FREEBUSY = 'https://www.googleapis.com/auth/calendar.events.freebusy'
61
+
62
+ # See, create, change, and delete events on Google calendars you own
63
+ AUTH_CALENDAR_EVENTS_OWNED = 'https://www.googleapis.com/auth/calendar.events.owned'
64
+
65
+ # See the events on Google calendars you own
66
+ AUTH_CALENDAR_EVENTS_OWNED_READONLY = 'https://www.googleapis.com/auth/calendar.events.owned.readonly'
67
+
68
+ # See the events on public calendars
69
+ AUTH_CALENDAR_EVENTS_PUBLIC_READONLY = 'https://www.googleapis.com/auth/calendar.events.public.readonly'
70
+
38
71
  # View events on all your calendars
39
72
  AUTH_CALENDAR_EVENTS_READONLY = 'https://www.googleapis.com/auth/calendar.events.readonly'
40
73
 
74
+ # View your availability in your calendars
75
+ AUTH_CALENDAR_FREEBUSY = 'https://www.googleapis.com/auth/calendar.freebusy'
76
+
41
77
  # See and download any calendar you can access using your Google Calendar
42
78
  AUTH_CALENDAR_READONLY = 'https://www.googleapis.com/auth/calendar.readonly'
43
79
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-calendar_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-10-06 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-calendar_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-calendar_v3/v0.44.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-calendar_v3/v0.46.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-calendar_v3
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.6
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Calendar API V3
82
79
  test_files: []