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
@@ -12,21 +12,20 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- require 'google/apis/run_v1beta1/service.rb'
16
- require 'google/apis/run_v1beta1/classes.rb'
17
- require 'google/apis/run_v1beta1/representations.rb'
15
+ require 'google/apis/speech_v2beta/service.rb'
16
+ require 'google/apis/speech_v2beta/classes.rb'
17
+ require 'google/apis/speech_v2beta/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Cloud Run API
21
+ # Cloud Speech-to-Text API
22
22
  #
23
- # Deploy and manage user provided container images that scale automatically
24
- # based on HTTP traffic.
23
+ # Converts audio to text by applying powerful neural network models.
25
24
  #
26
- # @see https://cloud.google.com/run/
27
- module RunV1beta1
28
- VERSION = 'V1beta1'
29
- REVISION = '20190701'
25
+ # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
26
+ module SpeechV2beta
27
+ VERSION = 'V2beta'
28
+ REVISION = '20190819'
30
29
 
31
30
  # View and manage your data across Google Cloud Platform services
32
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -0,0 +1,355 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module SpeechV2beta
24
+
25
+ # The response message for Operations.ListOperations.
26
+ class ListOperationsResponse
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The standard List next-page token.
30
+ # Corresponds to the JSON property `nextPageToken`
31
+ # @return [String]
32
+ attr_accessor :next_page_token
33
+
34
+ # A list of operations that matches the specified filter in the request.
35
+ # Corresponds to the JSON property `operations`
36
+ # @return [Array<Google::Apis::SpeechV2beta::Operation>]
37
+ attr_accessor :operations
38
+
39
+ def initialize(**args)
40
+ update!(**args)
41
+ end
42
+
43
+ # Update properties of this object
44
+ def update!(**args)
45
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
46
+ @operations = args[:operations] if args.key?(:operations)
47
+ end
48
+ end
49
+
50
+ # Describes the progress of a long-running `LongRunningRecognize` call. It is
51
+ # included in the `metadata` field of the `Operation` returned by the
52
+ # `GetOperation` call of the `google::longrunning::Operations` service.
53
+ class LongRunningRecognizeMetadata
54
+ include Google::Apis::Core::Hashable
55
+
56
+ # Output only. Time of the most recent processing update.
57
+ # Corresponds to the JSON property `lastUpdateTime`
58
+ # @return [String]
59
+ attr_accessor :last_update_time
60
+
61
+ # Output only. Approximate percentage of audio processed thus far. Guaranteed to
62
+ # be 100
63
+ # when the audio is fully processed and the results are available.
64
+ # Corresponds to the JSON property `progressPercent`
65
+ # @return [Fixnum]
66
+ attr_accessor :progress_percent
67
+
68
+ # Output only. Time when the request was received.
69
+ # Corresponds to the JSON property `startTime`
70
+ # @return [String]
71
+ attr_accessor :start_time
72
+
73
+ def initialize(**args)
74
+ update!(**args)
75
+ end
76
+
77
+ # Update properties of this object
78
+ def update!(**args)
79
+ @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
80
+ @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
81
+ @start_time = args[:start_time] if args.key?(:start_time)
82
+ end
83
+ end
84
+
85
+ # The only message returned to the client by the `LongRunningRecognize` method.
86
+ # It contains the result as zero or more sequential `SpeechRecognitionResult`
87
+ # messages. It is included in the `result.response` field of the `Operation`
88
+ # returned by the `GetOperation` call of the `google::longrunning::Operations`
89
+ # service.
90
+ class LongRunningRecognizeResponse
91
+ include Google::Apis::Core::Hashable
92
+
93
+ # Output only. Sequential list of transcription results corresponding to
94
+ # sequential portions of audio.
95
+ # Corresponds to the JSON property `results`
96
+ # @return [Array<Google::Apis::SpeechV2beta::SpeechRecognitionResult>]
97
+ attr_accessor :results
98
+
99
+ def initialize(**args)
100
+ update!(**args)
101
+ end
102
+
103
+ # Update properties of this object
104
+ def update!(**args)
105
+ @results = args[:results] if args.key?(:results)
106
+ end
107
+ end
108
+
109
+ # This resource represents a long-running operation that is the result of a
110
+ # network API call.
111
+ class Operation
112
+ include Google::Apis::Core::Hashable
113
+
114
+ # If the value is `false`, it means the operation is still in progress.
115
+ # If `true`, the operation is completed, and either `error` or `response` is
116
+ # available.
117
+ # Corresponds to the JSON property `done`
118
+ # @return [Boolean]
119
+ attr_accessor :done
120
+ alias_method :done?, :done
121
+
122
+ # The `Status` type defines a logical error model that is suitable for
123
+ # different programming environments, including REST APIs and RPC APIs. It is
124
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
125
+ # three pieces of data: error code, error message, and error details.
126
+ # You can find out more about this error model and how to work with it in the
127
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
128
+ # Corresponds to the JSON property `error`
129
+ # @return [Google::Apis::SpeechV2beta::Status]
130
+ attr_accessor :error
131
+
132
+ # Service-specific metadata associated with the operation. It typically
133
+ # contains progress information and common metadata such as create time.
134
+ # Some services might not provide such metadata. Any method that returns a
135
+ # long-running operation should document the metadata type, if any.
136
+ # Corresponds to the JSON property `metadata`
137
+ # @return [Hash<String,Object>]
138
+ attr_accessor :metadata
139
+
140
+ # The server-assigned name, which is only unique within the same service that
141
+ # originally returns it. If you use the default HTTP mapping, the
142
+ # `name` should be a resource name ending with `operations/`unique_id``.
143
+ # Corresponds to the JSON property `name`
144
+ # @return [String]
145
+ attr_accessor :name
146
+
147
+ # The normal response of the operation in case of success. If the original
148
+ # method returns no data on success, such as `Delete`, the response is
149
+ # `google.protobuf.Empty`. If the original method is standard
150
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
151
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
152
+ # is the original method name. For example, if the original method name
153
+ # is `TakeSnapshot()`, the inferred response type is
154
+ # `TakeSnapshotResponse`.
155
+ # Corresponds to the JSON property `response`
156
+ # @return [Hash<String,Object>]
157
+ attr_accessor :response
158
+
159
+ def initialize(**args)
160
+ update!(**args)
161
+ end
162
+
163
+ # Update properties of this object
164
+ def update!(**args)
165
+ @done = args[:done] if args.key?(:done)
166
+ @error = args[:error] if args.key?(:error)
167
+ @metadata = args[:metadata] if args.key?(:metadata)
168
+ @name = args[:name] if args.key?(:name)
169
+ @response = args[:response] if args.key?(:response)
170
+ end
171
+ end
172
+
173
+ # Alternative hypotheses (a.k.a. n-best list).
174
+ class SpeechRecognitionAlternative
175
+ include Google::Apis::Core::Hashable
176
+
177
+ # Output only. The confidence estimate between 0.0 and 1.0. A higher number
178
+ # indicates an estimated greater likelihood that the recognized words are
179
+ # correct. This field is set only for the top alternative of a non-streaming
180
+ # result or, of a streaming result where `is_final=true`.
181
+ # This field is not guaranteed to be accurate and users should not rely on it
182
+ # to be always provided.
183
+ # The default of 0.0 is a sentinel value indicating `confidence` was not set.
184
+ # Corresponds to the JSON property `confidence`
185
+ # @return [Float]
186
+ attr_accessor :confidence
187
+
188
+ # Output only. Transcript text representing the words that the user spoke.
189
+ # Corresponds to the JSON property `transcript`
190
+ # @return [String]
191
+ attr_accessor :transcript
192
+
193
+ # Output only. A list of word-specific information for each recognized word.
194
+ # Note: When `enable_speaker_diarization` is true, you will see all the words
195
+ # from the beginning of the audio.
196
+ # Corresponds to the JSON property `words`
197
+ # @return [Array<Google::Apis::SpeechV2beta::WordInfo>]
198
+ attr_accessor :words
199
+
200
+ def initialize(**args)
201
+ update!(**args)
202
+ end
203
+
204
+ # Update properties of this object
205
+ def update!(**args)
206
+ @confidence = args[:confidence] if args.key?(:confidence)
207
+ @transcript = args[:transcript] if args.key?(:transcript)
208
+ @words = args[:words] if args.key?(:words)
209
+ end
210
+ end
211
+
212
+ # A speech recognition result corresponding to a portion of the audio.
213
+ class SpeechRecognitionResult
214
+ include Google::Apis::Core::Hashable
215
+
216
+ # Output only. May contain one or more recognition hypotheses (up to the
217
+ # maximum specified in `max_alternatives`).
218
+ # These alternatives are ordered in terms of accuracy, with the top (first)
219
+ # alternative being the most probable, as ranked by the recognizer.
220
+ # Corresponds to the JSON property `alternatives`
221
+ # @return [Array<Google::Apis::SpeechV2beta::SpeechRecognitionAlternative>]
222
+ attr_accessor :alternatives
223
+
224
+ # Output only. For multi-channel audio, this is the channel number corresponding
225
+ # to the
226
+ # recognized result for the audio from that channel.
227
+ # For audio_channel_count = N, its output values can range from '1' to 'N'.
228
+ # Corresponds to the JSON property `channelTag`
229
+ # @return [Fixnum]
230
+ attr_accessor :channel_tag
231
+
232
+ # Output only. The
233
+ # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
234
+ # language in this result. This language code was detected to have the most
235
+ # likelihood of being spoken in the audio.
236
+ # Corresponds to the JSON property `languageCode`
237
+ # @return [String]
238
+ attr_accessor :language_code
239
+
240
+ def initialize(**args)
241
+ update!(**args)
242
+ end
243
+
244
+ # Update properties of this object
245
+ def update!(**args)
246
+ @alternatives = args[:alternatives] if args.key?(:alternatives)
247
+ @channel_tag = args[:channel_tag] if args.key?(:channel_tag)
248
+ @language_code = args[:language_code] if args.key?(:language_code)
249
+ end
250
+ end
251
+
252
+ # The `Status` type defines a logical error model that is suitable for
253
+ # different programming environments, including REST APIs and RPC APIs. It is
254
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
255
+ # three pieces of data: error code, error message, and error details.
256
+ # You can find out more about this error model and how to work with it in the
257
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
258
+ class Status
259
+ include Google::Apis::Core::Hashable
260
+
261
+ # The status code, which should be an enum value of google.rpc.Code.
262
+ # Corresponds to the JSON property `code`
263
+ # @return [Fixnum]
264
+ attr_accessor :code
265
+
266
+ # A list of messages that carry the error details. There is a common set of
267
+ # message types for APIs to use.
268
+ # Corresponds to the JSON property `details`
269
+ # @return [Array<Hash<String,Object>>]
270
+ attr_accessor :details
271
+
272
+ # A developer-facing error message, which should be in English. Any
273
+ # user-facing error message should be localized and sent in the
274
+ # google.rpc.Status.details field, or localized by the client.
275
+ # Corresponds to the JSON property `message`
276
+ # @return [String]
277
+ attr_accessor :message
278
+
279
+ def initialize(**args)
280
+ update!(**args)
281
+ end
282
+
283
+ # Update properties of this object
284
+ def update!(**args)
285
+ @code = args[:code] if args.key?(:code)
286
+ @details = args[:details] if args.key?(:details)
287
+ @message = args[:message] if args.key?(:message)
288
+ end
289
+ end
290
+
291
+ # Word-specific information for recognized words.
292
+ class WordInfo
293
+ include Google::Apis::Core::Hashable
294
+
295
+ # Output only. The confidence estimate between 0.0 and 1.0. A higher number
296
+ # indicates an estimated greater likelihood that the recognized words are
297
+ # correct. This field is set only for the top alternative of a non-streaming
298
+ # result or, of a streaming result where `is_final=true`.
299
+ # This field is not guaranteed to be accurate and users should not rely on it
300
+ # to be always provided.
301
+ # The default of 0.0 is a sentinel value indicating `confidence` was not set.
302
+ # Corresponds to the JSON property `confidence`
303
+ # @return [Float]
304
+ attr_accessor :confidence
305
+
306
+ # Output only. Time offset relative to the beginning of the audio,
307
+ # and corresponding to the end of the spoken word.
308
+ # This field is only set if `enable_word_time_offsets=true` and only
309
+ # in the top hypothesis.
310
+ # This is an experimental feature and the accuracy of the time offset can
311
+ # vary.
312
+ # Corresponds to the JSON property `endTime`
313
+ # @return [String]
314
+ attr_accessor :end_time
315
+
316
+ # Output only. A distinct integer value is assigned for every speaker within
317
+ # the audio. This field specifies which one of those speakers was detected to
318
+ # have spoken this word. Value ranges from '1' to
319
+ # `diarization_speaker_count`. speaker_tag is set if
320
+ # `enable_speaker_diarization` = `true` and only in the top alternative.
321
+ # Corresponds to the JSON property `speakerTag`
322
+ # @return [Fixnum]
323
+ attr_accessor :speaker_tag
324
+
325
+ # Output only. Time offset relative to the beginning of the audio,
326
+ # and corresponding to the start of the spoken word.
327
+ # This field is only set if `enable_word_time_offsets=true` and only
328
+ # in the top hypothesis.
329
+ # This is an experimental feature and the accuracy of the time offset can
330
+ # vary.
331
+ # Corresponds to the JSON property `startTime`
332
+ # @return [String]
333
+ attr_accessor :start_time
334
+
335
+ # Output only. The word corresponding to this set of information.
336
+ # Corresponds to the JSON property `word`
337
+ # @return [String]
338
+ attr_accessor :word
339
+
340
+ def initialize(**args)
341
+ update!(**args)
342
+ end
343
+
344
+ # Update properties of this object
345
+ def update!(**args)
346
+ @confidence = args[:confidence] if args.key?(:confidence)
347
+ @end_time = args[:end_time] if args.key?(:end_time)
348
+ @speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
349
+ @start_time = args[:start_time] if args.key?(:start_time)
350
+ @word = args[:word] if args.key?(:word)
351
+ end
352
+ end
353
+ end
354
+ end
355
+ end
@@ -0,0 +1,152 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module SpeechV2beta
24
+
25
+ class ListOperationsResponse
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class LongRunningRecognizeMetadata
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class LongRunningRecognizeResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Operation
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class SpeechRecognitionAlternative
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class SpeechRecognitionResult
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Status
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class WordInfo
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ListOperationsResponse
74
+ # @private
75
+ class Representation < Google::Apis::Core::JsonRepresentation
76
+ property :next_page_token, as: 'nextPageToken'
77
+ collection :operations, as: 'operations', class: Google::Apis::SpeechV2beta::Operation, decorator: Google::Apis::SpeechV2beta::Operation::Representation
78
+
79
+ end
80
+ end
81
+
82
+ class LongRunningRecognizeMetadata
83
+ # @private
84
+ class Representation < Google::Apis::Core::JsonRepresentation
85
+ property :last_update_time, as: 'lastUpdateTime'
86
+ property :progress_percent, as: 'progressPercent'
87
+ property :start_time, as: 'startTime'
88
+ end
89
+ end
90
+
91
+ class LongRunningRecognizeResponse
92
+ # @private
93
+ class Representation < Google::Apis::Core::JsonRepresentation
94
+ collection :results, as: 'results', class: Google::Apis::SpeechV2beta::SpeechRecognitionResult, decorator: Google::Apis::SpeechV2beta::SpeechRecognitionResult::Representation
95
+
96
+ end
97
+ end
98
+
99
+ class Operation
100
+ # @private
101
+ class Representation < Google::Apis::Core::JsonRepresentation
102
+ property :done, as: 'done'
103
+ property :error, as: 'error', class: Google::Apis::SpeechV2beta::Status, decorator: Google::Apis::SpeechV2beta::Status::Representation
104
+
105
+ hash :metadata, as: 'metadata'
106
+ property :name, as: 'name'
107
+ hash :response, as: 'response'
108
+ end
109
+ end
110
+
111
+ class SpeechRecognitionAlternative
112
+ # @private
113
+ class Representation < Google::Apis::Core::JsonRepresentation
114
+ property :confidence, as: 'confidence'
115
+ property :transcript, as: 'transcript'
116
+ collection :words, as: 'words', class: Google::Apis::SpeechV2beta::WordInfo, decorator: Google::Apis::SpeechV2beta::WordInfo::Representation
117
+
118
+ end
119
+ end
120
+
121
+ class SpeechRecognitionResult
122
+ # @private
123
+ class Representation < Google::Apis::Core::JsonRepresentation
124
+ collection :alternatives, as: 'alternatives', class: Google::Apis::SpeechV2beta::SpeechRecognitionAlternative, decorator: Google::Apis::SpeechV2beta::SpeechRecognitionAlternative::Representation
125
+
126
+ property :channel_tag, as: 'channelTag'
127
+ property :language_code, as: 'languageCode'
128
+ end
129
+ end
130
+
131
+ class Status
132
+ # @private
133
+ class Representation < Google::Apis::Core::JsonRepresentation
134
+ property :code, as: 'code'
135
+ collection :details, as: 'details'
136
+ property :message, as: 'message'
137
+ end
138
+ end
139
+
140
+ class WordInfo
141
+ # @private
142
+ class Representation < Google::Apis::Core::JsonRepresentation
143
+ property :confidence, as: 'confidence'
144
+ property :end_time, as: 'endTime'
145
+ property :speaker_tag, as: 'speakerTag'
146
+ property :start_time, as: 'startTime'
147
+ property :word, as: 'word'
148
+ end
149
+ end
150
+ end
151
+ end
152
+ end