google-api-client 0.9.pre3 → 0.9.pre4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/CHANGELOG.md +14 -2
  4. data/Gemfile +4 -0
  5. data/MIGRATING.md +1 -1
  6. data/README.md +17 -3
  7. data/api_names.yaml +127 -14
  8. data/api_names_out.yaml +5442 -710
  9. data/bin/generate-api +16 -14
  10. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
  12. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
  13. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  15. data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
  16. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  17. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  18. data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
  19. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  20. data/generated/google/apis/admin_directory_v1.rb +25 -1
  21. data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
  22. data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
  23. data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
  24. data/generated/google/apis/admin_reports_v1.rb +1 -1
  25. data/generated/google/apis/admin_reports_v1/service.rb +5 -10
  26. data/generated/google/apis/adsense_v1_4.rb +1 -1
  27. data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
  28. data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
  29. data/generated/google/apis/adsense_v1_4/service.rb +40 -78
  30. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  31. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
  32. data/generated/google/apis/analytics_v3.rb +1 -1
  33. data/generated/google/apis/analytics_v3/classes.rb +11 -13
  34. data/generated/google/apis/analytics_v3/service.rb +84 -158
  35. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
  38. data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  41. data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
  42. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  43. data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
  44. data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
  45. data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
  46. data/generated/google/apis/appsactivity_v1.rb +1 -1
  47. data/generated/google/apis/appsactivity_v1/service.rb +1 -2
  48. data/generated/google/apis/appstate_v1.rb +1 -1
  49. data/generated/google/apis/appstate_v1/service.rb +6 -11
  50. data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
  51. data/generated/google/apis/bigquery_v2.rb +4 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +231 -16
  53. data/generated/google/apis/bigquery_v2/representations.rb +62 -0
  54. data/generated/google/apis/bigquery_v2/service.rb +24 -45
  55. data/generated/google/apis/blogger_v3/service.rb +33 -66
  56. data/generated/google/apis/books_v1.rb +1 -1
  57. data/generated/google/apis/books_v1/classes.rb +441 -0
  58. data/generated/google/apis/books_v1/representations.rb +177 -0
  59. data/generated/google/apis/books_v1/service.rb +210 -90
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +34 -18
  62. data/generated/google/apis/calendar_v3/service.rb +118 -103
  63. data/generated/google/apis/civicinfo_v2.rb +1 -1
  64. data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
  65. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +5 -10
  67. data/generated/google/apis/classroom_v1.rb +49 -0
  68. data/generated/google/apis/classroom_v1/classes.rb +512 -0
  69. data/generated/google/apis/classroom_v1/representations.rb +217 -0
  70. data/generated/google/apis/classroom_v1/service.rb +970 -0
  71. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
  74. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  75. data/generated/google/apis/clouddebugger_v2.rb +41 -0
  76. data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
  77. data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
  78. data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
  79. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  80. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
  81. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
  85. data/generated/google/apis/cloudtrace_v1.rb +35 -0
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
  88. data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
  89. data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
  90. data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
  91. data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
  92. data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
  93. data/generated/google/apis/compute_beta.rb +49 -0
  94. data/generated/google/apis/compute_beta/classes.rb +9128 -0
  95. data/generated/google/apis/compute_beta/representations.rb +3048 -0
  96. data/generated/google/apis/compute_beta/service.rb +10154 -0
  97. data/generated/google/apis/compute_v1.rb +1 -1
  98. data/generated/google/apis/compute_v1/classes.rb +1305 -520
  99. data/generated/google/apis/compute_v1/representations.rb +122 -15
  100. data/generated/google/apis/compute_v1/service.rb +2202 -1085
  101. data/generated/google/apis/container_v1.rb +1 -1
  102. data/generated/google/apis/container_v1/classes.rb +56 -31
  103. data/generated/google/apis/container_v1/representations.rb +12 -0
  104. data/generated/google/apis/container_v1/service.rb +62 -41
  105. data/generated/google/apis/content_v2.rb +2 -2
  106. data/generated/google/apis/content_v2/classes.rb +2252 -56
  107. data/generated/google/apis/content_v2/representations.rb +917 -87
  108. data/generated/google/apis/content_v2/service.rb +680 -85
  109. data/generated/google/apis/coordinate_v1.rb +1 -1
  110. data/generated/google/apis/coordinate_v1/service.rb +16 -25
  111. data/generated/google/apis/customsearch_v1/service.rb +1 -2
  112. data/generated/google/apis/datastore_v1beta2.rb +1 -1
  113. data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
  114. data/generated/google/apis/deploymentmanager_v2.rb +44 -0
  115. data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
  116. data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
  117. data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
  118. data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
  119. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
  120. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
  121. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
  122. data/generated/google/apis/dfareporting_v2_1.rb +1 -1
  123. data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
  124. data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
  125. data/generated/google/apis/discovery_v1/classes.rb +7 -0
  126. data/generated/google/apis/discovery_v1/representations.rb +1 -0
  127. data/generated/google/apis/discovery_v1/service.rb +2 -4
  128. data/generated/google/apis/dns_v1.rb +4 -1
  129. data/generated/google/apis/dns_v1/service.rb +9 -18
  130. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  131. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
  132. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
  133. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
  134. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  135. data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
  136. data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
  137. data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
  138. data/generated/google/apis/drive_v2.rb +1 -1
  139. data/generated/google/apis/drive_v2/classes.rb +73 -30
  140. data/generated/google/apis/drive_v2/representations.rb +14 -0
  141. data/generated/google/apis/drive_v2/service.rb +139 -135
  142. data/generated/google/apis/drive_v3.rb +55 -0
  143. data/generated/google/apis/drive_v3/classes.rb +1534 -0
  144. data/generated/google/apis/drive_v3/representations.rb +497 -0
  145. data/generated/google/apis/drive_v3/service.rb +1541 -0
  146. data/generated/google/apis/fitness_v1.rb +1 -1
  147. data/generated/google/apis/fitness_v1/service.rb +14 -27
  148. data/generated/google/apis/fusiontables_v2/service.rb +40 -73
  149. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  150. data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
  151. data/generated/google/apis/games_management_v1management.rb +37 -0
  152. data/generated/google/apis/games_management_v1management/classes.rb +524 -0
  153. data/generated/google/apis/games_management_v1management/representations.rb +231 -0
  154. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  155. data/generated/google/apis/games_v1.rb +1 -1
  156. data/generated/google/apis/games_v1/classes.rb +39 -0
  157. data/generated/google/apis/games_v1/representations.rb +14 -0
  158. data/generated/google/apis/games_v1/service.rb +93 -109
  159. data/generated/google/apis/gan_v1beta1/service.rb +10 -20
  160. data/generated/google/apis/genomics_v1.rb +5 -3
  161. data/generated/google/apis/genomics_v1/classes.rb +519 -200
  162. data/generated/google/apis/genomics_v1/representations.rb +126 -13
  163. data/generated/google/apis/genomics_v1/service.rb +392 -236
  164. data/generated/google/apis/gmail_v1.rb +4 -1
  165. data/generated/google/apis/gmail_v1/service.rb +39 -71
  166. data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
  167. data/generated/google/apis/groupssettings_v1/service.rb +3 -6
  168. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  169. data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
  170. data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
  171. data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
  172. data/generated/google/apis/kgsearch_v1.rb +32 -0
  173. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  174. data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
  175. data/generated/google/apis/kgsearch_v1/service.rb +111 -0
  176. data/generated/google/apis/licensing_v1.rb +1 -1
  177. data/generated/google/apis/licensing_v1/service.rb +7 -14
  178. data/generated/google/apis/logging_v1beta3.rb +16 -4
  179. data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
  180. data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
  181. data/generated/google/apis/logging_v1beta3/service.rb +435 -104
  182. data/generated/google/apis/manager_v1beta2.rb +3 -0
  183. data/generated/google/apis/manager_v1beta2/service.rb +8 -16
  184. data/generated/google/apis/mapsengine_v1.rb +1 -1
  185. data/generated/google/apis/mapsengine_v1/service.rb +85 -162
  186. data/generated/google/apis/mirror_v1.rb +1 -1
  187. data/generated/google/apis/mirror_v1/service.rb +28 -52
  188. data/generated/google/apis/oauth2_v2.rb +1 -1
  189. data/generated/google/apis/oauth2_v2/service.rb +4 -8
  190. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
  191. data/generated/google/apis/partners_v2.rb +32 -0
  192. data/generated/google/apis/partners_v2/classes.rb +942 -0
  193. data/generated/google/apis/partners_v2/representations.rb +402 -0
  194. data/generated/google/apis/partners_v2/service.rb +400 -0
  195. data/generated/google/apis/plus_domains_v1.rb +1 -1
  196. data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
  197. data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
  198. data/generated/google/apis/plus_domains_v1/service.rb +21 -41
  199. data/generated/google/apis/plus_v1.rb +1 -1
  200. data/generated/google/apis/plus_v1/classes.rb +207 -0
  201. data/generated/google/apis/plus_v1/representations.rb +114 -0
  202. data/generated/google/apis/plus_v1/service.rb +11 -56
  203. data/generated/google/apis/prediction_v1_6.rb +1 -1
  204. data/generated/google/apis/prediction_v1_6/service.rb +8 -16
  205. data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
  206. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
  207. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
  208. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
  209. data/generated/google/apis/pubsub_v1.rb +37 -0
  210. data/generated/google/apis/pubsub_v1/classes.rb +614 -0
  211. data/generated/google/apis/pubsub_v1/representations.rb +281 -0
  212. data/generated/google/apis/pubsub_v1/service.rb +774 -0
  213. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  214. data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
  215. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
  216. data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
  217. data/generated/google/apis/qpx_express_v1/service.rb +1 -2
  218. data/generated/google/apis/replicapool_v1beta2.rb +3 -0
  219. data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
  220. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
  221. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
  222. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
  223. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
  224. data/generated/google/apis/reseller_v1.rb +1 -1
  225. data/generated/google/apis/reseller_v1/classes.rb +19 -1
  226. data/generated/google/apis/reseller_v1/representations.rb +1 -0
  227. data/generated/google/apis/reseller_v1/service.rb +16 -30
  228. data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
  230. data/generated/google/apis/script_v1.rb +61 -0
  231. data/generated/google/apis/script_v1/classes.rb +259 -0
  232. data/generated/google/apis/script_v1/representations.rb +106 -0
  233. data/generated/google/apis/script_v1/service.rb +98 -0
  234. data/generated/google/apis/site_verification_v1.rb +1 -1
  235. data/generated/google/apis/site_verification_v1/service.rb +8 -15
  236. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  237. data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
  238. data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
  239. data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
  240. data/generated/google/apis/storage_v1.rb +5 -2
  241. data/generated/google/apis/storage_v1/classes.rb +47 -4
  242. data/generated/google/apis/storage_v1/representations.rb +18 -0
  243. data/generated/google/apis/storage_v1/service.rb +77 -94
  244. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  245. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  246. data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
  247. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  248. data/generated/google/apis/tagmanager_v1.rb +1 -1
  249. data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
  250. data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
  251. data/generated/google/apis/tagmanager_v1/service.rb +114 -275
  252. data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
  253. data/generated/google/apis/tasks_v1/service.rb +14 -28
  254. data/generated/google/apis/translate_v2/service.rb +3 -6
  255. data/generated/google/apis/urlshortener_v1/service.rb +3 -6
  256. data/generated/google/apis/webmasters_v3.rb +3 -3
  257. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  258. data/generated/google/apis/webmasters_v3/service.rb +16 -30
  259. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  260. data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
  261. data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
  262. data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
  263. data/generated/google/apis/youtube_v3.rb +1 -1
  264. data/generated/google/apis/youtube_v3/classes.rb +111 -78
  265. data/generated/google/apis/youtube_v3/representations.rb +2 -0
  266. data/generated/google/apis/youtube_v3/service.rb +78 -246
  267. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  268. data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
  269. data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
  270. data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
  271. data/google-api-client.gemspec +3 -3
  272. data/lib/google/api_client/auth/installed_app.rb +2 -2
  273. data/lib/google/api_client/auth/key_utils.rb +1 -0
  274. data/lib/google/api_client/auth/storage.rb +1 -0
  275. data/lib/google/api_client/auth/storages/file_store.rb +1 -0
  276. data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
  277. data/lib/google/api_client/client_secrets.rb +4 -5
  278. data/lib/google/apis/core/api_command.rb +2 -2
  279. data/lib/google/apis/core/base_service.rb +1 -0
  280. data/lib/google/apis/core/batch.rb +25 -8
  281. data/lib/google/apis/core/download.rb +1 -1
  282. data/lib/google/apis/core/http_command.rb +24 -12
  283. data/lib/google/apis/core/multipart.rb +20 -6
  284. data/lib/google/apis/core/upload.rb +11 -4
  285. data/lib/google/apis/generator/annotator.rb +29 -10
  286. data/lib/google/apis/generator/helpers.rb +1 -1
  287. data/lib/google/apis/generator/templates/_method.tmpl +5 -6
  288. data/lib/google/apis/options.rb +7 -3
  289. data/lib/google/apis/version.rb +1 -1
  290. data/samples/calendar/calendar.rb +1 -1
  291. data/samples/drive/drive.rb +9 -2
  292. data/samples/pubsub/pubsub.rb +5 -6
  293. data/samples/translate/translate.rb +1 -5
  294. data/script/generate +20 -5
  295. data/spec/fixtures/files/child/.gitignore +0 -0
  296. data/spec/fixtures/files/invalid.json +1 -0
  297. data/spec/google/api_client/client_secrets_spec.rb +38 -1
  298. data/spec/google/apis/core/batch_spec.rb +22 -8
  299. data/spec/google/apis/core/download_spec.rb +13 -0
  300. data/spec/google/apis/core/http_command_spec.rb +26 -9
  301. data/spec/google/apis/core/upload_spec.rb +65 -17
  302. data/spec/google/apis/options_spec.rb +8 -0
  303. data/spec/integration_tests/adsense_spec.rb +28 -0
  304. data/spec/integration_tests/pubsub_spec.rb +3 -3
  305. data/spec/spec_helper.rb +5 -1
  306. data/third_party/hurley_patches.rb +103 -0
  307. metadata +87 -7
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20150720'
28
+ REVISION = '20151206'
29
29
 
30
30
  # Manage your calendars
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
@@ -165,7 +165,8 @@ module Google
165
165
  # @return [String]
166
166
  attr_accessor :etag
167
167
 
168
- # Identifier of the calendar.
168
+ # Identifier of the calendar. To retrieve IDs call the calendarList.list()
169
+ # method.
169
170
  # Corresponds to the JSON property `id`
170
171
  # @return [String]
171
172
  attr_accessor :id
@@ -580,7 +581,7 @@ module Google
580
581
  # @return [String]
581
582
  attr_accessor :kind
582
583
 
583
- # Last modification time of the color palette (as a RFC 3339 timestamp). Read-
584
+ # Last modification time of the color palette (as a RFC3339 timestamp). Read-
584
585
  # only.
585
586
  # Corresponds to the JSON property `updated`
586
587
  # @return [DateTime]
@@ -636,8 +637,8 @@ module Google
636
637
  class Event
637
638
  include Google::Apis::Core::Hashable
638
639
 
639
- # Whether anyone can invite themselves to the event. Optional. The default is
640
- # False.
640
+ # Whether anyone can invite themselves to the event (currently works for Google+
641
+ # events only). Optional. The default is False.
641
642
  # Corresponds to the JSON property `anyoneCanAddSelf`
642
643
  # @return [Boolean]
643
644
  attr_accessor :anyone_can_add_self
@@ -673,7 +674,7 @@ module Google
673
674
  # @return [String]
674
675
  attr_accessor :color_id
675
676
 
676
- # Creation time of the event (as a RFC 3339 timestamp). Read-only.
677
+ # Creation time of the event (as a RFC3339 timestamp). Read-only.
677
678
  # Corresponds to the JSON property `created`
678
679
  # @return [DateTime]
679
680
  attr_accessor :created
@@ -748,13 +749,19 @@ module Google
748
749
  # @return [String]
749
750
  attr_accessor :html_link
750
751
 
751
- # Event ID in the iCalendar format.
752
+ # Event unique identifier as defined in RFC5545. It is used to uniquely identify
753
+ # events accross calendaring systems and must be supplied when importing events
754
+ # via the import method.
755
+ # Note that the icalUID and the id are not identical and only one of them should
756
+ # be supplied at event creation time. One difference in their semantics is that
757
+ # in recurring events, all occurrences of one event have different ids while
758
+ # they all share the same icalUIDs.
752
759
  # Corresponds to the JSON property `iCalUID`
753
760
  # @return [String]
754
761
  attr_accessor :i_cal_uid
755
762
 
756
- # Identifier of the event. When creating new single or recurring events, you can
757
- # specify their IDs. Provided IDs must follow these rules:
763
+ # Opaque identifier of the event. When creating new single or recurring events,
764
+ # you can specify their IDs. Provided IDs must follow these rules:
758
765
  # - characters allowed in the ID are those used in base32hex encoding, i.e.
759
766
  # lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
760
767
  # - the length of the ID must be between 5 and 1024 characters
@@ -762,6 +769,11 @@ module Google
762
769
  # of the system, we cannot guarantee that ID collisions will be detected at
763
770
  # event creation time. To minimize the risk of collisions we recommend using an
764
771
  # established UUID algorithm such as one described in RFC4122.
772
+ # If you do not specify an ID, it will be automatically generated by the server.
773
+ # Note that the icalUID and the id are not identical and only one of them should
774
+ # be supplied at event creation time. One difference in their semantics is that
775
+ # in recurring events, all occurrences of one event have different ids while
776
+ # they all share the same icalUIDs.
765
777
  # Corresponds to the JSON property `id`
766
778
  # @return [String]
767
779
  attr_accessor :id
@@ -815,8 +827,8 @@ module Google
815
827
  # @return [Array<String>]
816
828
  attr_accessor :recurrence
817
829
 
818
- # For an instance of a recurring event, this is the event ID of the recurring
819
- # event itself. Immutable.
830
+ # For an instance of a recurring event, this is the id of the recurring event to
831
+ # which this instance belongs. Immutable.
820
832
  # Corresponds to the JSON property `recurringEventId`
821
833
  # @return [String]
822
834
  attr_accessor :recurring_event_id
@@ -864,7 +876,7 @@ module Google
864
876
  # @return [String]
865
877
  attr_accessor :transparency
866
878
 
867
- # Last modification time of the event (as a RFC 3339 timestamp). Read-only.
879
+ # Last modification time of the event (as a RFC3339 timestamp). Read-only.
868
880
  # Corresponds to the JSON property `updated`
869
881
  # @return [DateTime]
870
882
  attr_accessor :updated
@@ -941,7 +953,8 @@ module Google
941
953
  # @return [String]
942
954
  attr_accessor :email
943
955
 
944
- # The creator's Profile ID, if available.
956
+ # The creator's Profile ID, if available. It corresponds to theid field in the
957
+ # People collection of the Google+ API
945
958
  # Corresponds to the JSON property `id`
946
959
  # @return [String]
947
960
  attr_accessor :id
@@ -1070,12 +1083,14 @@ module Google
1070
1083
  # @return [String]
1071
1084
  attr_accessor :display_name
1072
1085
 
1073
- # The organizer's email address, if available.
1086
+ # The organizer's email address, if available. It must be a valid email address
1087
+ # as per RFC5322.
1074
1088
  # Corresponds to the JSON property `email`
1075
1089
  # @return [String]
1076
1090
  attr_accessor :email
1077
1091
 
1078
- # The organizer's Profile ID, if available.
1092
+ # The organizer's Profile ID, if available. It corresponds to theid field in the
1093
+ # People collection of the Google+ API
1079
1094
  # Corresponds to the JSON property `id`
1080
1095
  # @return [String]
1081
1096
  attr_accessor :id
@@ -1223,12 +1238,13 @@ module Google
1223
1238
  attr_accessor :display_name
1224
1239
 
1225
1240
  # The attendee's email address, if available. This field must be present when
1226
- # adding an attendee.
1241
+ # adding an attendee. It must be a valid email address as per RFC5322.
1227
1242
  # Corresponds to the JSON property `email`
1228
1243
  # @return [String]
1229
1244
  attr_accessor :email
1230
1245
 
1231
- # The attendee's Profile ID, if available.
1246
+ # The attendee's Profile ID, if available. It corresponds to theid field in the
1247
+ # People collection of the Google+ API
1232
1248
  # Corresponds to the JSON property `id`
1233
1249
  # @return [String]
1234
1250
  attr_accessor :id
@@ -1296,7 +1312,7 @@ module Google
1296
1312
  # @return [Date]
1297
1313
  attr_accessor :date
1298
1314
 
1299
- # The time, as a combined date-time value (formatted according to RFC 3339). A
1315
+ # The time, as a combined date-time value (formatted according to RFC3339). A
1300
1316
  # time zone offset is required unless a time zone is explicitly specified in
1301
1317
  # timeZone.
1302
1318
  # Corresponds to the JSON property `dateTime`
@@ -1424,7 +1440,7 @@ module Google
1424
1440
  # @return [String]
1425
1441
  attr_accessor :time_zone
1426
1442
 
1427
- # Last modification time of the calendar (as a RFC 3339 timestamp). Read-only.
1443
+ # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
1428
1444
  # Corresponds to the JSON property `updated`
1429
1445
  # @return [DateTime]
1430
1446
  attr_accessor :updated
@@ -54,7 +54,9 @@ module Google
54
54
 
55
55
  # Deletes an access control rule.
56
56
  # @param [String] calendar_id
57
- # Calendar identifier.
57
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
58
+ # method. If you want to access the primary calendar of the currently logged in
59
+ # user, use the "primary" keyword.
58
60
  # @param [String] rule_id
59
61
  # ACL rule identifier.
60
62
  # @param [String] fields
@@ -79,8 +81,7 @@ module Google
79
81
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
82
  # @raise [Google::Apis::AuthorizationError] Authorization is required
81
83
  def delete_acl(calendar_id, rule_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
82
- path = 'calendars/{calendarId}/acl/{ruleId}'
83
- command = make_simple_command(:delete, path, options)
84
+ command = make_simple_command(:delete, 'calendars/{calendarId}/acl/{ruleId}', options)
84
85
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
85
86
  command.params['ruleId'] = rule_id unless rule_id.nil?
86
87
  command.query['fields'] = fields unless fields.nil?
@@ -91,7 +92,9 @@ module Google
91
92
 
92
93
  # Returns an access control rule.
93
94
  # @param [String] calendar_id
94
- # Calendar identifier.
95
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
96
+ # method. If you want to access the primary calendar of the currently logged in
97
+ # user, use the "primary" keyword.
95
98
  # @param [String] rule_id
96
99
  # ACL rule identifier.
97
100
  # @param [String] fields
@@ -116,8 +119,7 @@ module Google
116
119
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
117
120
  # @raise [Google::Apis::AuthorizationError] Authorization is required
118
121
  def get_acl(calendar_id, rule_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
119
- path = 'calendars/{calendarId}/acl/{ruleId}'
120
- command = make_simple_command(:get, path, options)
122
+ command = make_simple_command(:get, 'calendars/{calendarId}/acl/{ruleId}', options)
121
123
  command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
122
124
  command.response_class = Google::Apis::CalendarV3::AclRule
123
125
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -130,7 +132,9 @@ module Google
130
132
 
131
133
  # Creates an access control rule.
132
134
  # @param [String] calendar_id
133
- # Calendar identifier.
135
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
136
+ # method. If you want to access the primary calendar of the currently logged in
137
+ # user, use the "primary" keyword.
134
138
  # @param [Google::Apis::CalendarV3::AclRule] acl_rule_object
135
139
  # @param [String] fields
136
140
  # Selector specifying which fields to include in a partial response.
@@ -154,8 +158,7 @@ module Google
154
158
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
155
159
  # @raise [Google::Apis::AuthorizationError] Authorization is required
156
160
  def insert_acl(calendar_id, acl_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
157
- path = 'calendars/{calendarId}/acl'
158
- command = make_simple_command(:post, path, options)
161
+ command = make_simple_command(:post, 'calendars/{calendarId}/acl', options)
159
162
  command.request_representation = Google::Apis::CalendarV3::AclRule::Representation
160
163
  command.request_object = acl_rule_object
161
164
  command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
@@ -169,7 +172,9 @@ module Google
169
172
 
170
173
  # Returns the rules in the access control list for the calendar.
171
174
  # @param [String] calendar_id
172
- # Calendar identifier.
175
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
176
+ # method. If you want to access the primary calendar of the currently logged in
177
+ # user, use the "primary" keyword.
173
178
  # @param [Fixnum] max_results
174
179
  # Maximum number of entries returned on one result page. By default the value is
175
180
  # 100 entries. The page size can never be larger than 250 entries. Optional.
@@ -212,8 +217,7 @@ module Google
212
217
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
213
218
  # @raise [Google::Apis::AuthorizationError] Authorization is required
214
219
  def list_acls(calendar_id, max_results: nil, page_token: nil, show_deleted: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
215
- path = 'calendars/{calendarId}/acl'
216
- command = make_simple_command(:get, path, options)
220
+ command = make_simple_command(:get, 'calendars/{calendarId}/acl', options)
217
221
  command.response_representation = Google::Apis::CalendarV3::Acl::Representation
218
222
  command.response_class = Google::Apis::CalendarV3::Acl
219
223
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -229,7 +233,9 @@ module Google
229
233
 
230
234
  # Updates an access control rule. This method supports patch semantics.
231
235
  # @param [String] calendar_id
232
- # Calendar identifier.
236
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
237
+ # method. If you want to access the primary calendar of the currently logged in
238
+ # user, use the "primary" keyword.
233
239
  # @param [String] rule_id
234
240
  # ACL rule identifier.
235
241
  # @param [Google::Apis::CalendarV3::AclRule] acl_rule_object
@@ -255,8 +261,7 @@ module Google
255
261
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
256
262
  # @raise [Google::Apis::AuthorizationError] Authorization is required
257
263
  def patch_acl(calendar_id, rule_id, acl_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
258
- path = 'calendars/{calendarId}/acl/{ruleId}'
259
- command = make_simple_command(:patch, path, options)
264
+ command = make_simple_command(:patch, 'calendars/{calendarId}/acl/{ruleId}', options)
260
265
  command.request_representation = Google::Apis::CalendarV3::AclRule::Representation
261
266
  command.request_object = acl_rule_object
262
267
  command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
@@ -271,7 +276,9 @@ module Google
271
276
 
272
277
  # Updates an access control rule.
273
278
  # @param [String] calendar_id
274
- # Calendar identifier.
279
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
280
+ # method. If you want to access the primary calendar of the currently logged in
281
+ # user, use the "primary" keyword.
275
282
  # @param [String] rule_id
276
283
  # ACL rule identifier.
277
284
  # @param [Google::Apis::CalendarV3::AclRule] acl_rule_object
@@ -297,8 +304,7 @@ module Google
297
304
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
298
305
  # @raise [Google::Apis::AuthorizationError] Authorization is required
299
306
  def update_acl(calendar_id, rule_id, acl_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
300
- path = 'calendars/{calendarId}/acl/{ruleId}'
301
- command = make_simple_command(:put, path, options)
307
+ command = make_simple_command(:put, 'calendars/{calendarId}/acl/{ruleId}', options)
302
308
  command.request_representation = Google::Apis::CalendarV3::AclRule::Representation
303
309
  command.request_object = acl_rule_object
304
310
  command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
@@ -313,7 +319,9 @@ module Google
313
319
 
314
320
  # Watch for changes to ACL resources.
315
321
  # @param [String] calendar_id
316
- # Calendar identifier.
322
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
323
+ # method. If you want to access the primary calendar of the currently logged in
324
+ # user, use the "primary" keyword.
317
325
  # @param [Google::Apis::CalendarV3::Channel] channel_object
318
326
  # @param [Fixnum] max_results
319
327
  # Maximum number of entries returned on one result page. By default the value is
@@ -357,8 +365,7 @@ module Google
357
365
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
358
366
  # @raise [Google::Apis::AuthorizationError] Authorization is required
359
367
  def watch_acl(calendar_id, channel_object = nil, max_results: nil, page_token: nil, show_deleted: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
360
- path = 'calendars/{calendarId}/acl/watch'
361
- command = make_simple_command(:post, path, options)
368
+ command = make_simple_command(:post, 'calendars/{calendarId}/acl/watch', options)
362
369
  command.request_representation = Google::Apis::CalendarV3::Channel::Representation
363
370
  command.request_object = channel_object
364
371
  command.response_representation = Google::Apis::CalendarV3::Channel::Representation
@@ -376,7 +383,9 @@ module Google
376
383
 
377
384
  # Deletes an entry on the user's calendar list.
378
385
  # @param [String] calendar_id
379
- # Calendar identifier.
386
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
387
+ # method. If you want to access the primary calendar of the currently logged in
388
+ # user, use the "primary" keyword.
380
389
  # @param [String] fields
381
390
  # Selector specifying which fields to include in a partial response.
382
391
  # @param [String] quota_user
@@ -399,8 +408,7 @@ module Google
399
408
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
400
409
  # @raise [Google::Apis::AuthorizationError] Authorization is required
401
410
  def delete_calendar_list(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
402
- path = 'users/me/calendarList/{calendarId}'
403
- command = make_simple_command(:delete, path, options)
411
+ command = make_simple_command(:delete, 'users/me/calendarList/{calendarId}', options)
404
412
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
405
413
  command.query['fields'] = fields unless fields.nil?
406
414
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -410,7 +418,9 @@ module Google
410
418
 
411
419
  # Returns an entry on the user's calendar list.
412
420
  # @param [String] calendar_id
413
- # Calendar identifier.
421
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
422
+ # method. If you want to access the primary calendar of the currently logged in
423
+ # user, use the "primary" keyword.
414
424
  # @param [String] fields
415
425
  # Selector specifying which fields to include in a partial response.
416
426
  # @param [String] quota_user
@@ -433,8 +443,7 @@ module Google
433
443
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
434
444
  # @raise [Google::Apis::AuthorizationError] Authorization is required
435
445
  def get_calendar_list(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
436
- path = 'users/me/calendarList/{calendarId}'
437
- command = make_simple_command(:get, path, options)
446
+ command = make_simple_command(:get, 'users/me/calendarList/{calendarId}', options)
438
447
  command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
439
448
  command.response_class = Google::Apis::CalendarV3::CalendarListEntry
440
449
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -473,8 +482,7 @@ module Google
473
482
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
474
483
  # @raise [Google::Apis::AuthorizationError] Authorization is required
475
484
  def insert_calendar_list(calendar_list_entry_object = nil, color_rgb_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
476
- path = 'users/me/calendarList'
477
- command = make_simple_command(:post, path, options)
485
+ command = make_simple_command(:post, 'users/me/calendarList', options)
478
486
  command.request_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
479
487
  command.request_object = calendar_list_entry_object
480
488
  command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
@@ -537,8 +545,7 @@ module Google
537
545
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
538
546
  # @raise [Google::Apis::AuthorizationError] Authorization is required
539
547
  def list_calendar_lists(max_results: nil, min_access_role: nil, page_token: nil, show_deleted: nil, show_hidden: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
540
- path = 'users/me/calendarList'
541
- command = make_simple_command(:get, path, options)
548
+ command = make_simple_command(:get, 'users/me/calendarList', options)
542
549
  command.response_representation = Google::Apis::CalendarV3::CalendarList::Representation
543
550
  command.response_class = Google::Apis::CalendarV3::CalendarList
544
551
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -556,7 +563,9 @@ module Google
556
563
  # Updates an entry on the user's calendar list. This method supports patch
557
564
  # semantics.
558
565
  # @param [String] calendar_id
559
- # Calendar identifier.
566
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
567
+ # method. If you want to access the primary calendar of the currently logged in
568
+ # user, use the "primary" keyword.
560
569
  # @param [Google::Apis::CalendarV3::CalendarListEntry] calendar_list_entry_object
561
570
  # @param [Boolean] color_rgb_format
562
571
  # Whether to use the foregroundColor and backgroundColor fields to write the
@@ -585,8 +594,7 @@ module Google
585
594
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
586
595
  # @raise [Google::Apis::AuthorizationError] Authorization is required
587
596
  def patch_calendar_list(calendar_id, calendar_list_entry_object = nil, color_rgb_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
588
- path = 'users/me/calendarList/{calendarId}'
589
- command = make_simple_command(:patch, path, options)
597
+ command = make_simple_command(:patch, 'users/me/calendarList/{calendarId}', options)
590
598
  command.request_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
591
599
  command.request_object = calendar_list_entry_object
592
600
  command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
@@ -601,7 +609,9 @@ module Google
601
609
 
602
610
  # Updates an entry on the user's calendar list.
603
611
  # @param [String] calendar_id
604
- # Calendar identifier.
612
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
613
+ # method. If you want to access the primary calendar of the currently logged in
614
+ # user, use the "primary" keyword.
605
615
  # @param [Google::Apis::CalendarV3::CalendarListEntry] calendar_list_entry_object
606
616
  # @param [Boolean] color_rgb_format
607
617
  # Whether to use the foregroundColor and backgroundColor fields to write the
@@ -630,8 +640,7 @@ module Google
630
640
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
631
641
  # @raise [Google::Apis::AuthorizationError] Authorization is required
632
642
  def update_calendar_list(calendar_id, calendar_list_entry_object = nil, color_rgb_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
633
- path = 'users/me/calendarList/{calendarId}'
634
- command = make_simple_command(:put, path, options)
643
+ command = make_simple_command(:put, 'users/me/calendarList/{calendarId}', options)
635
644
  command.request_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
636
645
  command.request_object = calendar_list_entry_object
637
646
  command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
@@ -696,8 +705,7 @@ module Google
696
705
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
697
706
  # @raise [Google::Apis::AuthorizationError] Authorization is required
698
707
  def watch_calendar_list(channel_object = nil, max_results: nil, min_access_role: nil, page_token: nil, show_deleted: nil, show_hidden: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
699
- path = 'users/me/calendarList/watch'
700
- command = make_simple_command(:post, path, options)
708
+ command = make_simple_command(:post, 'users/me/calendarList/watch', options)
701
709
  command.request_representation = Google::Apis::CalendarV3::Channel::Representation
702
710
  command.request_object = channel_object
703
711
  command.response_representation = Google::Apis::CalendarV3::Channel::Representation
@@ -717,7 +725,9 @@ module Google
717
725
  # Clears a primary calendar. This operation deletes all events associated with
718
726
  # the primary calendar of an account.
719
727
  # @param [String] calendar_id
720
- # Calendar identifier.
728
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
729
+ # method. If you want to access the primary calendar of the currently logged in
730
+ # user, use the "primary" keyword.
721
731
  # @param [String] fields
722
732
  # Selector specifying which fields to include in a partial response.
723
733
  # @param [String] quota_user
@@ -740,8 +750,7 @@ module Google
740
750
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
741
751
  # @raise [Google::Apis::AuthorizationError] Authorization is required
742
752
  def clear_calendar(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
743
- path = 'calendars/{calendarId}/clear'
744
- command = make_simple_command(:post, path, options)
753
+ command = make_simple_command(:post, 'calendars/{calendarId}/clear', options)
745
754
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
746
755
  command.query['fields'] = fields unless fields.nil?
747
756
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -752,7 +761,9 @@ module Google
752
761
  # Deletes a secondary calendar. Use calendars.clear for clearing all events on
753
762
  # primary calendars.
754
763
  # @param [String] calendar_id
755
- # Calendar identifier.
764
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
765
+ # method. If you want to access the primary calendar of the currently logged in
766
+ # user, use the "primary" keyword.
756
767
  # @param [String] fields
757
768
  # Selector specifying which fields to include in a partial response.
758
769
  # @param [String] quota_user
@@ -775,8 +786,7 @@ module Google
775
786
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
776
787
  # @raise [Google::Apis::AuthorizationError] Authorization is required
777
788
  def delete_calendar(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
778
- path = 'calendars/{calendarId}'
779
- command = make_simple_command(:delete, path, options)
789
+ command = make_simple_command(:delete, 'calendars/{calendarId}', options)
780
790
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
781
791
  command.query['fields'] = fields unless fields.nil?
782
792
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -786,7 +796,9 @@ module Google
786
796
 
787
797
  # Returns metadata for a calendar.
788
798
  # @param [String] calendar_id
789
- # Calendar identifier.
799
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
800
+ # method. If you want to access the primary calendar of the currently logged in
801
+ # user, use the "primary" keyword.
790
802
  # @param [String] fields
791
803
  # Selector specifying which fields to include in a partial response.
792
804
  # @param [String] quota_user
@@ -809,8 +821,7 @@ module Google
809
821
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
810
822
  # @raise [Google::Apis::AuthorizationError] Authorization is required
811
823
  def get_calendar(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
812
- path = 'calendars/{calendarId}'
813
- command = make_simple_command(:get, path, options)
824
+ command = make_simple_command(:get, 'calendars/{calendarId}', options)
814
825
  command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
815
826
  command.response_class = Google::Apis::CalendarV3::Calendar
816
827
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -844,8 +855,7 @@ module Google
844
855
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
845
856
  # @raise [Google::Apis::AuthorizationError] Authorization is required
846
857
  def insert_calendar(calendar_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
847
- path = 'calendars'
848
- command = make_simple_command(:post, path, options)
858
+ command = make_simple_command(:post, 'calendars', options)
849
859
  command.request_representation = Google::Apis::CalendarV3::Calendar::Representation
850
860
  command.request_object = calendar_object
851
861
  command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
@@ -858,7 +868,9 @@ module Google
858
868
 
859
869
  # Updates metadata for a calendar. This method supports patch semantics.
860
870
  # @param [String] calendar_id
861
- # Calendar identifier.
871
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
872
+ # method. If you want to access the primary calendar of the currently logged in
873
+ # user, use the "primary" keyword.
862
874
  # @param [Google::Apis::CalendarV3::Calendar] calendar_object
863
875
  # @param [String] fields
864
876
  # Selector specifying which fields to include in a partial response.
@@ -882,8 +894,7 @@ module Google
882
894
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
883
895
  # @raise [Google::Apis::AuthorizationError] Authorization is required
884
896
  def patch_calendar(calendar_id, calendar_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
885
- path = 'calendars/{calendarId}'
886
- command = make_simple_command(:patch, path, options)
897
+ command = make_simple_command(:patch, 'calendars/{calendarId}', options)
887
898
  command.request_representation = Google::Apis::CalendarV3::Calendar::Representation
888
899
  command.request_object = calendar_object
889
900
  command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
@@ -897,7 +908,9 @@ module Google
897
908
 
898
909
  # Updates metadata for a calendar.
899
910
  # @param [String] calendar_id
900
- # Calendar identifier.
911
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
912
+ # method. If you want to access the primary calendar of the currently logged in
913
+ # user, use the "primary" keyword.
901
914
  # @param [Google::Apis::CalendarV3::Calendar] calendar_object
902
915
  # @param [String] fields
903
916
  # Selector specifying which fields to include in a partial response.
@@ -921,8 +934,7 @@ module Google
921
934
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
922
935
  # @raise [Google::Apis::AuthorizationError] Authorization is required
923
936
  def update_calendar(calendar_id, calendar_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
924
- path = 'calendars/{calendarId}'
925
- command = make_simple_command(:put, path, options)
937
+ command = make_simple_command(:put, 'calendars/{calendarId}', options)
926
938
  command.request_representation = Google::Apis::CalendarV3::Calendar::Representation
927
939
  command.request_object = calendar_object
928
940
  command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
@@ -958,8 +970,7 @@ module Google
958
970
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
959
971
  # @raise [Google::Apis::AuthorizationError] Authorization is required
960
972
  def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
961
- path = 'channels/stop'
962
- command = make_simple_command(:post, path, options)
973
+ command = make_simple_command(:post, 'channels/stop', options)
963
974
  command.request_representation = Google::Apis::CalendarV3::Channel::Representation
964
975
  command.request_object = channel_object
965
976
  command.query['fields'] = fields unless fields.nil?
@@ -991,8 +1002,7 @@ module Google
991
1002
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
992
1003
  # @raise [Google::Apis::AuthorizationError] Authorization is required
993
1004
  def get_color(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
994
- path = 'colors'
995
- command = make_simple_command(:get, path, options)
1005
+ command = make_simple_command(:get, 'colors', options)
996
1006
  command.response_representation = Google::Apis::CalendarV3::Colors::Representation
997
1007
  command.response_class = Google::Apis::CalendarV3::Colors
998
1008
  command.query['fields'] = fields unless fields.nil?
@@ -1003,7 +1013,9 @@ module Google
1003
1013
 
1004
1014
  # Deletes an event.
1005
1015
  # @param [String] calendar_id
1006
- # Calendar identifier.
1016
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
1017
+ # method. If you want to access the primary calendar of the currently logged in
1018
+ # user, use the "primary" keyword.
1007
1019
  # @param [String] event_id
1008
1020
  # Event identifier.
1009
1021
  # @param [Boolean] send_notifications
@@ -1031,8 +1043,7 @@ module Google
1031
1043
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1032
1044
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1033
1045
  def delete_event(calendar_id, event_id, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1034
- path = 'calendars/{calendarId}/events/{eventId}'
1035
- command = make_simple_command(:delete, path, options)
1046
+ command = make_simple_command(:delete, 'calendars/{calendarId}/events/{eventId}', options)
1036
1047
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
1037
1048
  command.params['eventId'] = event_id unless event_id.nil?
1038
1049
  command.query['sendNotifications'] = send_notifications unless send_notifications.nil?
@@ -1044,7 +1055,9 @@ module Google
1044
1055
 
1045
1056
  # Returns an event.
1046
1057
  # @param [String] calendar_id
1047
- # Calendar identifier.
1058
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
1059
+ # method. If you want to access the primary calendar of the currently logged in
1060
+ # user, use the "primary" keyword.
1048
1061
  # @param [String] event_id
1049
1062
  # Event identifier.
1050
1063
  # @param [Boolean] always_include_email
@@ -1082,8 +1095,7 @@ module Google
1082
1095
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1083
1096
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1084
1097
  def get_event(calendar_id, event_id, always_include_email: nil, max_attendees: nil, time_zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1085
- path = 'calendars/{calendarId}/events/{eventId}'
1086
- command = make_simple_command(:get, path, options)
1098
+ command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}', options)
1087
1099
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
1088
1100
  command.response_class = Google::Apis::CalendarV3::Event
1089
1101
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -1100,7 +1112,9 @@ module Google
1100
1112
  # Imports an event. This operation is used to add a private copy of an existing
1101
1113
  # event to a calendar.
1102
1114
  # @param [String] calendar_id
1103
- # Calendar identifier.
1115
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
1116
+ # method. If you want to access the primary calendar of the currently logged in
1117
+ # user, use the "primary" keyword.
1104
1118
  # @param [Google::Apis::CalendarV3::Event] event_object
1105
1119
  # @param [Boolean] supports_attachments
1106
1120
  # Whether API client performing operation supports event attachments. Optional.
@@ -1127,8 +1141,7 @@ module Google
1127
1141
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1128
1142
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1129
1143
  def import_event(calendar_id, event_object = nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1130
- path = 'calendars/{calendarId}/events/import'
1131
- command = make_simple_command(:post, path, options)
1144
+ command = make_simple_command(:post, 'calendars/{calendarId}/events/import', options)
1132
1145
  command.request_representation = Google::Apis::CalendarV3::Event::Representation
1133
1146
  command.request_object = event_object
1134
1147
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
@@ -1143,7 +1156,9 @@ module Google
1143
1156
 
1144
1157
  # Creates an event.
1145
1158
  # @param [String] calendar_id
1146
- # Calendar identifier.
1159
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
1160
+ # method. If you want to access the primary calendar of the currently logged in
1161
+ # user, use the "primary" keyword.
1147
1162
  # @param [Google::Apis::CalendarV3::Event] event_object
1148
1163
  # @param [Fixnum] max_attendees
1149
1164
  # The maximum number of attendees to include in the response. If there are more
@@ -1177,8 +1192,7 @@ module Google
1177
1192
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1178
1193
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1179
1194
  def insert_event(calendar_id, event_object = nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1180
- path = 'calendars/{calendarId}/events'
1181
- command = make_simple_command(:post, path, options)
1195
+ command = make_simple_command(:post, 'calendars/{calendarId}/events', options)
1182
1196
  command.request_representation = Google::Apis::CalendarV3::Event::Representation
1183
1197
  command.request_object = event_object
1184
1198
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
@@ -1195,7 +1209,9 @@ module Google
1195
1209
 
1196
1210
  # Returns instances of the specified recurring event.
1197
1211
  # @param [String] calendar_id
1198
- # Calendar identifier.
1212
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
1213
+ # method. If you want to access the primary calendar of the currently logged in
1214
+ # user, use the "primary" keyword.
1199
1215
  # @param [String] event_id
1200
1216
  # Recurring event identifier.
1201
1217
  # @param [Boolean] always_include_email
@@ -1252,8 +1268,7 @@ module Google
1252
1268
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1253
1269
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1254
1270
  def instances_event(calendar_id, event_id, always_include_email: nil, max_attendees: nil, max_results: nil, original_start: nil, page_token: nil, show_deleted: nil, time_max: nil, time_min: nil, time_zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1255
- path = 'calendars/{calendarId}/events/{eventId}/instances'
1256
- command = make_simple_command(:get, path, options)
1271
+ command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}/instances', options)
1257
1272
  command.response_representation = Google::Apis::CalendarV3::Events::Representation
1258
1273
  command.response_class = Google::Apis::CalendarV3::Events
1259
1274
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -1275,7 +1290,9 @@ module Google
1275
1290
 
1276
1291
  # Returns events on the specified calendar.
1277
1292
  # @param [String] calendar_id
1278
- # Calendar identifier.
1293
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
1294
+ # method. If you want to access the primary calendar of the currently logged in
1295
+ # user, use the "primary" keyword.
1279
1296
  # @param [Boolean] always_include_email
1280
1297
  # Whether to always include a value in the email field for the organizer,
1281
1298
  # creator and attendees, even if no real email is available (i.e. a generated,
@@ -1357,7 +1374,7 @@ module Google
1357
1374
  # Time zone used in the response. Optional. The default is the time zone of the
1358
1375
  # calendar.
1359
1376
  # @param [DateTime] updated_min
1360
- # Lower bound for an event's last modification time (as a RFC 3339 timestamp) to
1377
+ # Lower bound for an event's last modification time (as a RFC3339 timestamp) to
1361
1378
  # filter by. When specified, entries deleted since this time will always be
1362
1379
  # included regardless of showDeleted. Optional. The default is not to filter by
1363
1380
  # last modification time.
@@ -1383,8 +1400,7 @@ module Google
1383
1400
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1384
1401
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1385
1402
  def list_events(calendar_id, always_include_email: nil, i_cal_uid: nil, max_attendees: nil, max_results: nil, order_by: nil, page_token: nil, private_extended_property: nil, q: nil, shared_extended_property: nil, show_deleted: nil, show_hidden_invitations: nil, single_events: nil, sync_token: nil, time_max: nil, time_min: nil, time_zone: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1386
- path = 'calendars/{calendarId}/events'
1387
- command = make_simple_command(:get, path, options)
1403
+ command = make_simple_command(:get, 'calendars/{calendarId}/events', options)
1388
1404
  command.response_representation = Google::Apis::CalendarV3::Events::Representation
1389
1405
  command.response_class = Google::Apis::CalendarV3::Events
1390
1406
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -1443,8 +1459,7 @@ module Google
1443
1459
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1444
1460
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1445
1461
  def move_event(calendar_id, event_id, destination, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1446
- path = 'calendars/{calendarId}/events/{eventId}/move'
1447
- command = make_simple_command(:post, path, options)
1462
+ command = make_simple_command(:post, 'calendars/{calendarId}/events/{eventId}/move', options)
1448
1463
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
1449
1464
  command.response_class = Google::Apis::CalendarV3::Event
1450
1465
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -1459,7 +1474,9 @@ module Google
1459
1474
 
1460
1475
  # Updates an event. This method supports patch semantics.
1461
1476
  # @param [String] calendar_id
1462
- # Calendar identifier.
1477
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
1478
+ # method. If you want to access the primary calendar of the currently logged in
1479
+ # user, use the "primary" keyword.
1463
1480
  # @param [String] event_id
1464
1481
  # Event identifier.
1465
1482
  # @param [Google::Apis::CalendarV3::Event] event_object
@@ -1501,8 +1518,7 @@ module Google
1501
1518
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1502
1519
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1503
1520
  def patch_event(calendar_id, event_id, event_object = nil, always_include_email: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1504
- path = 'calendars/{calendarId}/events/{eventId}'
1505
- command = make_simple_command(:patch, path, options)
1521
+ command = make_simple_command(:patch, 'calendars/{calendarId}/events/{eventId}', options)
1506
1522
  command.request_representation = Google::Apis::CalendarV3::Event::Representation
1507
1523
  command.request_object = event_object
1508
1524
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
@@ -1521,7 +1537,9 @@ module Google
1521
1537
 
1522
1538
  # Creates an event based on a simple text string.
1523
1539
  # @param [String] calendar_id
1524
- # Calendar identifier.
1540
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
1541
+ # method. If you want to access the primary calendar of the currently logged in
1542
+ # user, use the "primary" keyword.
1525
1543
  # @param [String] text
1526
1544
  # The text describing the event to be created.
1527
1545
  # @param [Boolean] send_notifications
@@ -1548,9 +1566,8 @@ module Google
1548
1566
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1549
1567
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1550
1568
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1551
- def quick_add_event(calendar_id, text, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1552
- path = 'calendars/{calendarId}/events/quickAdd'
1553
- command = make_simple_command(:post, path, options)
1569
+ def quick_event_add(calendar_id, text, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1570
+ command = make_simple_command(:post, 'calendars/{calendarId}/events/quickAdd', options)
1554
1571
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
1555
1572
  command.response_class = Google::Apis::CalendarV3::Event
1556
1573
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -1564,7 +1581,9 @@ module Google
1564
1581
 
1565
1582
  # Updates an event.
1566
1583
  # @param [String] calendar_id
1567
- # Calendar identifier.
1584
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
1585
+ # method. If you want to access the primary calendar of the currently logged in
1586
+ # user, use the "primary" keyword.
1568
1587
  # @param [String] event_id
1569
1588
  # Event identifier.
1570
1589
  # @param [Google::Apis::CalendarV3::Event] event_object
@@ -1606,8 +1625,7 @@ module Google
1606
1625
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1607
1626
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1608
1627
  def update_event(calendar_id, event_id, event_object = nil, always_include_email: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1609
- path = 'calendars/{calendarId}/events/{eventId}'
1610
- command = make_simple_command(:put, path, options)
1628
+ command = make_simple_command(:put, 'calendars/{calendarId}/events/{eventId}', options)
1611
1629
  command.request_representation = Google::Apis::CalendarV3::Event::Representation
1612
1630
  command.request_object = event_object
1613
1631
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
@@ -1626,7 +1644,9 @@ module Google
1626
1644
 
1627
1645
  # Watch for changes to Events resources.
1628
1646
  # @param [String] calendar_id
1629
- # Calendar identifier.
1647
+ # Calendar identifier. To retrieve calendar IDs call the calendarList.list
1648
+ # method. If you want to access the primary calendar of the currently logged in
1649
+ # user, use the "primary" keyword.
1630
1650
  # @param [Google::Apis::CalendarV3::Channel] channel_object
1631
1651
  # @param [Boolean] always_include_email
1632
1652
  # Whether to always include a value in the email field for the organizer,
@@ -1709,7 +1729,7 @@ module Google
1709
1729
  # Time zone used in the response. Optional. The default is the time zone of the
1710
1730
  # calendar.
1711
1731
  # @param [DateTime] updated_min
1712
- # Lower bound for an event's last modification time (as a RFC 3339 timestamp) to
1732
+ # Lower bound for an event's last modification time (as a RFC3339 timestamp) to
1713
1733
  # filter by. When specified, entries deleted since this time will always be
1714
1734
  # included regardless of showDeleted. Optional. The default is not to filter by
1715
1735
  # last modification time.
@@ -1735,8 +1755,7 @@ module Google
1735
1755
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1736
1756
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1737
1757
  def watch_event(calendar_id, channel_object = nil, always_include_email: nil, i_cal_uid: nil, max_attendees: nil, max_results: nil, order_by: nil, page_token: nil, private_extended_property: nil, q: nil, shared_extended_property: nil, show_deleted: nil, show_hidden_invitations: nil, single_events: nil, sync_token: nil, time_max: nil, time_min: nil, time_zone: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1738
- path = 'calendars/{calendarId}/events/watch'
1739
- command = make_simple_command(:post, path, options)
1758
+ command = make_simple_command(:post, 'calendars/{calendarId}/events/watch', options)
1740
1759
  command.request_representation = Google::Apis::CalendarV3::Channel::Representation
1741
1760
  command.request_object = channel_object
1742
1761
  command.response_representation = Google::Apis::CalendarV3::Channel::Representation
@@ -1789,8 +1808,7 @@ module Google
1789
1808
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1790
1809
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1791
1810
  def query_freebusy(free_busy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1792
- path = 'freeBusy'
1793
- command = make_simple_command(:post, path, options)
1811
+ command = make_simple_command(:post, 'freeBusy', options)
1794
1812
  command.request_representation = Google::Apis::CalendarV3::FreeBusyRequest::Representation
1795
1813
  command.request_object = free_busy_request_object
1796
1814
  command.response_representation = Google::Apis::CalendarV3::FreeBusyResponse::Representation
@@ -1826,8 +1844,7 @@ module Google
1826
1844
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1827
1845
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1828
1846
  def get_setting(setting, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1829
- path = 'users/me/settings/{setting}'
1830
- command = make_simple_command(:get, path, options)
1847
+ command = make_simple_command(:get, 'users/me/settings/{setting}', options)
1831
1848
  command.response_representation = Google::Apis::CalendarV3::Setting::Representation
1832
1849
  command.response_class = Google::Apis::CalendarV3::Setting
1833
1850
  command.params['setting'] = setting unless setting.nil?
@@ -1874,8 +1891,7 @@ module Google
1874
1891
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1875
1892
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1876
1893
  def list_settings(max_results: nil, page_token: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1877
- path = 'users/me/settings'
1878
- command = make_simple_command(:get, path, options)
1894
+ command = make_simple_command(:get, 'users/me/settings', options)
1879
1895
  command.response_representation = Google::Apis::CalendarV3::Settings::Representation
1880
1896
  command.response_class = Google::Apis::CalendarV3::Settings
1881
1897
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -1925,8 +1941,7 @@ module Google
1925
1941
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1926
1942
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1927
1943
  def watch_setting(channel_object = nil, max_results: nil, page_token: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1928
- path = 'users/me/settings/watch'
1929
- command = make_simple_command(:post, path, options)
1944
+ command = make_simple_command(:post, 'users/me/settings/watch', options)
1930
1945
  command.request_representation = Google::Apis::CalendarV3::Channel::Representation
1931
1946
  command.request_object = channel_object
1932
1947
  command.response_representation = Google::Apis::CalendarV3::Channel::Representation