google-apis-calendar_v3 0.24.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 416bab9c2fcea7328872a96b95c3217e517626e2e1c05db5292bd1b1e19ae730
4
- data.tar.gz: 5339c93c55e1b9ba7326fd1fbe1e853e6b296af10d165133d79c3d9d31c97210
3
+ metadata.gz: d2d8273d51a4bcf8bca470fdbc63b6289f7b5b669bc5c82997ae1505a36696fc
4
+ data.tar.gz: 2e599eb2612e9b66fe128e72c409b4b7240f01dc53a08cf39c7382af107d3348
5
5
  SHA512:
6
- metadata.gz: 3a85aa9808f50d699e8a27068158197bc16cc6d318655305fbf43ff25b1a1d4adaf511dc66cf6a440b5694206cb8a56c27b39dab9fa83c6b59f3df11e44e3a11
7
- data.tar.gz: 65e9046073dd84a67e7be43949f5e01a56e7b13e1b823da5cdb031d264a405d879e1a5acfc62c6ed264884284cf8ebe20274919dcde56cbba9d240047cbdb409
6
+ metadata.gz: db985762e176719cc7b8ecaca2e708ebfefeef9b6da34edd02f9e1ccf31486a78849cff276f10aaa06ec6668d16d3bcc9b87701502b1ce6f939454b1c85930ba
7
+ data.tar.gz: 464d04a578ca4be77f3b82f5eb83cc3b0782e270879e485ad10c6208db642343394bc8052e35e6bc3e010c92e63b08e104cbc7a2aa891f1ee14d96ebb96bcfaf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-calendar_v3
2
2
 
3
+ ### v0.25.0 (2023-02-26)
4
+
5
+ * Regenerated from discovery document revision 20230217
6
+ * Regenerated using generator version 0.12.0
7
+
3
8
  ### v0.24.0 (2022-10-28)
4
9
 
5
10
  * Regenerated using generator version 0.11.0
@@ -1114,6 +1114,7 @@ module Google
1114
1114
  # - "default" - A regular event or not further specified.
1115
1115
  # - "outOfOffice" - An out-of-office event.
1116
1116
  # - "focusTime" - A focus-time event.
1117
+ # - "workingLocation" - A working location event.
1117
1118
  # Corresponds to the JSON property `eventType`
1118
1119
  # @return [String]
1119
1120
  attr_accessor :event_type
@@ -1333,6 +1334,11 @@ module Google
1333
1334
  # @return [String]
1334
1335
  attr_accessor :visibility
1335
1336
 
1337
+ # Working Location event data. Read-only.
1338
+ # Corresponds to the JSON property `workingLocationProperties`
1339
+ # @return [Google::Apis::CalendarV3::EventWorkingLocationProperties]
1340
+ attr_accessor :working_location_properties
1341
+
1336
1342
  def initialize(**args)
1337
1343
  update!(**args)
1338
1344
  end
@@ -1378,6 +1384,7 @@ module Google
1378
1384
  @transparency = args[:transparency] if args.key?(:transparency)
1379
1385
  @updated = args[:updated] if args.key?(:updated)
1380
1386
  @visibility = args[:visibility] if args.key?(:visibility)
1387
+ @working_location_properties = args[:working_location_properties] if args.key?(:working_location_properties)
1381
1388
  end
1382
1389
 
1383
1390
  # The creator of the event. Read-only.
@@ -1819,6 +1826,100 @@ module Google
1819
1826
  end
1820
1827
  end
1821
1828
 
1829
+ #
1830
+ class EventWorkingLocationProperties
1831
+ include Google::Apis::Core::Hashable
1832
+
1833
+ # If present, specifies that the user is working from a custom location.
1834
+ # Corresponds to the JSON property `customLocation`
1835
+ # @return [Google::Apis::CalendarV3::EventWorkingLocationProperties::CustomLocation]
1836
+ attr_accessor :custom_location
1837
+
1838
+ # If present, specifies that the user is working at home.
1839
+ # Corresponds to the JSON property `homeOffice`
1840
+ # @return [Object]
1841
+ attr_accessor :home_office
1842
+
1843
+ # If present, specifies that the user is working from an office.
1844
+ # Corresponds to the JSON property `officeLocation`
1845
+ # @return [Google::Apis::CalendarV3::EventWorkingLocationProperties::OfficeLocation]
1846
+ attr_accessor :office_location
1847
+
1848
+ def initialize(**args)
1849
+ update!(**args)
1850
+ end
1851
+
1852
+ # Update properties of this object
1853
+ def update!(**args)
1854
+ @custom_location = args[:custom_location] if args.key?(:custom_location)
1855
+ @home_office = args[:home_office] if args.key?(:home_office)
1856
+ @office_location = args[:office_location] if args.key?(:office_location)
1857
+ end
1858
+
1859
+ # If present, specifies that the user is working from a custom location.
1860
+ class CustomLocation
1861
+ include Google::Apis::Core::Hashable
1862
+
1863
+ # An optional extra label for additional information.
1864
+ # Corresponds to the JSON property `label`
1865
+ # @return [String]
1866
+ attr_accessor :label
1867
+
1868
+ def initialize(**args)
1869
+ update!(**args)
1870
+ end
1871
+
1872
+ # Update properties of this object
1873
+ def update!(**args)
1874
+ @label = args[:label] if args.key?(:label)
1875
+ end
1876
+ end
1877
+
1878
+ # If present, specifies that the user is working from an office.
1879
+ class OfficeLocation
1880
+ include Google::Apis::Core::Hashable
1881
+
1882
+ # An optional building identifier. This should reference a building ID in the
1883
+ # organization's Resources database.
1884
+ # Corresponds to the JSON property `buildingId`
1885
+ # @return [String]
1886
+ attr_accessor :building_id
1887
+
1888
+ # An optional arbitrary desk identifier.
1889
+ # Corresponds to the JSON property `deskId`
1890
+ # @return [String]
1891
+ attr_accessor :desk_id
1892
+
1893
+ # An optional arbitrary floor identifier.
1894
+ # Corresponds to the JSON property `floorId`
1895
+ # @return [String]
1896
+ attr_accessor :floor_id
1897
+
1898
+ # An optional arbitrary floor section identifier.
1899
+ # Corresponds to the JSON property `floorSectionId`
1900
+ # @return [String]
1901
+ attr_accessor :floor_section_id
1902
+
1903
+ # An optional extra label for additional information.
1904
+ # Corresponds to the JSON property `label`
1905
+ # @return [String]
1906
+ attr_accessor :label
1907
+
1908
+ def initialize(**args)
1909
+ update!(**args)
1910
+ end
1911
+
1912
+ # Update properties of this object
1913
+ def update!(**args)
1914
+ @building_id = args[:building_id] if args.key?(:building_id)
1915
+ @desk_id = args[:desk_id] if args.key?(:desk_id)
1916
+ @floor_id = args[:floor_id] if args.key?(:floor_id)
1917
+ @floor_section_id = args[:floor_section_id] if args.key?(:floor_section_id)
1918
+ @label = args[:label] if args.key?(:label)
1919
+ end
1920
+ end
1921
+ end
1922
+
1822
1923
  #
1823
1924
  class Events
1824
1925
  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.24.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220715"
25
+ REVISION = "20230217"
26
26
  end
27
27
  end
28
28
  end
@@ -214,6 +214,24 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class EventWorkingLocationProperties
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ class CustomLocation
221
+ class Representation < Google::Apis::Core::JsonRepresentation; end
222
+
223
+ include Google::Apis::Core::JsonObjectSupport
224
+ end
225
+
226
+ class OfficeLocation
227
+ class Representation < Google::Apis::Core::JsonRepresentation; end
228
+
229
+ include Google::Apis::Core::JsonObjectSupport
230
+ end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
217
235
  class Events
218
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
237
 
@@ -562,6 +580,8 @@ module Google
562
580
  property :updated, as: 'updated', type: DateTime
563
581
 
564
582
  property :visibility, as: 'visibility'
583
+ property :working_location_properties, as: 'workingLocationProperties', class: Google::Apis::CalendarV3::EventWorkingLocationProperties, decorator: Google::Apis::CalendarV3::EventWorkingLocationProperties::Representation
584
+
565
585
  end
566
586
 
567
587
  class Creator
@@ -670,6 +690,35 @@ module Google
670
690
  end
671
691
  end
672
692
 
693
+ class EventWorkingLocationProperties
694
+ # @private
695
+ class Representation < Google::Apis::Core::JsonRepresentation
696
+ property :custom_location, as: 'customLocation', class: Google::Apis::CalendarV3::EventWorkingLocationProperties::CustomLocation, decorator: Google::Apis::CalendarV3::EventWorkingLocationProperties::CustomLocation::Representation
697
+
698
+ property :home_office, as: 'homeOffice'
699
+ property :office_location, as: 'officeLocation', class: Google::Apis::CalendarV3::EventWorkingLocationProperties::OfficeLocation, decorator: Google::Apis::CalendarV3::EventWorkingLocationProperties::OfficeLocation::Representation
700
+
701
+ end
702
+
703
+ class CustomLocation
704
+ # @private
705
+ class Representation < Google::Apis::Core::JsonRepresentation
706
+ property :label, as: 'label'
707
+ end
708
+ end
709
+
710
+ class OfficeLocation
711
+ # @private
712
+ class Representation < Google::Apis::Core::JsonRepresentation
713
+ property :building_id, as: 'buildingId'
714
+ property :desk_id, as: 'deskId'
715
+ property :floor_id, as: 'floorId'
716
+ property :floor_section_id, as: 'floorSectionId'
717
+ property :label, as: 'label'
718
+ end
719
+ end
720
+ end
721
+
673
722
  class Events
674
723
  # @private
675
724
  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.24.0
4
+ version: 0.25.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: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2023-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-calendar_v3/v0.25.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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Calendar API V3