google-api-client 0.32.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (948) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -2
  9. data/CHANGELOG.md +1354 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/api_list_config.yaml +1 -0
  15. data/api_names.yaml +2 -0
  16. data/bin/generate-api +10 -2
  17. data/docs/api-keys.md +20 -0
  18. data/docs/auth.md +53 -0
  19. data/docs/client-secrets.md +69 -0
  20. data/docs/getting-started.md +340 -0
  21. data/docs/installation.md +0 -0
  22. data/docs/logging.md +34 -0
  23. data/docs/media-upload.md +25 -0
  24. data/docs/oauth-installed.md +191 -0
  25. data/docs/oauth-server.md +135 -0
  26. data/docs/oauth-web.md +280 -0
  27. data/docs/oauth.md +268 -0
  28. data/docs/pagination.md +29 -0
  29. data/docs/performance.md +25 -0
  30. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  31. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  32. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  33. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  34. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  35. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  36. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  37. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  38. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  39. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  40. data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
  41. data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
  42. data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
  43. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  44. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
  45. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
  46. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
  47. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  48. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
  49. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
  50. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  51. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  52. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  53. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  54. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  55. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  56. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  57. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  58. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  59. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  60. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  61. data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
  62. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  63. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  64. data/generated/google/apis/admin_directory_v1.rb +4 -1
  65. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  66. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  67. data/generated/google/apis/admin_reports_v1.rb +2 -2
  68. data/generated/google/apis/admob_v1/classes.rb +951 -0
  69. data/generated/google/apis/admob_v1/representations.rb +378 -0
  70. data/generated/google/apis/admob_v1/service.rb +196 -0
  71. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  72. data/generated/google/apis/adsense_v1_4.rb +1 -1
  73. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  74. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  75. data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
  76. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  77. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  78. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  79. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  80. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  81. data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
  82. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  83. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  84. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  85. data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
  86. data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
  87. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  88. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  89. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  90. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  91. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  92. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  93. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  94. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  95. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  96. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  97. data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
  98. data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
  99. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  100. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  101. data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
  102. data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
  103. data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
  104. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  105. data/generated/google/apis/apigee_v1/classes.rb +4928 -0
  106. data/generated/google/apis/apigee_v1/representations.rb +1822 -0
  107. data/generated/google/apis/apigee_v1/service.rb +5578 -0
  108. data/generated/google/apis/apigee_v1.rb +40 -0
  109. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  110. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  111. data/generated/google/apis/appengine_v1/service.rb +10 -6
  112. data/generated/google/apis/appengine_v1.rb +1 -1
  113. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  114. data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
  115. data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
  116. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  117. data/generated/google/apis/appengine_v1beta.rb +1 -1
  118. data/generated/google/apis/appsactivity_v1.rb +1 -1
  119. data/generated/google/apis/appsmarket_v2.rb +1 -1
  120. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
  121. data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
  122. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  123. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  124. data/generated/google/apis/bigquery_v2/classes.rb +993 -43
  125. data/generated/google/apis/bigquery_v2/representations.rb +273 -2
  126. data/generated/google/apis/bigquery_v2/service.rb +137 -4
  127. data/generated/google/apis/bigquery_v2.rb +1 -1
  128. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
  129. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  130. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
  131. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  132. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  133. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  134. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
  135. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  136. data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
  137. data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
  138. data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
  139. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  140. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
  141. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
  142. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  143. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  144. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
  145. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
  146. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
  147. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  148. data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
  149. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  150. data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
  151. data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
  152. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  153. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
  154. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
  155. data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
  156. data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
  157. data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
  158. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
  159. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  160. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
  161. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
  162. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  163. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  164. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  165. data/generated/google/apis/blogger_v2/service.rb +79 -134
  166. data/generated/google/apis/blogger_v2.rb +5 -4
  167. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  168. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  169. data/generated/google/apis/blogger_v3/service.rb +183 -463
  170. data/generated/google/apis/blogger_v3.rb +4 -3
  171. data/generated/google/apis/books_v1/classes.rb +494 -242
  172. data/generated/google/apis/books_v1/representations.rb +145 -72
  173. data/generated/google/apis/books_v1/service.rb +354 -484
  174. data/generated/google/apis/books_v1.rb +3 -3
  175. data/generated/google/apis/calendar_v3/classes.rb +8 -21
  176. data/generated/google/apis/calendar_v3/service.rb +18 -30
  177. data/generated/google/apis/calendar_v3.rb +1 -1
  178. data/generated/google/apis/chat_v1/classes.rb +29 -3
  179. data/generated/google/apis/chat_v1/representations.rb +3 -0
  180. data/generated/google/apis/chat_v1/service.rb +5 -2
  181. data/generated/google/apis/chat_v1.rb +1 -1
  182. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  183. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  184. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  185. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  186. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  187. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  188. data/generated/google/apis/civicinfo_v2.rb +1 -1
  189. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  190. data/generated/google/apis/classroom_v1/service.rb +11 -11
  191. data/generated/google/apis/classroom_v1.rb +1 -1
  192. data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
  193. data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
  194. data/generated/google/apis/cloudasset_v1/service.rb +363 -12
  195. data/generated/google/apis/cloudasset_v1.rb +2 -2
  196. data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
  197. data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
  198. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  199. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
  200. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
  201. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
  202. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  203. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  204. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  205. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  206. data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
  207. data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
  208. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  209. data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
  210. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  211. data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
  212. data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
  213. data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
  214. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  215. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
  216. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
  217. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
  218. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  219. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
  220. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
  221. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
  222. data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
  223. data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
  224. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  225. data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
  226. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  227. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  228. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
  229. data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
  230. data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
  231. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  232. data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
  233. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  234. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  235. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  236. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  237. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  238. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  239. data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
  240. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  241. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
  242. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
  243. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
  244. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  245. data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
  246. data/generated/google/apis/cloudiot_v1.rb +1 -1
  247. data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
  248. data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
  249. data/generated/google/apis/cloudkms_v1/service.rb +15 -3
  250. data/generated/google/apis/cloudkms_v1.rb +1 -1
  251. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  252. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
  253. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
  254. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  255. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
  256. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  257. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  258. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
  259. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  260. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  261. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
  262. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  263. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  264. data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
  265. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  266. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
  267. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  268. data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
  269. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
  270. data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
  271. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  272. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  273. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  274. data/generated/google/apis/cloudshell_v1.rb +1 -1
  275. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
  276. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
  277. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  278. data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
  279. data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
  280. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  281. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
  282. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  283. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  284. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
  285. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  286. data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
  287. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  288. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
  289. data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
  290. data/generated/google/apis/cloudtrace_v2.rb +5 -5
  291. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
  292. data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
  293. data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
  294. data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
  295. data/generated/google/apis/composer_v1/classes.rb +180 -0
  296. data/generated/google/apis/composer_v1/representations.rb +54 -0
  297. data/generated/google/apis/composer_v1.rb +1 -1
  298. data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
  299. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  300. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  301. data/generated/google/apis/composer_v1beta1.rb +1 -1
  302. data/generated/google/apis/compute_alpha/classes.rb +3252 -973
  303. data/generated/google/apis/compute_alpha/representations.rb +634 -69
  304. data/generated/google/apis/compute_alpha/service.rb +9085 -6210
  305. data/generated/google/apis/compute_alpha.rb +1 -1
  306. data/generated/google/apis/compute_beta/classes.rb +4787 -1066
  307. data/generated/google/apis/compute_beta/representations.rb +1394 -31
  308. data/generated/google/apis/compute_beta/service.rb +8858 -5018
  309. data/generated/google/apis/compute_beta.rb +1 -1
  310. data/generated/google/apis/compute_v1/classes.rb +2976 -599
  311. data/generated/google/apis/compute_v1/representations.rb +850 -0
  312. data/generated/google/apis/compute_v1/service.rb +4634 -2481
  313. data/generated/google/apis/compute_v1.rb +1 -1
  314. data/generated/google/apis/container_v1/classes.rb +925 -164
  315. data/generated/google/apis/container_v1/representations.rb +278 -0
  316. data/generated/google/apis/container_v1/service.rb +175 -158
  317. data/generated/google/apis/container_v1.rb +1 -1
  318. data/generated/google/apis/container_v1beta1/classes.rb +803 -340
  319. data/generated/google/apis/container_v1beta1/representations.rb +185 -39
  320. data/generated/google/apis/container_v1beta1/service.rb +294 -277
  321. data/generated/google/apis/container_v1beta1.rb +1 -1
  322. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
  323. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  324. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
  325. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  326. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  327. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  328. data/generated/google/apis/content_v2/classes.rb +1566 -634
  329. data/generated/google/apis/content_v2/representations.rb +78 -115
  330. data/generated/google/apis/content_v2/service.rb +81 -206
  331. data/generated/google/apis/content_v2.rb +1 -1
  332. data/generated/google/apis/content_v2_1/classes.rb +2706 -683
  333. data/generated/google/apis/content_v2_1/representations.rb +551 -0
  334. data/generated/google/apis/content_v2_1/service.rb +520 -46
  335. data/generated/google/apis/content_v2_1.rb +1 -1
  336. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  337. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  338. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  339. data/generated/google/apis/customsearch_v1.rb +3 -3
  340. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
  341. data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
  342. data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
  343. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
  344. data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
  345. data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
  346. data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
  347. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  348. data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
  349. data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
  350. data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
  351. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  352. data/generated/google/apis/dataproc_v1/classes.rb +533 -177
  353. data/generated/google/apis/dataproc_v1/representations.rb +85 -0
  354. data/generated/google/apis/dataproc_v1/service.rb +102 -36
  355. data/generated/google/apis/dataproc_v1.rb +1 -1
  356. data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
  357. data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
  358. data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
  359. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  360. data/generated/google/apis/datastore_v1/classes.rb +17 -23
  361. data/generated/google/apis/datastore_v1/service.rb +93 -9
  362. data/generated/google/apis/datastore_v1.rb +1 -1
  363. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  364. data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
  365. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  366. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  367. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  368. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  369. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  370. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  371. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  372. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  373. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  374. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  375. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  376. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  377. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  378. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  379. data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
  380. data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
  381. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  382. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
  383. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
  384. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
  385. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  386. data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
  387. data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
  388. data/generated/google/apis/dialogflow_v2/service.rb +849 -158
  389. data/generated/google/apis/dialogflow_v2.rb +1 -1
  390. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
  391. data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
  392. data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
  393. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  394. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  395. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  396. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  397. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  398. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  399. data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
  400. data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
  401. data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
  402. data/generated/google/apis/displayvideo_v1.rb +38 -0
  403. data/generated/google/apis/dlp_v2/classes.rb +798 -130
  404. data/generated/google/apis/dlp_v2/representations.rb +277 -3
  405. data/generated/google/apis/dlp_v2/service.rb +2074 -231
  406. data/generated/google/apis/dlp_v2.rb +1 -1
  407. data/generated/google/apis/dns_v1/classes.rb +220 -251
  408. data/generated/google/apis/dns_v1/representations.rb +49 -0
  409. data/generated/google/apis/dns_v1/service.rb +21 -141
  410. data/generated/google/apis/dns_v1.rb +1 -1
  411. data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
  412. data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
  413. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  414. data/generated/google/apis/dns_v1beta2.rb +1 -1
  415. data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
  416. data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
  417. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  418. data/generated/google/apis/dns_v2beta1.rb +1 -1
  419. data/generated/google/apis/docs_v1/classes.rb +608 -2
  420. data/generated/google/apis/docs_v1/representations.rb +211 -0
  421. data/generated/google/apis/docs_v1.rb +1 -1
  422. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  423. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  424. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  425. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
  426. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
  427. data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
  428. data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  429. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  430. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  431. data/generated/google/apis/drive_v2/classes.rb +58 -5
  432. data/generated/google/apis/drive_v2/representations.rb +18 -0
  433. data/generated/google/apis/drive_v2/service.rb +92 -118
  434. data/generated/google/apis/drive_v2.rb +1 -1
  435. data/generated/google/apis/drive_v3/classes.rb +66 -5
  436. data/generated/google/apis/drive_v3/representations.rb +18 -0
  437. data/generated/google/apis/drive_v3/service.rb +46 -14
  438. data/generated/google/apis/drive_v3.rb +1 -1
  439. data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
  440. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  441. data/generated/google/apis/driveactivity_v2.rb +1 -1
  442. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  443. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  444. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  445. data/generated/google/apis/fcm_v1.rb +1 -1
  446. data/generated/google/apis/file_v1/classes.rb +1235 -158
  447. data/generated/google/apis/file_v1/representations.rb +401 -22
  448. data/generated/google/apis/file_v1/service.rb +14 -10
  449. data/generated/google/apis/file_v1.rb +1 -1
  450. data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
  451. data/generated/google/apis/file_v1beta1/representations.rb +401 -22
  452. data/generated/google/apis/file_v1beta1/service.rb +18 -11
  453. data/generated/google/apis/file_v1beta1.rb +1 -1
  454. data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
  455. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  456. data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
  457. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  458. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  459. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
  460. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
  461. data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
  462. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  464. data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
  465. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  466. data/generated/google/apis/firebaseml_v1.rb +34 -0
  467. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  468. data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
  469. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  470. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  471. data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
  472. data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
  473. data/generated/google/apis/firebaserules_v1.rb +1 -1
  474. data/generated/google/apis/firestore_v1/classes.rb +16 -5
  475. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  476. data/generated/google/apis/firestore_v1/service.rb +26 -24
  477. data/generated/google/apis/firestore_v1.rb +1 -1
  478. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
  479. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  480. data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
  481. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  482. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  483. data/generated/google/apis/fitness_v1/classes.rb +189 -153
  484. data/generated/google/apis/fitness_v1/service.rb +192 -198
  485. data/generated/google/apis/fitness_v1.rb +14 -14
  486. data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
  487. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  488. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  489. data/generated/google/apis/games_management_v1management/classes.rb +50 -109
  490. data/generated/google/apis/games_management_v1management/representations.rb +0 -30
  491. data/generated/google/apis/games_management_v1management/service.rb +116 -452
  492. data/generated/google/apis/games_management_v1management.rb +6 -4
  493. data/generated/google/apis/games_v1/classes.rb +14 -293
  494. data/generated/google/apis/games_v1/representations.rb +2 -98
  495. data/generated/google/apis/games_v1/service.rb +3 -135
  496. data/generated/google/apis/games_v1.rb +1 -1
  497. data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
  498. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  499. data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
  500. data/generated/google/apis/gameservices_v1beta.rb +34 -0
  501. data/generated/google/apis/genomics_v1.rb +1 -1
  502. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  503. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  504. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  505. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  506. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  507. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  508. data/generated/google/apis/gmail_v1/service.rb +1 -1
  509. data/generated/google/apis/gmail_v1.rb +13 -1
  510. data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
  511. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  512. data/generated/google/apis/healthcare_v1/service.rb +3439 -0
  513. data/generated/google/apis/healthcare_v1.rb +34 -0
  514. data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
  515. data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
  516. data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
  517. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  518. data/generated/google/apis/homegraph_v1/classes.rb +79 -56
  519. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  520. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  521. data/generated/google/apis/homegraph_v1.rb +1 -1
  522. data/generated/google/apis/iam_v1/classes.rb +201 -169
  523. data/generated/google/apis/iam_v1/representations.rb +1 -6
  524. data/generated/google/apis/iam_v1/service.rb +18 -21
  525. data/generated/google/apis/iam_v1.rb +1 -1
  526. data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
  527. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  528. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  529. data/generated/google/apis/iap_v1/classes.rb +691 -59
  530. data/generated/google/apis/iap_v1/representations.rb +254 -0
  531. data/generated/google/apis/iap_v1/service.rb +362 -0
  532. data/generated/google/apis/iap_v1.rb +1 -1
  533. data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
  534. data/generated/google/apis/iap_v1beta1.rb +1 -1
  535. data/generated/google/apis/indexing_v3.rb +1 -1
  536. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  537. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  538. data/generated/google/apis/jobs_v2.rb +1 -1
  539. data/generated/google/apis/jobs_v3/classes.rb +180 -0
  540. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  541. data/generated/google/apis/jobs_v3.rb +1 -1
  542. data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
  543. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  544. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  545. data/generated/google/apis/kgsearch_v1.rb +1 -1
  546. data/generated/google/apis/language_v1/classes.rb +6 -6
  547. data/generated/google/apis/language_v1.rb +1 -1
  548. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  549. data/generated/google/apis/language_v1beta1.rb +1 -1
  550. data/generated/google/apis/language_v1beta2/classes.rb +23 -7
  551. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  552. data/generated/google/apis/language_v1beta2.rb +1 -1
  553. data/generated/google/apis/libraryagent_v1.rb +1 -1
  554. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  555. data/generated/google/apis/licensing_v1/service.rb +81 -37
  556. data/generated/google/apis/licensing_v1.rb +4 -4
  557. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  558. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  559. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  560. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  561. data/generated/google/apis/logging_v2/classes.rb +292 -91
  562. data/generated/google/apis/logging_v2/representations.rb +51 -0
  563. data/generated/google/apis/logging_v2/service.rb +888 -15
  564. data/generated/google/apis/logging_v2.rb +6 -6
  565. data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
  566. data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
  567. data/generated/google/apis/managedidentities_v1/service.rb +779 -0
  568. data/generated/google/apis/managedidentities_v1.rb +35 -0
  569. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
  570. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
  571. data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
  572. data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
  573. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
  574. data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
  575. data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
  576. data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
  577. data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
  578. data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
  579. data/generated/google/apis/manufacturers_v1.rb +1 -1
  580. data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
  581. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  582. data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
  583. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  584. data/generated/google/apis/ml_v1/classes.rb +1518 -233
  585. data/generated/google/apis/ml_v1/representations.rb +559 -0
  586. data/generated/google/apis/ml_v1/service.rb +560 -25
  587. data/generated/google/apis/ml_v1.rb +5 -2
  588. data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
  589. data/generated/google/apis/monitoring_v1/representations.rb +513 -0
  590. data/generated/google/apis/monitoring_v1/service.rb +246 -0
  591. data/generated/google/apis/monitoring_v1.rb +47 -0
  592. data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
  593. data/generated/google/apis/monitoring_v3/representations.rb +482 -1
  594. data/generated/google/apis/monitoring_v3/service.rb +614 -162
  595. data/generated/google/apis/monitoring_v3.rb +7 -8
  596. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  597. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  598. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  599. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  600. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
  601. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
  602. data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
  603. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
  604. data/generated/google/apis/oauth2_v2/classes.rb +1 -81
  605. data/generated/google/apis/oauth2_v2/representations.rb +2 -36
  606. data/generated/google/apis/oauth2_v2/service.rb +10 -42
  607. data/generated/google/apis/oauth2_v2.rb +5 -5
  608. data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
  609. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  610. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  611. data/generated/google/apis/osconfig_v1.rb +35 -0
  612. data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
  613. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  614. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  615. data/generated/google/apis/osconfig_v1beta.rb +35 -0
  616. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  617. data/generated/google/apis/oslogin_v1/service.rb +10 -7
  618. data/generated/google/apis/oslogin_v1.rb +1 -2
  619. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  620. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  621. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  622. data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
  623. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  624. data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
  625. data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
  626. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  627. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  628. data/generated/google/apis/people_v1/classes.rb +104 -81
  629. data/generated/google/apis/people_v1/representations.rb +1 -0
  630. data/generated/google/apis/people_v1/service.rb +72 -79
  631. data/generated/google/apis/people_v1.rb +10 -1
  632. data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
  633. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  634. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  635. data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
  636. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
  637. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  638. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  639. data/generated/google/apis/poly_v1.rb +1 -1
  640. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
  641. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
  642. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
  643. data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
  644. data/generated/google/apis/pubsub_v1/classes.rb +248 -76
  645. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  646. data/generated/google/apis/pubsub_v1/service.rb +43 -31
  647. data/generated/google/apis/pubsub_v1.rb +1 -1
  648. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  649. data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
  650. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
  651. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  652. data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
  653. data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
  654. data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
  655. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  656. data/generated/google/apis/redis_v1/classes.rb +48 -18
  657. data/generated/google/apis/redis_v1/representations.rb +14 -0
  658. data/generated/google/apis/redis_v1/service.rb +41 -5
  659. data/generated/google/apis/redis_v1.rb +1 -1
  660. data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
  661. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  662. data/generated/google/apis/redis_v1beta1/service.rb +41 -5
  663. data/generated/google/apis/redis_v1beta1.rb +1 -1
  664. data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
  665. data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
  666. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  667. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
  668. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
  669. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  670. data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
  671. data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
  672. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  673. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  674. data/generated/google/apis/reseller_v1/service.rb +1 -1
  675. data/generated/google/apis/reseller_v1.rb +1 -1
  676. data/generated/google/apis/run_v1/classes.rb +308 -325
  677. data/generated/google/apis/run_v1/representations.rb +63 -103
  678. data/generated/google/apis/run_v1/service.rb +336 -933
  679. data/generated/google/apis/run_v1.rb +1 -1
  680. data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
  681. data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
  682. data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
  683. data/generated/google/apis/run_v1alpha1.rb +1 -1
  684. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  685. data/generated/google/apis/run_v1beta1.rb +4 -1
  686. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  687. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
  688. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  689. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  690. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  691. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  692. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
  693. data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
  694. data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
  695. data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
  696. data/generated/google/apis/script_v1/classes.rb +4 -22
  697. data/generated/google/apis/script_v1.rb +1 -1
  698. data/generated/google/apis/searchconsole_v1.rb +1 -1
  699. data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
  700. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
  701. data/generated/google/apis/secretmanager_v1/service.rb +681 -0
  702. data/generated/google/apis/secretmanager_v1.rb +35 -0
  703. data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
  704. data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
  705. data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
  706. data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
  707. data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
  708. data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
  709. data/generated/google/apis/securitycenter_v1/service.rb +225 -21
  710. data/generated/google/apis/securitycenter_v1.rb +4 -4
  711. data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
  712. data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
  713. data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
  714. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  715. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
  716. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
  717. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  718. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  719. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
  720. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
  721. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
  722. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  723. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
  724. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
  725. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  726. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
  727. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
  728. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  729. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
  730. data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
  731. data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
  732. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  733. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  734. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
  735. data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
  736. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  737. data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
  738. data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
  739. data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
  740. data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
  741. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  742. data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
  743. data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
  744. data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
  745. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  746. data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
  747. data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
  748. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  749. data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
  750. data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
  751. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  752. data/generated/google/apis/serviceusage_v1.rb +1 -1
  753. data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
  754. data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
  755. data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
  756. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  757. data/generated/google/apis/sheets_v4/classes.rb +1741 -253
  758. data/generated/google/apis/sheets_v4/representations.rb +283 -0
  759. data/generated/google/apis/sheets_v4/service.rb +9 -11
  760. data/generated/google/apis/sheets_v4.rb +1 -1
  761. data/generated/google/apis/slides_v1/classes.rb +1 -1
  762. data/generated/google/apis/slides_v1/service.rb +1 -1
  763. data/generated/google/apis/slides_v1.rb +1 -1
  764. data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
  765. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  766. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  767. data/generated/google/apis/spanner_v1/classes.rb +706 -71
  768. data/generated/google/apis/spanner_v1/representations.rb +194 -0
  769. data/generated/google/apis/spanner_v1/service.rb +770 -7
  770. data/generated/google/apis/spanner_v1.rb +1 -1
  771. data/generated/google/apis/speech_v1/classes.rb +15 -11
  772. data/generated/google/apis/speech_v1/representations.rb +2 -1
  773. data/generated/google/apis/speech_v1.rb +1 -1
  774. data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
  775. data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
  776. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  777. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
  778. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
  779. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  780. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  781. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
  782. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
  783. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
  784. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  785. data/generated/google/apis/storage_v1/classes.rb +73 -7
  786. data/generated/google/apis/storage_v1/representations.rb +10 -0
  787. data/generated/google/apis/storage_v1/service.rb +29 -4
  788. data/generated/google/apis/storage_v1.rb +1 -1
  789. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  790. data/generated/google/apis/storage_v1beta2.rb +1 -1
  791. data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
  792. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  793. data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
  794. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  795. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  796. data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
  797. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  798. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  799. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  800. data/generated/google/apis/tagmanager_v1.rb +1 -1
  801. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  802. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  803. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  804. data/generated/google/apis/tagmanager_v2.rb +1 -1
  805. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  806. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  807. data/generated/google/apis/tasks_v1/service.rb +78 -124
  808. data/generated/google/apis/tasks_v1.rb +3 -3
  809. data/generated/google/apis/testing_v1/classes.rb +187 -1
  810. data/generated/google/apis/testing_v1/representations.rb +93 -0
  811. data/generated/google/apis/testing_v1.rb +1 -1
  812. data/generated/google/apis/texttospeech_v1.rb +1 -1
  813. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  814. data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
  815. data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
  816. data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
  817. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  818. data/generated/google/apis/tpu_v1/classes.rb +3 -4
  819. data/generated/google/apis/tpu_v1.rb +1 -1
  820. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
  821. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  822. data/generated/google/apis/translate_v3/classes.rb +946 -0
  823. data/generated/google/apis/translate_v3/representations.rb +439 -0
  824. data/generated/google/apis/translate_v3/service.rb +781 -0
  825. data/generated/google/apis/translate_v3.rb +37 -0
  826. data/generated/google/apis/translate_v3beta1.rb +1 -1
  827. data/generated/google/apis/vault_v1/classes.rb +10 -7
  828. data/generated/google/apis/vault_v1/service.rb +7 -7
  829. data/generated/google/apis/vault_v1.rb +1 -1
  830. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  831. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  832. data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
  833. data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
  834. data/generated/google/apis/videointelligence_v1.rb +1 -1
  835. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
  836. data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
  837. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  838. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
  839. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
  840. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  841. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
  842. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
  843. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  844. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
  845. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
  846. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  847. data/generated/google/apis/vision_v1/classes.rb +67 -1
  848. data/generated/google/apis/vision_v1/representations.rb +32 -0
  849. data/generated/google/apis/vision_v1/service.rb +1 -1
  850. data/generated/google/apis/vision_v1.rb +1 -1
  851. data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
  852. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  853. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  854. data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
  855. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  856. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  857. data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
  858. data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
  859. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  860. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  861. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  862. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  863. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  864. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
  865. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
  866. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  867. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  868. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  869. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  870. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  871. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  872. data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
  873. data/generated/google/apis/youtube_v3/representations.rb +99 -191
  874. data/generated/google/apis/youtube_v3/service.rb +1829 -2150
  875. data/generated/google/apis/youtube_v3.rb +8 -5
  876. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  877. data/google-api-client.gemspec +6 -3
  878. data/lib/google/apis/core/api_command.rb +7 -0
  879. data/lib/google/apis/core/base_service.rb +1 -1
  880. data/lib/google/apis/core/http_command.rb +11 -10
  881. data/lib/google/apis/core/upload.rb +4 -0
  882. data/lib/google/apis/generator/annotator.rb +1 -1
  883. data/lib/google/apis/version.rb +9 -4
  884. data/rakelib/devsite/devsite_builder.rb +126 -0
  885. data/rakelib/devsite/link_checker.rb +64 -0
  886. data/rakelib/devsite/repo_metadata.rb +56 -0
  887. metadata +193 -110
  888. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  889. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  890. data/generated/google/apis/analytics_v2_4.rb +0 -37
  891. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  892. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  893. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  894. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
  895. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  896. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  897. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  898. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  899. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  900. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  901. data/generated/google/apis/fusiontables_v1.rb +0 -37
  902. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  903. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  904. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
  905. data/generated/google/apis/fusiontables_v2.rb +0 -37
  906. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  907. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  908. data/generated/google/apis/mirror_v1/service.rb +0 -928
  909. data/generated/google/apis/mirror_v1.rb +0 -37
  910. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  911. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  912. data/generated/google/apis/oauth2_v1.rb +0 -40
  913. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  914. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  915. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  916. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  917. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  918. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  919. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  920. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  921. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
  922. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  923. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  924. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  925. data/generated/google/apis/plus_domains_v1.rb +0 -55
  926. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  927. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  928. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
  929. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  930. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  931. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  932. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  933. data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
  934. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  935. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
  936. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  937. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
  938. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
  939. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  940. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  941. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  942. data/generated/google/apis/storage_v1beta1.rb +0 -40
  943. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  944. data/generated/google/apis/surveys_v2.rb +0 -40
  945. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  946. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  947. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
  948. data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -20,9 +20,9 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module FitnessV1
23
- # Fitness
23
+ # Fitness API
24
24
  #
25
- # Stores and accesses user data in the fitness store from apps on any platform.
25
+ # The Fitness API for managing users' fitness tracking data.
26
26
  #
27
27
  # @example
28
28
  # require 'google/apis/fitness_v1'
@@ -30,7 +30,7 @@ module Google
30
30
  # Fitness = Google::Apis::FitnessV1 # Alias the module
31
31
  # service = Fitness::FitnessService.new
32
32
  #
33
- # @see https://developers.google.com/fit/rest/
33
+ # @see https://developers.google.com/fit/rest/v1/get-started
34
34
  class FitnessService < 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,38 +38,55 @@ 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/', 'fitness/v1/users/')
46
+ super('https://www.googleapis.com/', '')
51
47
  @batch_path = 'batch/fitness/v1'
52
48
  end
53
49
 
54
- # Creates a new data source that is unique across all data sources belonging to
55
- # this user. The data stream ID field can be omitted and will be generated by
56
- # the server with the correct format. The data stream ID is an ordered
57
- # combination of some fields from the data source. In addition to the data
58
- # source fields reflected into the data source ID, the developer project number
59
- # that is authenticated when creating the data source is included. This
60
- # developer project number is obfuscated when read by any other developer
61
- # reading public data types.
50
+ # Creates a new data source that is unique across all data sources belonging
51
+ # to this user.
52
+ # A data source is a unique source of sensor data. Data sources can expose
53
+ # raw data coming from hardware sensors on local or companion devices. They
54
+ # can also expose derived data, created by transforming or merging other data
55
+ # sources. Multiple data sources can exist for the same data type. Every data
56
+ # point in every dataset inserted into or read from the Fitness API has an
57
+ # associated data source.
58
+ # Each data source produces a unique stream of dataset updates, with a
59
+ # unique data source identifier. Not all changes to data source affect the
60
+ # data stream ID, so that data collected by updated versions of the same
61
+ # application/device can still be considered to belong to the same data
62
+ # source.
63
+ # Data sources are identified using a string generated by the server, based
64
+ # on the contents of the source being created. The <code>dataStreamId</code>
65
+ # field should not be set when invoking this method. It
66
+ # will be automatically generated by the server with the correct format. If
67
+ # a <code>dataStreamId</code> is set, it must match the format that the
68
+ # server would generate. This format is a combination of some fields from the
69
+ # data source, and has a specific order. If it doesn't match, the request
70
+ # will fail with an error.
71
+ # Specifying a DataType which is not a known type (beginning with
72
+ # "com.google.") will create a DataSource with a <em>custom data type</em>.
73
+ # Custom data types are only readable by the application that created them.
74
+ # Custom data types are <strong>deprecated</strong>; use standard data types
75
+ # instead.
76
+ # In addition to the data source fields included in the data source ID, the
77
+ # developer project number that is authenticated when creating the data
78
+ # source is included. This developer project number is obfuscated when read
79
+ # by any other developer reading public data types.
62
80
  # @param [String] user_id
63
- # Create the data source for the person identified. Use me to indicate the
64
- # authenticated user. Only me is supported at this time.
81
+ # Create the data source for the person identified. Use <code>me</code> to
82
+ # indicate the authenticated user. Only <code>me</code> is supported at this
83
+ # time.
65
84
  # @param [Google::Apis::FitnessV1::DataSource] data_source_object
66
85
  # @param [String] fields
67
86
  # Selector specifying which fields to include in a partial response.
68
87
  # @param [String] quota_user
69
- # An opaque string that represents a user for quota purposes. Must not exceed 40
70
- # characters.
71
- # @param [String] user_ip
72
- # Deprecated. Please use quotaUser instead.
88
+ # Available to use for quota purposes for server-side applications. Can be any
89
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
73
90
  # @param [Google::Apis::RequestOptions] options
74
91
  # Request-specific options
75
92
  #
@@ -82,8 +99,8 @@ module Google
82
99
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
83
100
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
84
101
  # @raise [Google::Apis::AuthorizationError] Authorization is required
85
- def create_user_data_source(user_id, data_source_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
86
- command = make_simple_command(:post, '{userId}/dataSources', options)
102
+ def create_user_data_source(user_id, data_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
103
+ command = make_simple_command(:post, 'fitness/v1/users/{userId}/dataSources', options)
87
104
  command.request_representation = Google::Apis::FitnessV1::DataSource::Representation
88
105
  command.request_object = data_source_object
89
106
  command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
@@ -91,24 +108,22 @@ module Google
91
108
  command.params['userId'] = user_id unless user_id.nil?
92
109
  command.query['fields'] = fields unless fields.nil?
93
110
  command.query['quotaUser'] = quota_user unless quota_user.nil?
94
- command.query['userIp'] = user_ip unless user_ip.nil?
95
111
  execute_or_queue_command(command, &block)
96
112
  end
97
113
 
98
- # Deletes the specified data source. The request will fail if the data source
99
- # contains any data points.
114
+ # Deletes the specified data source. The request will fail if the data
115
+ # source contains any data points.
100
116
  # @param [String] user_id
101
- # Retrieve a data source for the person identified. Use me to indicate the
102
- # authenticated user. Only me is supported at this time.
117
+ # Retrieve a data source for the person identified. Use <code>me</code> to
118
+ # indicate the authenticated user. Only <code>me</code> is supported at this
119
+ # time.
103
120
  # @param [String] data_source_id
104
121
  # The data stream ID of the data source to delete.
105
122
  # @param [String] fields
106
123
  # Selector specifying which fields to include in a partial response.
107
124
  # @param [String] quota_user
108
- # An opaque string that represents a user for quota purposes. Must not exceed 40
109
- # characters.
110
- # @param [String] user_ip
111
- # Deprecated. Please use quotaUser instead.
125
+ # Available to use for quota purposes for server-side applications. Can be any
126
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
112
127
  # @param [Google::Apis::RequestOptions] options
113
128
  # Request-specific options
114
129
  #
@@ -121,31 +136,29 @@ module Google
121
136
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
122
137
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
123
138
  # @raise [Google::Apis::AuthorizationError] Authorization is required
124
- def delete_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
125
- command = make_simple_command(:delete, '{userId}/dataSources/{dataSourceId}', options)
139
+ def delete_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil, options: nil, &block)
140
+ command = make_simple_command(:delete, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}', options)
126
141
  command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
127
142
  command.response_class = Google::Apis::FitnessV1::DataSource
128
143
  command.params['userId'] = user_id unless user_id.nil?
129
144
  command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
130
145
  command.query['fields'] = fields unless fields.nil?
131
146
  command.query['quotaUser'] = quota_user unless quota_user.nil?
132
- command.query['userIp'] = user_ip unless user_ip.nil?
133
147
  execute_or_queue_command(command, &block)
134
148
  end
135
149
 
136
150
  # Returns the specified data source.
137
151
  # @param [String] user_id
138
- # Retrieve a data source for the person identified. Use me to indicate the
139
- # authenticated user. Only me is supported at this time.
152
+ # Retrieve a data source for the person identified. Use <code>me</code> to
153
+ # indicate the authenticated user. Only <code>me</code> is supported at this
154
+ # time.
140
155
  # @param [String] data_source_id
141
156
  # The data stream ID of the data source to retrieve.
142
157
  # @param [String] fields
143
158
  # Selector specifying which fields to include in a partial response.
144
159
  # @param [String] quota_user
145
- # An opaque string that represents a user for quota purposes. Must not exceed 40
146
- # characters.
147
- # @param [String] user_ip
148
- # Deprecated. Please use quotaUser instead.
160
+ # Available to use for quota purposes for server-side applications. Can be any
161
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
149
162
  # @param [Google::Apis::RequestOptions] options
150
163
  # Request-specific options
151
164
  #
@@ -158,34 +171,33 @@ module Google
158
171
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
159
172
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
160
173
  # @raise [Google::Apis::AuthorizationError] Authorization is required
161
- def get_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
162
- command = make_simple_command(:get, '{userId}/dataSources/{dataSourceId}', options)
174
+ def get_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil, options: nil, &block)
175
+ command = make_simple_command(:get, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}', options)
163
176
  command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
164
177
  command.response_class = Google::Apis::FitnessV1::DataSource
165
178
  command.params['userId'] = user_id unless user_id.nil?
166
179
  command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
167
180
  command.query['fields'] = fields unless fields.nil?
168
181
  command.query['quotaUser'] = quota_user unless quota_user.nil?
169
- command.query['userIp'] = user_ip unless user_ip.nil?
170
182
  execute_or_queue_command(command, &block)
171
183
  end
172
184
 
173
185
  # Lists all data sources that are visible to the developer, using the OAuth
174
- # scopes provided. The list is not exhaustive; the user may have private data
175
- # sources that are only visible to other developers, or calls using other scopes.
186
+ # scopes provided. The list is not exhaustive; the user may have private
187
+ # data sources that are only visible to other developers, or calls using
188
+ # other scopes.
176
189
  # @param [String] user_id
177
- # List data sources for the person identified. Use me to indicate the
178
- # authenticated user. Only me is supported at this time.
190
+ # List data sources for the person identified. Use <code>me</code> to
191
+ # indicate the authenticated user. Only <code>me</code> is supported at this
192
+ # time.
179
193
  # @param [Array<String>, String] data_type_name
180
- # The names of data types to include in the list. If not specified, all data
181
- # sources will be returned.
194
+ # The names of data types to include in the list. If not specified, all
195
+ # data sources will be returned.
182
196
  # @param [String] fields
183
197
  # Selector specifying which fields to include in a partial response.
184
198
  # @param [String] quota_user
185
- # An opaque string that represents a user for quota purposes. Must not exceed 40
186
- # characters.
187
- # @param [String] user_ip
188
- # Deprecated. Please use quotaUser instead.
199
+ # Available to use for quota purposes for server-side applications. Can be any
200
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
189
201
  # @param [Google::Apis::RequestOptions] options
190
202
  # Request-specific options
191
203
  #
@@ -198,35 +210,34 @@ module Google
198
210
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
199
211
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
200
212
  # @raise [Google::Apis::AuthorizationError] Authorization is required
201
- def list_user_data_sources(user_id, data_type_name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
202
- command = make_simple_command(:get, '{userId}/dataSources', options)
213
+ def list_user_data_sources(user_id, data_type_name: nil, fields: nil, quota_user: nil, options: nil, &block)
214
+ command = make_simple_command(:get, 'fitness/v1/users/{userId}/dataSources', options)
203
215
  command.response_representation = Google::Apis::FitnessV1::ListDataSourcesResponse::Representation
204
216
  command.response_class = Google::Apis::FitnessV1::ListDataSourcesResponse
205
217
  command.params['userId'] = user_id unless user_id.nil?
206
218
  command.query['dataTypeName'] = data_type_name unless data_type_name.nil?
207
219
  command.query['fields'] = fields unless fields.nil?
208
220
  command.query['quotaUser'] = quota_user unless quota_user.nil?
209
- command.query['userIp'] = user_ip unless user_ip.nil?
210
221
  execute_or_queue_command(command, &block)
211
222
  end
212
223
 
213
- # Updates the specified data source. The dataStreamId, dataType, type,
214
- # dataStreamName, and device properties with the exception of version, cannot be
215
- # modified.
216
- # Data sources are identified by their dataStreamId.
224
+ # Updates the specified data source. The <code>dataStreamId</code>,
225
+ # <code>dataType</code>, <code>type</code>, <code>dataStreamName</code>, and
226
+ # <code>device</code> properties with the exception of <code>version</code>,
227
+ # cannot be modified.
228
+ # Data sources are identified by their <code>dataStreamId</code>.
217
229
  # @param [String] user_id
218
- # Update the data source for the person identified. Use me to indicate the
219
- # authenticated user. Only me is supported at this time.
230
+ # Update the data source for the person identified. Use <code>me</code> to
231
+ # indicate the authenticated user. Only <code>me</code> is supported at this
232
+ # time.
220
233
  # @param [String] data_source_id
221
234
  # The data stream ID of the data source to update.
222
235
  # @param [Google::Apis::FitnessV1::DataSource] data_source_object
223
236
  # @param [String] fields
224
237
  # Selector specifying which fields to include in a partial response.
225
238
  # @param [String] quota_user
226
- # An opaque string that represents a user for quota purposes. Must not exceed 40
227
- # characters.
228
- # @param [String] user_ip
229
- # Deprecated. Please use quotaUser instead.
239
+ # Available to use for quota purposes for server-side applications. Can be any
240
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
230
241
  # @param [Google::Apis::RequestOptions] options
231
242
  # Request-specific options
232
243
  #
@@ -239,8 +250,8 @@ module Google
239
250
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
240
251
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
241
252
  # @raise [Google::Apis::AuthorizationError] Authorization is required
242
- def update_user_data_source(user_id, data_source_id, data_source_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
243
- command = make_simple_command(:put, '{userId}/dataSources/{dataSourceId}', options)
253
+ def update_user_data_source(user_id, data_source_id, data_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
254
+ command = make_simple_command(:put, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}', options)
244
255
  command.request_representation = Google::Apis::FitnessV1::DataSource::Representation
245
256
  command.request_object = data_source_object
246
257
  command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
@@ -249,30 +260,27 @@ module Google
249
260
  command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
250
261
  command.query['fields'] = fields unless fields.nil?
251
262
  command.query['quotaUser'] = quota_user unless quota_user.nil?
252
- command.query['userIp'] = user_ip unless user_ip.nil?
253
263
  execute_or_queue_command(command, &block)
254
264
  end
255
265
 
256
266
  # Queries for user's data point changes for a particular data source.
257
267
  # @param [String] user_id
258
- # List data points for the person identified. Use me to indicate the
259
- # authenticated user. Only me is supported at this time.
268
+ # List data points for the person identified. Use <code>me</code> to indicate
269
+ # the authenticated user. Only <code>me</code> is supported at this time.
260
270
  # @param [String] data_source_id
261
271
  # The data stream ID of the data source that created the dataset.
262
272
  # @param [Fixnum] limit
263
- # If specified, no more than this many data point changes will be included in
264
- # the response.
273
+ # If specified, no more than this many data point changes will be included
274
+ # in the response.
265
275
  # @param [String] page_token
266
- # The continuation token, which is used to page through large result sets. To
267
- # get the next page of results, set this parameter to the value of nextPageToken
268
- # from the previous response.
276
+ # The continuation token, which is used to page through large result sets.
277
+ # To get the next page of results, set this parameter to the value of
278
+ # <code>nextPageToken</code> from the previous response.
269
279
  # @param [String] fields
270
280
  # Selector specifying which fields to include in a partial response.
271
281
  # @param [String] quota_user
272
- # An opaque string that represents a user for quota purposes. Must not exceed 40
273
- # characters.
274
- # @param [String] user_ip
275
- # Deprecated. Please use quotaUser instead.
282
+ # Available to use for quota purposes for server-side applications. Can be any
283
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
276
284
  # @param [Google::Apis::RequestOptions] options
277
285
  # Request-specific options
278
286
  #
@@ -285,8 +293,8 @@ module Google
285
293
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
286
294
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
287
295
  # @raise [Google::Apis::AuthorizationError] Authorization is required
288
- def list_user_data_source_data_point_changes(user_id, data_source_id, limit: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
289
- command = make_simple_command(:get, '{userId}/dataSources/{dataSourceId}/dataPointChanges', options)
296
+ def list_user_data_source_data_point_changes(user_id, data_source_id, limit: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
297
+ command = make_simple_command(:get, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}/dataPointChanges', options)
290
298
  command.response_representation = Google::Apis::FitnessV1::ListDataPointChangesResponse::Representation
291
299
  command.response_class = Google::Apis::FitnessV1::ListDataPointChangesResponse
292
300
  command.params['userId'] = user_id unless user_id.nil?
@@ -295,26 +303,26 @@ module Google
295
303
  command.query['pageToken'] = page_token unless page_token.nil?
296
304
  command.query['fields'] = fields unless fields.nil?
297
305
  command.query['quotaUser'] = quota_user unless quota_user.nil?
298
- command.query['userIp'] = user_ip unless user_ip.nil?
299
306
  execute_or_queue_command(command, &block)
300
307
  end
301
308
 
302
- # Performs an inclusive delete of all data points whose start and end times have
303
- # any overlap with the time range specified by the dataset ID. For most data
304
- # types, the entire data point will be deleted. For data types where the time
305
- # span represents a consistent value (such as com.google.activity.segment), and
306
- # a data point straddles either end point of the dataset, only the overlapping
307
- # portion of the data point will be deleted.
309
+ # Performs an inclusive delete of all data points whose start and end times
310
+ # have any overlap with the time range specified by the dataset ID. For most
311
+ # data types, the entire data point will be deleted. For data types where the
312
+ # time span represents a consistent value (such as
313
+ # <code>com.google.activity.segment</code>), and a data point straddles
314
+ # either end point of the dataset, only the overlapping portion of the data
315
+ # point will be deleted.
308
316
  # @param [String] user_id
309
- # Delete a dataset for the person identified. Use me to indicate the
310
- # authenticated user. Only me is supported at this time.
317
+ # Delete a dataset for the person identified. Use <code>me</code> to indicate
318
+ # the authenticated user. Only <code>me</code> is supported at this time.
311
319
  # @param [String] data_source_id
312
320
  # The data stream ID of the data source that created the dataset.
313
321
  # @param [String] dataset_id
314
322
  # Dataset identifier that is a composite of the minimum data point start time
315
- # and maximum data point end time represented as nanoseconds from the epoch. The
316
- # ID is formatted like: "startTime-endTime" where startTime and endTime are 64
317
- # bit integers.
323
+ # and maximum data point end time represented as nanoseconds from the epoch.
324
+ # The ID is formatted like: "<var>startTime</var>-<var>endTime</var>"
325
+ # where <var>startTime</var> and <var>endTime</var> are 64 bit integers.
318
326
  # @param [Fixnum] current_time_millis
319
327
  # The client's current time in milliseconds since epoch.
320
328
  # @param [Fixnum] modified_time_millis
@@ -322,10 +330,8 @@ module Google
322
330
  # @param [String] fields
323
331
  # Selector specifying which fields to include in a partial response.
324
332
  # @param [String] quota_user
325
- # An opaque string that represents a user for quota purposes. Must not exceed 40
326
- # characters.
327
- # @param [String] user_ip
328
- # Deprecated. Please use quotaUser instead.
333
+ # Available to use for quota purposes for server-side applications. Can be any
334
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
329
335
  # @param [Google::Apis::RequestOptions] options
330
336
  # Request-specific options
331
337
  #
@@ -338,8 +344,8 @@ module Google
338
344
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
339
345
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
340
346
  # @raise [Google::Apis::AuthorizationError] Authorization is required
341
- def delete_user_data_source_dataset(user_id, data_source_id, dataset_id, current_time_millis: nil, modified_time_millis: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
342
- command = make_simple_command(:delete, '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
347
+ def delete_user_data_source_dataset(user_id, data_source_id, dataset_id, current_time_millis: nil, modified_time_millis: nil, fields: nil, quota_user: nil, options: nil, &block)
348
+ command = make_simple_command(:delete, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
343
349
  command.params['userId'] = user_id unless user_id.nil?
344
350
  command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
345
351
  command.params['datasetId'] = dataset_id unless dataset_id.nil?
@@ -347,42 +353,40 @@ module Google
347
353
  command.query['modifiedTimeMillis'] = modified_time_millis unless modified_time_millis.nil?
348
354
  command.query['fields'] = fields unless fields.nil?
349
355
  command.query['quotaUser'] = quota_user unless quota_user.nil?
350
- command.query['userIp'] = user_ip unless user_ip.nil?
351
356
  execute_or_queue_command(command, &block)
352
357
  end
353
358
 
354
- # Returns a dataset containing all data points whose start and end times overlap
355
- # with the specified range of the dataset minimum start time and maximum end
356
- # time. Specifically, any data point whose start time is less than or equal to
357
- # the dataset end time and whose end time is greater than or equal to the
358
- # dataset start time.
359
+ # Returns a dataset containing all data points whose start and end times
360
+ # overlap with the specified range of the dataset minimum start time and
361
+ # maximum end time. Specifically, any data point whose start time is less
362
+ # than or equal to the dataset end time and whose end time is greater than or
363
+ # equal to the dataset start time.
359
364
  # @param [String] user_id
360
- # Retrieve a dataset for the person identified. Use me to indicate the
361
- # authenticated user. Only me is supported at this time.
365
+ # Retrieve a dataset for the person identified. Use <code>me</code> to
366
+ # indicate the authenticated user. Only <code>me</code> is supported at this
367
+ # time.
362
368
  # @param [String] data_source_id
363
369
  # The data stream ID of the data source that created the dataset.
364
370
  # @param [String] dataset_id
365
371
  # Dataset identifier that is a composite of the minimum data point start time
366
- # and maximum data point end time represented as nanoseconds from the epoch. The
367
- # ID is formatted like: "startTime-endTime" where startTime and endTime are 64
368
- # bit integers.
372
+ # and maximum data point end time represented as nanoseconds from the epoch.
373
+ # The ID is formatted like: "<var>startTime</var>-<var>endTime</var>"
374
+ # where <var>startTime</var> and <var>endTime</var> are 64 bit integers.
369
375
  # @param [Fixnum] limit
370
376
  # If specified, no more than this many data points will be included in the
371
- # dataset. If there are more data points in the dataset, nextPageToken will be
372
- # set in the dataset response.
377
+ # dataset. If there are more data points in the dataset, nextPageToken
378
+ # will be set in the dataset response.
373
379
  # @param [String] page_token
374
- # The continuation token, which is used to page through large datasets. To get
375
- # the next page of a dataset, set this parameter to the value of nextPageToken
376
- # from the previous response. Each subsequent call will yield a partial dataset
377
- # with data point end timestamps that are strictly smaller than those in the
378
- # previous partial response.
380
+ # The continuation token, which is used to page through large datasets.
381
+ # To get the next page of a dataset, set this parameter to the value of
382
+ # <code>nextPageToken</code> from the previous response. Each subsequent
383
+ # call will yield a partial dataset with data point end timestamps that are
384
+ # strictly smaller than those in the previous partial response.
379
385
  # @param [String] fields
380
386
  # Selector specifying which fields to include in a partial response.
381
387
  # @param [String] quota_user
382
- # An opaque string that represents a user for quota purposes. Must not exceed 40
383
- # characters.
384
- # @param [String] user_ip
385
- # Deprecated. Please use quotaUser instead.
388
+ # Available to use for quota purposes for server-side applications. Can be any
389
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
386
390
  # @param [Google::Apis::RequestOptions] options
387
391
  # Request-specific options
388
392
  #
@@ -395,8 +399,8 @@ module Google
395
399
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
396
400
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
397
401
  # @raise [Google::Apis::AuthorizationError] Authorization is required
398
- def get_user_data_source_dataset(user_id, data_source_id, dataset_id, limit: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
399
- command = make_simple_command(:get, '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
402
+ def get_user_data_source_dataset(user_id, data_source_id, dataset_id, limit: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
403
+ command = make_simple_command(:get, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
400
404
  command.response_representation = Google::Apis::FitnessV1::Dataset::Representation
401
405
  command.response_class = Google::Apis::FitnessV1::Dataset
402
406
  command.params['userId'] = user_id unless user_id.nil?
@@ -406,36 +410,33 @@ module Google
406
410
  command.query['pageToken'] = page_token unless page_token.nil?
407
411
  command.query['fields'] = fields unless fields.nil?
408
412
  command.query['quotaUser'] = quota_user unless quota_user.nil?
409
- command.query['userIp'] = user_ip unless user_ip.nil?
410
413
  execute_or_queue_command(command, &block)
411
414
  end
412
415
 
413
- # Adds data points to a dataset. The dataset need not be previously created. All
414
- # points within the given dataset will be returned with subsquent calls to
415
- # retrieve this dataset. Data points can belong to more than one dataset. This
416
- # method does not use patch semantics.
416
+ # Adds data points to a dataset. The dataset need not be previously created.
417
+ # All points within the given dataset will be returned with subsquent calls
418
+ # to retrieve this dataset. Data points can belong to more than one dataset.
419
+ # This method does not use patch semantics.
417
420
  # @param [String] user_id
418
- # Patch a dataset for the person identified. Use me to indicate the
419
- # authenticated user. Only me is supported at this time.
421
+ # Patch a dataset for the person identified. Use <code>me</code> to indicate
422
+ # the authenticated user. Only <code>me</code> is supported at this time.
420
423
  # @param [String] data_source_id
421
424
  # The data stream ID of the data source that created the dataset.
422
425
  # @param [String] dataset_id
423
426
  # Dataset identifier that is a composite of the minimum data point start time
424
- # and maximum data point end time represented as nanoseconds from the epoch. The
425
- # ID is formatted like: "startTime-endTime" where startTime and endTime are 64
426
- # bit integers.
427
+ # and maximum data point end time represented as nanoseconds from the epoch.
428
+ # The ID is formatted like: "<var>startTime</var>-<var>endTime</var>"
429
+ # where <var>startTime</var> and <var>endTime</var> are 64 bit integers.
427
430
  # @param [Google::Apis::FitnessV1::Dataset] dataset_object
428
431
  # @param [Fixnum] current_time_millis
429
432
  # The client's current time in milliseconds since epoch. Note that the
430
- # minStartTimeNs and maxEndTimeNs properties in the request body are in
431
- # nanoseconds instead of milliseconds.
433
+ # <code>minStartTimeNs</code> and <code>maxEndTimeNs</code> properties in
434
+ # the request body are in nanoseconds instead of milliseconds.
432
435
  # @param [String] fields
433
436
  # Selector specifying which fields to include in a partial response.
434
437
  # @param [String] quota_user
435
- # An opaque string that represents a user for quota purposes. Must not exceed 40
436
- # characters.
437
- # @param [String] user_ip
438
- # Deprecated. Please use quotaUser instead.
438
+ # Available to use for quota purposes for server-side applications. Can be any
439
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
439
440
  # @param [Google::Apis::RequestOptions] options
440
441
  # Request-specific options
441
442
  #
@@ -448,8 +449,8 @@ module Google
448
449
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
449
450
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
450
451
  # @raise [Google::Apis::AuthorizationError] Authorization is required
451
- def patch_user_data_source_dataset(user_id, data_source_id, dataset_id, dataset_object = nil, current_time_millis: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
452
- command = make_simple_command(:patch, '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
452
+ def patch_user_data_source_dataset(user_id, data_source_id, dataset_id, dataset_object = nil, current_time_millis: nil, fields: nil, quota_user: nil, options: nil, &block)
453
+ command = make_simple_command(:patch, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
453
454
  command.request_representation = Google::Apis::FitnessV1::Dataset::Representation
454
455
  command.request_object = dataset_object
455
456
  command.response_representation = Google::Apis::FitnessV1::Dataset::Representation
@@ -460,24 +461,21 @@ module Google
460
461
  command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
461
462
  command.query['fields'] = fields unless fields.nil?
462
463
  command.query['quotaUser'] = quota_user unless quota_user.nil?
463
- command.query['userIp'] = user_ip unless user_ip.nil?
464
464
  execute_or_queue_command(command, &block)
465
465
  end
466
466
 
467
467
  # Aggregates data of a certain type or stream into buckets divided by a given
468
468
  # type of boundary. Multiple data sets of multiple types and from multiple
469
- # sources can be aggreated into exactly one bucket type per request.
469
+ # sources can be aggregated into exactly one bucket type per request.
470
470
  # @param [String] user_id
471
- # Aggregate data for the person identified. Use me to indicate the authenticated
472
- # user. Only me is supported at this time.
471
+ # Aggregate data for the person identified. Use <code>me</code> to indicate
472
+ # the authenticated user. Only <code>me</code> is supported at this time.
473
473
  # @param [Google::Apis::FitnessV1::AggregateRequest] aggregate_request_object
474
474
  # @param [String] fields
475
475
  # Selector specifying which fields to include in a partial response.
476
476
  # @param [String] quota_user
477
- # An opaque string that represents a user for quota purposes. Must not exceed 40
478
- # characters.
479
- # @param [String] user_ip
480
- # Deprecated. Please use quotaUser instead.
477
+ # Available to use for quota purposes for server-side applications. Can be any
478
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
481
479
  # @param [Google::Apis::RequestOptions] options
482
480
  # Request-specific options
483
481
  #
@@ -490,8 +488,8 @@ module Google
490
488
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
491
489
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
492
490
  # @raise [Google::Apis::AuthorizationError] Authorization is required
493
- def aggregate_dataset(user_id, aggregate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
494
- command = make_simple_command(:post, '{userId}/dataset:aggregate', options)
491
+ def aggregate_dataset(user_id, aggregate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
492
+ command = make_simple_command(:post, 'fitness/v1/users/{userId}/dataset:aggregate', options)
495
493
  command.request_representation = Google::Apis::FitnessV1::AggregateRequest::Representation
496
494
  command.request_object = aggregate_request_object
497
495
  command.response_representation = Google::Apis::FitnessV1::AggregateResponse::Representation
@@ -499,14 +497,13 @@ module Google
499
497
  command.params['userId'] = user_id unless user_id.nil?
500
498
  command.query['fields'] = fields unless fields.nil?
501
499
  command.query['quotaUser'] = quota_user unless quota_user.nil?
502
- command.query['userIp'] = user_ip unless user_ip.nil?
503
500
  execute_or_queue_command(command, &block)
504
501
  end
505
502
 
506
503
  # Deletes a session specified by the given session ID.
507
504
  # @param [String] user_id
508
- # Delete a session for the person identified. Use me to indicate the
509
- # authenticated user. Only me is supported at this time.
505
+ # Delete a session for the person identified. Use <code>me</code> to indicate
506
+ # the authenticated user. Only <code>me</code> is supported at this time.
510
507
  # @param [String] session_id
511
508
  # The ID of the session to be deleted.
512
509
  # @param [Fixnum] current_time_millis
@@ -514,10 +511,8 @@ module Google
514
511
  # @param [String] fields
515
512
  # Selector specifying which fields to include in a partial response.
516
513
  # @param [String] quota_user
517
- # An opaque string that represents a user for quota purposes. Must not exceed 40
518
- # characters.
519
- # @param [String] user_ip
520
- # Deprecated. Please use quotaUser instead.
514
+ # Available to use for quota purposes for server-side applications. Can be any
515
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
521
516
  # @param [Google::Apis::RequestOptions] options
522
517
  # Request-specific options
523
518
  #
@@ -530,46 +525,49 @@ module Google
530
525
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
531
526
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
532
527
  # @raise [Google::Apis::AuthorizationError] Authorization is required
533
- def delete_user_session(user_id, session_id, current_time_millis: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
534
- command = make_simple_command(:delete, '{userId}/sessions/{sessionId}', options)
528
+ def delete_user_session(user_id, session_id, current_time_millis: nil, fields: nil, quota_user: nil, options: nil, &block)
529
+ command = make_simple_command(:delete, 'fitness/v1/users/{userId}/sessions/{sessionId}', options)
535
530
  command.params['userId'] = user_id unless user_id.nil?
536
531
  command.params['sessionId'] = session_id unless session_id.nil?
537
532
  command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
538
533
  command.query['fields'] = fields unless fields.nil?
539
534
  command.query['quotaUser'] = quota_user unless quota_user.nil?
540
- command.query['userIp'] = user_ip unless user_ip.nil?
541
535
  execute_or_queue_command(command, &block)
542
536
  end
543
537
 
544
538
  # Lists sessions previously created.
545
539
  # @param [String] user_id
546
- # List sessions for the person identified. Use me to indicate the authenticated
547
- # user. Only me is supported at this time.
540
+ # List sessions for the person identified. Use <code>me</code> to indicate
541
+ # the authenticated user. Only <code>me</code> is supported at this time.
542
+ # @param [Array<Fixnum>, Fixnum] activity_type
543
+ # If non-empty, only sessions with these activity types should be returned.
548
544
  # @param [String] end_time
549
- # An RFC3339 timestamp. Only sessions ending between the start and end times
550
- # will be included in the response.
545
+ # An <a href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339</a> timestamp.
546
+ # Only sessions ending between the start and end times will be included in
547
+ # the response. If this time is omitted but <var>startTime</var> is
548
+ # specified, all sessions from <var>startTime</var> to the end of time will
549
+ # be returned.
551
550
  # @param [Boolean] include_deleted
552
- # If true, deleted sessions will be returned. When set to true, sessions
553
- # returned in this response will only have an ID and will not have any other
554
- # fields.
551
+ # If true, and if both <var>startTime</var> and <var>endTime</var> are
552
+ # omitted, session deletions will be returned.
555
553
  # @param [String] page_token
556
- # The continuation token, which is used for incremental syncing. To get the next
557
- # batch of changes, set this parameter to the value of nextPageToken from the
558
- # previous response. This token is treated as a timestamp (in millis since epoch)
559
- # . If specified, the API returns sessions modified since this time. The page
560
- # token is ignored if either start or end time is specified. If none of start
561
- # time, end time, and the page token is specified, sessions modified in the last
554
+ # The continuation token, which is used for incremental syncing.
555
+ # To get the next batch of changes, set this parameter to the value of
556
+ # <code>nextPageToken</code> from the previous response. The page token is
557
+ # ignored if either start or end time is specified. If none of start time,
558
+ # end time, and the page token is specified, sessions modified in the last
562
559
  # 30 days are returned.
563
560
  # @param [String] start_time
564
- # An RFC3339 timestamp. Only sessions ending between the start and end times
565
- # will be included in the response.
561
+ # An <a href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339</a> timestamp.
562
+ # Only sessions ending between the start and end times will be included in
563
+ # the response. If this time is omitted but <var>endTime</var> is specified,
564
+ # all sessions from the start of time up to <var>endTime</var> will be
565
+ # returned.
566
566
  # @param [String] fields
567
567
  # Selector specifying which fields to include in a partial response.
568
568
  # @param [String] quota_user
569
- # An opaque string that represents a user for quota purposes. Must not exceed 40
570
- # characters.
571
- # @param [String] user_ip
572
- # Deprecated. Please use quotaUser instead.
569
+ # Available to use for quota purposes for server-side applications. Can be any
570
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
573
571
  # @param [Google::Apis::RequestOptions] options
574
572
  # Request-specific options
575
573
  #
@@ -582,25 +580,25 @@ module Google
582
580
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
583
581
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
584
582
  # @raise [Google::Apis::AuthorizationError] Authorization is required
585
- def list_user_sessions(user_id, end_time: nil, include_deleted: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
586
- command = make_simple_command(:get, '{userId}/sessions', options)
583
+ def list_user_sessions(user_id, activity_type: nil, end_time: nil, include_deleted: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
584
+ command = make_simple_command(:get, 'fitness/v1/users/{userId}/sessions', options)
587
585
  command.response_representation = Google::Apis::FitnessV1::ListSessionsResponse::Representation
588
586
  command.response_class = Google::Apis::FitnessV1::ListSessionsResponse
589
587
  command.params['userId'] = user_id unless user_id.nil?
588
+ command.query['activityType'] = activity_type unless activity_type.nil?
590
589
  command.query['endTime'] = end_time unless end_time.nil?
591
590
  command.query['includeDeleted'] = include_deleted unless include_deleted.nil?
592
591
  command.query['pageToken'] = page_token unless page_token.nil?
593
592
  command.query['startTime'] = start_time unless start_time.nil?
594
593
  command.query['fields'] = fields unless fields.nil?
595
594
  command.query['quotaUser'] = quota_user unless quota_user.nil?
596
- command.query['userIp'] = user_ip unless user_ip.nil?
597
595
  execute_or_queue_command(command, &block)
598
596
  end
599
597
 
600
598
  # Updates or insert a given session.
601
599
  # @param [String] user_id
602
- # Create sessions for the person identified. Use me to indicate the
603
- # authenticated user. Only me is supported at this time.
600
+ # Create sessions for the person identified. Use <code>me</code> to indicate
601
+ # the authenticated user. Only <code>me</code> is supported at this time.
604
602
  # @param [String] session_id
605
603
  # The ID of the session to be created.
606
604
  # @param [Google::Apis::FitnessV1::Session] session_object
@@ -609,10 +607,8 @@ module Google
609
607
  # @param [String] fields
610
608
  # Selector specifying which fields to include in a partial response.
611
609
  # @param [String] quota_user
612
- # An opaque string that represents a user for quota purposes. Must not exceed 40
613
- # characters.
614
- # @param [String] user_ip
615
- # Deprecated. Please use quotaUser instead.
610
+ # Available to use for quota purposes for server-side applications. Can be any
611
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
616
612
  # @param [Google::Apis::RequestOptions] options
617
613
  # Request-specific options
618
614
  #
@@ -625,8 +621,8 @@ module Google
625
621
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
626
622
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
627
623
  # @raise [Google::Apis::AuthorizationError] Authorization is required
628
- def update_user_session(user_id, session_id, session_object = nil, current_time_millis: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
629
- command = make_simple_command(:put, '{userId}/sessions/{sessionId}', options)
624
+ def update_user_session(user_id, session_id, session_object = nil, current_time_millis: nil, fields: nil, quota_user: nil, options: nil, &block)
625
+ command = make_simple_command(:put, 'fitness/v1/users/{userId}/sessions/{sessionId}', options)
630
626
  command.request_representation = Google::Apis::FitnessV1::Session::Representation
631
627
  command.request_object = session_object
632
628
  command.response_representation = Google::Apis::FitnessV1::Session::Representation
@@ -636,7 +632,6 @@ module Google
636
632
  command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
637
633
  command.query['fields'] = fields unless fields.nil?
638
634
  command.query['quotaUser'] = quota_user unless quota_user.nil?
639
- command.query['userIp'] = user_ip unless user_ip.nil?
640
635
  execute_or_queue_command(command, &block)
641
636
  end
642
637
 
@@ -645,7 +640,6 @@ module Google
645
640
  def apply_command_defaults(command)
646
641
  command.query['key'] = key unless key.nil?
647
642
  command.query['quotaUser'] = quota_user unless quota_user.nil?
648
- command.query['userIp'] = user_ip unless user_ip.nil?
649
643
  end
650
644
  end
651
645
  end