google-apis-calendar_v3 0.44.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e73bf9ffca5d4acee2bf442373240f38e562b4d82f692fe4d1f03722a6904e03
|
4
|
+
data.tar.gz: 0467a11d647fcdff2b415800200848eb066d8d8946c16ddb4260aee05dd3319f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 418ad6bf0cf6e176854a542c15ba93c8cd4f2b21d652c9a47a92b85d00eb0d4d24ea7577002d7368b3facfeed58ca22a4263fed8706424f2c38d8de3e70242e1
|
7
|
+
data.tar.gz: d6e91d434078db48602f25c102bd6bd38d318027bf1d0e0e3fae5f80772d6ea0545f67d55539cde6c36d8c6927fc1e74b4a2829dabac5e8fa486d18053f54c3a
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
19
|
+
GEM_VERSION = "0.45.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
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.
|
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-
|
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.
|
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.
|
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
|