google-api-client 0.39.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +164 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/apigee_v1.rb +1 -1
  6. data/generated/google/apis/apigee_v1/classes.rb +70 -347
  7. data/generated/google/apis/apigee_v1/representations.rb +6 -128
  8. data/generated/google/apis/apigee_v1/service.rb +60 -550
  9. data/generated/google/apis/appengine_v1.rb +1 -1
  10. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  11. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  12. data/generated/google/apis/appengine_v1beta.rb +1 -1
  13. data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
  14. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  15. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  16. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
  17. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
  18. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  19. data/generated/google/apis/bigquery_v2.rb +1 -1
  20. data/generated/google/apis/bigquery_v2/classes.rb +46 -1
  21. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  22. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  23. data/generated/google/apis/bigqueryreservation_v1/classes.rb +21 -15
  24. data/generated/google/apis/bigqueryreservation_v1/service.rb +94 -81
  25. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  26. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  27. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -61
  28. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
  29. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  30. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  31. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  32. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  33. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  34. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  35. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  36. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  37. data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
  38. data/generated/google/apis/calendar_v3.rb +1 -1
  39. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  40. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  41. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  42. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  43. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  44. data/generated/google/apis/cloudasset_v1.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
  46. data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
  47. data/generated/google/apis/cloudasset_v1/service.rb +186 -8
  48. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  49. data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
  50. data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
  51. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
  53. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  54. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  55. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  56. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
  57. data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
  58. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
  60. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
  61. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  62. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
  64. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
  65. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  66. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  68. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudiot_v1.rb +1 -1
  70. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  71. data/generated/google/apis/cloudkms_v1.rb +1 -1
  72. data/generated/google/apis/cloudkms_v1/classes.rb +307 -14
  73. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  74. data/generated/google/apis/cloudkms_v1/service.rb +15 -6
  75. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
  79. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  80. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
  81. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  82. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
  83. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  84. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  85. data/generated/google/apis/cloudshell_v1.rb +1 -1
  86. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  87. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  88. data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
  89. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  90. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  91. data/generated/google/apis/composer_v1beta1.rb +1 -1
  92. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  93. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  94. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  95. data/generated/google/apis/compute_alpha.rb +1 -1
  96. data/generated/google/apis/compute_alpha/classes.rb +165 -65
  97. data/generated/google/apis/compute_alpha/representations.rb +30 -1
  98. data/generated/google/apis/compute_alpha/service.rb +157 -0
  99. data/generated/google/apis/compute_beta.rb +1 -1
  100. data/generated/google/apis/compute_beta/classes.rb +172 -55
  101. data/generated/google/apis/compute_beta/representations.rb +47 -0
  102. data/generated/google/apis/compute_v1.rb +1 -1
  103. data/generated/google/apis/compute_v1/classes.rb +148 -51
  104. data/generated/google/apis/compute_v1/representations.rb +21 -0
  105. data/generated/google/apis/compute_v1/service.rb +83 -0
  106. data/generated/google/apis/container_v1.rb +1 -1
  107. data/generated/google/apis/container_v1/classes.rb +5 -6
  108. data/generated/google/apis/container_v1beta1.rb +1 -1
  109. data/generated/google/apis/container_v1beta1/classes.rb +65 -6
  110. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  111. data/generated/google/apis/content_v2_1.rb +1 -1
  112. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  113. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  114. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  115. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  116. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  117. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  118. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  119. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  120. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  121. data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
  122. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  123. data/generated/google/apis/datastore_v1.rb +1 -1
  124. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  125. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  126. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  127. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  128. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  129. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  130. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  131. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  132. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  133. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  134. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  135. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  136. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  137. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  138. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  139. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  140. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  141. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  142. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  143. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  144. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  145. data/generated/google/apis/dialogflow_v2.rb +1 -1
  146. data/generated/google/apis/dialogflow_v2/classes.rb +568 -8
  147. data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
  148. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  149. data/generated/google/apis/dialogflow_v2beta1/classes.rb +568 -8
  150. data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
  151. data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
  152. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  153. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  154. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  155. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  156. data/generated/google/apis/displayvideo_v1.rb +1 -1
  157. data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
  158. data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
  159. data/generated/google/apis/displayvideo_v1/service.rb +287 -2
  160. data/generated/google/apis/dlp_v2.rb +1 -1
  161. data/generated/google/apis/dlp_v2/classes.rb +9 -21
  162. data/generated/google/apis/dlp_v2/service.rb +79 -142
  163. data/generated/google/apis/dns_v1.rb +1 -1
  164. data/generated/google/apis/dns_v1/classes.rb +160 -261
  165. data/generated/google/apis/dns_v1/representations.rb +17 -0
  166. data/generated/google/apis/dns_v1/service.rb +21 -141
  167. data/generated/google/apis/dns_v1beta2.rb +1 -1
  168. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  169. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  170. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  173. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  174. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  175. data/generated/google/apis/file_v1.rb +1 -1
  176. data/generated/google/apis/file_v1/classes.rb +1187 -0
  177. data/generated/google/apis/file_v1/representations.rb +396 -0
  178. data/generated/google/apis/file_v1beta1.rb +1 -1
  179. data/generated/google/apis/file_v1beta1/classes.rb +1187 -0
  180. data/generated/google/apis/file_v1beta1/representations.rb +396 -0
  181. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  182. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  183. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  184. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +4 -4
  185. data/generated/google/apis/{pagespeedonline_v2.rb → firebaseml_v1.rb} +12 -10
  186. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  187. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  188. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  189. data/generated/google/apis/fitness_v1.rb +4 -4
  190. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  191. data/generated/google/apis/fitness_v1/service.rb +187 -215
  192. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  193. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  194. data/generated/google/apis/games_management_v1management.rb +6 -4
  195. data/generated/google/apis/games_management_v1management/classes.rb +50 -90
  196. data/generated/google/apis/games_management_v1management/representations.rb +0 -17
  197. data/generated/google/apis/games_management_v1management/service.rb +115 -291
  198. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  199. data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
  200. data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
  201. data/generated/google/apis/gmail_v1.rb +2 -3
  202. data/generated/google/apis/gmail_v1/classes.rb +199 -258
  203. data/generated/google/apis/gmail_v1/service.rb +744 -552
  204. data/generated/google/apis/healthcare_v1.rb +1 -1
  205. data/generated/google/apis/healthcare_v1/classes.rb +67 -46
  206. data/generated/google/apis/healthcare_v1/service.rb +107 -140
  207. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  208. data/generated/google/apis/healthcare_v1beta1/classes.rb +70 -54
  209. data/generated/google/apis/healthcare_v1beta1/service.rb +223 -255
  210. data/generated/google/apis/homegraph_v1.rb +1 -1
  211. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  212. data/generated/google/apis/iam_v1.rb +1 -1
  213. data/generated/google/apis/iam_v1/classes.rb +24 -12
  214. data/generated/google/apis/iam_v1/service.rb +7 -0
  215. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  216. data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
  217. data/generated/google/apis/iap_v1.rb +1 -1
  218. data/generated/google/apis/iap_v1/classes.rb +35 -12
  219. data/generated/google/apis/iap_v1/representations.rb +1 -0
  220. data/generated/google/apis/iap_v1/service.rb +1 -1
  221. data/generated/google/apis/iap_v1beta1.rb +1 -1
  222. data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  225. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  226. data/generated/google/apis/memcache_v1beta2/classes.rb +24 -12
  227. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  228. data/generated/google/apis/ml_v1.rb +1 -1
  229. data/generated/google/apis/ml_v1/classes.rb +84 -18
  230. data/generated/google/apis/ml_v1/representations.rb +4 -0
  231. data/generated/google/apis/ml_v1/service.rb +11 -6
  232. data/generated/google/apis/monitoring_v3.rb +1 -1
  233. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  234. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  235. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  236. data/generated/google/apis/{pagespeedonline_v4.rb → networkmanagement_v1.rb} +13 -10
  237. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  238. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  239. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  240. data/generated/google/apis/osconfig_v1.rb +1 -1
  241. data/generated/google/apis/osconfig_v1/classes.rb +29 -27
  242. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  243. data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
  244. data/generated/google/apis/people_v1.rb +1 -1
  245. data/generated/google/apis/people_v1/service.rb +1 -1
  246. data/generated/google/apis/pubsub_v1.rb +1 -1
  247. data/generated/google/apis/pubsub_v1/classes.rb +6 -7
  248. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  249. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  250. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  251. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  252. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  253. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  254. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  255. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  256. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  257. data/generated/google/apis/run_v1.rb +1 -1
  258. data/generated/google/apis/run_v1/classes.rb +31 -49
  259. data/generated/google/apis/run_v1/representations.rb +1 -17
  260. data/generated/google/apis/run_v1/service.rb +3 -0
  261. data/generated/google/apis/run_v1alpha1.rb +1 -1
  262. data/generated/google/apis/run_v1alpha1/classes.rb +23 -10
  263. data/generated/google/apis/run_v1alpha1/service.rb +3 -0
  264. data/generated/google/apis/secretmanager_v1.rb +1 -1
  265. data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
  266. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  267. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  268. data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
  269. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  270. data/generated/google/apis/securitycenter_v1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
  272. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  273. data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
  274. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  275. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
  276. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  277. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
  278. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
  279. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  280. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
  281. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
  282. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  283. data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
  284. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  285. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
  286. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  287. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  288. data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
  289. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
  290. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  291. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  292. data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
  293. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
  296. data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
  300. data/generated/google/apis/sheets_v4.rb +1 -1
  301. data/generated/google/apis/spanner_v1.rb +1 -1
  302. data/generated/google/apis/spanner_v1/classes.rb +29 -10
  303. data/generated/google/apis/storage_v1.rb +1 -1
  304. data/generated/google/apis/storage_v1/classes.rb +18 -0
  305. data/generated/google/apis/storage_v1/representations.rb +3 -0
  306. data/generated/google/apis/tasks_v1.rb +3 -3
  307. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  308. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  309. data/generated/google/apis/tasks_v1/service.rb +79 -128
  310. data/generated/google/apis/testing_v1.rb +1 -1
  311. data/generated/google/apis/testing_v1/classes.rb +3 -2
  312. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  313. data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
  314. data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
  315. data/generated/google/apis/tpu_v1.rb +1 -1
  316. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  317. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  318. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  319. data/generated/google/apis/translate_v3.rb +1 -1
  320. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  321. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  322. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  323. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  324. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  325. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  326. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  327. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  328. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  329. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  330. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  331. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  332. data/generated/google/apis/youtube_v3.rb +5 -5
  333. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  334. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  335. data/generated/google/apis/youtube_v3/service.rb +1827 -2154
  336. data/lib/google/apis/version.rb +9 -4
  337. metadata +23 -15
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  341. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  342. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  343. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  344. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  345. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  346. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -22,7 +22,7 @@ module Google
22
22
  module TasksV1
23
23
  # Tasks API
24
24
  #
25
- # Manages your tasks and task lists.
25
+ # The Google Tasks API lets you manage your tasks and task lists.
26
26
  #
27
27
  # @example
28
28
  # require 'google/apis/tasks_v1'
@@ -30,7 +30,7 @@ module Google
30
30
  # Tasks = Google::Apis::TasksV1 # Alias the module
31
31
  # service = Tasks::TasksService.new
32
32
  #
33
- # @see https://developers.google.com/google-apps/tasks/firstapp
33
+ # @see
34
34
  class TasksService < Google::Apis::Core::BaseService
35
35
  # @return [String]
36
36
  # API key. Your API key identifies your project and provides you with API access,
@@ -38,16 +38,12 @@ module Google
38
38
  attr_accessor :key
39
39
 
40
40
  # @return [String]
41
- # An opaque string that represents a user for quota purposes. Must not exceed 40
42
- # characters.
41
+ # Available to use for quota purposes for server-side applications. Can be any
42
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
43
  attr_accessor :quota_user
44
44
 
45
- # @return [String]
46
- # Deprecated. Please use quotaUser instead.
47
- attr_accessor :user_ip
48
-
49
45
  def initialize
50
- super('https://www.googleapis.com/', 'tasks/v1/')
46
+ super('https://www.googleapis.com/', '')
51
47
  @batch_path = 'batch/tasks/v1'
52
48
  end
53
49
 
@@ -57,10 +53,8 @@ module Google
57
53
  # @param [String] fields
58
54
  # Selector specifying which fields to include in a partial response.
59
55
  # @param [String] quota_user
60
- # An opaque string that represents a user for quota purposes. Must not exceed 40
61
- # characters.
62
- # @param [String] user_ip
63
- # Deprecated. Please use quotaUser instead.
56
+ # Available to use for quota purposes for server-side applications. Can be any
57
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
64
58
  # @param [Google::Apis::RequestOptions] options
65
59
  # Request-specific options
66
60
  #
@@ -73,12 +67,11 @@ module Google
73
67
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
74
68
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75
69
  # @raise [Google::Apis::AuthorizationError] Authorization is required
76
- def delete_tasklist(tasklist, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
77
- command = make_simple_command(:delete, 'users/@me/lists/{tasklist}', options)
70
+ def delete_tasklist(tasklist, fields: nil, quota_user: nil, options: nil, &block)
71
+ command = make_simple_command(:delete, 'tasks/v1/users/@me/lists/{tasklist}', options)
78
72
  command.params['tasklist'] = tasklist unless tasklist.nil?
79
73
  command.query['fields'] = fields unless fields.nil?
80
74
  command.query['quotaUser'] = quota_user unless quota_user.nil?
81
- command.query['userIp'] = user_ip unless user_ip.nil?
82
75
  execute_or_queue_command(command, &block)
83
76
  end
84
77
 
@@ -88,10 +81,8 @@ module Google
88
81
  # @param [String] fields
89
82
  # Selector specifying which fields to include in a partial response.
90
83
  # @param [String] quota_user
91
- # An opaque string that represents a user for quota purposes. Must not exceed 40
92
- # characters.
93
- # @param [String] user_ip
94
- # Deprecated. Please use quotaUser instead.
84
+ # Available to use for quota purposes for server-side applications. Can be any
85
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
95
86
  # @param [Google::Apis::RequestOptions] options
96
87
  # Request-specific options
97
88
  #
@@ -104,28 +95,23 @@ module Google
104
95
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
105
96
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
106
97
  # @raise [Google::Apis::AuthorizationError] Authorization is required
107
- def get_tasklist(tasklist, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
108
- command = make_simple_command(:get, 'users/@me/lists/{tasklist}', options)
98
+ def get_tasklist(tasklist, fields: nil, quota_user: nil, options: nil, &block)
99
+ command = make_simple_command(:get, 'tasks/v1/users/@me/lists/{tasklist}', options)
109
100
  command.response_representation = Google::Apis::TasksV1::TaskList::Representation
110
101
  command.response_class = Google::Apis::TasksV1::TaskList
111
102
  command.params['tasklist'] = tasklist unless tasklist.nil?
112
103
  command.query['fields'] = fields unless fields.nil?
113
104
  command.query['quotaUser'] = quota_user unless quota_user.nil?
114
- command.query['userIp'] = user_ip unless user_ip.nil?
115
105
  execute_or_queue_command(command, &block)
116
106
  end
117
107
 
118
108
  # Creates a new task list and adds it to the authenticated user's task lists.
119
- # Fails with HTTP code 403 or 429 after reaching the storage limit of 2,000
120
- # lists.
121
109
  # @param [Google::Apis::TasksV1::TaskList] task_list_object
122
110
  # @param [String] fields
123
111
  # Selector specifying which fields to include in a partial response.
124
112
  # @param [String] quota_user
125
- # An opaque string that represents a user for quota purposes. Must not exceed 40
126
- # characters.
127
- # @param [String] user_ip
128
- # Deprecated. Please use quotaUser instead.
113
+ # Available to use for quota purposes for server-side applications. Can be any
114
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
129
115
  # @param [Google::Apis::RequestOptions] options
130
116
  # Request-specific options
131
117
  #
@@ -138,31 +124,28 @@ module Google
138
124
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
139
125
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
140
126
  # @raise [Google::Apis::AuthorizationError] Authorization is required
141
- def insert_tasklist(task_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
142
- command = make_simple_command(:post, 'users/@me/lists', options)
127
+ def insert_tasklist(task_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
128
+ command = make_simple_command(:post, 'tasks/v1/users/@me/lists', options)
143
129
  command.request_representation = Google::Apis::TasksV1::TaskList::Representation
144
130
  command.request_object = task_list_object
145
131
  command.response_representation = Google::Apis::TasksV1::TaskList::Representation
146
132
  command.response_class = Google::Apis::TasksV1::TaskList
147
133
  command.query['fields'] = fields unless fields.nil?
148
134
  command.query['quotaUser'] = quota_user unless quota_user.nil?
149
- command.query['userIp'] = user_ip unless user_ip.nil?
150
135
  execute_or_queue_command(command, &block)
151
136
  end
152
137
 
153
138
  # Returns all the authenticated user's task lists.
154
139
  # @param [Fixnum] max_results
155
- # Maximum number of task lists returned on one page. Optional. The default is 20
156
- # (max allowed: 100).
140
+ # Maximum number of task lists returned on one page. Optional. The default is
141
+ # 20 (max allowed: 100).
157
142
  # @param [String] page_token
158
143
  # Token specifying the result page to return. Optional.
159
144
  # @param [String] fields
160
145
  # Selector specifying which fields to include in a partial response.
161
146
  # @param [String] quota_user
162
- # An opaque string that represents a user for quota purposes. Must not exceed 40
163
- # characters.
164
- # @param [String] user_ip
165
- # Deprecated. Please use quotaUser instead.
147
+ # Available to use for quota purposes for server-side applications. Can be any
148
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
166
149
  # @param [Google::Apis::RequestOptions] options
167
150
  # Request-specific options
168
151
  #
@@ -175,15 +158,14 @@ module Google
175
158
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
176
159
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
177
160
  # @raise [Google::Apis::AuthorizationError] Authorization is required
178
- def list_tasklists(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
179
- command = make_simple_command(:get, 'users/@me/lists', options)
161
+ def list_tasklists(max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
162
+ command = make_simple_command(:get, 'tasks/v1/users/@me/lists', options)
180
163
  command.response_representation = Google::Apis::TasksV1::TaskLists::Representation
181
164
  command.response_class = Google::Apis::TasksV1::TaskLists
182
165
  command.query['maxResults'] = max_results unless max_results.nil?
183
166
  command.query['pageToken'] = page_token unless page_token.nil?
184
167
  command.query['fields'] = fields unless fields.nil?
185
168
  command.query['quotaUser'] = quota_user unless quota_user.nil?
186
- command.query['userIp'] = user_ip unless user_ip.nil?
187
169
  execute_or_queue_command(command, &block)
188
170
  end
189
171
 
@@ -195,10 +177,8 @@ module Google
195
177
  # @param [String] fields
196
178
  # Selector specifying which fields to include in a partial response.
197
179
  # @param [String] quota_user
198
- # An opaque string that represents a user for quota purposes. Must not exceed 40
199
- # characters.
200
- # @param [String] user_ip
201
- # Deprecated. Please use quotaUser instead.
180
+ # Available to use for quota purposes for server-side applications. Can be any
181
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
202
182
  # @param [Google::Apis::RequestOptions] options
203
183
  # Request-specific options
204
184
  #
@@ -211,8 +191,8 @@ module Google
211
191
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
212
192
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
213
193
  # @raise [Google::Apis::AuthorizationError] Authorization is required
214
- def patch_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
215
- command = make_simple_command(:patch, 'users/@me/lists/{tasklist}', options)
194
+ def patch_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
195
+ command = make_simple_command(:patch, 'tasks/v1/users/@me/lists/{tasklist}', options)
216
196
  command.request_representation = Google::Apis::TasksV1::TaskList::Representation
217
197
  command.request_object = task_list_object
218
198
  command.response_representation = Google::Apis::TasksV1::TaskList::Representation
@@ -220,7 +200,6 @@ module Google
220
200
  command.params['tasklist'] = tasklist unless tasklist.nil?
221
201
  command.query['fields'] = fields unless fields.nil?
222
202
  command.query['quotaUser'] = quota_user unless quota_user.nil?
223
- command.query['userIp'] = user_ip unless user_ip.nil?
224
203
  execute_or_queue_command(command, &block)
225
204
  end
226
205
 
@@ -231,10 +210,8 @@ module Google
231
210
  # @param [String] fields
232
211
  # Selector specifying which fields to include in a partial response.
233
212
  # @param [String] quota_user
234
- # An opaque string that represents a user for quota purposes. Must not exceed 40
235
- # characters.
236
- # @param [String] user_ip
237
- # Deprecated. Please use quotaUser instead.
213
+ # Available to use for quota purposes for server-side applications. Can be any
214
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
238
215
  # @param [Google::Apis::RequestOptions] options
239
216
  # Request-specific options
240
217
  #
@@ -247,8 +224,8 @@ module Google
247
224
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
248
225
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
249
226
  # @raise [Google::Apis::AuthorizationError] Authorization is required
250
- def update_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
251
- command = make_simple_command(:put, 'users/@me/lists/{tasklist}', options)
227
+ def update_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
228
+ command = make_simple_command(:put, 'tasks/v1/users/@me/lists/{tasklist}', options)
252
229
  command.request_representation = Google::Apis::TasksV1::TaskList::Representation
253
230
  command.request_object = task_list_object
254
231
  command.response_representation = Google::Apis::TasksV1::TaskList::Representation
@@ -256,7 +233,6 @@ module Google
256
233
  command.params['tasklist'] = tasklist unless tasklist.nil?
257
234
  command.query['fields'] = fields unless fields.nil?
258
235
  command.query['quotaUser'] = quota_user unless quota_user.nil?
259
- command.query['userIp'] = user_ip unless user_ip.nil?
260
236
  execute_or_queue_command(command, &block)
261
237
  end
262
238
 
@@ -268,10 +244,8 @@ module Google
268
244
  # @param [String] fields
269
245
  # Selector specifying which fields to include in a partial response.
270
246
  # @param [String] quota_user
271
- # An opaque string that represents a user for quota purposes. Must not exceed 40
272
- # characters.
273
- # @param [String] user_ip
274
- # Deprecated. Please use quotaUser instead.
247
+ # Available to use for quota purposes for server-side applications. Can be any
248
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
275
249
  # @param [Google::Apis::RequestOptions] options
276
250
  # Request-specific options
277
251
  #
@@ -284,12 +258,11 @@ module Google
284
258
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
285
259
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
286
260
  # @raise [Google::Apis::AuthorizationError] Authorization is required
287
- def clear_task(tasklist, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
288
- command = make_simple_command(:post, 'lists/{tasklist}/clear', options)
261
+ def clear_task(tasklist, fields: nil, quota_user: nil, options: nil, &block)
262
+ command = make_simple_command(:post, 'tasks/v1/lists/{tasklist}/clear', options)
289
263
  command.params['tasklist'] = tasklist unless tasklist.nil?
290
264
  command.query['fields'] = fields unless fields.nil?
291
265
  command.query['quotaUser'] = quota_user unless quota_user.nil?
292
- command.query['userIp'] = user_ip unless user_ip.nil?
293
266
  execute_or_queue_command(command, &block)
294
267
  end
295
268
 
@@ -301,10 +274,8 @@ module Google
301
274
  # @param [String] fields
302
275
  # Selector specifying which fields to include in a partial response.
303
276
  # @param [String] quota_user
304
- # An opaque string that represents a user for quota purposes. Must not exceed 40
305
- # characters.
306
- # @param [String] user_ip
307
- # Deprecated. Please use quotaUser instead.
277
+ # Available to use for quota purposes for server-side applications. Can be any
278
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
308
279
  # @param [Google::Apis::RequestOptions] options
309
280
  # Request-specific options
310
281
  #
@@ -317,13 +288,12 @@ module Google
317
288
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
318
289
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
319
290
  # @raise [Google::Apis::AuthorizationError] Authorization is required
320
- def delete_task(tasklist, task, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
321
- command = make_simple_command(:delete, 'lists/{tasklist}/tasks/{task}', options)
291
+ def delete_task(tasklist, task, fields: nil, quota_user: nil, options: nil, &block)
292
+ command = make_simple_command(:delete, 'tasks/v1/lists/{tasklist}/tasks/{task}', options)
322
293
  command.params['tasklist'] = tasklist unless tasklist.nil?
323
294
  command.params['task'] = task unless task.nil?
324
295
  command.query['fields'] = fields unless fields.nil?
325
296
  command.query['quotaUser'] = quota_user unless quota_user.nil?
326
- command.query['userIp'] = user_ip unless user_ip.nil?
327
297
  execute_or_queue_command(command, &block)
328
298
  end
329
299
 
@@ -335,10 +305,8 @@ module Google
335
305
  # @param [String] fields
336
306
  # Selector specifying which fields to include in a partial response.
337
307
  # @param [String] quota_user
338
- # An opaque string that represents a user for quota purposes. Must not exceed 40
339
- # characters.
340
- # @param [String] user_ip
341
- # Deprecated. Please use quotaUser instead.
308
+ # Available to use for quota purposes for server-side applications. Can be any
309
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
342
310
  # @param [Google::Apis::RequestOptions] options
343
311
  # Request-specific options
344
312
  #
@@ -351,20 +319,18 @@ module Google
351
319
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
352
320
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
353
321
  # @raise [Google::Apis::AuthorizationError] Authorization is required
354
- def get_task(tasklist, task, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
355
- command = make_simple_command(:get, 'lists/{tasklist}/tasks/{task}', options)
322
+ def get_task(tasklist, task, fields: nil, quota_user: nil, options: nil, &block)
323
+ command = make_simple_command(:get, 'tasks/v1/lists/{tasklist}/tasks/{task}', options)
356
324
  command.response_representation = Google::Apis::TasksV1::Task::Representation
357
325
  command.response_class = Google::Apis::TasksV1::Task
358
326
  command.params['tasklist'] = tasklist unless tasklist.nil?
359
327
  command.params['task'] = task unless task.nil?
360
328
  command.query['fields'] = fields unless fields.nil?
361
329
  command.query['quotaUser'] = quota_user unless quota_user.nil?
362
- command.query['userIp'] = user_ip unless user_ip.nil?
363
330
  execute_or_queue_command(command, &block)
364
331
  end
365
332
 
366
- # Creates a new task on the specified task list. Fails with HTTP code 403 or 429
367
- # after reaching the storage limit of 100,000 tasks per account.
333
+ # Creates a new task on the specified task list.
368
334
  # @param [String] tasklist
369
335
  # Task list identifier.
370
336
  # @param [Google::Apis::TasksV1::Task] task_object
@@ -372,15 +338,13 @@ module Google
372
338
  # Parent task identifier. If the task is created at the top level, this
373
339
  # parameter is omitted. Optional.
374
340
  # @param [String] previous
375
- # Previous sibling task identifier. If the task is created at the first position
376
- # among its siblings, this parameter is omitted. Optional.
341
+ # Previous sibling task identifier. If the task is created at the first
342
+ # position among its siblings, this parameter is omitted. Optional.
377
343
  # @param [String] fields
378
344
  # Selector specifying which fields to include in a partial response.
379
345
  # @param [String] quota_user
380
- # An opaque string that represents a user for quota purposes. Must not exceed 40
381
- # characters.
382
- # @param [String] user_ip
383
- # Deprecated. Please use quotaUser instead.
346
+ # Available to use for quota purposes for server-side applications. Can be any
347
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
384
348
  # @param [Google::Apis::RequestOptions] options
385
349
  # Request-specific options
386
350
  #
@@ -393,8 +357,8 @@ module Google
393
357
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
394
358
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
395
359
  # @raise [Google::Apis::AuthorizationError] Authorization is required
396
- def insert_task(tasklist, task_object = nil, parent: nil, previous: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
397
- command = make_simple_command(:post, 'lists/{tasklist}/tasks', options)
360
+ def insert_task(tasklist, task_object = nil, parent: nil, previous: nil, fields: nil, quota_user: nil, options: nil, &block)
361
+ command = make_simple_command(:post, 'tasks/v1/lists/{tasklist}/tasks', options)
398
362
  command.request_representation = Google::Apis::TasksV1::Task::Representation
399
363
  command.request_object = task_object
400
364
  command.response_representation = Google::Apis::TasksV1::Task::Representation
@@ -404,7 +368,6 @@ module Google
404
368
  command.query['previous'] = previous unless previous.nil?
405
369
  command.query['fields'] = fields unless fields.nil?
406
370
  command.query['quotaUser'] = quota_user unless quota_user.nil?
407
- command.query['userIp'] = user_ip unless user_ip.nil?
408
371
  execute_or_queue_command(command, &block)
409
372
  end
410
373
 
@@ -412,11 +375,11 @@ module Google
412
375
  # @param [String] tasklist
413
376
  # Task list identifier.
414
377
  # @param [String] completed_max
415
- # Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter
416
- # by. Optional. The default is not to filter by completion date.
378
+ # Upper bound for a task's completion date (as a RFC 3339 timestamp) to
379
+ # filter by. Optional. The default is not to filter by completion date.
417
380
  # @param [String] completed_min
418
- # Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter
419
- # by. Optional. The default is not to filter by completion date.
381
+ # Lower bound for a task's completion date (as a RFC 3339 timestamp) to
382
+ # filter by. Optional. The default is not to filter by completion date.
420
383
  # @param [String] due_max
421
384
  # Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by.
422
385
  # Optional. The default is not to filter by due date.
@@ -424,29 +387,28 @@ module Google
424
387
  # Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by.
425
388
  # Optional. The default is not to filter by due date.
426
389
  # @param [Fixnum] max_results
427
- # Maximum number of task lists returned on one page. Optional. The default is 20
428
- # (max allowed: 100).
390
+ # Maximum number of task lists returned on one page. Optional. The default is
391
+ # 20 (max allowed: 100).
429
392
  # @param [String] page_token
430
393
  # Token specifying the result page to return. Optional.
431
394
  # @param [Boolean] show_completed
432
- # Flag indicating whether completed tasks are returned in the result. Optional.
433
- # The default is True.
395
+ # Flag indicating whether completed tasks are returned in the result.
396
+ # Optional. The default is True.
434
397
  # @param [Boolean] show_deleted
435
398
  # Flag indicating whether deleted tasks are returned in the result. Optional.
436
399
  # The default is False.
437
400
  # @param [Boolean] show_hidden
438
- # Flag indicating whether hidden tasks are returned in the result. Optional. The
439
- # default is False.
401
+ # Flag indicating whether hidden tasks are returned in the result. Optional.
402
+ # The default is False.
440
403
  # @param [String] updated_min
441
- # Lower bound for a task's last modification time (as a RFC 3339 timestamp) to
442
- # filter by. Optional. The default is not to filter by last modification time.
404
+ # Lower bound for a task's last modification time (as a RFC 3339 timestamp)
405
+ # to filter by. Optional. The default is not to filter by last modification
406
+ # time.
443
407
  # @param [String] fields
444
408
  # Selector specifying which fields to include in a partial response.
445
409
  # @param [String] quota_user
446
- # An opaque string that represents a user for quota purposes. Must not exceed 40
447
- # characters.
448
- # @param [String] user_ip
449
- # Deprecated. Please use quotaUser instead.
410
+ # Available to use for quota purposes for server-side applications. Can be any
411
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
450
412
  # @param [Google::Apis::RequestOptions] options
451
413
  # Request-specific options
452
414
  #
@@ -459,8 +421,8 @@ module Google
459
421
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
460
422
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
461
423
  # @raise [Google::Apis::AuthorizationError] Authorization is required
462
- def list_tasks(tasklist, completed_max: nil, completed_min: nil, due_max: nil, due_min: nil, max_results: nil, page_token: nil, show_completed: nil, show_deleted: nil, show_hidden: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
463
- command = make_simple_command(:get, 'lists/{tasklist}/tasks', options)
424
+ def list_tasks(tasklist, completed_max: nil, completed_min: nil, due_max: nil, due_min: nil, max_results: nil, page_token: nil, show_completed: nil, show_deleted: nil, show_hidden: nil, updated_min: nil, fields: nil, quota_user: nil, options: nil, &block)
425
+ command = make_simple_command(:get, 'tasks/v1/lists/{tasklist}/tasks', options)
464
426
  command.response_representation = Google::Apis::TasksV1::Tasks::Representation
465
427
  command.response_class = Google::Apis::TasksV1::Tasks
466
428
  command.params['tasklist'] = tasklist unless tasklist.nil?
@@ -476,7 +438,6 @@ module Google
476
438
  command.query['updatedMin'] = updated_min unless updated_min.nil?
477
439
  command.query['fields'] = fields unless fields.nil?
478
440
  command.query['quotaUser'] = quota_user unless quota_user.nil?
479
- command.query['userIp'] = user_ip unless user_ip.nil?
480
441
  execute_or_queue_command(command, &block)
481
442
  end
482
443
 
@@ -496,10 +457,8 @@ module Google
496
457
  # @param [String] fields
497
458
  # Selector specifying which fields to include in a partial response.
498
459
  # @param [String] quota_user
499
- # An opaque string that represents a user for quota purposes. Must not exceed 40
500
- # characters.
501
- # @param [String] user_ip
502
- # Deprecated. Please use quotaUser instead.
460
+ # Available to use for quota purposes for server-side applications. Can be any
461
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
503
462
  # @param [Google::Apis::RequestOptions] options
504
463
  # Request-specific options
505
464
  #
@@ -512,8 +471,8 @@ module Google
512
471
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
513
472
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
514
473
  # @raise [Google::Apis::AuthorizationError] Authorization is required
515
- def move_task(tasklist, task, parent: nil, previous: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
516
- command = make_simple_command(:post, 'lists/{tasklist}/tasks/{task}/move', options)
474
+ def move_task(tasklist, task, parent: nil, previous: nil, fields: nil, quota_user: nil, options: nil, &block)
475
+ command = make_simple_command(:post, 'tasks/v1/lists/{tasklist}/tasks/{task}/move', options)
517
476
  command.response_representation = Google::Apis::TasksV1::Task::Representation
518
477
  command.response_class = Google::Apis::TasksV1::Task
519
478
  command.params['tasklist'] = tasklist unless tasklist.nil?
@@ -522,7 +481,6 @@ module Google
522
481
  command.query['previous'] = previous unless previous.nil?
523
482
  command.query['fields'] = fields unless fields.nil?
524
483
  command.query['quotaUser'] = quota_user unless quota_user.nil?
525
- command.query['userIp'] = user_ip unless user_ip.nil?
526
484
  execute_or_queue_command(command, &block)
527
485
  end
528
486
 
@@ -535,10 +493,8 @@ module Google
535
493
  # @param [String] fields
536
494
  # Selector specifying which fields to include in a partial response.
537
495
  # @param [String] quota_user
538
- # An opaque string that represents a user for quota purposes. Must not exceed 40
539
- # characters.
540
- # @param [String] user_ip
541
- # Deprecated. Please use quotaUser instead.
496
+ # Available to use for quota purposes for server-side applications. Can be any
497
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
542
498
  # @param [Google::Apis::RequestOptions] options
543
499
  # Request-specific options
544
500
  #
@@ -551,8 +507,8 @@ module Google
551
507
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
552
508
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
553
509
  # @raise [Google::Apis::AuthorizationError] Authorization is required
554
- def patch_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
555
- command = make_simple_command(:patch, 'lists/{tasklist}/tasks/{task}', options)
510
+ def patch_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil, options: nil, &block)
511
+ command = make_simple_command(:patch, 'tasks/v1/lists/{tasklist}/tasks/{task}', options)
556
512
  command.request_representation = Google::Apis::TasksV1::Task::Representation
557
513
  command.request_object = task_object
558
514
  command.response_representation = Google::Apis::TasksV1::Task::Representation
@@ -561,7 +517,6 @@ module Google
561
517
  command.params['task'] = task unless task.nil?
562
518
  command.query['fields'] = fields unless fields.nil?
563
519
  command.query['quotaUser'] = quota_user unless quota_user.nil?
564
- command.query['userIp'] = user_ip unless user_ip.nil?
565
520
  execute_or_queue_command(command, &block)
566
521
  end
567
522
 
@@ -574,10 +529,8 @@ module Google
574
529
  # @param [String] fields
575
530
  # Selector specifying which fields to include in a partial response.
576
531
  # @param [String] quota_user
577
- # An opaque string that represents a user for quota purposes. Must not exceed 40
578
- # characters.
579
- # @param [String] user_ip
580
- # Deprecated. Please use quotaUser instead.
532
+ # Available to use for quota purposes for server-side applications. Can be any
533
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
581
534
  # @param [Google::Apis::RequestOptions] options
582
535
  # Request-specific options
583
536
  #
@@ -590,8 +543,8 @@ module Google
590
543
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
591
544
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
592
545
  # @raise [Google::Apis::AuthorizationError] Authorization is required
593
- def update_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
594
- command = make_simple_command(:put, 'lists/{tasklist}/tasks/{task}', options)
546
+ def update_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil, options: nil, &block)
547
+ command = make_simple_command(:put, 'tasks/v1/lists/{tasklist}/tasks/{task}', options)
595
548
  command.request_representation = Google::Apis::TasksV1::Task::Representation
596
549
  command.request_object = task_object
597
550
  command.response_representation = Google::Apis::TasksV1::Task::Representation
@@ -600,7 +553,6 @@ module Google
600
553
  command.params['task'] = task unless task.nil?
601
554
  command.query['fields'] = fields unless fields.nil?
602
555
  command.query['quotaUser'] = quota_user unless quota_user.nil?
603
- command.query['userIp'] = user_ip unless user_ip.nil?
604
556
  execute_or_queue_command(command, &block)
605
557
  end
606
558
 
@@ -609,7 +561,6 @@ module Google
609
561
  def apply_command_defaults(command)
610
562
  command.query['key'] = key unless key.nil?
611
563
  command.query['quotaUser'] = quota_user unless quota_user.nil?
612
- command.query['userIp'] = user_ip unless user_ip.nil?
613
564
  end
614
565
  end
615
566
  end