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
@@ -575,7 +575,6 @@ module Google
575
575
  # @private
576
576
  class Representation < Google::Apis::Core::JsonRepresentation
577
577
  collection :exempted_members, as: 'exemptedMembers'
578
- property :ignore_child_exemptions, as: 'ignoreChildExemptions'
579
578
  property :log_type, as: 'logType'
580
579
  end
581
580
  end
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190708'
30
+ REVISION = '20190806'
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'
@@ -441,8 +441,6 @@ module Google
441
441
  # serviceusage.googleapis.com
442
442
  # Enabling services requires that each service is public or is shared with
443
443
  # the user enabling the service.
444
- # Two or more services must be specified. To enable a single service,
445
- # use the `EnableService` method instead.
446
444
  # A single request can enable a maximum of 20 services at a time. If more
447
445
  # than 20 services are specified, the request will fail, and no state changes
448
446
  # will occur.
@@ -205,6 +205,7 @@ module Google
205
205
 
206
206
  # Enable multiple services on a project. The operation is atomic: if enabling
207
207
  # any service fails, then the entire batch fails, and no state changes occur.
208
+ # To enable a single service, use the `EnableService` method instead.
208
209
  # @param [String] parent
209
210
  # Parent to enable services on.
210
211
  # An example name would be:
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/sheets/
26
26
  module SheetsV4
27
27
  VERSION = 'V4'
28
- REVISION = '20190715'
28
+ REVISION = '20190813'
29
29
 
30
30
  # See, edit, create, and delete all of your Google Drive files
31
31
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -1075,6 +1075,12 @@ module Google
1075
1075
  # @return [Google::Apis::SheetsV4::TextPosition]
1076
1076
  attr_accessor :title_text_position
1077
1077
 
1078
+ # The options that define a "view window" for a chart (such as the visible
1079
+ # values in an axis).
1080
+ # Corresponds to the JSON property `viewWindowOptions`
1081
+ # @return [Google::Apis::SheetsV4::ChartAxisViewWindowOptions]
1082
+ attr_accessor :view_window_options
1083
+
1078
1084
  def initialize(**args)
1079
1085
  update!(**args)
1080
1086
  end
@@ -1085,6 +1091,7 @@ module Google
1085
1091
  @position = args[:position] if args.key?(:position)
1086
1092
  @title = args[:title] if args.key?(:title)
1087
1093
  @title_text_position = args[:title_text_position] if args.key?(:title_text_position)
1094
+ @view_window_options = args[:view_window_options] if args.key?(:view_window_options)
1088
1095
  end
1089
1096
  end
1090
1097
 
@@ -2703,6 +2710,40 @@ module Google
2703
2710
  end
2704
2711
  end
2705
2712
 
2713
+ # The options that define a "view window" for a chart (such as the visible
2714
+ # values in an axis).
2715
+ class ChartAxisViewWindowOptions
2716
+ include Google::Apis::Core::Hashable
2717
+
2718
+ # The maximum numeric value to be shown in this view window. If unset, will
2719
+ # automatically determine a maximum value that looks good for the data.
2720
+ # Corresponds to the JSON property `viewWindowMax`
2721
+ # @return [Float]
2722
+ attr_accessor :view_window_max
2723
+
2724
+ # The minimum numeric value to be shown in this view window. If unset, will
2725
+ # automatically determine a minimum value that looks good for the data.
2726
+ # Corresponds to the JSON property `viewWindowMin`
2727
+ # @return [Float]
2728
+ attr_accessor :view_window_min
2729
+
2730
+ # The view window's mode.
2731
+ # Corresponds to the JSON property `viewWindowMode`
2732
+ # @return [String]
2733
+ attr_accessor :view_window_mode
2734
+
2735
+ def initialize(**args)
2736
+ update!(**args)
2737
+ end
2738
+
2739
+ # Update properties of this object
2740
+ def update!(**args)
2741
+ @view_window_max = args[:view_window_max] if args.key?(:view_window_max)
2742
+ @view_window_min = args[:view_window_min] if args.key?(:view_window_min)
2743
+ @view_window_mode = args[:view_window_mode] if args.key?(:view_window_mode)
2744
+ end
2745
+ end
2746
+
2706
2747
  # The data included in a domain or series.
2707
2748
  class ChartData
2708
2749
  include Google::Apis::Core::Hashable
@@ -3838,9 +3879,10 @@ module Google
3838
3879
  end
3839
3880
  end
3840
3881
 
3841
- # Removes rows within this range containing duplicate values in the specified
3842
- # columns. Rows with identical values but different letter cases, formatting,
3843
- # or formulas are considered to be duplicates.
3882
+ # Removes rows within this range that contain values in the specified columns
3883
+ # that are duplicates of values in any previous row. Rows with identical values
3884
+ # but different letter cases, formatting, or formulas are considered to be
3885
+ # duplicates.
3844
3886
  # This request also removes duplicate rows hidden from view (for example, due
3845
3887
  # to a filter). When removing duplicates, the first instance of each duplicate
3846
3888
  # row scanning from the top downwards is kept in the resulting range. Content
@@ -7172,9 +7214,10 @@ module Google
7172
7214
  # @return [Google::Apis::SheetsV4::DeleteDimensionGroupRequest]
7173
7215
  attr_accessor :delete_dimension_group
7174
7216
 
7175
- # Removes rows within this range containing duplicate values in the specified
7176
- # columns. Rows with identical values but different letter cases, formatting,
7177
- # or formulas are considered to be duplicates.
7217
+ # Removes rows within this range that contain values in the specified columns
7218
+ # that are duplicates of values in any previous row. Rows with identical values
7219
+ # but different letter cases, formatting, or formulas are considered to be
7220
+ # duplicates.
7178
7221
  # This request also removes duplicate rows hidden from view (for example, due
7179
7222
  # to a filter). When removing duplicates, the first instance of each duplicate
7180
7223
  # row scanning from the top downwards is kept in the resulting range. Content
@@ -7298,9 +7341,9 @@ module Google
7298
7341
 
7299
7342
  # Trims the whitespace (such as spaces, tabs, or new lines) in every cell in
7300
7343
  # the specified range. This request removes all whitespace from the start and
7301
- # end of each cell's text, and reduces any sub-sequence of remaining whitespace
7344
+ # end of each cell's text, and reduces any subsequence of remaining whitespace
7302
7345
  # characters to a single space. If the resulting trimmed text starts with a '+'
7303
- # or '=' character, the text remains as a string value and is not interpreted
7346
+ # or '=' character, the text remains as a string value and isn't interpreted
7304
7347
  # as a formula.
7305
7348
  # Corresponds to the JSON property `trimWhitespace`
7306
7349
  # @return [Google::Apis::SheetsV4::TrimWhitespaceRequest]
@@ -9175,9 +9218,9 @@ module Google
9175
9218
 
9176
9219
  # Trims the whitespace (such as spaces, tabs, or new lines) in every cell in
9177
9220
  # the specified range. This request removes all whitespace from the start and
9178
- # end of each cell's text, and reduces any sub-sequence of remaining whitespace
9221
+ # end of each cell's text, and reduces any subsequence of remaining whitespace
9179
9222
  # characters to a single space. If the resulting trimmed text starts with a '+'
9180
- # or '=' character, the text remains as a string value and is not interpreted
9223
+ # or '=' character, the text remains as a string value and isn't interpreted
9181
9224
  # as a formula.
9182
9225
  class TrimWhitespaceRequest
9183
9226
  include Google::Apis::Core::Hashable
@@ -328,6 +328,12 @@ module Google
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
+ class ChartAxisViewWindowOptions
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
331
337
  class ChartData
332
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
339
 
@@ -1367,6 +1373,8 @@ module Google
1367
1373
  property :title, as: 'title'
1368
1374
  property :title_text_position, as: 'titleTextPosition', class: Google::Apis::SheetsV4::TextPosition, decorator: Google::Apis::SheetsV4::TextPosition::Representation
1369
1375
 
1376
+ property :view_window_options, as: 'viewWindowOptions', class: Google::Apis::SheetsV4::ChartAxisViewWindowOptions, decorator: Google::Apis::SheetsV4::ChartAxisViewWindowOptions::Representation
1377
+
1370
1378
  end
1371
1379
  end
1372
1380
 
@@ -1711,6 +1719,15 @@ module Google
1711
1719
  end
1712
1720
  end
1713
1721
 
1722
+ class ChartAxisViewWindowOptions
1723
+ # @private
1724
+ class Representation < Google::Apis::Core::JsonRepresentation
1725
+ property :view_window_max, as: 'viewWindowMax'
1726
+ property :view_window_min, as: 'viewWindowMin'
1727
+ property :view_window_mode, as: 'viewWindowMode'
1728
+ end
1729
+ end
1730
+
1714
1731
  class ChartData
1715
1732
  # @private
1716
1733
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/spanner/
27
27
  module SpannerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190613'
29
+ REVISION = '20190723'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -830,23 +830,26 @@ module Google
830
830
  end
831
831
  end
832
832
 
833
- # The request for ExecuteBatchDml
833
+ # The request for ExecuteBatchDml.
834
834
  class ExecuteBatchDmlRequest
835
835
  include Google::Apis::Core::Hashable
836
836
 
837
- # A per-transaction sequence number used to identify this request. This is
838
- # used in the same space as the seqno in
839
- # ExecuteSqlRequest. See more details
840
- # in ExecuteSqlRequest.
837
+ # A per-transaction sequence number used to identify this request. This field
838
+ # makes each request idempotent such that if the request is received multiple
839
+ # times, at most one will succeed.
840
+ # The sequence number must be monotonically increasing within the
841
+ # transaction. If a request arrives for the first time with an out-of-order
842
+ # sequence number, the transaction may be aborted. Replays of previously
843
+ # handled requests will yield the same response as the first execution.
841
844
  # Corresponds to the JSON property `seqno`
842
845
  # @return [Fixnum]
843
846
  attr_accessor :seqno
844
847
 
845
848
  # The list of statements to execute in this batch. Statements are executed
846
- # serially, such that the effects of statement i are visible to statement
847
- # i+1. Each statement must be a DML statement. Execution will stop at the
848
- # first failed statement; the remaining statements will not run.
849
- # REQUIRES: `statements_size()` > 0.
849
+ # serially, such that the effects of statement `i` are visible to statement
850
+ # `i+1`. Each statement must be a DML statement. Execution stops at the
851
+ # first failed statement; the remaining statements are not executed.
852
+ # Callers must provide at least one statement.
850
853
  # Corresponds to the JSON property `statements`
851
854
  # @return [Array<Google::Apis::SpannerV1::Statement>]
852
855
  attr_accessor :statements
@@ -872,29 +875,31 @@ module Google
872
875
  end
873
876
 
874
877
  # The response for ExecuteBatchDml. Contains a list
875
- # of ResultSet, one for each DML statement that has successfully executed.
876
- # If a statement fails, the error is returned as part of the response payload.
877
- # Clients can determine whether all DML statements have run successfully, or if
878
- # a statement failed, using one of the following approaches:
879
- # 1. Check if `'status'` field is `OkStatus`.
880
- # 2. Check if `result_sets_size()` equals the number of statements in
881
- # ExecuteBatchDmlRequest.
882
- # Example 1: A request with 5 DML statements, all executed successfully.
883
- # Result: A response with 5 ResultSets, one for each statement in the same
884
- # order, and an `OkStatus`.
885
- # Example 2: A request with 5 DML statements. The 3rd statement has a syntax
886
- # error.
887
- # Result: A response with 2 ResultSets, for the first 2 statements that
888
- # run successfully, and a syntax error (`INVALID_ARGUMENT`) status. From
889
- # `result_set_size()` client can determine that the 3rd statement has failed.
878
+ # of ResultSet messages, one for each DML statement that has successfully
879
+ # executed, in the same order as the statements in the request. If a statement
880
+ # fails, the status in the response body identifies the cause of the failure.
881
+ # To check for DML statements that failed, use the following approach:
882
+ # 1. Check the status in the response message. The google.rpc.Code enum
883
+ # value `OK` indicates that all statements were executed successfully.
884
+ # 2. If the status was not `OK`, check the number of result sets in the
885
+ # response. If the response contains `N` ResultSet messages, then
886
+ # statement `N+1` in the request failed.
887
+ # Example 1:
888
+ # * Request: 5 DML statements, all executed successfully.
889
+ # * Response: 5 ResultSet messages, with the status `OK`.
890
+ # Example 2:
891
+ # * Request: 5 DML statements. The third statement has a syntax error.
892
+ # * Response: 2 ResultSet messages, and a syntax error (`INVALID_ARGUMENT`)
893
+ # status. The number of ResultSet messages indicates that the third
894
+ # statement failed, and the fourth and fifth statements were not executed.
890
895
  class ExecuteBatchDmlResponse
891
896
  include Google::Apis::Core::Hashable
892
897
 
893
- # ResultSets, one for each statement in the request that ran successfully, in
894
- # the same order as the statements in the request. Each ResultSet will
895
- # not contain any rows. The ResultSetStats in each ResultSet will
896
- # contain the number of rows modified by the statement.
897
- # Only the first ResultSet in the response contains a valid
898
+ # One ResultSet for each statement in the request that ran successfully,
899
+ # in the same order as the statements in the request. Each ResultSet does
900
+ # not contain any rows. The ResultSetStats in each ResultSet contain
901
+ # the number of rows modified by the statement.
902
+ # Only the first ResultSet in the response contains valid
898
903
  # ResultSetMetadata.
899
904
  # Corresponds to the JSON property `resultSets`
900
905
  # @return [Array<Google::Apis::SpannerV1::ResultSet>]
@@ -937,17 +942,14 @@ module Google
937
942
  # @return [Hash<String,Google::Apis::SpannerV1::Type>]
938
943
  attr_accessor :param_types
939
944
 
940
- # The SQL string can contain parameter placeholders. A parameter
941
- # placeholder consists of `'@'` followed by the parameter
942
- # name. Parameter names consist of any combination of letters,
943
- # numbers, and underscores.
945
+ # Parameter names and values that bind to placeholders in the SQL string.
946
+ # A parameter placeholder consists of the `@` character followed by the
947
+ # parameter name (for example, `@firstName`). Parameter names can contain
948
+ # letters, numbers, and underscores.
944
949
  # Parameters can appear anywhere that a literal value is expected. The same
945
950
  # parameter name can be used more than once, for example:
946
951
  # `"WHERE id > @msg_id AND id < @msg_id + 100"`
947
- # It is an error to execute an SQL statement with unbound parameters.
948
- # Parameter values are specified using `params`, which is a JSON
949
- # object whose keys are parameter names, and whose values are the
950
- # corresponding parameter values.
952
+ # It is an error to execute a SQL statement with unbound parameters.
951
953
  # Corresponds to the JSON property `params`
952
954
  # @return [Hash<String,Object>]
953
955
  attr_accessor :params
@@ -979,7 +981,7 @@ module Google
979
981
  # @return [String]
980
982
  attr_accessor :resume_token
981
983
 
982
- # A per-transaction sequence number used to identify this request. This
984
+ # A per-transaction sequence number used to identify this request. This field
983
985
  # makes each request idempotent such that if the request is received multiple
984
986
  # times, at most one will succeed.
985
987
  # The sequence number must be monotonically increasing within the
@@ -1823,17 +1825,14 @@ module Google
1823
1825
  # @return [Hash<String,Google::Apis::SpannerV1::Type>]
1824
1826
  attr_accessor :param_types
1825
1827
 
1826
- # The SQL query string can contain parameter placeholders. A parameter
1827
- # placeholder consists of `'@'` followed by the parameter
1828
- # name. Parameter names consist of any combination of letters,
1829
- # numbers, and underscores.
1828
+ # Parameter names and values that bind to placeholders in the SQL string.
1829
+ # A parameter placeholder consists of the `@` character followed by the
1830
+ # parameter name (for example, `@firstName`). Parameter names can contain
1831
+ # letters, numbers, and underscores.
1830
1832
  # Parameters can appear anywhere that a literal value is expected. The same
1831
1833
  # parameter name can be used more than once, for example:
1832
1834
  # `"WHERE id > @msg_id AND id < @msg_id + 100"`
1833
- # It is an error to execute an SQL query with unbound parameters.
1834
- # Parameter values are specified using `params`, which is a JSON
1835
- # object whose keys are parameter names, and whose values are the
1836
- # corresponding parameter values.
1835
+ # It is an error to execute a SQL statement with unbound parameters.
1837
1836
  # Corresponds to the JSON property `params`
1838
1837
  # @return [Hash<String,Object>]
1839
1838
  attr_accessor :params
@@ -2638,17 +2637,14 @@ module Google
2638
2637
  # @return [Hash<String,Google::Apis::SpannerV1::Type>]
2639
2638
  attr_accessor :param_types
2640
2639
 
2641
- # The DML string can contain parameter placeholders. A parameter
2642
- # placeholder consists of `'@'` followed by the parameter
2643
- # name. Parameter names consist of any combination of letters,
2644
- # numbers, and underscores.
2640
+ # Parameter names and values that bind to placeholders in the DML string.
2641
+ # A parameter placeholder consists of the `@` character followed by the
2642
+ # parameter name (for example, `@firstName`). Parameter names can contain
2643
+ # letters, numbers, and underscores.
2645
2644
  # Parameters can appear anywhere that a literal value is expected. The
2646
2645
  # same parameter name can be used more than once, for example:
2647
2646
  # `"WHERE id > @msg_id AND id < @msg_id + 100"`
2648
- # It is an error to execute an SQL statement with unbound parameters.
2649
- # Parameter values are specified using `params`, which is a JSON
2650
- # object whose keys are parameter names, and whose values are the
2651
- # corresponding parameter values.
2647
+ # It is an error to execute a SQL statement with unbound parameters.
2652
2648
  # Corresponds to the JSON property `params`
2653
2649
  # @return [Hash<String,Object>]
2654
2650
  attr_accessor :params
@@ -1058,8 +1058,8 @@ module Google
1058
1058
  # multiple sessions. Note that standalone reads and queries use a
1059
1059
  # transaction internally, and count toward the one transaction
1060
1060
  # limit.
1061
- # Cloud Spanner limits the number of sessions that can exist at any given
1062
- # time; thus, it is a good idea to delete idle and/or unneeded sessions.
1061
+ # Active sessions use additional server resources, so it is a good idea to
1062
+ # delete idle and unneeded sessions.
1063
1063
  # Aside from explicit deletes, Cloud Spanner can delete sessions for which no
1064
1064
  # operations are sent for more than an hour. If a session is deleted,
1065
1065
  # requests to it return `NOT_FOUND`.
@@ -1132,19 +1132,12 @@ module Google
1132
1132
  # Executes a batch of SQL DML statements. This method allows many statements
1133
1133
  # to be run with lower latency than submitting them sequentially with
1134
1134
  # ExecuteSql.
1135
- # Statements are executed in order, sequentially.
1136
- # ExecuteBatchDmlResponse will contain a
1137
- # ResultSet for each DML statement that has successfully executed. If a
1138
- # statement fails, its error status will be returned as part of the
1139
- # ExecuteBatchDmlResponse. Execution will
1140
- # stop at the first failed statement; the remaining statements will not run.
1141
- # ExecuteBatchDml is expected to return an OK status with a response even if
1142
- # there was an error while processing one of the DML statements. Clients must
1143
- # inspect response.status to determine if there were any errors while
1144
- # processing the request.
1145
- # See more details in
1146
- # ExecuteBatchDmlRequest and
1147
- # ExecuteBatchDmlResponse.
1135
+ # Statements are executed in sequential order. A request can succeed even if
1136
+ # a statement fails. The ExecuteBatchDmlResponse.status field in the
1137
+ # response provides information about the statement that failed. Clients must
1138
+ # inspect this field to determine whether an error occurred.
1139
+ # Execution stops after the first failed statement; the remaining statements
1140
+ # are not executed.
1148
1141
  # @param [String] session
1149
1142
  # Required. The session in which the DML statements should be performed.
1150
1143
  # @param [Google::Apis::SpannerV1::ExecuteBatchDmlRequest] execute_batch_dml_request_object
@@ -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 = '20190627'
28
+ REVISION = '20190804'
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'
@@ -375,7 +375,8 @@ module Google
375
375
 
376
376
  # *Optional* array of SpeechContext.
377
377
  # A means to provide context to assist the speech recognition. For more
378
- # information, see [Phrase Hints](/speech-to-text/docs/basics#phrase-hints).
378
+ # information, see
379
+ # [speech adaptation](/speech-to-text/docs/context-strength).
379
380
  # Corresponds to the JSON property `speechContexts`
380
381
  # @return [Array<Google::Apis::SpeechV1::SpeechContext>]
381
382
  attr_accessor :speech_contexts
@@ -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 = '20190627'
28
+ REVISION = '20190804'
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'
@@ -270,23 +270,15 @@ module Google
270
270
  # @return [Fixnum]
271
271
  attr_accessor :audio_channel_count
272
272
 
273
- # *Optional* Config to enable speaker diarization and set additional
274
- # parameters to make diarization better suited for your application.
275
- # Note: When this is enabled, we send all the words from the beginning of the
276
- # audio for the top alternative in every consecutive STREAMING responses.
277
- # This is done in order to improve our speaker tags as our models learn to
278
- # identify the speakers in the conversation over time.
279
- # For non-streaming requests, the diarization results will be provided only
280
- # in the top alternative of the FINAL SpeechRecognitionResult.
273
+ # *Optional* Config to enable speaker diarization.
281
274
  # Corresponds to the JSON property `diarizationConfig`
282
275
  # @return [Google::Apis::SpeechV1p1beta1::SpeakerDiarizationConfig]
283
276
  attr_accessor :diarization_config
284
277
 
285
278
  # *Optional*
286
279
  # If set, specifies the estimated number of speakers in the conversation.
287
- # If not set, defaults to '2'.
288
- # Ignored unless enable_speaker_diarization is set to true."
289
- # Note: Use diarization_config instead. This field will be DEPRECATED soon.
280
+ # Defaults to '2'. Ignored unless enable_speaker_diarization is set to true.
281
+ # Note: Use diarization_config instead.
290
282
  # Corresponds to the JSON property `diarizationSpeakerCount`
291
283
  # @return [Fixnum]
292
284
  attr_accessor :diarization_speaker_count
@@ -317,7 +309,7 @@ module Google
317
309
  # *Optional* If 'true', enables speaker detection for each recognized word in
318
310
  # the top alternative of the recognition result using a speaker_tag provided
319
311
  # in the WordInfo.
320
- # Note: Use diarization_config instead. This field will be DEPRECATED soon.
312
+ # Note: Use diarization_config instead.
321
313
  # Corresponds to the JSON property `enableSpeakerDiarization`
322
314
  # @return [Boolean]
323
315
  attr_accessor :enable_speaker_diarization
@@ -429,7 +421,8 @@ module Google
429
421
 
430
422
  # *Optional* array of SpeechContext.
431
423
  # A means to provide context to assist the speech recognition. For more
432
- # information, see [Phrase Hints](/speech-to-text/docs/basics#phrase-hints).
424
+ # information, see
425
+ # [speech adaptation](/speech-to-text/docs/context-strength).
433
426
  # Corresponds to the JSON property `speechContexts`
434
427
  # @return [Array<Google::Apis::SpeechV1p1beta1::SpeechContext>]
435
428
  attr_accessor :speech_contexts
@@ -607,7 +600,7 @@ module Google
607
600
  end
608
601
  end
609
602
 
610
- #
603
+ # *Optional* Config to enable speaker diarization.
611
604
  class SpeakerDiarizationConfig
612
605
  include Google::Apis::Core::Hashable
613
606
 
@@ -619,7 +612,7 @@ module Google
619
612
  attr_accessor :enable_speaker_diarization
620
613
  alias_method :enable_speaker_diarization?, :enable_speaker_diarization
621
614
 
622
- # *Optional* Only used if diarization_speaker_count is not set.
615
+ # *Optional*
623
616
  # Maximum number of speakers in the conversation. This range gives you more
624
617
  # flexibility by allowing the system to automatically determine the correct
625
618
  # number of speakers. If not set, the default value is 6.
@@ -627,7 +620,7 @@ module Google
627
620
  # @return [Fixnum]
628
621
  attr_accessor :max_speaker_count
629
622
 
630
- # *Optional* Only used if diarization_speaker_count is not set.
623
+ # *Optional*
631
624
  # Minimum number of speakers in the conversation. This range gives you more
632
625
  # flexibility by allowing the system to automatically determine the correct
633
626
  # number of speakers. If not set, the default value is 2.