google-api-client 0.39.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +164 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/apigee_v1.rb +1 -1
  6. data/generated/google/apis/apigee_v1/classes.rb +70 -347
  7. data/generated/google/apis/apigee_v1/representations.rb +6 -128
  8. data/generated/google/apis/apigee_v1/service.rb +60 -550
  9. data/generated/google/apis/appengine_v1.rb +1 -1
  10. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  11. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  12. data/generated/google/apis/appengine_v1beta.rb +1 -1
  13. data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
  14. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  15. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  16. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
  17. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
  18. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  19. data/generated/google/apis/bigquery_v2.rb +1 -1
  20. data/generated/google/apis/bigquery_v2/classes.rb +46 -1
  21. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  22. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  23. data/generated/google/apis/bigqueryreservation_v1/classes.rb +21 -15
  24. data/generated/google/apis/bigqueryreservation_v1/service.rb +94 -81
  25. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  26. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  27. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -61
  28. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
  29. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  30. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  31. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  32. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  33. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  34. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  35. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  36. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  37. data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
  38. data/generated/google/apis/calendar_v3.rb +1 -1
  39. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  40. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  41. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  42. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  43. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  44. data/generated/google/apis/cloudasset_v1.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
  46. data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
  47. data/generated/google/apis/cloudasset_v1/service.rb +186 -8
  48. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  49. data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
  50. data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
  51. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
  53. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  54. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  55. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  56. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
  57. data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
  58. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
  60. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
  61. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  62. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
  64. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
  65. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  66. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  68. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudiot_v1.rb +1 -1
  70. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  71. data/generated/google/apis/cloudkms_v1.rb +1 -1
  72. data/generated/google/apis/cloudkms_v1/classes.rb +307 -14
  73. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  74. data/generated/google/apis/cloudkms_v1/service.rb +15 -6
  75. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
  79. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  80. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
  81. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  82. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
  83. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  84. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  85. data/generated/google/apis/cloudshell_v1.rb +1 -1
  86. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  87. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  88. data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
  89. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  90. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  91. data/generated/google/apis/composer_v1beta1.rb +1 -1
  92. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  93. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  94. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  95. data/generated/google/apis/compute_alpha.rb +1 -1
  96. data/generated/google/apis/compute_alpha/classes.rb +165 -65
  97. data/generated/google/apis/compute_alpha/representations.rb +30 -1
  98. data/generated/google/apis/compute_alpha/service.rb +157 -0
  99. data/generated/google/apis/compute_beta.rb +1 -1
  100. data/generated/google/apis/compute_beta/classes.rb +172 -55
  101. data/generated/google/apis/compute_beta/representations.rb +47 -0
  102. data/generated/google/apis/compute_v1.rb +1 -1
  103. data/generated/google/apis/compute_v1/classes.rb +148 -51
  104. data/generated/google/apis/compute_v1/representations.rb +21 -0
  105. data/generated/google/apis/compute_v1/service.rb +83 -0
  106. data/generated/google/apis/container_v1.rb +1 -1
  107. data/generated/google/apis/container_v1/classes.rb +5 -6
  108. data/generated/google/apis/container_v1beta1.rb +1 -1
  109. data/generated/google/apis/container_v1beta1/classes.rb +65 -6
  110. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  111. data/generated/google/apis/content_v2_1.rb +1 -1
  112. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  113. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  114. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  115. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  116. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  117. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  118. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  119. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  120. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  121. data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
  122. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  123. data/generated/google/apis/datastore_v1.rb +1 -1
  124. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  125. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  126. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  127. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  128. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  129. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  130. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  131. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  132. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  133. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  134. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  135. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  136. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  137. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  138. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  139. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  140. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  141. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  142. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  143. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  144. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  145. data/generated/google/apis/dialogflow_v2.rb +1 -1
  146. data/generated/google/apis/dialogflow_v2/classes.rb +568 -8
  147. data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
  148. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  149. data/generated/google/apis/dialogflow_v2beta1/classes.rb +568 -8
  150. data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
  151. data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
  152. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  153. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  154. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  155. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  156. data/generated/google/apis/displayvideo_v1.rb +1 -1
  157. data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
  158. data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
  159. data/generated/google/apis/displayvideo_v1/service.rb +287 -2
  160. data/generated/google/apis/dlp_v2.rb +1 -1
  161. data/generated/google/apis/dlp_v2/classes.rb +9 -21
  162. data/generated/google/apis/dlp_v2/service.rb +79 -142
  163. data/generated/google/apis/dns_v1.rb +1 -1
  164. data/generated/google/apis/dns_v1/classes.rb +160 -261
  165. data/generated/google/apis/dns_v1/representations.rb +17 -0
  166. data/generated/google/apis/dns_v1/service.rb +21 -141
  167. data/generated/google/apis/dns_v1beta2.rb +1 -1
  168. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  169. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  170. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  173. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  174. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  175. data/generated/google/apis/file_v1.rb +1 -1
  176. data/generated/google/apis/file_v1/classes.rb +1187 -0
  177. data/generated/google/apis/file_v1/representations.rb +396 -0
  178. data/generated/google/apis/file_v1beta1.rb +1 -1
  179. data/generated/google/apis/file_v1beta1/classes.rb +1187 -0
  180. data/generated/google/apis/file_v1beta1/representations.rb +396 -0
  181. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  182. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  183. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  184. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +4 -4
  185. data/generated/google/apis/{pagespeedonline_v2.rb → firebaseml_v1.rb} +12 -10
  186. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  187. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  188. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  189. data/generated/google/apis/fitness_v1.rb +4 -4
  190. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  191. data/generated/google/apis/fitness_v1/service.rb +187 -215
  192. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  193. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  194. data/generated/google/apis/games_management_v1management.rb +6 -4
  195. data/generated/google/apis/games_management_v1management/classes.rb +50 -90
  196. data/generated/google/apis/games_management_v1management/representations.rb +0 -17
  197. data/generated/google/apis/games_management_v1management/service.rb +115 -291
  198. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  199. data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
  200. data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
  201. data/generated/google/apis/gmail_v1.rb +2 -3
  202. data/generated/google/apis/gmail_v1/classes.rb +199 -258
  203. data/generated/google/apis/gmail_v1/service.rb +744 -552
  204. data/generated/google/apis/healthcare_v1.rb +1 -1
  205. data/generated/google/apis/healthcare_v1/classes.rb +67 -46
  206. data/generated/google/apis/healthcare_v1/service.rb +107 -140
  207. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  208. data/generated/google/apis/healthcare_v1beta1/classes.rb +70 -54
  209. data/generated/google/apis/healthcare_v1beta1/service.rb +223 -255
  210. data/generated/google/apis/homegraph_v1.rb +1 -1
  211. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  212. data/generated/google/apis/iam_v1.rb +1 -1
  213. data/generated/google/apis/iam_v1/classes.rb +24 -12
  214. data/generated/google/apis/iam_v1/service.rb +7 -0
  215. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  216. data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
  217. data/generated/google/apis/iap_v1.rb +1 -1
  218. data/generated/google/apis/iap_v1/classes.rb +35 -12
  219. data/generated/google/apis/iap_v1/representations.rb +1 -0
  220. data/generated/google/apis/iap_v1/service.rb +1 -1
  221. data/generated/google/apis/iap_v1beta1.rb +1 -1
  222. data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  225. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  226. data/generated/google/apis/memcache_v1beta2/classes.rb +24 -12
  227. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  228. data/generated/google/apis/ml_v1.rb +1 -1
  229. data/generated/google/apis/ml_v1/classes.rb +84 -18
  230. data/generated/google/apis/ml_v1/representations.rb +4 -0
  231. data/generated/google/apis/ml_v1/service.rb +11 -6
  232. data/generated/google/apis/monitoring_v3.rb +1 -1
  233. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  234. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  235. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  236. data/generated/google/apis/{pagespeedonline_v4.rb → networkmanagement_v1.rb} +13 -10
  237. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  238. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  239. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  240. data/generated/google/apis/osconfig_v1.rb +1 -1
  241. data/generated/google/apis/osconfig_v1/classes.rb +29 -27
  242. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  243. data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
  244. data/generated/google/apis/people_v1.rb +1 -1
  245. data/generated/google/apis/people_v1/service.rb +1 -1
  246. data/generated/google/apis/pubsub_v1.rb +1 -1
  247. data/generated/google/apis/pubsub_v1/classes.rb +6 -7
  248. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  249. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  250. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  251. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  252. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  253. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  254. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  255. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  256. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  257. data/generated/google/apis/run_v1.rb +1 -1
  258. data/generated/google/apis/run_v1/classes.rb +31 -49
  259. data/generated/google/apis/run_v1/representations.rb +1 -17
  260. data/generated/google/apis/run_v1/service.rb +3 -0
  261. data/generated/google/apis/run_v1alpha1.rb +1 -1
  262. data/generated/google/apis/run_v1alpha1/classes.rb +23 -10
  263. data/generated/google/apis/run_v1alpha1/service.rb +3 -0
  264. data/generated/google/apis/secretmanager_v1.rb +1 -1
  265. data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
  266. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  267. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  268. data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
  269. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  270. data/generated/google/apis/securitycenter_v1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
  272. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  273. data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
  274. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  275. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
  276. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  277. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
  278. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
  279. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  280. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
  281. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
  282. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  283. data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
  284. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  285. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
  286. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  287. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  288. data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
  289. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
  290. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  291. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  292. data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
  293. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
  296. data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
  300. data/generated/google/apis/sheets_v4.rb +1 -1
  301. data/generated/google/apis/spanner_v1.rb +1 -1
  302. data/generated/google/apis/spanner_v1/classes.rb +29 -10
  303. data/generated/google/apis/storage_v1.rb +1 -1
  304. data/generated/google/apis/storage_v1/classes.rb +18 -0
  305. data/generated/google/apis/storage_v1/representations.rb +3 -0
  306. data/generated/google/apis/tasks_v1.rb +3 -3
  307. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  308. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  309. data/generated/google/apis/tasks_v1/service.rb +79 -128
  310. data/generated/google/apis/testing_v1.rb +1 -1
  311. data/generated/google/apis/testing_v1/classes.rb +3 -2
  312. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  313. data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
  314. data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
  315. data/generated/google/apis/tpu_v1.rb +1 -1
  316. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  317. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  318. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  319. data/generated/google/apis/translate_v3.rb +1 -1
  320. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  321. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  322. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  323. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  324. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  325. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  326. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  327. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  328. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  329. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  330. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  331. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  332. data/generated/google/apis/youtube_v3.rb +5 -5
  333. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  334. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  335. data/generated/google/apis/youtube_v3/service.rb +1827 -2154
  336. data/lib/google/apis/version.rb +9 -4
  337. metadata +23 -15
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  341. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  342. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  343. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  344. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  345. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  346. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -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,57 +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.
56
- # A data source is a unique source of sensor data. Data sources can expose raw
57
- # data coming from hardware sensors on local or companion devices. They can also
58
- # expose derived data, created by transforming or merging other data sources.
59
- # Multiple data sources can exist for the same data type. Every data point in
60
- # every dataset inserted into or read from the Fitness API has an associated
61
- # data source.
62
- # Each data source produces a unique stream of dataset updates, with a unique
63
- # data source identifier. Not all changes to data source affect the data stream
64
- # ID, so that data collected by updated versions of the same application/device
65
- # can still be considered to belong to the same data source.
66
- # Data sources are identified using a string generated by the server, based on
67
- # the contents of the source being created. The dataStreamId field should not be
68
- # set when invoking this method. It will be automatically generated by the
69
- # server with the correct format. If a dataStreamId is set, it must match the
70
- # format that the server would generate. This format is a combination of some
71
- # fields from the data source, and has a specific order. If it doesn't match,
72
- # the request will fail with an error.
73
- # Specifying a DataType which is not a known type (beginning with "com.google.")
74
- # will create a DataSource with a custom data type. Custom data types are only
75
- # readable by the application that created them. Custom data types are
76
- # deprecated; use standard data types instead.
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.
77
76
  # In addition to the data source fields included in the data source ID, the
78
- # developer project number that is authenticated when creating the data source
79
- # is included. This developer project number is obfuscated when read by any
80
- # other developer reading public data types.
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.
81
80
  # @param [String] user_id
82
- # Create the data source for the person identified. Use me to indicate the
83
- # 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.
84
84
  # @param [Google::Apis::FitnessV1::DataSource] data_source_object
85
85
  # @param [String] fields
86
86
  # Selector specifying which fields to include in a partial response.
87
87
  # @param [String] quota_user
88
- # An opaque string that represents a user for quota purposes. Must not exceed 40
89
- # characters.
90
- # @param [String] user_ip
91
- # 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.
92
90
  # @param [Google::Apis::RequestOptions] options
93
91
  # Request-specific options
94
92
  #
@@ -101,8 +99,8 @@ module Google
101
99
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
102
100
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
103
101
  # @raise [Google::Apis::AuthorizationError] Authorization is required
104
- def create_user_data_source(user_id, data_source_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
105
- 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)
106
104
  command.request_representation = Google::Apis::FitnessV1::DataSource::Representation
107
105
  command.request_object = data_source_object
108
106
  command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
@@ -110,24 +108,22 @@ module Google
110
108
  command.params['userId'] = user_id unless user_id.nil?
111
109
  command.query['fields'] = fields unless fields.nil?
112
110
  command.query['quotaUser'] = quota_user unless quota_user.nil?
113
- command.query['userIp'] = user_ip unless user_ip.nil?
114
111
  execute_or_queue_command(command, &block)
115
112
  end
116
113
 
117
- # Deletes the specified data source. The request will fail if the data source
118
- # contains any data points.
114
+ # Deletes the specified data source. The request will fail if the data
115
+ # source contains any data points.
119
116
  # @param [String] user_id
120
- # Retrieve a data source for the person identified. Use me to indicate the
121
- # 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.
122
120
  # @param [String] data_source_id
123
121
  # The data stream ID of the data source to delete.
124
122
  # @param [String] fields
125
123
  # Selector specifying which fields to include in a partial response.
126
124
  # @param [String] quota_user
127
- # An opaque string that represents a user for quota purposes. Must not exceed 40
128
- # characters.
129
- # @param [String] user_ip
130
- # 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.
131
127
  # @param [Google::Apis::RequestOptions] options
132
128
  # Request-specific options
133
129
  #
@@ -140,31 +136,29 @@ module Google
140
136
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
141
137
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
142
138
  # @raise [Google::Apis::AuthorizationError] Authorization is required
143
- def delete_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
144
- 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)
145
141
  command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
146
142
  command.response_class = Google::Apis::FitnessV1::DataSource
147
143
  command.params['userId'] = user_id unless user_id.nil?
148
144
  command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
149
145
  command.query['fields'] = fields unless fields.nil?
150
146
  command.query['quotaUser'] = quota_user unless quota_user.nil?
151
- command.query['userIp'] = user_ip unless user_ip.nil?
152
147
  execute_or_queue_command(command, &block)
153
148
  end
154
149
 
155
150
  # Returns the specified data source.
156
151
  # @param [String] user_id
157
- # Retrieve a data source for the person identified. Use me to indicate the
158
- # 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.
159
155
  # @param [String] data_source_id
160
156
  # The data stream ID of the data source to retrieve.
161
157
  # @param [String] fields
162
158
  # Selector specifying which fields to include in a partial response.
163
159
  # @param [String] quota_user
164
- # An opaque string that represents a user for quota purposes. Must not exceed 40
165
- # characters.
166
- # @param [String] user_ip
167
- # 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.
168
162
  # @param [Google::Apis::RequestOptions] options
169
163
  # Request-specific options
170
164
  #
@@ -177,34 +171,33 @@ module Google
177
171
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
178
172
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
179
173
  # @raise [Google::Apis::AuthorizationError] Authorization is required
180
- def get_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
181
- 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)
182
176
  command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
183
177
  command.response_class = Google::Apis::FitnessV1::DataSource
184
178
  command.params['userId'] = user_id unless user_id.nil?
185
179
  command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
186
180
  command.query['fields'] = fields unless fields.nil?
187
181
  command.query['quotaUser'] = quota_user unless quota_user.nil?
188
- command.query['userIp'] = user_ip unless user_ip.nil?
189
182
  execute_or_queue_command(command, &block)
190
183
  end
191
184
 
192
185
  # Lists all data sources that are visible to the developer, using the OAuth
193
- # scopes provided. The list is not exhaustive; the user may have private data
194
- # 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.
195
189
  # @param [String] user_id
196
- # List data sources for the person identified. Use me to indicate the
197
- # 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.
198
193
  # @param [Array<String>, String] data_type_name
199
- # The names of data types to include in the list. If not specified, all data
200
- # 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.
201
196
  # @param [String] fields
202
197
  # Selector specifying which fields to include in a partial response.
203
198
  # @param [String] quota_user
204
- # An opaque string that represents a user for quota purposes. Must not exceed 40
205
- # characters.
206
- # @param [String] user_ip
207
- # 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.
208
201
  # @param [Google::Apis::RequestOptions] options
209
202
  # Request-specific options
210
203
  #
@@ -217,35 +210,34 @@ module Google
217
210
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
218
211
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
219
212
  # @raise [Google::Apis::AuthorizationError] Authorization is required
220
- def list_user_data_sources(user_id, data_type_name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
221
- 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)
222
215
  command.response_representation = Google::Apis::FitnessV1::ListDataSourcesResponse::Representation
223
216
  command.response_class = Google::Apis::FitnessV1::ListDataSourcesResponse
224
217
  command.params['userId'] = user_id unless user_id.nil?
225
218
  command.query['dataTypeName'] = data_type_name unless data_type_name.nil?
226
219
  command.query['fields'] = fields unless fields.nil?
227
220
  command.query['quotaUser'] = quota_user unless quota_user.nil?
228
- command.query['userIp'] = user_ip unless user_ip.nil?
229
221
  execute_or_queue_command(command, &block)
230
222
  end
231
223
 
232
- # Updates the specified data source. The dataStreamId, dataType, type,
233
- # dataStreamName, and device properties with the exception of version, cannot be
234
- # modified.
235
- # 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>.
236
229
  # @param [String] user_id
237
- # Update the data source for the person identified. Use me to indicate the
238
- # 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.
239
233
  # @param [String] data_source_id
240
234
  # The data stream ID of the data source to update.
241
235
  # @param [Google::Apis::FitnessV1::DataSource] data_source_object
242
236
  # @param [String] fields
243
237
  # Selector specifying which fields to include in a partial response.
244
238
  # @param [String] quota_user
245
- # An opaque string that represents a user for quota purposes. Must not exceed 40
246
- # characters.
247
- # @param [String] user_ip
248
- # 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.
249
241
  # @param [Google::Apis::RequestOptions] options
250
242
  # Request-specific options
251
243
  #
@@ -258,8 +250,8 @@ module Google
258
250
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
259
251
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
260
252
  # @raise [Google::Apis::AuthorizationError] Authorization is required
261
- 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)
262
- 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)
263
255
  command.request_representation = Google::Apis::FitnessV1::DataSource::Representation
264
256
  command.request_object = data_source_object
265
257
  command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
@@ -268,30 +260,27 @@ module Google
268
260
  command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
269
261
  command.query['fields'] = fields unless fields.nil?
270
262
  command.query['quotaUser'] = quota_user unless quota_user.nil?
271
- command.query['userIp'] = user_ip unless user_ip.nil?
272
263
  execute_or_queue_command(command, &block)
273
264
  end
274
265
 
275
266
  # Queries for user's data point changes for a particular data source.
276
267
  # @param [String] user_id
277
- # List data points for the person identified. Use me to indicate the
278
- # 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.
279
270
  # @param [String] data_source_id
280
271
  # The data stream ID of the data source that created the dataset.
281
272
  # @param [Fixnum] limit
282
- # If specified, no more than this many data point changes will be included in
283
- # the response.
273
+ # If specified, no more than this many data point changes will be included
274
+ # in the response.
284
275
  # @param [String] page_token
285
- # The continuation token, which is used to page through large result sets. To
286
- # get the next page of results, set this parameter to the value of nextPageToken
287
- # 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.
288
279
  # @param [String] fields
289
280
  # Selector specifying which fields to include in a partial response.
290
281
  # @param [String] quota_user
291
- # An opaque string that represents a user for quota purposes. Must not exceed 40
292
- # characters.
293
- # @param [String] user_ip
294
- # 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.
295
284
  # @param [Google::Apis::RequestOptions] options
296
285
  # Request-specific options
297
286
  #
@@ -304,8 +293,8 @@ module Google
304
293
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
305
294
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
306
295
  # @raise [Google::Apis::AuthorizationError] Authorization is required
307
- 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)
308
- 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)
309
298
  command.response_representation = Google::Apis::FitnessV1::ListDataPointChangesResponse::Representation
310
299
  command.response_class = Google::Apis::FitnessV1::ListDataPointChangesResponse
311
300
  command.params['userId'] = user_id unless user_id.nil?
@@ -314,26 +303,26 @@ module Google
314
303
  command.query['pageToken'] = page_token unless page_token.nil?
315
304
  command.query['fields'] = fields unless fields.nil?
316
305
  command.query['quotaUser'] = quota_user unless quota_user.nil?
317
- command.query['userIp'] = user_ip unless user_ip.nil?
318
306
  execute_or_queue_command(command, &block)
319
307
  end
320
308
 
321
- # Performs an inclusive delete of all data points whose start and end times have
322
- # any overlap with the time range specified by the dataset ID. For most data
323
- # types, the entire data point will be deleted. For data types where the time
324
- # span represents a consistent value (such as com.google.activity.segment), and
325
- # a data point straddles either end point of the dataset, only the overlapping
326
- # 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.
327
316
  # @param [String] user_id
328
- # Delete a dataset for the person identified. Use me to indicate the
329
- # 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.
330
319
  # @param [String] data_source_id
331
320
  # The data stream ID of the data source that created the dataset.
332
321
  # @param [String] dataset_id
333
322
  # Dataset identifier that is a composite of the minimum data point start time
334
- # and maximum data point end time represented as nanoseconds from the epoch. The
335
- # ID is formatted like: "startTime-endTime" where startTime and endTime are 64
336
- # 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.
337
326
  # @param [Fixnum] current_time_millis
338
327
  # The client's current time in milliseconds since epoch.
339
328
  # @param [Fixnum] modified_time_millis
@@ -341,10 +330,8 @@ module Google
341
330
  # @param [String] fields
342
331
  # Selector specifying which fields to include in a partial response.
343
332
  # @param [String] quota_user
344
- # An opaque string that represents a user for quota purposes. Must not exceed 40
345
- # characters.
346
- # @param [String] user_ip
347
- # 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.
348
335
  # @param [Google::Apis::RequestOptions] options
349
336
  # Request-specific options
350
337
  #
@@ -357,8 +344,8 @@ module Google
357
344
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
358
345
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
359
346
  # @raise [Google::Apis::AuthorizationError] Authorization is required
360
- 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)
361
- 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)
362
349
  command.params['userId'] = user_id unless user_id.nil?
363
350
  command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
364
351
  command.params['datasetId'] = dataset_id unless dataset_id.nil?
@@ -366,42 +353,40 @@ module Google
366
353
  command.query['modifiedTimeMillis'] = modified_time_millis unless modified_time_millis.nil?
367
354
  command.query['fields'] = fields unless fields.nil?
368
355
  command.query['quotaUser'] = quota_user unless quota_user.nil?
369
- command.query['userIp'] = user_ip unless user_ip.nil?
370
356
  execute_or_queue_command(command, &block)
371
357
  end
372
358
 
373
- # Returns a dataset containing all data points whose start and end times overlap
374
- # with the specified range of the dataset minimum start time and maximum end
375
- # time. Specifically, any data point whose start time is less than or equal to
376
- # the dataset end time and whose end time is greater than or equal to the
377
- # 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.
378
364
  # @param [String] user_id
379
- # Retrieve a dataset for the person identified. Use me to indicate the
380
- # 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.
381
368
  # @param [String] data_source_id
382
369
  # The data stream ID of the data source that created the dataset.
383
370
  # @param [String] dataset_id
384
371
  # Dataset identifier that is a composite of the minimum data point start time
385
- # and maximum data point end time represented as nanoseconds from the epoch. The
386
- # ID is formatted like: "startTime-endTime" where startTime and endTime are 64
387
- # 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.
388
375
  # @param [Fixnum] limit
389
376
  # If specified, no more than this many data points will be included in the
390
- # dataset. If there are more data points in the dataset, nextPageToken will be
391
- # 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.
392
379
  # @param [String] page_token
393
- # The continuation token, which is used to page through large datasets. To get
394
- # the next page of a dataset, set this parameter to the value of nextPageToken
395
- # from the previous response. Each subsequent call will yield a partial dataset
396
- # with data point end timestamps that are strictly smaller than those in the
397
- # 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.
398
385
  # @param [String] fields
399
386
  # Selector specifying which fields to include in a partial response.
400
387
  # @param [String] quota_user
401
- # An opaque string that represents a user for quota purposes. Must not exceed 40
402
- # characters.
403
- # @param [String] user_ip
404
- # 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.
405
390
  # @param [Google::Apis::RequestOptions] options
406
391
  # Request-specific options
407
392
  #
@@ -414,8 +399,8 @@ module Google
414
399
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
415
400
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
416
401
  # @raise [Google::Apis::AuthorizationError] Authorization is required
417
- 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)
418
- 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)
419
404
  command.response_representation = Google::Apis::FitnessV1::Dataset::Representation
420
405
  command.response_class = Google::Apis::FitnessV1::Dataset
421
406
  command.params['userId'] = user_id unless user_id.nil?
@@ -425,36 +410,33 @@ module Google
425
410
  command.query['pageToken'] = page_token unless page_token.nil?
426
411
  command.query['fields'] = fields unless fields.nil?
427
412
  command.query['quotaUser'] = quota_user unless quota_user.nil?
428
- command.query['userIp'] = user_ip unless user_ip.nil?
429
413
  execute_or_queue_command(command, &block)
430
414
  end
431
415
 
432
- # Adds data points to a dataset. The dataset need not be previously created. All
433
- # points within the given dataset will be returned with subsquent calls to
434
- # retrieve this dataset. Data points can belong to more than one dataset. This
435
- # 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.
436
420
  # @param [String] user_id
437
- # Patch a dataset for the person identified. Use me to indicate the
438
- # 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.
439
423
  # @param [String] data_source_id
440
424
  # The data stream ID of the data source that created the dataset.
441
425
  # @param [String] dataset_id
442
426
  # Dataset identifier that is a composite of the minimum data point start time
443
- # and maximum data point end time represented as nanoseconds from the epoch. The
444
- # ID is formatted like: "startTime-endTime" where startTime and endTime are 64
445
- # 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.
446
430
  # @param [Google::Apis::FitnessV1::Dataset] dataset_object
447
431
  # @param [Fixnum] current_time_millis
448
432
  # The client's current time in milliseconds since epoch. Note that the
449
- # minStartTimeNs and maxEndTimeNs properties in the request body are in
450
- # nanoseconds instead of milliseconds.
433
+ # <code>minStartTimeNs</code> and <code>maxEndTimeNs</code> properties in
434
+ # the request body are in nanoseconds instead of milliseconds.
451
435
  # @param [String] fields
452
436
  # Selector specifying which fields to include in a partial response.
453
437
  # @param [String] quota_user
454
- # An opaque string that represents a user for quota purposes. Must not exceed 40
455
- # characters.
456
- # @param [String] user_ip
457
- # 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.
458
440
  # @param [Google::Apis::RequestOptions] options
459
441
  # Request-specific options
460
442
  #
@@ -467,8 +449,8 @@ module Google
467
449
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
468
450
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
469
451
  # @raise [Google::Apis::AuthorizationError] Authorization is required
470
- 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)
471
- 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)
472
454
  command.request_representation = Google::Apis::FitnessV1::Dataset::Representation
473
455
  command.request_object = dataset_object
474
456
  command.response_representation = Google::Apis::FitnessV1::Dataset::Representation
@@ -479,7 +461,6 @@ module Google
479
461
  command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
480
462
  command.query['fields'] = fields unless fields.nil?
481
463
  command.query['quotaUser'] = quota_user unless quota_user.nil?
482
- command.query['userIp'] = user_ip unless user_ip.nil?
483
464
  execute_or_queue_command(command, &block)
484
465
  end
485
466
 
@@ -487,16 +468,14 @@ module Google
487
468
  # type of boundary. Multiple data sets of multiple types and from multiple
488
469
  # sources can be aggregated into exactly one bucket type per request.
489
470
  # @param [String] user_id
490
- # Aggregate data for the person identified. Use me to indicate the authenticated
491
- # 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.
492
473
  # @param [Google::Apis::FitnessV1::AggregateRequest] aggregate_request_object
493
474
  # @param [String] fields
494
475
  # Selector specifying which fields to include in a partial response.
495
476
  # @param [String] quota_user
496
- # An opaque string that represents a user for quota purposes. Must not exceed 40
497
- # characters.
498
- # @param [String] user_ip
499
- # 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.
500
479
  # @param [Google::Apis::RequestOptions] options
501
480
  # Request-specific options
502
481
  #
@@ -509,8 +488,8 @@ module Google
509
488
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
510
489
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
511
490
  # @raise [Google::Apis::AuthorizationError] Authorization is required
512
- def aggregate_dataset(user_id, aggregate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
513
- 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)
514
493
  command.request_representation = Google::Apis::FitnessV1::AggregateRequest::Representation
515
494
  command.request_object = aggregate_request_object
516
495
  command.response_representation = Google::Apis::FitnessV1::AggregateResponse::Representation
@@ -518,14 +497,13 @@ module Google
518
497
  command.params['userId'] = user_id unless user_id.nil?
519
498
  command.query['fields'] = fields unless fields.nil?
520
499
  command.query['quotaUser'] = quota_user unless quota_user.nil?
521
- command.query['userIp'] = user_ip unless user_ip.nil?
522
500
  execute_or_queue_command(command, &block)
523
501
  end
524
502
 
525
503
  # Deletes a session specified by the given session ID.
526
504
  # @param [String] user_id
527
- # Delete a session for the person identified. Use me to indicate the
528
- # 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.
529
507
  # @param [String] session_id
530
508
  # The ID of the session to be deleted.
531
509
  # @param [Fixnum] current_time_millis
@@ -533,10 +511,8 @@ module Google
533
511
  # @param [String] fields
534
512
  # Selector specifying which fields to include in a partial response.
535
513
  # @param [String] quota_user
536
- # An opaque string that represents a user for quota purposes. Must not exceed 40
537
- # characters.
538
- # @param [String] user_ip
539
- # 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.
540
516
  # @param [Google::Apis::RequestOptions] options
541
517
  # Request-specific options
542
518
  #
@@ -549,48 +525,49 @@ module Google
549
525
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
550
526
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
551
527
  # @raise [Google::Apis::AuthorizationError] Authorization is required
552
- def delete_user_session(user_id, session_id, current_time_millis: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
553
- 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)
554
530
  command.params['userId'] = user_id unless user_id.nil?
555
531
  command.params['sessionId'] = session_id unless session_id.nil?
556
532
  command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
557
533
  command.query['fields'] = fields unless fields.nil?
558
534
  command.query['quotaUser'] = quota_user unless quota_user.nil?
559
- command.query['userIp'] = user_ip unless user_ip.nil?
560
535
  execute_or_queue_command(command, &block)
561
536
  end
562
537
 
563
538
  # Lists sessions previously created.
564
539
  # @param [String] user_id
565
- # List sessions for the person identified. Use me to indicate the authenticated
566
- # 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.
567
542
  # @param [Array<Fixnum>, Fixnum] activity_type
568
543
  # If non-empty, only sessions with these activity types should be returned.
569
544
  # @param [String] end_time
570
- # An RFC3339 timestamp. Only sessions ending between the start and end times
571
- # 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.
572
550
  # @param [Boolean] include_deleted
573
- # If true, deleted sessions will be returned. When set to true, sessions
574
- # returned in this response will only have an ID and will not have any other
575
- # fields.
551
+ # If true, and if both <var>startTime</var> and <var>endTime</var> are
552
+ # omitted, session deletions will be returned.
576
553
  # @param [String] page_token
577
- # The continuation token, which is used for incremental syncing. To get the next
578
- # batch of changes, set this parameter to the value of nextPageToken from the
579
- # previous response. This token is treated as a timestamp (in millis since epoch)
580
- # . If specified, the API returns sessions modified since this time. The page
581
- # token is ignored if either start or end time is specified. If none of start
582
- # 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
583
559
  # 30 days are returned.
584
560
  # @param [String] start_time
585
- # An RFC3339 timestamp. Only sessions ending between the start and end times
586
- # 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.
587
566
  # @param [String] fields
588
567
  # Selector specifying which fields to include in a partial response.
589
568
  # @param [String] quota_user
590
- # An opaque string that represents a user for quota purposes. Must not exceed 40
591
- # characters.
592
- # @param [String] user_ip
593
- # 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.
594
571
  # @param [Google::Apis::RequestOptions] options
595
572
  # Request-specific options
596
573
  #
@@ -603,8 +580,8 @@ module Google
603
580
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
604
581
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
605
582
  # @raise [Google::Apis::AuthorizationError] Authorization is required
606
- 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, user_ip: nil, options: nil, &block)
607
- 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)
608
585
  command.response_representation = Google::Apis::FitnessV1::ListSessionsResponse::Representation
609
586
  command.response_class = Google::Apis::FitnessV1::ListSessionsResponse
610
587
  command.params['userId'] = user_id unless user_id.nil?
@@ -615,14 +592,13 @@ module Google
615
592
  command.query['startTime'] = start_time unless start_time.nil?
616
593
  command.query['fields'] = fields unless fields.nil?
617
594
  command.query['quotaUser'] = quota_user unless quota_user.nil?
618
- command.query['userIp'] = user_ip unless user_ip.nil?
619
595
  execute_or_queue_command(command, &block)
620
596
  end
621
597
 
622
598
  # Updates or insert a given session.
623
599
  # @param [String] user_id
624
- # Create sessions for the person identified. Use me to indicate the
625
- # 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.
626
602
  # @param [String] session_id
627
603
  # The ID of the session to be created.
628
604
  # @param [Google::Apis::FitnessV1::Session] session_object
@@ -631,10 +607,8 @@ module Google
631
607
  # @param [String] fields
632
608
  # Selector specifying which fields to include in a partial response.
633
609
  # @param [String] quota_user
634
- # An opaque string that represents a user for quota purposes. Must not exceed 40
635
- # characters.
636
- # @param [String] user_ip
637
- # 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.
638
612
  # @param [Google::Apis::RequestOptions] options
639
613
  # Request-specific options
640
614
  #
@@ -647,8 +621,8 @@ module Google
647
621
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
648
622
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
649
623
  # @raise [Google::Apis::AuthorizationError] Authorization is required
650
- 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)
651
- 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)
652
626
  command.request_representation = Google::Apis::FitnessV1::Session::Representation
653
627
  command.request_object = session_object
654
628
  command.response_representation = Google::Apis::FitnessV1::Session::Representation
@@ -658,7 +632,6 @@ module Google
658
632
  command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
659
633
  command.query['fields'] = fields unless fields.nil?
660
634
  command.query['quotaUser'] = quota_user unless quota_user.nil?
661
- command.query['userIp'] = user_ip unless user_ip.nil?
662
635
  execute_or_queue_command(command, &block)
663
636
  end
664
637
 
@@ -667,7 +640,6 @@ module Google
667
640
  def apply_command_defaults(command)
668
641
  command.query['key'] = key unless key.nil?
669
642
  command.query['quotaUser'] = quota_user unless quota_user.nil?
670
- command.query['userIp'] = user_ip unless user_ip.nil?
671
643
  end
672
644
  end
673
645
  end