google-api-client 0.30.8 → 0.30.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (329) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +108 -0
  3. data/README.md +1 -1
  4. data/api_names.yaml +16 -0
  5. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  6. data/generated/google/apis/accessapproval_v1beta1/classes.rb +51 -0
  7. data/generated/google/apis/accessapproval_v1beta1/representations.rb +16 -0
  8. data/generated/google/apis/accessapproval_v1beta1/service.rb +30 -6
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  11. data/generated/google/apis/adexperiencereport_v1/classes.rb +2 -0
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +55 -5
  14. data/generated/google/apis/admin_directory_v1/representations.rb +6 -0
  15. data/generated/google/apis/admin_directory_v1/service.rb +11 -10
  16. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  17. data/generated/google/apis/alertcenter_v1beta1/classes.rb +235 -0
  18. data/generated/google/apis/alertcenter_v1beta1/representations.rb +95 -0
  19. data/generated/google/apis/alertcenter_v1beta1/service.rb +99 -1
  20. data/generated/google/apis/analytics_v3.rb +1 -1
  21. data/generated/google/apis/analytics_v3/classes.rb +6 -0
  22. data/generated/google/apis/analytics_v3/representations.rb +1 -0
  23. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -1
  25. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  26. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidmanagement_v1/classes.rb +65 -0
  29. data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -2
  32. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  33. data/generated/google/apis/androidpublisher_v2/service.rb +12 -12
  34. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v3/classes.rb +39 -2
  36. data/generated/google/apis/androidpublisher_v3/representations.rb +4 -0
  37. data/generated/google/apis/androidpublisher_v3/service.rb +25 -13
  38. data/generated/google/apis/bigquery_v2.rb +4 -1
  39. data/generated/google/apis/bigquery_v2/classes.rb +137 -5
  40. data/generated/google/apis/bigquery_v2/representations.rb +64 -0
  41. data/generated/google/apis/bigquery_v2/service.rb +5 -1
  42. data/generated/google/apis/bigquerydatatransfer_v1.rb +4 -1
  43. data/generated/google/apis/bigqueryreservation_v1.rb +37 -0
  44. data/generated/google/apis/bigqueryreservation_v1/classes.rb +216 -0
  45. data/generated/google/apis/bigqueryreservation_v1/representations.rb +112 -0
  46. data/generated/google/apis/bigqueryreservation_v1/service.rb +139 -0
  47. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +37 -0
  48. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +514 -0
  49. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +237 -0
  50. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +714 -0
  51. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  52. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
  53. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -2
  54. data/generated/google/apis/cloudasset_v1.rb +1 -1
  55. data/generated/google/apis/cloudasset_v1/classes.rb +0 -9
  56. data/generated/google/apis/cloudasset_v1/representations.rb +0 -1
  57. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  58. data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -9
  59. data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
  60. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  61. data/generated/google/apis/cloudbilling_v1/service.rb +1 -1
  62. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1/classes.rb +14 -4
  64. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  65. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -2
  67. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  68. data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -22
  69. data/generated/google/apis/cloudfunctions_v1/service.rb +7 -1
  70. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  71. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -11
  72. data/generated/google/apis/cloudiot_v1.rb +1 -1
  73. data/generated/google/apis/cloudiot_v1/classes.rb +1 -1
  74. data/generated/google/apis/cloudkms_v1.rb +1 -1
  75. data/generated/google/apis/cloudkms_v1/classes.rb +26 -11
  76. data/generated/google/apis/cloudkms_v1/representations.rb +2 -0
  77. data/generated/google/apis/cloudkms_v1/service.rb +28 -16
  78. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  79. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +0 -9
  80. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -1
  81. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1 -1
  82. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  85. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
  88. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  90. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  91. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -4
  92. data/generated/google/apis/cloudscheduler_v1/service.rb +7 -14
  93. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  94. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -4
  95. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +7 -14
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +0 -18
  98. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -2
  99. data/generated/google/apis/cloudsearch_v1/service.rb +17 -9
  100. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2/classes.rb +59 -17
  102. data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
  103. data/generated/google/apis/cloudtasks_v2/service.rb +12 -24
  104. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  105. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +35 -12
  106. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +15 -0
  107. data/generated/google/apis/cloudtasks_v2beta2/service.rb +16 -32
  108. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  109. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +30 -2
  110. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +15 -0
  111. data/generated/google/apis/cloudtasks_v2beta3/service.rb +12 -24
  112. data/generated/google/apis/compute_v1/service.rb +1 -1
  113. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  114. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +138 -138
  115. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +54 -32
  116. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  117. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +19 -135
  118. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +2 -32
  119. data/generated/google/apis/content_v2.rb +1 -1
  120. data/generated/google/apis/content_v2/classes.rb +10 -5
  121. data/generated/google/apis/content_v2/service.rb +3 -2
  122. data/generated/google/apis/content_v2_1.rb +1 -1
  123. data/generated/google/apis/content_v2_1/classes.rb +618 -6
  124. data/generated/google/apis/content_v2_1/representations.rb +271 -0
  125. data/generated/google/apis/content_v2_1/service.rb +357 -2
  126. data/generated/google/apis/dataproc_v1.rb +1 -1
  127. data/generated/google/apis/dataproc_v1/classes.rb +69 -8
  128. data/generated/google/apis/dataproc_v1/representations.rb +18 -0
  129. data/generated/google/apis/dataproc_v1/service.rb +121 -57
  130. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  131. data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -11
  132. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  133. data/generated/google/apis/dataproc_v1beta2/service.rb +203 -97
  134. data/generated/google/apis/dialogflow_v2.rb +1 -1
  135. data/generated/google/apis/dialogflow_v2/service.rb +94 -0
  136. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  137. data/generated/google/apis/dialogflow_v2beta1/classes.rb +51 -0
  138. data/generated/google/apis/dialogflow_v2beta1/representations.rb +16 -0
  139. data/generated/google/apis/dialogflow_v2beta1/service.rb +1989 -0
  140. data/generated/google/apis/dlp_v2.rb +1 -1
  141. data/generated/google/apis/dlp_v2/classes.rb +1 -1
  142. data/generated/google/apis/docs_v1.rb +1 -1
  143. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  144. data/generated/google/apis/doubleclicksearch_v2.rb +2 -2
  145. data/generated/google/apis/doubleclicksearch_v2/classes.rb +1 -1
  146. data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
  147. data/generated/google/apis/drive_v2/service.rb +6 -6
  148. data/generated/google/apis/drive_v3/service.rb +6 -6
  149. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  150. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +6 -0
  151. data/generated/google/apis/factchecktools_v1alpha1/representations.rb +1 -0
  152. data/generated/google/apis/fcm_v1.rb +1 -1
  153. data/generated/google/apis/fcm_v1/classes.rb +419 -0
  154. data/generated/google/apis/fcm_v1/representations.rb +45 -0
  155. data/generated/google/apis/file_v1.rb +1 -1
  156. data/generated/google/apis/file_v1/classes.rb +12 -1
  157. data/generated/google/apis/file_v1/representations.rb +1 -0
  158. data/generated/google/apis/file_v1beta1.rb +1 -1
  159. data/generated/google/apis/file_v1beta1/classes.rb +12 -1
  160. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  161. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  162. data/generated/google/apis/firebase_v1beta1/classes.rb +164 -4
  163. data/generated/google/apis/firebase_v1beta1/representations.rb +71 -0
  164. data/generated/google/apis/firebase_v1beta1/service.rb +165 -2
  165. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  166. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +27 -6
  167. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +3 -0
  168. data/generated/google/apis/firebaserules_v1.rb +1 -1
  169. data/generated/google/apis/firebaserules_v1/classes.rb +6 -0
  170. data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
  171. data/generated/google/apis/games_management_v1management.rb +1 -1
  172. data/generated/google/apis/games_management_v1management/classes.rb +1 -2
  173. data/generated/google/apis/games_v1.rb +1 -1
  174. data/generated/google/apis/games_v1/classes.rb +1 -2
  175. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  176. data/generated/google/apis/genomics_v2alpha1/classes.rb +18 -7
  177. data/generated/google/apis/genomics_v2alpha1/service.rb +5 -1
  178. data/generated/google/apis/groupssettings_v1.rb +1 -1
  179. data/generated/google/apis/groupssettings_v1/classes.rb +367 -99
  180. data/generated/google/apis/groupssettings_v1/service.rb +3 -3
  181. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  182. data/generated/google/apis/healthcare_v1alpha2/classes.rb +4 -21
  183. data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -2
  184. data/generated/google/apis/healthcare_v1alpha2/service.rb +101 -117
  185. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  186. data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -13
  187. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
  188. data/generated/google/apis/healthcare_v1beta1/service.rb +90 -22
  189. data/generated/google/apis/iam_v1.rb +1 -1
  190. data/generated/google/apis/iam_v1/classes.rb +31 -1
  191. data/generated/google/apis/iam_v1/representations.rb +14 -0
  192. data/generated/google/apis/iam_v1/service.rb +45 -4
  193. data/generated/google/apis/iap_v1.rb +1 -1
  194. data/generated/google/apis/iap_v1/classes.rb +1 -1
  195. data/generated/google/apis/iap_v1beta1.rb +1 -1
  196. data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
  197. data/generated/google/apis/jobs_v3.rb +1 -1
  198. data/generated/google/apis/jobs_v3/classes.rb +2 -1
  199. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  200. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -1
  201. data/generated/google/apis/libraryagent_v1.rb +1 -1
  202. data/generated/google/apis/libraryagent_v1/service.rb +5 -5
  203. data/generated/google/apis/logging_v2.rb +1 -1
  204. data/generated/google/apis/logging_v2/classes.rb +2 -2
  205. data/generated/google/apis/ml_v1.rb +1 -1
  206. data/generated/google/apis/ml_v1/classes.rb +63 -9
  207. data/generated/google/apis/ml_v1/representations.rb +16 -1
  208. data/generated/google/apis/ml_v1/service.rb +2 -2
  209. data/generated/google/apis/monitoring_v3.rb +1 -1
  210. data/generated/google/apis/monitoring_v3/classes.rb +29 -2
  211. data/generated/google/apis/monitoring_v3/representations.rb +4 -0
  212. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  213. data/generated/google/apis/people_v1.rb +1 -1
  214. data/generated/google/apis/people_v1/classes.rb +7 -0
  215. data/generated/google/apis/people_v1/representations.rb +1 -0
  216. data/generated/google/apis/people_v1/service.rb +5 -4
  217. data/generated/google/apis/pubsub_v1.rb +1 -1
  218. data/generated/google/apis/pubsub_v1/classes.rb +12 -11
  219. data/generated/google/apis/pubsub_v1/service.rb +3 -3
  220. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  221. data/generated/google/apis/pubsub_v1beta2/classes.rb +2 -2
  222. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -2
  223. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  224. data/generated/google/apis/remotebuildexecution_v1/classes.rb +32 -0
  225. data/generated/google/apis/remotebuildexecution_v1/representations.rb +16 -0
  226. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +32 -0
  228. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +16 -0
  229. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v2/classes.rb +32 -0
  231. data/generated/google/apis/remotebuildexecution_v2/representations.rb +16 -0
  232. data/generated/google/apis/run_v1.rb +1 -1
  233. data/generated/google/apis/run_v1/classes.rb +25 -0
  234. data/generated/google/apis/run_v1/representations.rb +15 -0
  235. data/generated/google/apis/run_v1/service.rb +39 -0
  236. data/generated/google/apis/run_v1alpha1.rb +1 -1
  237. data/generated/google/apis/run_v1alpha1/classes.rb +338 -22
  238. data/generated/google/apis/run_v1alpha1/representations.rb +141 -1
  239. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  240. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  241. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
  242. data/generated/google/apis/securitycenter_v1.rb +1 -1
  243. data/generated/google/apis/securitycenter_v1/classes.rb +16 -13
  244. data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
  245. data/generated/google/apis/securitycenter_v1/service.rb +19 -6
  246. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  247. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -10
  248. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
  249. data/generated/google/apis/servicebroker_v1.rb +1 -1
  250. data/generated/google/apis/servicebroker_v1/service.rb +1 -1
  251. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  252. data/generated/google/apis/servicebroker_v1alpha1/service.rb +1 -1
  253. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  254. data/generated/google/apis/servicebroker_v1beta1/service.rb +1 -1
  255. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  256. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +4 -0
  257. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  258. data/generated/google/apis/servicecontrol_v1/classes.rb +54 -19
  259. data/generated/google/apis/servicecontrol_v1/representations.rb +17 -2
  260. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  261. data/generated/google/apis/servicemanagement_v1/classes.rb +11 -20
  262. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  263. data/generated/google/apis/serviceusage_v1.rb +1 -1
  264. data/generated/google/apis/serviceusage_v1/classes.rb +0 -2
  265. data/generated/google/apis/serviceusage_v1/service.rb +1 -0
  266. data/generated/google/apis/sheets_v4.rb +1 -1
  267. data/generated/google/apis/sheets_v4/classes.rb +53 -10
  268. data/generated/google/apis/sheets_v4/representations.rb +17 -0
  269. data/generated/google/apis/spanner_v1.rb +1 -1
  270. data/generated/google/apis/spanner_v1/classes.rb +50 -54
  271. data/generated/google/apis/spanner_v1/service.rb +8 -15
  272. data/generated/google/apis/speech_v1.rb +1 -1
  273. data/generated/google/apis/speech_v1/classes.rb +2 -1
  274. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  275. data/generated/google/apis/speech_v1p1beta1/classes.rb +9 -16
  276. data/generated/google/apis/{run_v1beta1.rb → speech_v2beta.rb} +9 -10
  277. data/generated/google/apis/speech_v2beta/classes.rb +355 -0
  278. data/generated/google/apis/speech_v2beta/representations.rb +152 -0
  279. data/generated/google/apis/speech_v2beta/service.rb +138 -0
  280. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  281. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -12
  282. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  283. data/generated/google/apis/toolresults_v1beta3/classes.rb +44 -9
  284. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  285. data/generated/google/apis/toolresults_v1beta3/service.rb +3 -6
  286. data/generated/google/apis/tpu_v1.rb +1 -1
  287. data/generated/google/apis/tpu_v1/classes.rb +12 -0
  288. data/generated/google/apis/tpu_v1/representations.rb +2 -0
  289. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  290. data/generated/google/apis/tpu_v1alpha1/classes.rb +12 -0
  291. data/generated/google/apis/tpu_v1alpha1/representations.rb +2 -0
  292. data/generated/google/apis/translate_v3beta1.rb +1 -1
  293. data/generated/google/apis/translate_v3beta1/classes.rb +72 -0
  294. data/generated/google/apis/translate_v3beta1/representations.rb +32 -0
  295. data/generated/google/apis/translate_v3beta1/service.rb +82 -7
  296. data/generated/google/apis/vision_v1.rb +1 -1
  297. data/generated/google/apis/vision_v1/classes.rb +579 -0
  298. data/generated/google/apis/vision_v1/representations.rb +172 -0
  299. data/generated/google/apis/vision_v1/service.rb +404 -0
  300. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  301. data/generated/google/apis/vision_v1p1beta1/classes.rb +523 -0
  302. data/generated/google/apis/vision_v1p1beta1/representations.rb +143 -0
  303. data/generated/google/apis/vision_v1p1beta1/service.rb +352 -0
  304. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  305. data/generated/google/apis/vision_v1p2beta1/classes.rb +187 -0
  306. data/generated/google/apis/vision_v1p2beta1/representations.rb +23 -0
  307. data/generated/google/apis/vision_v1p2beta1/service.rb +352 -0
  308. data/generated/google/apis/websecurityscanner_v1.rb +4 -1
  309. data/generated/google/apis/websecurityscanner_v1/classes.rb +924 -0
  310. data/generated/google/apis/websecurityscanner_v1/representations.rb +426 -0
  311. data/generated/google/apis/websecurityscanner_v1/service.rb +487 -0
  312. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  313. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  314. data/generated/google/apis/youtube_partner_v1/service.rb +2 -3
  315. data/generated/google/apis/youtube_v3.rb +1 -1
  316. data/generated/google/apis/youtube_v3/classes.rb +322 -0
  317. data/generated/google/apis/youtube_v3/representations.rb +139 -0
  318. data/generated/google/apis/youtube_v3/service.rb +85 -0
  319. data/lib/google/api_client/client_secrets.rb +1 -2
  320. data/lib/google/apis/core/api_command.rb +12 -0
  321. data/lib/google/apis/core/batch.rb +2 -0
  322. data/lib/google/apis/core/http_command.rb +8 -1
  323. data/lib/google/apis/core/json_representation.rb +1 -1
  324. data/lib/google/apis/generator/annotator.rb +1 -0
  325. data/lib/google/apis/version.rb +1 -1
  326. metadata +14 -6
  327. data/generated/google/apis/run_v1beta1/classes.rb +0 -98
  328. data/generated/google/apis/run_v1beta1/representations.rb +0 -58
  329. data/generated/google/apis/run_v1beta1/service.rb +0 -99
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190708'
28
+ REVISION = '20190809'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -122,14 +122,6 @@ module Google
122
122
  # @return [Array<String>]
123
123
  attr_accessor :exempted_members
124
124
 
125
- # Specifies whether principals can be exempted for the same LogType in
126
- # lower-level resource policies. If true, any lower-level exemptions will
127
- # be ignored.
128
- # Corresponds to the JSON property `ignoreChildExemptions`
129
- # @return [Boolean]
130
- attr_accessor :ignore_child_exemptions
131
- alias_method :ignore_child_exemptions?, :ignore_child_exemptions
132
-
133
125
  # The log type that this config enables.
134
126
  # Corresponds to the JSON property `logType`
135
127
  # @return [String]
@@ -142,7 +134,6 @@ module Google
142
134
  # Update properties of this object
143
135
  def update!(**args)
144
136
  @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
145
- @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
146
137
  @log_type = args[:log_type] if args.key?(:log_type)
147
138
  end
148
139
  end
@@ -243,8 +234,8 @@ module Google
243
234
  include Google::Apis::Core::Hashable
244
235
 
245
236
  # An AES 128/192/256 bit key. Causes the hash to be computed based on this
246
- # key. A default key is generated for each DeidentifyDataset operation and is
247
- # used wherever crypto_key is not specified.
237
+ # key. A default key is generated for each Deidentify operation and is used
238
+ # wherever crypto_key is not specified.
248
239
  # Corresponds to the JSON property `cryptoKey`
249
240
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
250
241
  # @return [String]
@@ -299,8 +290,7 @@ module Google
299
290
 
300
291
  # An AES 128/192/256 bit key. Causes the shift to be computed based on this
301
292
  # key and the patient ID. A default key is generated for each
302
- # DeidentifyDataset operation and is used wherever crypto_key is not
303
- # specified.
293
+ # Deidentify operation and is used wherever crypto_key is not specified.
304
294
  # Corresponds to the JSON property `cryptoKey`
305
295
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
306
296
  # @return [String]
@@ -470,6 +460,20 @@ module Google
470
460
  # @return [Google::Apis::HealthcareV1beta1::TagFilterList]
471
461
  attr_accessor :remove_list
472
462
 
463
+ # If true, skip replacing StudyInstanceUID, SeriesInstanceUID,
464
+ # SOPInstanceUID, and MediaStorageSOPInstanceUID and leave them untouched.
465
+ # The Cloud Healthcare API regenerates these UIDs by default based on the
466
+ # DICOM Standard's reasoning: "Whilst these UIDs cannot be mapped directly
467
+ # to an individual out of context, given access to the original images, or
468
+ # to a database of the original images containing the UIDs, it would be
469
+ # possible to recover the individual's identity."
470
+ # http://dicom.nema.org/medical/dicom/current/output/chtml/part15/sect_E.3.9.
471
+ # html
472
+ # Corresponds to the JSON property `skipIdRedaction`
473
+ # @return [Boolean]
474
+ attr_accessor :skip_id_redaction
475
+ alias_method :skip_id_redaction?, :skip_id_redaction
476
+
473
477
  def initialize(**args)
474
478
  update!(**args)
475
479
  end
@@ -479,6 +483,7 @@ module Google
479
483
  @filter_profile = args[:filter_profile] if args.key?(:filter_profile)
480
484
  @keep_list = args[:keep_list] if args.key?(:keep_list)
481
485
  @remove_list = args[:remove_list] if args.key?(:remove_list)
486
+ @skip_id_redaction = args[:skip_id_redaction] if args.key?(:skip_id_redaction)
482
487
  end
483
488
  end
484
489
 
@@ -443,7 +443,6 @@ module Google
443
443
  # @private
444
444
  class Representation < Google::Apis::Core::JsonRepresentation
445
445
  collection :exempted_members, as: 'exemptedMembers'
446
- property :ignore_child_exemptions, as: 'ignoreChildExemptions'
447
446
  property :log_type, as: 'logType'
448
447
  end
449
448
  end
@@ -544,6 +543,7 @@ module Google
544
543
 
545
544
  property :remove_list, as: 'removeList', class: Google::Apis::HealthcareV1beta1::TagFilterList, decorator: Google::Apis::HealthcareV1beta1::TagFilterList::Representation
546
545
 
546
+ property :skip_id_redaction, as: 'skipIdRedaction'
547
547
  end
548
548
  end
549
549
 
@@ -274,7 +274,7 @@ module Google
274
274
  # See the operation documentation for the appropriate value for this field.
275
275
  # @param [Fixnum] options_requested_policy_version
276
276
  # Optional. The policy format version to be returned.
277
- # Acceptable values are 0 and 1.
277
+ # Acceptable values are 0, 1, and 3.
278
278
  # If the value is 0, or the field is omitted, policy format version 1 will be
279
279
  # returned.
280
280
  # @param [String] fields
@@ -601,7 +601,7 @@ module Google
601
601
  # See the operation documentation for the appropriate value for this field.
602
602
  # @param [Fixnum] options_requested_policy_version
603
603
  # Optional. The policy format version to be returned.
604
- # Acceptable values are 0 and 1.
604
+ # Acceptable values are 0, 1, and 3.
605
605
  # If the value is 0, or the field is omitted, policy format version 1 will be
606
606
  # returned.
607
607
  # @param [String] fields
@@ -635,7 +635,8 @@ module Google
635
635
  # Imports data into the DICOM store by copying it from the specified source.
636
636
  # For errors, the Operation will be populated with error details (in the form
637
637
  # of ImportDicomDataErrorDetails in error.details), which will hold
638
- # finer-grained error information.
638
+ # finer-grained error information. Errors are also logged to Stackdriver
639
+ # (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
639
640
  # The metadata field type is
640
641
  # OperationMetadata.
641
642
  # @param [String] name
@@ -1742,7 +1743,7 @@ module Google
1742
1743
  # See the operation documentation for the appropriate value for this field.
1743
1744
  # @param [Fixnum] options_requested_policy_version
1744
1745
  # Optional. The policy format version to be returned.
1745
- # Acceptable values are 0 and 1.
1746
+ # Acceptable values are 0, 1, and 3.
1746
1747
  # If the value is 0, or the field is omitted, policy format version 1 will be
1747
1748
  # returned.
1748
1749
  # @param [String] fields
@@ -1774,19 +1775,66 @@ module Google
1774
1775
  end
1775
1776
 
1776
1777
  # Import resources to the FHIR store by loading data from the specified
1777
- # sources. Each resource must have a client-supplied ID, which is retained
1778
- # by the server.
1779
- # The import operation is idempotent. Upon retry, the most recent data
1780
- # (matching the client-supplied ID) is overwritten, without creating a new
1781
- # resource version. If partial failures occur during the import, successful
1782
- # changes are not rolled back.
1783
- # If history imports are enabled
1784
- # (enable_history_import is set in the
1785
- # FHIR store's configuration), you can import historical versions of a
1786
- # resource by supplying a bundle of type `history`. The historical versions
1787
- # in the bundle must have `lastUpdated` timestamps. If a current or
1788
- # historical version with the supplied resource ID already exists, the
1789
- # bundle is rejected.
1778
+ # sources. This method is optimized to load large quantities of data using
1779
+ # import semantics that ignore some FHIR store configuration options and are
1780
+ # not suitable for all use cases. It is primarily intended to load data into
1781
+ # an empty FHIR store that is not being used by other clients. In cases
1782
+ # where this method is not appropriate, consider using ExecuteBundle to
1783
+ # load data.
1784
+ # Every resource in the input must contain a client-supplied ID, and will be
1785
+ # stored using that ID regardless of the
1786
+ # enable_update_create setting on the FHIR
1787
+ # store.
1788
+ # The import process does not enforce referential integrity, regardless of
1789
+ # the
1790
+ # disable_referential_integrity
1791
+ # setting on the FHIR store. This allows the import of resources with
1792
+ # arbitrary interdependencies without considering grouping or ordering, but
1793
+ # if the input data contains invalid references or if some resources fail to
1794
+ # be imported, the FHIR store might be left in a state that violates
1795
+ # referential integrity.
1796
+ # If a resource with the specified ID already exists, the most recent
1797
+ # version of the resource is overwritten without creating a new historical
1798
+ # version, regardless of the
1799
+ # disable_resource_versioning
1800
+ # setting on the FHIR store. If transient failures occur during the import,
1801
+ # it is possible that successfully imported resources will be overwritten
1802
+ # more than once.
1803
+ # The import operation is idempotent unless the input data contains multiple
1804
+ # valid resources with the same ID but different contents. In that case,
1805
+ # after the import completes, the store will contain exactly one resource
1806
+ # with that ID but there is no ordering guarantee on which version of the
1807
+ # contents it will have. The operation result counters do not count
1808
+ # duplicate IDs as an error and will count one success for each resource in
1809
+ # the input, which might result in a success count larger than the number
1810
+ # of resources in the FHIR store. This often occurs when importing data
1811
+ # organized in bundles produced by Patient-everything
1812
+ # where each bundle contains its own copy of a resource such as Practitioner
1813
+ # that might be referred to by many patients.
1814
+ # If some resources fail to import, for example due to parsing errors,
1815
+ # successfully imported resources are not rolled back.
1816
+ # The location and format of the input data is specified by the parameters
1817
+ # below. Note that if no format is specified, this method assumes the
1818
+ # `BUNDLE` format. When using the `BUNDLE` format this method ignores the
1819
+ # `Bundle.type` field, except for the special case of `history`, and does
1820
+ # not apply any of the bundle processing semantics for batch or transaction
1821
+ # bundles. Unlike in ExecuteBundle, transaction bundles are not executed
1822
+ # as a single transaction and bundle-internal references are not rewritten.
1823
+ # The bundle is treated as a collection of resources to be written as
1824
+ # provided in `Bundle.entry.resource`, ignoring `Bundle.entry.request`. As
1825
+ # an example, this allows the import of `searchset` bundles produced by a
1826
+ # FHIR search or
1827
+ # Patient-everything operation.
1828
+ # If history imports are enabled by setting
1829
+ # enable_history_import in the FHIR
1830
+ # store's configuration, this method can import historical versions
1831
+ # of a resource by supplying a bundle of type `history` and using the
1832
+ # `BUNDLE` format. The historical versions in the bundle must have
1833
+ # `lastUpdated` timestamps, and the resulting resource history on the server
1834
+ # will appear as if the versions had been created at those timestamps. If a
1835
+ # current or historical version with the supplied resource ID already
1836
+ # exists, the bundle is rejected to avoid creating an inconsistent sequence
1837
+ # of resource versions.
1790
1838
  # This method returns an Operation that can
1791
1839
  # be used to track the status of the import by calling
1792
1840
  # GetOperation.
@@ -2034,8 +2082,8 @@ module Google
2034
2082
  execute_or_queue_command(command, &block)
2035
2083
  end
2036
2084
 
2037
- # Retrieves all the resources in the patient compartment for a `Patient`
2038
- # resource.
2085
+ # Retrieves all the resources directly referenced by a patient, as well as
2086
+ # all of the resources in the patient compartment.
2039
2087
  # Implements the FHIR extended operation
2040
2088
  # [Patient-everything](http://hl7.org/implement/standards/fhir/STU3/patient-
2041
2089
  # operations.html#everything).
@@ -2048,9 +2096,18 @@ module Google
2048
2096
  # GCP error might be returned instead.
2049
2097
  # @param [String] name
2050
2098
  # Name of the `Patient` resource for which the information is required.
2099
+ # @param [Fixnum] _count
2100
+ # Maximum number of resources in a page. Defaults to 100.
2051
2101
  # @param [String] end_
2052
2102
  # The response includes records prior to the end date. If no end date is
2053
2103
  # provided, all records subsequent to the start date are in scope.
2104
+ # @param [String] page_token
2105
+ # Used to retrieve the next or previous page of results
2106
+ # when using pagination. Value should be set to the value of page_token set
2107
+ # in next or previous page links' urls. Next and previous page are returned
2108
+ # in the response bundle's links field, where `link.relation` is "previous"
2109
+ # or "next".
2110
+ # Omit `page_token` if no previous request has been made.
2054
2111
  # @param [String] start
2055
2112
  # The response includes records subsequent to the start date. If no start
2056
2113
  # date is provided, all records prior to the end date are in scope.
@@ -2071,12 +2128,14 @@ module Google
2071
2128
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2072
2129
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2073
2130
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2074
- def patient_project_location_dataset_fhir_store_fhir_everything(name, end_: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
2131
+ def patient_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, end_: nil, page_token: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
2075
2132
  command = make_simple_command(:get, 'v1beta1/{+name}/$everything', options)
2076
2133
  command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
2077
2134
  command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
2078
2135
  command.params['name'] = name unless name.nil?
2136
+ command.query['_count'] = _count unless _count.nil?
2079
2137
  command.query['end'] = end_ unless end_.nil?
2138
+ command.query['pageToken'] = page_token unless page_token.nil?
2080
2139
  command.query['start'] = start unless start.nil?
2081
2140
  command.query['fields'] = fields unless fields.nil?
2082
2141
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2652,6 +2711,12 @@ module Google
2652
2711
  # be overridden by the `_count` parameter up to a maximum limit of 1000. If
2653
2712
  # there are additional results, the returned `Bundle` will contain
2654
2713
  # pagination links.
2714
+ # Resources with a total size larger than 5MB or a field count larger than
2715
+ # 50,000 might not be fully searchable as the server might trim its generated
2716
+ # search index in those cases.
2717
+ # Note: FHIR resources are indexed asynchronously, so there might be a slight
2718
+ # delay between the time a resource is created or changes and when the change
2719
+ # is reflected in search results.
2655
2720
  # @param [String] parent
2656
2721
  # Name of the FHIR store to retrieve resources from.
2657
2722
  # @param [Google::Apis::HealthcareV1beta1::SearchResourcesRequest] search_resources_request_object
@@ -2878,7 +2943,7 @@ module Google
2878
2943
  # See the operation documentation for the appropriate value for this field.
2879
2944
  # @param [Fixnum] options_requested_policy_version
2880
2945
  # Optional. The policy format version to be returned.
2881
- # Acceptable values are 0 and 1.
2946
+ # Acceptable values are 0, 1, and 3.
2882
2947
  # If the value is 0, or the field is omitted, policy format version 1 will be
2883
2948
  # returned.
2884
2949
  # @param [String] fields
@@ -3205,6 +3270,9 @@ module Google
3205
3270
  end
3206
3271
 
3207
3272
  # Lists all the messages in the given HL7v2 store with support for filtering.
3273
+ # Note: HL7v2 messages are indexed asynchronously, so there might be a slight
3274
+ # delay between the time a message is created and when it can be found
3275
+ # through a filter.
3208
3276
  # @param [String] parent
3209
3277
  # Name of the HL7v2 store to retrieve messages from.
3210
3278
  # @param [String] filter
@@ -3216,7 +3284,7 @@ module Google
3216
3284
  # * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in
3217
3285
  # the dataset's time_zone, from the MSH-7 segment; for example
3218
3286
  # `send_date < "2017-01-02"`
3219
- # * `send_time`, the timestamp of when the message was sent, using the
3287
+ # * `send_time`, the timestamp when the message was sent, using the
3220
3288
  # RFC3339 time format for comparisons, from the MSH-7 segment; for example
3221
3289
  # `send_time < "2017-01-02T00:00:00-05:00"`
3222
3290
  # * `send_facility`, the care center that the message came from, from the
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190704'
30
+ REVISION = '20190816'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -811,6 +811,12 @@ module Google
811
811
  attr_accessor :only_in_predefined_roles
812
812
  alias_method :only_in_predefined_roles?, :only_in_predefined_roles
813
813
 
814
+ # The preferred name for this permission. If present, then this permission is
815
+ # an alias of, and equivalent to, the listed primary_permission.
816
+ # Corresponds to the JSON property `primaryPermission`
817
+ # @return [String]
818
+ attr_accessor :primary_permission
819
+
814
820
  # The current launch stage of the permission.
815
821
  # Corresponds to the JSON property `stage`
816
822
  # @return [String]
@@ -832,6 +838,7 @@ module Google
832
838
  @description = args[:description] if args.key?(:description)
833
839
  @name = args[:name] if args.key?(:name)
834
840
  @only_in_predefined_roles = args[:only_in_predefined_roles] if args.key?(:only_in_predefined_roles)
841
+ @primary_permission = args[:primary_permission] if args.key?(:primary_permission)
835
842
  @stage = args[:stage] if args.key?(:stage)
836
843
  @title = args[:title] if args.key?(:title)
837
844
  end
@@ -1166,7 +1173,7 @@ module Google
1166
1173
  # The name of the role.
1167
1174
  # When Role is used in CreateRole, the role name must not be set.
1168
1175
  # When Role is used in output and other input such as UpdateRole, the role
1169
- # name is the complete path, e.g., roles/logging.viewer for curated roles
1176
+ # name is the complete path, e.g., roles/logging.viewer for predefined roles
1170
1177
  # and organizations/`ORGANIZATION_ID`/roles/logging.viewer for custom roles.
1171
1178
  # Corresponds to the JSON property `name`
1172
1179
  # @return [String]
@@ -1641,6 +1648,29 @@ module Google
1641
1648
  @restored_account = args[:restored_account] if args.key?(:restored_account)
1642
1649
  end
1643
1650
  end
1651
+
1652
+ # The service account key upload request.
1653
+ class UploadServiceAccountKeyRequest
1654
+ include Google::Apis::Core::Hashable
1655
+
1656
+ # A field that allows clients to upload their own public key. If set,
1657
+ # use this public key data to create a service account key for given
1658
+ # service account.
1659
+ # Please note, the expected format for this field is X509_PEM.
1660
+ # Corresponds to the JSON property `publicKeyData`
1661
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1662
+ # @return [String]
1663
+ attr_accessor :public_key_data
1664
+
1665
+ def initialize(**args)
1666
+ update!(**args)
1667
+ end
1668
+
1669
+ # Update properties of this object
1670
+ def update!(**args)
1671
+ @public_key_data = args[:public_key_data] if args.key?(:public_key_data)
1672
+ end
1673
+ end
1644
1674
  end
1645
1675
  end
1646
1676
  end
@@ -286,6 +286,12 @@ module Google
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
+ class UploadServiceAccountKeyRequest
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
289
295
  class AdminAuditData
290
296
  # @private
291
297
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -479,6 +485,7 @@ module Google
479
485
  property :description, as: 'description'
480
486
  property :name, as: 'name'
481
487
  property :only_in_predefined_roles, as: 'onlyInPredefinedRoles'
488
+ property :primary_permission, as: 'primaryPermission'
482
489
  property :stage, as: 'stage'
483
490
  property :title, as: 'title'
484
491
  end
@@ -679,6 +686,13 @@ module Google
679
686
 
680
687
  end
681
688
  end
689
+
690
+ class UploadServiceAccountKeyRequest
691
+ # @private
692
+ class Representation < Google::Apis::Core::JsonRepresentation
693
+ property :public_key_data, :base64 => true, as: 'publicKeyData'
694
+ end
695
+ end
682
696
  end
683
697
  end
684
698
  end
@@ -959,9 +959,10 @@ module Google
959
959
  # effect.
960
960
  # @param [String] name
961
961
  # The resource name of the service account in the following format:
962
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID`'.
962
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
963
963
  # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
964
- # the account.
964
+ # the account. The `ACCOUNT` value can be the `email` address or the
965
+ # `unique_id` of the service account.
965
966
  # @param [Google::Apis::IamV1::EnableServiceAccountRequest] enable_service_account_request_object
966
967
  # @param [String] fields
967
968
  # Selector specifying which fields to include in a partial response.
@@ -1045,7 +1046,7 @@ module Google
1045
1046
  # See the operation documentation for the appropriate value for this field.
1046
1047
  # @param [Fixnum] options_requested_policy_version
1047
1048
  # Optional. The policy format version to be returned.
1048
- # Acceptable values are 0 and 1.
1049
+ # Acceptable values are 0, 1, and 3.
1049
1050
  # If the value is 0, or the field is omitted, policy format version 1 will be
1050
1051
  # returned.
1051
1052
  # @param [String] fields
@@ -1334,7 +1335,7 @@ module Google
1334
1335
  # not always be restorable.
1335
1336
  # @param [String] name
1336
1337
  # The resource name of the service account in the following format:
1337
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID`'.
1338
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID``.
1338
1339
  # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1339
1340
  # the account.
1340
1341
  # @param [Google::Apis::IamV1::UndeleteServiceAccountRequest] undelete_service_account_request_object
@@ -1560,6 +1561,46 @@ module Google
1560
1561
  execute_or_queue_command(command, &block)
1561
1562
  end
1562
1563
 
1564
+ # Upload public key for a given service account.
1565
+ # This rpc will create a
1566
+ # ServiceAccountKey that has the
1567
+ # provided public key and returns it.
1568
+ # @param [String] name
1569
+ # The resource name of the service account in the following format:
1570
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1571
+ # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1572
+ # the account. The `ACCOUNT` value can be the `email` address or the
1573
+ # `unique_id` of the service account.
1574
+ # @param [Google::Apis::IamV1::UploadServiceAccountKeyRequest] upload_service_account_key_request_object
1575
+ # @param [String] fields
1576
+ # Selector specifying which fields to include in a partial response.
1577
+ # @param [String] quota_user
1578
+ # Available to use for quota purposes for server-side applications. Can be any
1579
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1580
+ # @param [Google::Apis::RequestOptions] options
1581
+ # Request-specific options
1582
+ #
1583
+ # @yield [result, err] Result & error if block supplied
1584
+ # @yieldparam result [Google::Apis::IamV1::ServiceAccountKey] parsed result object
1585
+ # @yieldparam err [StandardError] error object if request failed
1586
+ #
1587
+ # @return [Google::Apis::IamV1::ServiceAccountKey]
1588
+ #
1589
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1590
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1591
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1592
+ def upload_service_account_key(name, upload_service_account_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1593
+ command = make_simple_command(:post, 'v1/{+name}/keys:upload', options)
1594
+ command.request_representation = Google::Apis::IamV1::UploadServiceAccountKeyRequest::Representation
1595
+ command.request_object = upload_service_account_key_request_object
1596
+ command.response_representation = Google::Apis::IamV1::ServiceAccountKey::Representation
1597
+ command.response_class = Google::Apis::IamV1::ServiceAccountKey
1598
+ command.params['name'] = name unless name.nil?
1599
+ command.query['fields'] = fields unless fields.nil?
1600
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1601
+ execute_or_queue_command(command, &block)
1602
+ end
1603
+
1563
1604
  # Gets a Role definition.
1564
1605
  # @param [String] name
1565
1606
  # The `name` parameter's value depends on the target resource for the