google-apis-calendar_v3 0.41.0 → 0.45.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: 5af3e2671154177642ef9b21dc6114047c2367f682eda6f2ce5c1db4daa55fa3
4
- data.tar.gz: 9a0bde4ec3af6c9cf910ecb484acbedac73647bc23746e698c543d1c2b925b0a
3
+ metadata.gz: e73bf9ffca5d4acee2bf442373240f38e562b4d82f692fe4d1f03722a6904e03
4
+ data.tar.gz: 0467a11d647fcdff2b415800200848eb066d8d8946c16ddb4260aee05dd3319f
5
5
  SHA512:
6
- metadata.gz: 90dd450f1639f8e691787e41443158a0d3b1a0f35798b39dc47a78494522462ffaae291ed0441ce70c4d948649f1258af86218e7f9d1d8b58ac6c09ec6e298c4
7
- data.tar.gz: e997d7cf2d0cf690cc2efb66895a27eb066d07ef4defbcda66f1b8e6048d71cc8c0858b9ff64f65a1f2465d634f09270431e2fb7b82eb4f820de296c7109afac
6
+ metadata.gz: 418ad6bf0cf6e176854a542c15ba93c8cd4f2b21d652c9a47a92b85d00eb0d4d24ea7577002d7368b3facfeed58ca22a4263fed8706424f2c38d8de3e70242e1
7
+ data.tar.gz: d6e91d434078db48602f25c102bd6bd38d318027bf1d0e0e3fae5f80772d6ea0545f67d55539cde6c36d8c6927fc1e74b4a2829dabac5e8fa486d18053f54c3a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-calendar_v3
2
2
 
3
+ ### v0.45.0 (2024-11-17)
4
+
5
+ * Regenerated from discovery document revision 20241101
6
+
7
+ ### v0.44.0 (2024-10-06)
8
+
9
+ * Regenerated from discovery document revision 20240927
10
+
11
+ ### v0.43.0 (2024-09-15)
12
+
13
+ * Regenerated from discovery document revision 20240906
14
+ * Regenerated using generator version 0.15.1
15
+
16
+ ### v0.42.0 (2024-07-25)
17
+
18
+ * Regenerated from discovery document revision 20240705
19
+
3
20
  ### v0.41.0 (2024-05-26)
4
21
 
5
22
  * Regenerated from discovery document revision 20240517
@@ -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`
@@ -1112,11 +1117,12 @@ module Google
1112
1117
 
1113
1118
  # Specific type of the event. This cannot be modified after the event is created.
1114
1119
  # Possible values are:
1120
+ # - "birthday" - A special all-day event with an annual recurrence.
1115
1121
  # - "default" - A regular event or not further specified.
1116
- # - "outOfOffice" - An out-of-office event.
1117
1122
  # - "focusTime" - A focus-time event.
1118
- # - "workingLocation" - A working location event.
1119
1123
  # - "fromGmail" - An event from Gmail. This type of event cannot be created.
1124
+ # - "outOfOffice" - An out-of-office event.
1125
+ # - "workingLocation" - A working location event.
1120
1126
  # Corresponds to the JSON property `eventType`
1121
1127
  # @return [String]
1122
1128
  attr_accessor :event_type
@@ -1260,7 +1266,9 @@ module Google
1260
1266
  # @return [String]
1261
1267
  attr_accessor :recurring_event_id
1262
1268
 
1263
- # Information about the event's reminders for the authenticated user.
1269
+ # Information about the event's reminders for the authenticated user. Note that
1270
+ # changing reminders does not also change the updated property of the enclosing
1271
+ # event.
1264
1272
  # Corresponds to the JSON property `reminders`
1265
1273
  # @return [Google::Apis::CalendarV3::Event::Reminders]
1266
1274
  attr_accessor :reminders
@@ -1328,7 +1336,8 @@ module Google
1328
1336
  # @return [String]
1329
1337
  attr_accessor :transparency
1330
1338
 
1331
- # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1339
+ # Last modification time of the main event data (as a RFC3339 timestamp).
1340
+ # Updating event reminders will not cause this to change. Read-only.
1332
1341
  # Corresponds to the JSON property `updated`
1333
1342
  # @return [DateTime]
1334
1343
  attr_accessor :updated
@@ -1361,6 +1370,7 @@ module Google
1361
1370
  @attachments = args[:attachments] if args.key?(:attachments)
1362
1371
  @attendees = args[:attendees] if args.key?(:attendees)
1363
1372
  @attendees_omitted = args[:attendees_omitted] if args.key?(:attendees_omitted)
1373
+ @birthday_properties = args[:birthday_properties] if args.key?(:birthday_properties)
1364
1374
  @color_id = args[:color_id] if args.key?(:color_id)
1365
1375
  @conference_data = args[:conference_data] if args.key?(:conference_data)
1366
1376
  @created = args[:created] if args.key?(:created)
@@ -1576,7 +1586,9 @@ module Google
1576
1586
  end
1577
1587
  end
1578
1588
 
1579
- # Information about the event's reminders for the authenticated user.
1589
+ # Information about the event's reminders for the authenticated user. Note that
1590
+ # changing reminders does not also change the updated property of the enclosing
1591
+ # event.
1580
1592
  class Reminders
1581
1593
  include Google::Apis::Core::Hashable
1582
1594
 
@@ -1741,8 +1753,10 @@ module Google
1741
1753
  # - "accepted" - The attendee has accepted the invitation. Warning: If you add
1742
1754
  # an event using the values declined, tentative, or accepted, attendees with the
1743
1755
  # "Add invitations to my calendar" setting set to "When I respond to invitation
1744
- # in email" won't see an event on their calendar unless they choose to change
1745
- # their invitation response in the event invitation email.
1756
+ # in email" or "Only if the sender is known" might have their response reset to
1757
+ # needsAction and won't see an event in their calendar unless they change their
1758
+ # response in the event invitation email. Furthermore, if more than 200 guests
1759
+ # are invited to the event, response status is not propagated to the guests.
1746
1760
  # Corresponds to the JSON property `responseStatus`
1747
1761
  # @return [String]
1748
1762
  attr_accessor :response_status
@@ -1773,6 +1787,49 @@ module Google
1773
1787
  end
1774
1788
  end
1775
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
+
1776
1833
  #
1777
1834
  class EventDateTime
1778
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.41.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240517"
25
+ REVISION = "20241101"
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
@@ -1434,8 +1434,8 @@ module Google
1434
1434
  end
1435
1435
 
1436
1436
  # Moves an event to another calendar, i.e. changes an event's organizer. Note
1437
- # that only default events can be moved; outOfOffice, focusTime, workingLocation
1438
- # and fromGmail events cannot be moved.
1437
+ # that only default events can be moved; birthday, focusTime, fromGmail,
1438
+ # outOfOffice and workingLocation events cannot be moved.
1439
1439
  # @param [String] calendar_id
1440
1440
  # Calendar identifier of the source calendar where the event currently is on.
1441
1441
  # @param [String] event_id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-calendar_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-26 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-calendar_v3/v0.45.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-calendar_v3
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Calendar API V3