google-api-client 0.38.0 → 0.39.0

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 +124 -0
  3. data/api_list_config.yaml +1 -2
  4. data/bin/generate-api +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +22 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +3 -0
  8. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  9. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  10. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  11. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  12. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  13. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  14. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  15. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  16. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  17. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  18. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v2/classes.rb +36 -1661
  20. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -739
  21. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +3 -2
  24. data/generated/google/apis/androidpublisher_v3/service.rb +4 -3
  25. data/generated/google/apis/apigee_v1.rb +40 -0
  26. data/generated/google/apis/apigee_v1/classes.rb +5205 -0
  27. data/generated/google/apis/apigee_v1/representations.rb +1944 -0
  28. data/generated/google/apis/apigee_v1/service.rb +6068 -0
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +51 -19
  31. data/generated/google/apis/bigquery_v2/representations.rb +21 -4
  32. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  33. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +1 -2
  34. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +2 -2
  35. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  36. data/generated/google/apis/bigqueryreservation_v1/classes.rb +12 -12
  37. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +12 -12
  39. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  40. data/generated/google/apis/binaryauthorization_v1/classes.rb +23 -10
  41. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -4
  42. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  43. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +23 -10
  44. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -4
  45. data/generated/google/apis/calendar_v3.rb +1 -1
  46. data/generated/google/apis/calendar_v3/classes.rb +5 -5
  47. data/generated/google/apis/classroom_v1.rb +1 -1
  48. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  49. data/generated/google/apis/classroom_v1/service.rb +11 -11
  50. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  51. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +2 -0
  52. data/generated/google/apis/{osconfig_v1beta.rb → cloudasset_v1p4beta1.rb} +8 -9
  53. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  54. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  55. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  56. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  57. data/generated/google/apis/cloudbilling_v1/classes.rb +24 -12
  58. data/generated/google/apis/cloudbilling_v1/service.rb +3 -0
  59. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  60. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
  61. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +26 -0
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  64. data/generated/google/apis/clouddebugger_v2/service.rb +9 -2
  65. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +214 -66
  67. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +64 -10
  68. data/generated/google/apis/cloudiot_v1.rb +1 -1
  69. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  70. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -2
  71. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  72. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -2
  73. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  74. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -2
  75. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -2
  77. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  78. data/generated/google/apis/cloudscheduler_v1/classes.rb +1 -1
  79. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  80. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +1 -1
  81. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  82. data/generated/google/apis/cloudsearch_v1/classes.rb +6 -4
  83. data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
  84. data/generated/google/apis/cloudshell_v1.rb +1 -1
  85. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
  87. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
  88. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  89. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -9
  90. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  91. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -9
  92. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  93. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -9
  94. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  95. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -4
  96. data/generated/google/apis/composer_v1beta1.rb +1 -1
  97. data/generated/google/apis/composer_v1beta1/classes.rb +1 -2
  98. data/generated/google/apis/compute_alpha.rb +1 -1
  99. data/generated/google/apis/compute_alpha/classes.rb +414 -29
  100. data/generated/google/apis/compute_alpha/representations.rb +141 -0
  101. data/generated/google/apis/compute_alpha/service.rb +351 -1
  102. data/generated/google/apis/compute_beta.rb +1 -1
  103. data/generated/google/apis/compute_beta/classes.rb +34 -29
  104. data/generated/google/apis/compute_beta/service.rb +3 -1
  105. data/generated/google/apis/compute_v1.rb +1 -1
  106. data/generated/google/apis/compute_v1/classes.rb +129 -10
  107. data/generated/google/apis/compute_v1/representations.rb +38 -0
  108. data/generated/google/apis/compute_v1/service.rb +3 -1
  109. data/generated/google/apis/container_v1.rb +1 -1
  110. data/generated/google/apis/container_v1/classes.rb +145 -132
  111. data/generated/google/apis/container_v1/service.rb +168 -159
  112. data/generated/google/apis/container_v1beta1.rb +1 -1
  113. data/generated/google/apis/container_v1beta1/classes.rb +186 -134
  114. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  115. data/generated/google/apis/container_v1beta1/service.rb +169 -160
  116. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  117. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -10
  118. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  119. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +360 -10
  120. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  121. data/generated/google/apis/content_v2.rb +1 -1
  122. data/generated/google/apis/content_v2/classes.rb +1176 -1094
  123. data/generated/google/apis/content_v2/representations.rb +31 -0
  124. data/generated/google/apis/content_v2/service.rb +45 -45
  125. data/generated/google/apis/content_v2_1.rb +1 -1
  126. data/generated/google/apis/content_v2_1/classes.rb +1801 -931
  127. data/generated/google/apis/content_v2_1/representations.rb +351 -0
  128. data/generated/google/apis/content_v2_1/service.rb +299 -47
  129. data/generated/google/apis/customsearch_v1.rb +1 -1
  130. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  131. data/generated/google/apis/datacatalog_v1beta1/classes.rb +67 -7
  132. data/generated/google/apis/datacatalog_v1beta1/representations.rb +3 -0
  133. data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -33
  134. data/generated/google/apis/dataproc_v1.rb +1 -1
  135. data/generated/google/apis/dataproc_v1/classes.rb +69 -36
  136. data/generated/google/apis/dataproc_v1/service.rb +14 -14
  137. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  138. data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -26
  139. data/generated/google/apis/dialogflow_v2.rb +1 -1
  140. data/generated/google/apis/dialogflow_v2/classes.rb +203 -35
  141. data/generated/google/apis/dialogflow_v2/representations.rb +46 -0
  142. data/generated/google/apis/dialogflow_v2/service.rb +39 -0
  143. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  144. data/generated/google/apis/dialogflow_v2beta1/classes.rb +261 -36
  145. data/generated/google/apis/dialogflow_v2beta1/representations.rb +64 -0
  146. data/generated/google/apis/dialogflow_v2beta1/service.rb +88 -10
  147. data/generated/google/apis/displayvideo_v1.rb +1 -1
  148. data/generated/google/apis/displayvideo_v1/classes.rb +7216 -220
  149. data/generated/google/apis/displayvideo_v1/representations.rb +2846 -55
  150. data/generated/google/apis/displayvideo_v1/service.rb +2665 -0
  151. data/generated/google/apis/dlp_v2.rb +1 -1
  152. data/generated/google/apis/dlp_v2/classes.rb +6 -1
  153. data/generated/google/apis/drive_v2.rb +1 -1
  154. data/generated/google/apis/drive_v2/classes.rb +1 -0
  155. data/generated/google/apis/drive_v2/service.rb +51 -57
  156. data/generated/google/apis/drive_v3.rb +1 -1
  157. data/generated/google/apis/drive_v3/service.rb +28 -29
  158. data/generated/google/apis/driveactivity_v2.rb +1 -1
  159. data/generated/google/apis/driveactivity_v2/classes.rb +9 -5
  160. data/generated/google/apis/file_v1.rb +1 -1
  161. data/generated/google/apis/file_v1/classes.rb +1 -1
  162. data/generated/google/apis/file_v1/service.rb +5 -5
  163. data/generated/google/apis/file_v1beta1.rb +1 -1
  164. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  165. data/generated/google/apis/file_v1beta1/service.rb +10 -7
  166. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  167. data/generated/google/apis/firebase_v1beta1/service.rb +5 -2
  168. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  169. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +8 -58
  170. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +1 -31
  171. data/generated/google/apis/firebasehosting_v1beta1/service.rb +0 -70
  172. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  173. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  174. data/generated/google/apis/firebaseml_v1beta2/representations.rb +154 -0
  175. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  176. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  177. data/generated/google/apis/games_configuration_v1configuration/classes.rb +9 -10
  178. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_management_v1management/classes.rb +0 -6
  181. data/generated/google/apis/games_management_v1management/representations.rb +0 -1
  182. data/generated/google/apis/games_v1.rb +1 -1
  183. data/generated/google/apis/games_v1/classes.rb +1 -7
  184. data/generated/google/apis/games_v1/representations.rb +0 -1
  185. data/generated/google/apis/games_v1/service.rb +3 -12
  186. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  187. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  188. data/generated/google/apis/gameservices_v1beta/service.rb +2 -2
  189. data/generated/google/apis/healthcare_v1.rb +1 -1
  190. data/generated/google/apis/healthcare_v1/classes.rb +0 -1
  191. data/generated/google/apis/healthcare_v1/service.rb +9 -7
  192. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  193. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -1
  194. data/generated/google/apis/homegraph_v1.rb +1 -1
  195. data/generated/google/apis/homegraph_v1/classes.rb +8 -6
  196. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  197. data/generated/google/apis/iamcredentials_v1/classes.rb +9 -4
  198. data/generated/google/apis/managedidentities_v1.rb +1 -1
  199. data/generated/google/apis/managedidentities_v1/service.rb +2 -2
  200. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  201. data/generated/google/apis/managedidentities_v1alpha1/service.rb +2 -2
  202. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  203. data/generated/google/apis/managedidentities_v1beta1/service.rb +2 -2
  204. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  205. data/generated/google/apis/memcache_v1beta2/classes.rb +7 -7
  206. data/generated/google/apis/memcache_v1beta2/service.rb +1 -1
  207. data/generated/google/apis/ml_v1.rb +1 -1
  208. data/generated/google/apis/ml_v1/classes.rb +41 -38
  209. data/generated/google/apis/ml_v1/service.rb +17 -11
  210. data/generated/google/apis/monitoring_v3.rb +1 -1
  211. data/generated/google/apis/monitoring_v3/classes.rb +27 -38
  212. data/generated/google/apis/monitoring_v3/representations.rb +3 -16
  213. data/generated/google/apis/monitoring_v3/service.rb +6 -5
  214. data/generated/google/apis/people_v1.rb +7 -1
  215. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  216. data/generated/google/apis/policytroubleshooter_v1/classes.rb +23 -10
  217. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  218. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +23 -10
  219. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  220. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +13 -0
  221. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +2 -0
  222. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +6 -0
  223. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  224. data/generated/google/apis/remotebuildexecution_v1/classes.rb +57 -1
  225. data/generated/google/apis/remotebuildexecution_v1/representations.rb +19 -0
  226. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +57 -1
  228. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +19 -0
  229. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v2/classes.rb +57 -1
  231. data/generated/google/apis/remotebuildexecution_v2/representations.rb +19 -0
  232. data/generated/google/apis/run_v1.rb +1 -1
  233. data/generated/google/apis/run_v1/classes.rb +22 -46
  234. data/generated/google/apis/run_v1/representations.rb +5 -19
  235. data/generated/google/apis/run_v1alpha1.rb +1 -1
  236. data/generated/google/apis/run_v1alpha1/classes.rb +1 -2
  237. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  238. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +23 -10
  239. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  240. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  241. data/generated/google/apis/sasportal_v1alpha1/classes.rb +13 -0
  242. data/generated/google/apis/sasportal_v1alpha1/representations.rb +2 -0
  243. data/generated/google/apis/sasportal_v1alpha1/service.rb +6 -0
  244. data/generated/google/apis/script_v1.rb +1 -1
  245. data/generated/google/apis/script_v1/classes.rb +4 -22
  246. data/generated/google/apis/secretmanager_v1.rb +1 -1
  247. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  248. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  249. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  250. data/generated/google/apis/securitycenter_v1.rb +1 -1
  251. data/generated/google/apis/securitycenter_v1/classes.rb +0 -12
  252. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  253. data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -8
  254. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  255. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +0 -8
  256. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  257. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -8
  258. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  259. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +34 -14
  260. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  261. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +34 -14
  262. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  263. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  264. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  265. data/generated/google/apis/servicemanagement_v1/service.rb +6 -1
  266. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1/classes.rb +34 -14
  268. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  269. data/generated/google/apis/servicenetworking_v1beta/classes.rb +34 -14
  270. data/generated/google/apis/serviceusage_v1.rb +1 -1
  271. data/generated/google/apis/serviceusage_v1/classes.rb +34 -14
  272. data/generated/google/apis/serviceusage_v1/service.rb +1 -1
  273. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  274. data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -14
  275. data/generated/google/apis/sheets_v4.rb +1 -1
  276. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  277. data/generated/google/apis/slides_v1.rb +1 -1
  278. data/generated/google/apis/slides_v1/classes.rb +1 -1
  279. data/generated/google/apis/slides_v1/service.rb +1 -1
  280. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  281. data/generated/google/apis/sourcerepo_v1/classes.rb +1 -2
  282. data/generated/google/apis/speech_v1.rb +1 -1
  283. data/generated/google/apis/speech_v1/classes.rb +2 -1
  284. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  285. data/generated/google/apis/speech_v1p1beta1/classes.rb +182 -1
  286. data/generated/google/apis/speech_v1p1beta1/representations.rb +77 -0
  287. data/generated/google/apis/storage_v1.rb +1 -1
  288. data/generated/google/apis/storage_v1/classes.rb +21 -0
  289. data/generated/google/apis/storage_v1/representations.rb +5 -0
  290. data/generated/google/apis/tagmanager_v1.rb +1 -1
  291. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  292. data/generated/google/apis/tagmanager_v2.rb +1 -1
  293. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  294. data/generated/google/apis/testing_v1.rb +1 -1
  295. data/generated/google/apis/testing_v1/classes.rb +9 -0
  296. data/generated/google/apis/testing_v1/representations.rb +1 -0
  297. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  298. data/generated/google/apis/toolresults_v1beta3/classes.rb +1431 -1231
  299. data/generated/google/apis/toolresults_v1beta3/representations.rb +442 -2
  300. data/generated/google/apis/toolresults_v1beta3/service.rb +647 -720
  301. data/generated/google/apis/vault_v1.rb +1 -1
  302. data/generated/google/apis/vault_v1/classes.rb +6 -6
  303. data/generated/google/apis/vault_v1/service.rb +7 -7
  304. data/generated/google/apis/videointelligence_v1.rb +1 -1
  305. data/generated/google/apis/videointelligence_v1/classes.rb +215 -76
  306. data/generated/google/apis/videointelligence_v1/representations.rb +23 -0
  307. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  308. data/generated/google/apis/videointelligence_v1beta2/classes.rb +215 -76
  309. data/generated/google/apis/videointelligence_v1beta2/representations.rb +23 -0
  310. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  311. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +215 -76
  312. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +23 -0
  313. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  314. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +215 -76
  315. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +23 -0
  316. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  317. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +222 -83
  318. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +23 -0
  319. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  320. data/generated/google/apis/youtube_v3.rb +1 -1
  321. data/lib/google/apis/version.rb +1 -1
  322. metadata +15 -11
  323. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  324. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -480
  325. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  326. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  327. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -2365
  328. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -966
  329. data/generated/google/apis/osconfig_v1beta/service.rb +0 -605
@@ -737,8 +737,7 @@ module Google
737
737
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
738
738
  # the fields in the mask will be modified. If no mask is provided, the
739
739
  # following default mask is used:
740
- # paths: "bindings, etag"
741
- # This field is only used by Cloud IAM.
740
+ # `paths: "bindings, etag"`
742
741
  # Corresponds to the JSON property `updateMask`
743
742
  # @return [String]
744
743
  attr_accessor :update_mask
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
26
26
  module SpeechV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200406'
28
+ REVISION = '20200409'
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'
@@ -69,7 +69,8 @@ module Google
69
69
  # @return [String]
70
70
  attr_accessor :start_time
71
71
 
72
- # The URI of the audio file being transcribed. Empty if the audio was sent
72
+ # Output only. The URI of the audio file being transcribed. Empty if the audio
73
+ # was sent
73
74
  # as byte content.
74
75
  # Corresponds to the JSON property `uri`
75
76
  # @return [String]
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
26
26
  module SpeechV1p1beta1
27
27
  VERSION = 'V1p1beta1'
28
- REVISION = '20200406'
28
+ REVISION = '20200502'
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'
@@ -22,6 +22,59 @@ module Google
22
22
  module Apis
23
23
  module SpeechV1p1beta1
24
24
 
25
+ # An item of the class.
26
+ class ClassItem
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The class item's value.
30
+ # Corresponds to the JSON property `value`
31
+ # @return [String]
32
+ attr_accessor :value
33
+
34
+ def initialize(**args)
35
+ update!(**args)
36
+ end
37
+
38
+ # Update properties of this object
39
+ def update!(**args)
40
+ @value = args[:value] if args.key?(:value)
41
+ end
42
+ end
43
+
44
+ # A set of words or phrases that represents a common concept likely to appear
45
+ # in your audio, for example a list of passenger ship names. CustomClass items
46
+ # can be substituted into placeholders that you set in PhraseSet phrases.
47
+ class CustomClass
48
+ include Google::Apis::Core::Hashable
49
+
50
+ # If this custom class is a resource, the custom_class_id is the resource id
51
+ # of the CustomClass. Case sensitive.
52
+ # Corresponds to the JSON property `customClassId`
53
+ # @return [String]
54
+ attr_accessor :custom_class_id
55
+
56
+ # A collection of class items.
57
+ # Corresponds to the JSON property `items`
58
+ # @return [Array<Google::Apis::SpeechV1p1beta1::ClassItem>]
59
+ attr_accessor :items
60
+
61
+ # The resource name of the custom class.
62
+ # Corresponds to the JSON property `name`
63
+ # @return [String]
64
+ attr_accessor :name
65
+
66
+ def initialize(**args)
67
+ update!(**args)
68
+ end
69
+
70
+ # Update properties of this object
71
+ def update!(**args)
72
+ @custom_class_id = args[:custom_class_id] if args.key?(:custom_class_id)
73
+ @items = args[:items] if args.key?(:items)
74
+ @name = args[:name] if args.key?(:name)
75
+ end
76
+ end
77
+
25
78
  # The response message for Operations.ListOperations.
26
79
  class ListOperationsResponse
27
80
  include Google::Apis::Core::Hashable
@@ -69,7 +122,8 @@ module Google
69
122
  # @return [String]
70
123
  attr_accessor :start_time
71
124
 
72
- # The URI of the audio file being transcribed. Empty if the audio was sent
125
+ # Output only. The URI of the audio file being transcribed. Empty if the audio
126
+ # was sent
73
127
  # as byte content.
74
128
  # Corresponds to the JSON property `uri`
75
129
  # @return [String]
@@ -206,6 +260,97 @@ module Google
206
260
  end
207
261
  end
208
262
 
263
+ # A phrases containing words and phrase "hints" so that
264
+ # the speech recognition is more likely to recognize them. This can be used
265
+ # to improve the accuracy for specific words and phrases, for example, if
266
+ # specific commands are typically spoken by the user. This can also be used
267
+ # to add additional words to the vocabulary of the recognizer. See
268
+ # [usage limits](https://cloud.google.com/speech-to-text/quotas#content).
269
+ # List items can also include pre-built or custom classes containing groups
270
+ # of words that represent common concepts that occur in natural language. For
271
+ # example, rather than providing a phrase hint for every month of the
272
+ # year (e.g. "i was born in january", "i was born in febuary", ...), use the
273
+ # pre-built `$MONTH` class improves the likelihood of correctly transcribing
274
+ # audio that includes months (e.g. "i was born in $month").
275
+ # To refer to pre-built classes, use the class' symbol prepended with `$`
276
+ # e.g. `$MONTH`. To refer to custom classes that were defined inline in the
277
+ # request, set the class's `custom_class_id` to a string unique to all class
278
+ # resources and inline classes. Then use the class' id wrapped in $``...``
279
+ # e.g. "$`my-months`". To refer to custom classes resources, use the class'
280
+ # id wrapped in `$``` (e.g. `$`my-months``).
281
+ class Phrase
282
+ include Google::Apis::Core::Hashable
283
+
284
+ # Hint Boost. Overrides the boost set at the phrase set level.
285
+ # Positive value will increase the probability that a specific phrase will
286
+ # be recognized over other similar sounding phrases. The higher the boost,
287
+ # the higher the chance of false positive recognition as well. Negative
288
+ # boost values would correspond to anti-biasing. Anti-biasing is not
289
+ # enabled, so negative boost will simply be ignored. Though `boost` can
290
+ # accept a wide range of positive values, most use cases are best served
291
+ # with values between 0 and 20. We recommend using a binary search approach
292
+ # to finding the optimal value for your use case. Speech recognition
293
+ # will skip PhraseSets with a boost value of 0.
294
+ # Corresponds to the JSON property `boost`
295
+ # @return [Float]
296
+ attr_accessor :boost
297
+
298
+ # The phrase itself.
299
+ # Corresponds to the JSON property `value`
300
+ # @return [String]
301
+ attr_accessor :value
302
+
303
+ def initialize(**args)
304
+ update!(**args)
305
+ end
306
+
307
+ # Update properties of this object
308
+ def update!(**args)
309
+ @boost = args[:boost] if args.key?(:boost)
310
+ @value = args[:value] if args.key?(:value)
311
+ end
312
+ end
313
+
314
+ # Provides "hints" to the speech recognizer to favor specific words and phrases
315
+ # in the results.
316
+ class PhraseSet
317
+ include Google::Apis::Core::Hashable
318
+
319
+ # Hint Boost. Positive value will increase the probability that a specific
320
+ # phrase will be recognized over other similar sounding phrases. The higher
321
+ # the boost, the higher the chance of false positive recognition as well.
322
+ # Negative boost values would correspond to anti-biasing. Anti-biasing is not
323
+ # enabled, so negative boost will simply be ignored. Though `boost` can
324
+ # accept a wide range of positive values, most use cases are best served with
325
+ # values between 0 (exclusive) and 20. We recommend using a binary search
326
+ # approach to finding the optimal value for your use case. Speech recognition
327
+ # will skip PhraseSets with a boost value of 0.
328
+ # Corresponds to the JSON property `boost`
329
+ # @return [Float]
330
+ attr_accessor :boost
331
+
332
+ # The resource name of the phrase set.
333
+ # Corresponds to the JSON property `name`
334
+ # @return [String]
335
+ attr_accessor :name
336
+
337
+ # A list of word and phrases.
338
+ # Corresponds to the JSON property `phrases`
339
+ # @return [Array<Google::Apis::SpeechV1p1beta1::Phrase>]
340
+ attr_accessor :phrases
341
+
342
+ def initialize(**args)
343
+ update!(**args)
344
+ end
345
+
346
+ # Update properties of this object
347
+ def update!(**args)
348
+ @boost = args[:boost] if args.key?(:boost)
349
+ @name = args[:name] if args.key?(:name)
350
+ @phrases = args[:phrases] if args.key?(:phrases)
351
+ end
352
+ end
353
+
209
354
  # Contains audio data in the encoding specified in the `RecognitionConfig`.
210
355
  # Either `content` or `uri` must be supplied. Supplying both or neither
211
356
  # returns google.rpc.Code.INVALID_ARGUMENT. See
@@ -248,6 +393,11 @@ module Google
248
393
  class RecognitionConfig
249
394
  include Google::Apis::Core::Hashable
250
395
 
396
+ # Speech adaptation configuration.
397
+ # Corresponds to the JSON property `adaptation`
398
+ # @return [Google::Apis::SpeechV1p1beta1::SpeechAdaptation]
399
+ attr_accessor :adaptation
400
+
251
401
  # A list of up to 3 additional
252
402
  # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
253
403
  # listing possible alternative languages of the supplied audio.
@@ -450,6 +600,7 @@ module Google
450
600
 
451
601
  # Update properties of this object
452
602
  def update!(**args)
603
+ @adaptation = args[:adaptation] if args.key?(:adaptation)
453
604
  @alternative_language_codes = args[:alternative_language_codes] if args.key?(:alternative_language_codes)
454
605
  @audio_channel_count = args[:audio_channel_count] if args.key?(:audio_channel_count)
455
606
  @diarization_config = args[:diarization_config] if args.key?(:diarization_config)
@@ -643,6 +794,36 @@ module Google
643
794
  end
644
795
  end
645
796
 
797
+ # Speech adaptation configuration.
798
+ class SpeechAdaptation
799
+ include Google::Apis::Core::Hashable
800
+
801
+ # A collection of custom classes. To specify the classes inline, leave the
802
+ # class' `name` blank and fill in the rest of its fields, giving it a unique
803
+ # `custom_class_id`. Refer to the inline defined class in phrase hints by its
804
+ # `custom_class_id`.
805
+ # Corresponds to the JSON property `customClasses`
806
+ # @return [Array<Google::Apis::SpeechV1p1beta1::CustomClass>]
807
+ attr_accessor :custom_classes
808
+
809
+ # A collection of phrase sets. To specify the hints inline, leave the
810
+ # phrase set's `name` blank and fill in the rest of its fields. Any
811
+ # phrase set can use any custom class.
812
+ # Corresponds to the JSON property `phraseSets`
813
+ # @return [Array<Google::Apis::SpeechV1p1beta1::PhraseSet>]
814
+ attr_accessor :phrase_sets
815
+
816
+ def initialize(**args)
817
+ update!(**args)
818
+ end
819
+
820
+ # Update properties of this object
821
+ def update!(**args)
822
+ @custom_classes = args[:custom_classes] if args.key?(:custom_classes)
823
+ @phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets)
824
+ end
825
+ end
826
+
646
827
  # Provides "hints" to the speech recognizer to favor specific words and phrases
647
828
  # in the results.
648
829
  class SpeechContext
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module SpeechV1p1beta1
24
24
 
25
+ class ClassItem
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class CustomClass
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class ListOperationsResponse
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -52,6 +64,18 @@ module Google
52
64
  include Google::Apis::Core::JsonObjectSupport
53
65
  end
54
66
 
67
+ class Phrase
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class PhraseSet
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
55
79
  class RecognitionAudio
56
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
81
 
@@ -88,6 +112,12 @@ module Google
88
112
  include Google::Apis::Core::JsonObjectSupport
89
113
  end
90
114
 
115
+ class SpeechAdaptation
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
91
121
  class SpeechContext
92
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
123
 
@@ -118,6 +148,23 @@ module Google
118
148
  include Google::Apis::Core::JsonObjectSupport
119
149
  end
120
150
 
151
+ class ClassItem
152
+ # @private
153
+ class Representation < Google::Apis::Core::JsonRepresentation
154
+ property :value, as: 'value'
155
+ end
156
+ end
157
+
158
+ class CustomClass
159
+ # @private
160
+ class Representation < Google::Apis::Core::JsonRepresentation
161
+ property :custom_class_id, as: 'customClassId'
162
+ collection :items, as: 'items', class: Google::Apis::SpeechV1p1beta1::ClassItem, decorator: Google::Apis::SpeechV1p1beta1::ClassItem::Representation
163
+
164
+ property :name, as: 'name'
165
+ end
166
+ end
167
+
121
168
  class ListOperationsResponse
122
169
  # @private
123
170
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -167,6 +214,24 @@ module Google
167
214
  end
168
215
  end
169
216
 
217
+ class Phrase
218
+ # @private
219
+ class Representation < Google::Apis::Core::JsonRepresentation
220
+ property :boost, as: 'boost'
221
+ property :value, as: 'value'
222
+ end
223
+ end
224
+
225
+ class PhraseSet
226
+ # @private
227
+ class Representation < Google::Apis::Core::JsonRepresentation
228
+ property :boost, as: 'boost'
229
+ property :name, as: 'name'
230
+ collection :phrases, as: 'phrases', class: Google::Apis::SpeechV1p1beta1::Phrase, decorator: Google::Apis::SpeechV1p1beta1::Phrase::Representation
231
+
232
+ end
233
+ end
234
+
170
235
  class RecognitionAudio
171
236
  # @private
172
237
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -178,6 +243,8 @@ module Google
178
243
  class RecognitionConfig
179
244
  # @private
180
245
  class Representation < Google::Apis::Core::JsonRepresentation
246
+ property :adaptation, as: 'adaptation', class: Google::Apis::SpeechV1p1beta1::SpeechAdaptation, decorator: Google::Apis::SpeechV1p1beta1::SpeechAdaptation::Representation
247
+
181
248
  collection :alternative_language_codes, as: 'alternativeLanguageCodes'
182
249
  property :audio_channel_count, as: 'audioChannelCount'
183
250
  property :diarization_config, as: 'diarizationConfig', class: Google::Apis::SpeechV1p1beta1::SpeakerDiarizationConfig, decorator: Google::Apis::SpeechV1p1beta1::SpeakerDiarizationConfig::Representation
@@ -245,6 +312,16 @@ module Google
245
312
  end
246
313
  end
247
314
 
315
+ class SpeechAdaptation
316
+ # @private
317
+ class Representation < Google::Apis::Core::JsonRepresentation
318
+ collection :custom_classes, as: 'customClasses', class: Google::Apis::SpeechV1p1beta1::CustomClass, decorator: Google::Apis::SpeechV1p1beta1::CustomClass::Representation
319
+
320
+ collection :phrase_sets, as: 'phraseSets', class: Google::Apis::SpeechV1p1beta1::PhraseSet, decorator: Google::Apis::SpeechV1p1beta1::PhraseSet::Representation
321
+
322
+ end
323
+ end
324
+
248
325
  class SpeechContext
249
326
  # @private
250
327
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/storage/docs/json_api/
26
26
  module StorageV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200326'
28
+ REVISION = '20200410'
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'
@@ -499,6 +499,19 @@ module Google
499
499
  # @return [Date]
500
500
  attr_accessor :created_before
501
501
 
502
+ # A timestamp in RFC 3339 format. This condition is satisfied when the custom
503
+ # time on an object is before this timestamp.
504
+ # Corresponds to the JSON property `customTimeBefore`
505
+ # @return [DateTime]
506
+ attr_accessor :custom_time_before
507
+
508
+ # Number of days elapsed since the user-specified timestamp set on an object.
509
+ # The condition is satisfied if the days elapsed is at least this number. If no
510
+ # custom timestamp is specified on an object, the condition does not apply.
511
+ # Corresponds to the JSON property `daysSinceCustomTime`
512
+ # @return [Fixnum]
513
+ attr_accessor :days_since_custom_time
514
+
502
515
  # Relevant only for versioned objects. If the value is true, this condition
503
516
  # matches live objects; if the value is false, it matches archived objects.
504
517
  # Corresponds to the JSON property `isLive`
@@ -537,6 +550,8 @@ module Google
537
550
  def update!(**args)
538
551
  @age = args[:age] if args.key?(:age)
539
552
  @created_before = args[:created_before] if args.key?(:created_before)
553
+ @custom_time_before = args[:custom_time_before] if args.key?(:custom_time_before)
554
+ @days_since_custom_time = args[:days_since_custom_time] if args.key?(:days_since_custom_time)
540
555
  @is_live = args[:is_live] if args.key?(:is_live)
541
556
  @matches_pattern = args[:matches_pattern] if args.key?(:matches_pattern)
542
557
  @matches_storage_class = args[:matches_storage_class] if args.key?(:matches_storage_class)
@@ -1364,6 +1379,11 @@ module Google
1364
1379
  # @return [String]
1365
1380
  attr_accessor :crc32c
1366
1381
 
1382
+ # A timestamp in RFC 3339 format specified by the user for an object.
1383
+ # Corresponds to the JSON property `customTime`
1384
+ # @return [DateTime]
1385
+ attr_accessor :custom_time
1386
+
1367
1387
  # Metadata of customer-supplied encryption key, if the object is encrypted by
1368
1388
  # such a key.
1369
1389
  # Corresponds to the JSON property `customerEncryption`
@@ -1519,6 +1539,7 @@ module Google
1519
1539
  @content_language = args[:content_language] if args.key?(:content_language)
1520
1540
  @content_type = args[:content_type] if args.key?(:content_type)
1521
1541
  @crc32c = args[:crc32c] if args.key?(:crc32c)
1542
+ @custom_time = args[:custom_time] if args.key?(:custom_time)
1522
1543
  @customer_encryption = args[:customer_encryption] if args.key?(:customer_encryption)
1523
1544
  @etag = args[:etag] if args.key?(:etag)
1524
1545
  @event_based_hold = args[:event_based_hold] if args.key?(:event_based_hold)
@@ -403,6 +403,9 @@ module Google
403
403
  property :age, as: 'age'
404
404
  property :created_before, as: 'createdBefore', type: Date
405
405
 
406
+ property :custom_time_before, as: 'customTimeBefore', type: DateTime
407
+
408
+ property :days_since_custom_time, as: 'daysSinceCustomTime'
406
409
  property :is_live, as: 'isLive'
407
410
  property :matches_pattern, as: 'matchesPattern'
408
411
  collection :matches_storage_class, as: 'matchesStorageClass'
@@ -628,6 +631,8 @@ module Google
628
631
  property :content_language, as: 'contentLanguage'
629
632
  property :content_type, as: 'contentType'
630
633
  property :crc32c, as: 'crc32c'
634
+ property :custom_time, as: 'customTime', type: DateTime
635
+
631
636
  property :customer_encryption, as: 'customerEncryption', class: Google::Apis::StorageV1::Object::CustomerEncryption, decorator: Google::Apis::StorageV1::Object::CustomerEncryption::Representation
632
637
 
633
638
  property :etag, as: 'etag'