google-api-client 0.37.3 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (440) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +146 -0
  3. data/api_list_config.yaml +2 -0
  4. data/api_names.yaml +2 -0
  5. data/bin/generate-api +9 -1
  6. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
  9. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  18. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  19. data/generated/google/apis/adsense_v1_4.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
  28. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  29. data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  32. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta.rb +1 -1
  37. data/generated/google/apis/bigquery_v2.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +224 -5
  39. data/generated/google/apis/bigquery_v2/representations.rb +65 -0
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
  43. data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
  44. data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
  47. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
  48. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
  49. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  50. data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
  51. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
  53. data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
  54. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  55. data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
  56. data/generated/google/apis/blogger_v2.rb +5 -4
  57. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  58. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  59. data/generated/google/apis/blogger_v2/service.rb +79 -134
  60. data/generated/google/apis/blogger_v3.rb +4 -3
  61. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  62. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  63. data/generated/google/apis/blogger_v3/service.rb +183 -463
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +1 -14
  66. data/generated/google/apis/chat_v1.rb +1 -1
  67. data/generated/google/apis/chat_v1/classes.rb +1 -1
  68. data/generated/google/apis/cloudasset_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
  70. data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
  71. data/generated/google/apis/cloudasset_v1/service.rb +2 -2
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
  74. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
  75. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
  76. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  77. data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
  78. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  79. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
  81. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  87. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  88. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
  89. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
  90. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  91. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
  92. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
  93. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
  94. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
  98. data/generated/google/apis/cloudshell_v1.rb +1 -1
  99. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  102. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  103. data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
  104. data/generated/google/apis/cloudtrace_v2.rb +3 -3
  105. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  106. data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
  107. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
  108. data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
  109. data/generated/google/apis/composer_v1.rb +1 -1
  110. data/generated/google/apis/composer_v1/classes.rb +178 -0
  111. data/generated/google/apis/composer_v1/representations.rb +54 -0
  112. data/generated/google/apis/composer_v1beta1.rb +1 -1
  113. data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
  114. data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
  115. data/generated/google/apis/compute_alpha.rb +1 -1
  116. data/generated/google/apis/compute_alpha/classes.rb +1320 -307
  117. data/generated/google/apis/compute_alpha/representations.rb +284 -18
  118. data/generated/google/apis/compute_alpha/service.rb +4914 -3211
  119. data/generated/google/apis/compute_beta.rb +1 -1
  120. data/generated/google/apis/compute_beta/classes.rb +819 -236
  121. data/generated/google/apis/compute_beta/representations.rb +245 -16
  122. data/generated/google/apis/compute_beta/service.rb +3369 -2227
  123. data/generated/google/apis/compute_v1.rb +1 -1
  124. data/generated/google/apis/compute_v1/classes.rb +837 -133
  125. data/generated/google/apis/compute_v1/representations.rb +307 -0
  126. data/generated/google/apis/compute_v1/service.rb +3155 -2026
  127. data/generated/google/apis/container_v1.rb +1 -1
  128. data/generated/google/apis/container_v1/classes.rb +42 -22
  129. data/generated/google/apis/container_v1/service.rb +2 -2
  130. data/generated/google/apis/container_v1beta1.rb +1 -1
  131. data/generated/google/apis/container_v1beta1/classes.rb +116 -136
  132. data/generated/google/apis/container_v1beta1/representations.rb +23 -51
  133. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  134. data/generated/google/apis/content_v2.rb +1 -1
  135. data/generated/google/apis/content_v2/classes.rb +1030 -113
  136. data/generated/google/apis/content_v2_1.rb +1 -1
  137. data/generated/google/apis/content_v2_1/classes.rb +987 -138
  138. data/generated/google/apis/content_v2_1/representations.rb +87 -0
  139. data/generated/google/apis/content_v2_1/service.rb +73 -0
  140. data/generated/google/apis/customsearch_v1.rb +3 -3
  141. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  142. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  143. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  144. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  145. data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
  146. data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
  147. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  148. data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
  149. data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
  150. data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
  151. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  152. data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
  153. data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
  154. data/generated/google/apis/dataproc_v1.rb +1 -1
  155. data/generated/google/apis/dataproc_v1/classes.rb +76 -7
  156. data/generated/google/apis/dataproc_v1/representations.rb +21 -0
  157. data/generated/google/apis/dataproc_v1/service.rb +72 -15
  158. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  159. data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
  160. data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
  161. data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
  167. data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
  168. data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
  169. data/generated/google/apis/dialogflow_v2.rb +1 -1
  170. data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
  171. data/generated/google/apis/dialogflow_v2/service.rb +49 -49
  172. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
  175. data/generated/google/apis/dlp_v2.rb +1 -1
  176. data/generated/google/apis/dlp_v2/classes.rb +80 -14
  177. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  178. data/generated/google/apis/dlp_v2/service.rb +3 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  180. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
  181. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  182. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  183. data/generated/google/apis/drive_v2.rb +1 -1
  184. data/generated/google/apis/drive_v2/classes.rb +54 -2
  185. data/generated/google/apis/drive_v2/representations.rb +18 -0
  186. data/generated/google/apis/drive_v2/service.rb +81 -9
  187. data/generated/google/apis/drive_v3.rb +1 -1
  188. data/generated/google/apis/drive_v3/classes.rb +54 -2
  189. data/generated/google/apis/drive_v3/representations.rb +18 -0
  190. data/generated/google/apis/drive_v3/service.rb +37 -4
  191. data/generated/google/apis/file_v1.rb +1 -1
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +2 -2
  194. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  195. data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
  196. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  197. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
  198. data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
  199. data/generated/google/apis/firestore_v1.rb +1 -1
  200. data/generated/google/apis/firestore_v1/classes.rb +11 -2
  201. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  202. data/generated/google/apis/firestore_v1/service.rb +2 -2
  203. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  204. data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
  205. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  206. data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
  207. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  208. data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
  209. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  210. data/generated/google/apis/games_management_v1management.rb +1 -1
  211. data/generated/google/apis/games_management_v1management/classes.rb +7 -0
  212. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  213. data/generated/google/apis/games_v1.rb +1 -1
  214. data/generated/google/apis/games_v1/classes.rb +13 -0
  215. data/generated/google/apis/games_v1/representations.rb +2 -0
  216. data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
  217. data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
  218. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  219. data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
  220. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  221. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  222. data/generated/google/apis/gmail_v1.rb +3 -2
  223. data/generated/google/apis/gmail_v1/classes.rb +258 -199
  224. data/generated/google/apis/gmail_v1/service.rb +552 -744
  225. data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
  226. data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
  227. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  228. data/generated/google/apis/healthcare_v1/service.rb +3470 -0
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +67 -63
  235. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  236. data/generated/google/apis/iap_v1.rb +1 -1
  237. data/generated/google/apis/iap_v1/classes.rb +190 -0
  238. data/generated/google/apis/iap_v1/representations.rb +66 -0
  239. data/generated/google/apis/jobs_v2.rb +1 -1
  240. data/generated/google/apis/language_v1.rb +1 -1
  241. data/generated/google/apis/language_v1/classes.rb +6 -6
  242. data/generated/google/apis/language_v1beta1.rb +1 -1
  243. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  244. data/generated/google/apis/language_v1beta2.rb +1 -1
  245. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  246. data/generated/google/apis/logging_v2.rb +3 -3
  247. data/generated/google/apis/logging_v2/classes.rb +3 -4
  248. data/generated/google/apis/logging_v2/service.rb +2 -2
  249. data/generated/google/apis/managedidentities_v1.rb +1 -1
  250. data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
  251. data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
  252. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  253. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
  254. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
  255. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  256. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
  257. data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
  258. data/generated/google/apis/manufacturers_v1.rb +1 -1
  259. data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
  260. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  261. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  262. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
  263. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  264. data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
  265. data/generated/google/apis/ml_v1.rb +1 -1
  266. data/generated/google/apis/ml_v1/classes.rb +47 -7
  267. data/generated/google/apis/ml_v1/representations.rb +4 -0
  268. data/generated/google/apis/monitoring_v1.rb +7 -8
  269. data/generated/google/apis/monitoring_v1/classes.rb +54 -15
  270. data/generated/google/apis/monitoring_v1/representations.rb +3 -0
  271. data/generated/google/apis/monitoring_v1/service.rb +7 -8
  272. data/generated/google/apis/monitoring_v3.rb +7 -8
  273. data/generated/google/apis/monitoring_v3/classes.rb +300 -27
  274. data/generated/google/apis/monitoring_v3/representations.rb +128 -0
  275. data/generated/google/apis/monitoring_v3/service.rb +52 -17
  276. data/generated/google/apis/oauth2_v2.rb +4 -4
  277. data/generated/google/apis/oauth2_v2/classes.rb +1 -13
  278. data/generated/google/apis/oauth2_v2/representations.rb +2 -4
  279. data/generated/google/apis/oauth2_v2/service.rb +10 -12
  280. data/generated/google/apis/osconfig_v1.rb +35 -0
  281. data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
  282. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  283. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  284. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  285. data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
  286. data/generated/google/apis/people_v1.rb +1 -1
  287. data/generated/google/apis/people_v1/classes.rb +30 -12
  288. data/generated/google/apis/people_v1/representations.rb +1 -0
  289. data/generated/google/apis/people_v1/service.rb +12 -24
  290. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  291. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
  292. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
  293. data/generated/google/apis/pubsub_v1.rb +1 -1
  294. data/generated/google/apis/pubsub_v1/classes.rb +9 -5
  295. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  296. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  297. data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
  298. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  299. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
  300. data/generated/google/apis/redis_v1.rb +1 -1
  301. data/generated/google/apis/redis_v1/classes.rb +30 -7
  302. data/generated/google/apis/redis_v1/representations.rb +13 -0
  303. data/generated/google/apis/redis_v1/service.rb +36 -0
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
  306. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
  308. data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
  311. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
  312. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  313. data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
  314. data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
  315. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  316. data/generated/google/apis/run_v1.rb +1 -1
  317. data/generated/google/apis/run_v1/classes.rb +6 -13
  318. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  319. data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
  320. data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
  321. data/generated/google/apis/secretmanager_v1.rb +2 -2
  322. data/generated/google/apis/secretmanager_v1/service.rb +4 -1
  323. data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
  324. data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
  325. data/generated/google/apis/securitycenter_v1.rb +4 -4
  326. data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
  327. data/generated/google/apis/securitycenter_v1/service.rb +11 -3
  328. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  329. data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
  330. data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
  331. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  332. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
  333. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  334. data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
  335. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
  336. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
  337. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  338. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
  339. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  340. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
  341. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
  342. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
  343. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  344. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  345. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
  346. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
  347. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
  348. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
  349. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  350. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  351. data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
  352. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  353. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  354. data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
  355. data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
  356. data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
  357. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
  359. data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
  360. data/generated/google/apis/serviceusage_v1.rb +1 -1
  361. data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
  362. data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
  363. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  364. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  365. data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
  366. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
  367. data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
  368. data/generated/google/apis/sheets_v4.rb +1 -1
  369. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  370. data/generated/google/apis/spanner_v1.rb +1 -1
  371. data/generated/google/apis/spanner_v1/classes.rb +463 -1
  372. data/generated/google/apis/spanner_v1/representations.rb +178 -0
  373. data/generated/google/apis/spanner_v1/service.rb +498 -10
  374. data/generated/google/apis/speech_v1.rb +1 -1
  375. data/generated/google/apis/speech_v1/classes.rb +7 -3
  376. data/generated/google/apis/speech_v1/representations.rb +1 -0
  377. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  378. data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
  379. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  380. data/generated/google/apis/speech_v2beta1.rb +1 -1
  381. data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
  382. data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
  383. data/generated/google/apis/sql_v1beta4.rb +1 -1
  384. data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
  385. data/generated/google/apis/sql_v1beta4/service.rb +54 -384
  386. data/generated/google/apis/storage_v1.rb +1 -1
  387. data/generated/google/apis/storage_v1/classes.rb +18 -0
  388. data/generated/google/apis/storage_v1/representations.rb +2 -0
  389. data/generated/google/apis/storage_v1/service.rb +28 -3
  390. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  391. data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
  392. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  393. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  394. data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
  395. data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
  396. data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
  397. data/generated/google/apis/vault_v1.rb +1 -1
  398. data/generated/google/apis/videointelligence_v1.rb +1 -1
  399. data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
  400. data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
  401. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  402. data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
  403. data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
  404. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
  406. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
  407. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
  409. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
  410. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
  412. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
  413. data/generated/google/apis/vision_v1.rb +1 -1
  414. data/generated/google/apis/vision_v1/classes.rb +1 -1
  415. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  416. data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
  417. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  418. data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
  419. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  420. data/generated/google/apis/youtube_v3.rb +4 -1
  421. data/generated/google/apis/youtube_v3/classes.rb +7 -0
  422. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  423. data/lib/google/apis/generator/annotator.rb +1 -1
  424. data/lib/google/apis/version.rb +1 -1
  425. metadata +32 -23
  426. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  427. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
  428. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  429. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
  430. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  431. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  432. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  433. data/generated/google/apis/mirror_v1/service.rb +0 -928
  434. data/generated/google/apis/oauth2_v1.rb +0 -40
  435. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  436. data/generated/google/apis/oauth2_v1/representations.rb +0 -73
  437. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  438. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  439. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  440. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -244,6 +244,12 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class LabelValue
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
247
253
  class LatencyCriteria
248
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
255
 
@@ -424,6 +430,24 @@ module Google
424
430
  include Google::Apis::Core::JsonObjectSupport
425
431
  end
426
432
 
433
+ class PointData
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class QueryTimeSeriesRequest
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class QueryTimeSeriesResponse
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
427
451
  class Range
428
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
453
 
@@ -508,6 +532,24 @@ module Google
508
532
  include Google::Apis::Core::JsonObjectSupport
509
533
  end
510
534
 
535
+ class TimeSeriesData
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
541
+ class TimeSeriesDescriptor
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
547
+ class TimeSeriesQueryLanguageCondition
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
511
553
  class TimeSeriesRatio
512
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
555
 
@@ -544,6 +586,12 @@ module Google
544
586
  include Google::Apis::Core::JsonObjectSupport
545
587
  end
546
588
 
589
+ class ValueDescriptor
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
547
595
  class VerifyNotificationChannelRequest
548
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
597
 
@@ -704,6 +752,8 @@ module Google
704
752
 
705
753
  property :condition_threshold, as: 'conditionThreshold', class: Google::Apis::MonitoringV3::MetricThreshold, decorator: Google::Apis::MonitoringV3::MetricThreshold::Representation
706
754
 
755
+ property :condition_time_series_query_language, as: 'conditionTimeSeriesQueryLanguage', class: Google::Apis::MonitoringV3::TimeSeriesQueryLanguageCondition, decorator: Google::Apis::MonitoringV3::TimeSeriesQueryLanguageCondition::Representation
756
+
707
757
  property :display_name, as: 'displayName'
708
758
  property :name, as: 'name'
709
759
  end
@@ -928,6 +978,15 @@ module Google
928
978
  end
929
979
  end
930
980
 
981
+ class LabelValue
982
+ # @private
983
+ class Representation < Google::Apis::Core::JsonRepresentation
984
+ property :bool_value, as: 'boolValue'
985
+ property :int64_value, :numeric_string => true, as: 'int64Value'
986
+ property :string_value, as: 'stringValue'
987
+ end
988
+ end
989
+
931
990
  class LatencyCriteria
932
991
  # @private
933
992
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1232,6 +1291,38 @@ module Google
1232
1291
  end
1233
1292
  end
1234
1293
 
1294
+ class PointData
1295
+ # @private
1296
+ class Representation < Google::Apis::Core::JsonRepresentation
1297
+ property :time_interval, as: 'timeInterval', class: Google::Apis::MonitoringV3::TimeInterval, decorator: Google::Apis::MonitoringV3::TimeInterval::Representation
1298
+
1299
+ collection :values, as: 'values', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation
1300
+
1301
+ end
1302
+ end
1303
+
1304
+ class QueryTimeSeriesRequest
1305
+ # @private
1306
+ class Representation < Google::Apis::Core::JsonRepresentation
1307
+ property :page_size, as: 'pageSize'
1308
+ property :page_token, as: 'pageToken'
1309
+ property :query, as: 'query'
1310
+ end
1311
+ end
1312
+
1313
+ class QueryTimeSeriesResponse
1314
+ # @private
1315
+ class Representation < Google::Apis::Core::JsonRepresentation
1316
+ property :next_page_token, as: 'nextPageToken'
1317
+ collection :partial_errors, as: 'partialErrors', class: Google::Apis::MonitoringV3::Status, decorator: Google::Apis::MonitoringV3::Status::Representation
1318
+
1319
+ collection :time_series_data, as: 'timeSeriesData', class: Google::Apis::MonitoringV3::TimeSeriesData, decorator: Google::Apis::MonitoringV3::TimeSeriesData::Representation
1320
+
1321
+ property :time_series_descriptor, as: 'timeSeriesDescriptor', class: Google::Apis::MonitoringV3::TimeSeriesDescriptor, decorator: Google::Apis::MonitoringV3::TimeSeriesDescriptor::Representation
1322
+
1323
+ end
1324
+ end
1325
+
1235
1326
  class Range
1236
1327
  # @private
1237
1328
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1370,6 +1461,34 @@ module Google
1370
1461
  end
1371
1462
  end
1372
1463
 
1464
+ class TimeSeriesData
1465
+ # @private
1466
+ class Representation < Google::Apis::Core::JsonRepresentation
1467
+ collection :label_values, as: 'labelValues', class: Google::Apis::MonitoringV3::LabelValue, decorator: Google::Apis::MonitoringV3::LabelValue::Representation
1468
+
1469
+ collection :point_data, as: 'pointData', class: Google::Apis::MonitoringV3::PointData, decorator: Google::Apis::MonitoringV3::PointData::Representation
1470
+
1471
+ end
1472
+ end
1473
+
1474
+ class TimeSeriesDescriptor
1475
+ # @private
1476
+ class Representation < Google::Apis::Core::JsonRepresentation
1477
+ collection :label_descriptors, as: 'labelDescriptors', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation
1478
+
1479
+ collection :point_descriptors, as: 'pointDescriptors', class: Google::Apis::MonitoringV3::ValueDescriptor, decorator: Google::Apis::MonitoringV3::ValueDescriptor::Representation
1480
+
1481
+ end
1482
+ end
1483
+
1484
+ class TimeSeriesQueryLanguageCondition
1485
+ # @private
1486
+ class Representation < Google::Apis::Core::JsonRepresentation
1487
+ property :query, as: 'query'
1488
+ property :summary, as: 'summary'
1489
+ end
1490
+ end
1491
+
1373
1492
  class TimeSeriesRatio
1374
1493
  # @private
1375
1494
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1447,6 +1566,15 @@ module Google
1447
1566
  end
1448
1567
  end
1449
1568
 
1569
+ class ValueDescriptor
1570
+ # @private
1571
+ class Representation < Google::Apis::Core::JsonRepresentation
1572
+ property :key, as: 'key'
1573
+ property :metric_kind, as: 'metricKind'
1574
+ property :value_type, as: 'valueType'
1575
+ end
1576
+ end
1577
+
1450
1578
  class VerifyNotificationChannelRequest
1451
1579
  # @private
1452
1580
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20,14 +20,13 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module MonitoringV3
23
- # Stackdriver Monitoring API
23
+ # Cloud Monitoring API
24
24
  #
25
- # Manages your Stackdriver Monitoring data and configurations. Most projects
26
- # must be associated with a Stackdriver account, with a few exceptions as noted
27
- # on the individual method pages. The table entries below are presented in
28
- # alphabetical order, not in order of common use. For explanations of the
29
- # concepts found in the table entries, read the Stackdriver Monitoring
30
- # documentation.
25
+ # Manages your Cloud Monitoring data and configurations. Most projects must be
26
+ # associated with a Workspace, with a few exceptions as noted on the individual
27
+ # method pages. The table entries below are presented in alphabetical order, not
28
+ # in order of common use. For explanations of the concepts found in the table
29
+ # entries, read the Cloud Monitoring documentation.
31
30
  #
32
31
  # @example
33
32
  # require 'google/apis/monitoring_v3'
@@ -629,8 +628,7 @@ module Google
629
628
  execute_or_queue_command(command, &block)
630
629
  end
631
630
 
632
- # Gets a single metric descriptor. This method does not require a Stackdriver
633
- # account.
631
+ # Gets a single metric descriptor. This method does not require a Workspace.
634
632
  # @param [String] name
635
633
  # Required. The metric descriptor on which to execute the request. The format is:
636
634
  # projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -664,7 +662,7 @@ module Google
664
662
  end
665
663
 
666
664
  # Lists metric descriptors that match a filter. This method does not require a
667
- # Stackdriver account.
665
+ # Workspace.
668
666
  # @param [String] name
669
667
  # Required. The project on which to execute the request. The format is:
670
668
  # projects/[PROJECT_ID_OR_NUMBER]
@@ -712,7 +710,7 @@ module Google
712
710
  end
713
711
 
714
712
  # Gets a single monitored resource descriptor. This method does not require a
715
- # Stackdriver account.
713
+ # Workspace.
716
714
  # @param [String] name
717
715
  # Required. The monitored resource descriptor to get. The format is:
718
716
  # projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -745,7 +743,7 @@ module Google
745
743
  end
746
744
 
747
745
  # Lists monitored resource descriptors that match a filter. This method does not
748
- # require a Stackdriver account.
746
+ # require a Workspace.
749
747
  # @param [String] name
750
748
  # Required. The project on which to execute the request. The format is:
751
749
  # projects/[PROJECT_ID_OR_NUMBER]
@@ -1229,7 +1227,7 @@ module Google
1229
1227
  end
1230
1228
 
1231
1229
  # Lists time series that match a filter. This method does not require a
1232
- # Stackdriver account.
1230
+ # Workspace.
1233
1231
  # @param [String] name
1234
1232
  # Required. The project on which to execute the request. The format is:
1235
1233
  # projects/[PROJECT_ID_OR_NUMBER]
@@ -1342,6 +1340,41 @@ module Google
1342
1340
  execute_or_queue_command(command, &block)
1343
1341
  end
1344
1342
 
1343
+ # Queries time series using the time series query language. This method does not
1344
+ # require a Workspace.
1345
+ # @param [String] name
1346
+ # Required. The project on which to execute the request. The format is:
1347
+ # projects/[PROJECT_ID_OR_NUMBER]
1348
+ # @param [Google::Apis::MonitoringV3::QueryTimeSeriesRequest] query_time_series_request_object
1349
+ # @param [String] fields
1350
+ # Selector specifying which fields to include in a partial response.
1351
+ # @param [String] quota_user
1352
+ # Available to use for quota purposes for server-side applications. Can be any
1353
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1354
+ # @param [Google::Apis::RequestOptions] options
1355
+ # Request-specific options
1356
+ #
1357
+ # @yield [result, err] Result & error if block supplied
1358
+ # @yieldparam result [Google::Apis::MonitoringV3::QueryTimeSeriesResponse] parsed result object
1359
+ # @yieldparam err [StandardError] error object if request failed
1360
+ #
1361
+ # @return [Google::Apis::MonitoringV3::QueryTimeSeriesResponse]
1362
+ #
1363
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1364
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1365
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1366
+ def query_time_series(name, query_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1367
+ command = make_simple_command(:post, 'v3/{+name}/timeSeries:query', options)
1368
+ command.request_representation = Google::Apis::MonitoringV3::QueryTimeSeriesRequest::Representation
1369
+ command.request_object = query_time_series_request_object
1370
+ command.response_representation = Google::Apis::MonitoringV3::QueryTimeSeriesResponse::Representation
1371
+ command.response_class = Google::Apis::MonitoringV3::QueryTimeSeriesResponse
1372
+ command.params['name'] = name unless name.nil?
1373
+ command.query['fields'] = fields unless fields.nil?
1374
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1375
+ execute_or_queue_command(command, &block)
1376
+ end
1377
+
1345
1378
  # Creates a new Uptime check configuration.
1346
1379
  # @param [String] parent
1347
1380
  # Required. The project in which to create the Uptime check. The format is:
@@ -1633,9 +1666,9 @@ module Google
1633
1666
  # List Services for this workspace.
1634
1667
  # @param [String] parent
1635
1668
  # Required. Resource name of the parent containing the listed services, either a
1636
- # project or Stackdriver Account (workspace). The formats are:
1669
+ # project or a Monitoring Workspace. The formats are:
1637
1670
  # projects/[PROJECT_ID_OR_NUMBER]
1638
- # workspaces/[HOST_PROJECT_ID]
1671
+ # workspaces/[HOST_PROJECT_ID_OR_NUMBER]
1639
1672
  # @param [String] filter
1640
1673
  # A filter specifying what Services to return. The filter currently supports the
1641
1674
  # following fields:
@@ -1690,7 +1723,7 @@ module Google
1690
1723
  # Update this Service.
1691
1724
  # @param [String] name
1692
1725
  # Resource name for this Service. The format is:
1693
- # projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID`
1726
+ # projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
1694
1727
  # @param [Google::Apis::MonitoringV3::Service] service_object
1695
1728
  # @param [String] update_mask
1696
1729
  # A set of field paths defining which fields to use for the update.
@@ -1834,8 +1867,10 @@ module Google
1834
1867
 
1835
1868
  # List the ServiceLevelObjectives for the given Service.
1836
1869
  # @param [String] parent
1837
- # Required. Resource name of the parent Service. The format is:
1870
+ # Required. Resource name of the parent containing the listed SLOs, either a
1871
+ # project or a Monitoring Workspace. The formats are:
1838
1872
  # projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
1873
+ # workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
1839
1874
  # @param [String] filter
1840
1875
  # A filter specifying what ServiceLevelObjectives to return.
1841
1876
  # @param [Fixnum] page_size
@@ -22,19 +22,19 @@ module Google
22
22
  #
23
23
  # Obtains end-user authorization grants for use with other Google APIs.
24
24
  #
25
- # @see https://developers.google.com/accounts/docs/OAuth2
25
+ # @see https://developers.google.com/identity/protocols/oauth2/
26
26
  module Oauth2V2
27
27
  VERSION = 'V2'
28
28
  REVISION = '20200213'
29
29
 
30
- # Associate you with your personal info on Google
31
- AUTH_PLUS_ME = 'https://www.googleapis.com/auth/plus.me'
32
-
33
30
  # View your email address
34
31
  AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
35
32
 
36
33
  # See your personal info, including any personal info you've made publicly available
37
34
  AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
35
+
36
+ # Associate you with your personal info on Google
37
+ PENID = 'openid'
38
38
  end
39
39
  end
40
40
  end
@@ -26,11 +26,6 @@ module Google
26
26
  class Tokeninfo
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # The access type granted with this token. It can be offline or online.
30
- # Corresponds to the JSON property `access_type`
31
- # @return [String]
32
- attr_accessor :access_type
33
-
34
29
  # Who is the intended audience for this token. In general the same as issued_to.
35
30
  # Corresponds to the JSON property `audience`
36
31
  # @return [String]
@@ -57,11 +52,6 @@ module Google
57
52
  # @return [String]
58
53
  attr_accessor :scope
59
54
 
60
- # The token handle associated with this token.
61
- # Corresponds to the JSON property `token_handle`
62
- # @return [String]
63
- attr_accessor :token_handle
64
-
65
55
  # The obfuscated user id.
66
56
  # Corresponds to the JSON property `user_id`
67
57
  # @return [String]
@@ -80,20 +70,18 @@ module Google
80
70
 
81
71
  # Update properties of this object
82
72
  def update!(**args)
83
- @access_type = args[:access_type] if args.key?(:access_type)
84
73
  @audience = args[:audience] if args.key?(:audience)
85
74
  @email = args[:email] if args.key?(:email)
86
75
  @expires_in = args[:expires_in] if args.key?(:expires_in)
87
76
  @issued_to = args[:issued_to] if args.key?(:issued_to)
88
77
  @scope = args[:scope] if args.key?(:scope)
89
- @token_handle = args[:token_handle] if args.key?(:token_handle)
90
78
  @user_id = args[:user_id] if args.key?(:user_id)
91
79
  @verified_email = args[:verified_email] if args.key?(:verified_email)
92
80
  end
93
81
  end
94
82
 
95
83
  #
96
- class Userinfoplus
84
+ class Userinfo
97
85
  include Google::Apis::Core::Hashable
98
86
 
99
87
  # The user's email address.
@@ -28,7 +28,7 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class Userinfoplus
31
+ class Userinfo
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
@@ -37,19 +37,17 @@ module Google
37
37
  class Tokeninfo
38
38
  # @private
39
39
  class Representation < Google::Apis::Core::JsonRepresentation
40
- property :access_type, as: 'access_type'
41
40
  property :audience, as: 'audience'
42
41
  property :email, as: 'email'
43
42
  property :expires_in, as: 'expires_in'
44
43
  property :issued_to, as: 'issued_to'
45
44
  property :scope, as: 'scope'
46
- property :token_handle, as: 'token_handle'
47
45
  property :user_id, as: 'user_id'
48
46
  property :verified_email, as: 'verified_email'
49
47
  end
50
48
  end
51
49
 
52
- class Userinfoplus
50
+ class Userinfo
53
51
  # @private
54
52
  class Representation < Google::Apis::Core::JsonRepresentation
55
53
  property :email, as: 'email'
@@ -30,7 +30,7 @@ module Google
30
30
  # Oauth2 = Google::Apis::Oauth2V2 # Alias the module
31
31
  # service = Oauth2::Oauth2Service.new
32
32
  #
33
- # @see https://developers.google.com/accounts/docs/OAuth2
33
+ # @see https://developers.google.com/identity/protocols/oauth2/
34
34
  class Oauth2Service < Google::Apis::Core::BaseService
35
35
  # @return [String]
36
36
  # API key. Your API key identifies your project and provides you with API access,
@@ -54,7 +54,6 @@ module Google
54
54
  #
55
55
  # @param [String] access_token
56
56
  # @param [String] id_token
57
- # @param [String] token_handle
58
57
  # @param [String] fields
59
58
  # Selector specifying which fields to include in a partial response.
60
59
  # @param [String] quota_user
@@ -74,13 +73,12 @@ module Google
74
73
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
75
74
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
76
75
  # @raise [Google::Apis::AuthorizationError] Authorization is required
77
- def tokeninfo(access_token: nil, id_token: nil, token_handle: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
76
+ def tokeninfo(access_token: nil, id_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
78
77
  command = make_simple_command(:post, 'oauth2/v2/tokeninfo', options)
79
78
  command.response_representation = Google::Apis::Oauth2V2::Tokeninfo::Representation
80
79
  command.response_class = Google::Apis::Oauth2V2::Tokeninfo
81
80
  command.query['access_token'] = access_token unless access_token.nil?
82
81
  command.query['id_token'] = id_token unless id_token.nil?
83
- command.query['token_handle'] = token_handle unless token_handle.nil?
84
82
  command.query['fields'] = fields unless fields.nil?
85
83
  command.query['quotaUser'] = quota_user unless quota_user.nil?
86
84
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -99,18 +97,18 @@ module Google
99
97
  # Request-specific options
100
98
  #
101
99
  # @yield [result, err] Result & error if block supplied
102
- # @yieldparam result [Google::Apis::Oauth2V2::Userinfoplus] parsed result object
100
+ # @yieldparam result [Google::Apis::Oauth2V2::Userinfo] parsed result object
103
101
  # @yieldparam err [StandardError] error object if request failed
104
102
  #
105
- # @return [Google::Apis::Oauth2V2::Userinfoplus]
103
+ # @return [Google::Apis::Oauth2V2::Userinfo]
106
104
  #
107
105
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
108
106
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
109
107
  # @raise [Google::Apis::AuthorizationError] Authorization is required
110
108
  def get_userinfo(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
111
109
  command = make_simple_command(:get, 'oauth2/v2/userinfo', options)
112
- command.response_representation = Google::Apis::Oauth2V2::Userinfoplus::Representation
113
- command.response_class = Google::Apis::Oauth2V2::Userinfoplus
110
+ command.response_representation = Google::Apis::Oauth2V2::Userinfo::Representation
111
+ command.response_class = Google::Apis::Oauth2V2::Userinfo
114
112
  command.query['fields'] = fields unless fields.nil?
115
113
  command.query['quotaUser'] = quota_user unless quota_user.nil?
116
114
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -129,18 +127,18 @@ module Google
129
127
  # Request-specific options
130
128
  #
131
129
  # @yield [result, err] Result & error if block supplied
132
- # @yieldparam result [Google::Apis::Oauth2V2::Userinfoplus] parsed result object
130
+ # @yieldparam result [Google::Apis::Oauth2V2::Userinfo] parsed result object
133
131
  # @yieldparam err [StandardError] error object if request failed
134
132
  #
135
- # @return [Google::Apis::Oauth2V2::Userinfoplus]
133
+ # @return [Google::Apis::Oauth2V2::Userinfo]
136
134
  #
137
135
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
138
136
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
139
137
  # @raise [Google::Apis::AuthorizationError] Authorization is required
140
138
  def get_userinfo_v2(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
141
139
  command = make_simple_command(:get, 'userinfo/v2/me', options)
142
- command.response_representation = Google::Apis::Oauth2V2::Userinfoplus::Representation
143
- command.response_class = Google::Apis::Oauth2V2::Userinfoplus
140
+ command.response_representation = Google::Apis::Oauth2V2::Userinfo::Representation
141
+ command.response_class = Google::Apis::Oauth2V2::Userinfo
144
142
  command.query['fields'] = fields unless fields.nil?
145
143
  command.query['quotaUser'] = quota_user unless quota_user.nil?
146
144
  command.query['userIp'] = user_ip unless user_ip.nil?