google-api-client 0.39.5 → 0.41.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (443) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +290 -0
  3. data/generated/google/apis/admin_directory_v1.rb +1 -1
  4. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  5. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  6. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  7. data/generated/google/apis/admob_v1.rb +1 -1
  8. data/generated/google/apis/admob_v1/classes.rb +5 -6
  9. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  10. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  11. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  12. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  13. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  14. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  15. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  16. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  17. data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
  18. data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
  19. data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
  20. data/generated/google/apis/apigee_v1.rb +1 -1
  21. data/generated/google/apis/apigee_v1/classes.rb +183 -52
  22. data/generated/google/apis/apigee_v1/representations.rb +22 -0
  23. data/generated/google/apis/apigee_v1/service.rb +38 -37
  24. data/generated/google/apis/appsmarket_v2.rb +3 -3
  25. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  26. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  27. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  28. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  29. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  30. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +78 -6
  33. data/generated/google/apis/bigquery_v2/representations.rb +7 -0
  34. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  35. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  36. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  37. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  38. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  39. data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
  40. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +2 -0
  42. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  43. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  44. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  45. data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
  46. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  47. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  48. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  49. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  50. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  51. data/generated/google/apis/books_v1.rb +1 -1
  52. data/generated/google/apis/books_v1/service.rb +2 -2
  53. data/generated/google/apis/calendar_v3.rb +1 -1
  54. data/generated/google/apis/chat_v1.rb +1 -1
  55. data/generated/google/apis/chat_v1/classes.rb +2 -0
  56. data/generated/google/apis/chromeuxreport_v1.rb +32 -0
  57. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  58. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  59. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  60. data/generated/google/apis/civicinfo_v2.rb +2 -2
  61. data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
  62. data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
  63. data/generated/google/apis/civicinfo_v2/service.rb +27 -62
  64. data/generated/google/apis/cloudasset_v1.rb +1 -1
  65. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  66. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  67. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  68. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  70. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  71. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  74. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  75. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  76. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  77. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  78. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  79. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  80. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +16 -4
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  84. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  85. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +14 -2
  86. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  87. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  88. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +14 -2
  89. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  90. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  91. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudiot_v1.rb +1 -1
  98. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  99. data/generated/google/apis/cloudkms_v1.rb +1 -1
  100. data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
  101. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  102. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  104. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  105. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  107. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  108. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  110. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  112. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  113. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  114. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  115. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  116. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  117. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  118. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  119. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
  120. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  121. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
  122. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  123. data/generated/google/apis/composer_v1beta1.rb +1 -1
  124. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  125. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  126. data/generated/google/apis/compute_alpha.rb +1 -1
  127. data/generated/google/apis/compute_alpha/classes.rb +756 -182
  128. data/generated/google/apis/compute_alpha/representations.rb +220 -33
  129. data/generated/google/apis/compute_alpha/service.rb +1891 -1099
  130. data/generated/google/apis/compute_beta.rb +1 -1
  131. data/generated/google/apis/compute_beta/classes.rb +435 -102
  132. data/generated/google/apis/compute_beta/representations.rb +95 -0
  133. data/generated/google/apis/compute_beta/service.rb +824 -595
  134. data/generated/google/apis/compute_v1.rb +1 -1
  135. data/generated/google/apis/compute_v1/classes.rb +658 -47
  136. data/generated/google/apis/compute_v1/representations.rb +188 -0
  137. data/generated/google/apis/compute_v1/service.rb +501 -4
  138. data/generated/google/apis/container_v1.rb +1 -1
  139. data/generated/google/apis/container_v1/classes.rb +31 -7
  140. data/generated/google/apis/container_v1/representations.rb +15 -0
  141. data/generated/google/apis/container_v1beta1.rb +1 -1
  142. data/generated/google/apis/container_v1beta1/classes.rb +47 -10
  143. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  144. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  145. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  146. data/generated/google/apis/content_v2.rb +1 -1
  147. data/generated/google/apis/content_v2/classes.rb +41 -1
  148. data/generated/google/apis/content_v2/representations.rb +17 -0
  149. data/generated/google/apis/content_v2/service.rb +15 -6
  150. data/generated/google/apis/content_v2_1.rb +1 -1
  151. data/generated/google/apis/content_v2_1/classes.rb +616 -6
  152. data/generated/google/apis/content_v2_1/representations.rb +243 -0
  153. data/generated/google/apis/content_v2_1/service.rb +95 -6
  154. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  155. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  156. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  157. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  158. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  159. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  160. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  161. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  162. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  163. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  164. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  165. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  166. data/generated/google/apis/dataproc_v1.rb +1 -1
  167. data/generated/google/apis/dataproc_v1/classes.rb +68 -22
  168. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  169. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  170. data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -23
  171. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  172. data/generated/google/apis/dialogflow_v2.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2/classes.rb +731 -20
  174. data/generated/google/apis/dialogflow_v2/representations.rb +311 -0
  175. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  176. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  177. data/generated/google/apis/dialogflow_v2beta1/classes.rb +722 -19
  178. data/generated/google/apis/dialogflow_v2beta1/representations.rb +311 -0
  179. data/generated/google/apis/dialogflow_v2beta1/service.rb +72 -4
  180. data/generated/google/apis/displayvideo_v1.rb +1 -1
  181. data/generated/google/apis/displayvideo_v1/classes.rb +717 -2
  182. data/generated/google/apis/displayvideo_v1/representations.rb +325 -0
  183. data/generated/google/apis/displayvideo_v1/service.rb +1865 -162
  184. data/generated/google/apis/dlp_v2.rb +1 -1
  185. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  186. data/generated/google/apis/dlp_v2/service.rb +170 -64
  187. data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
  188. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  189. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  190. data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
  191. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  192. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  193. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  194. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  195. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  196. data/generated/google/apis/drive_v2.rb +1 -1
  197. data/generated/google/apis/drive_v2/service.rb +26 -78
  198. data/generated/google/apis/drive_v3.rb +1 -1
  199. data/generated/google/apis/drive_v3/service.rb +18 -54
  200. data/generated/google/apis/fcm_v1.rb +1 -1
  201. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  202. data/generated/google/apis/file_v1.rb +1 -1
  203. data/generated/google/apis/file_v1/classes.rb +0 -1156
  204. data/generated/google/apis/file_v1/representations.rb +0 -381
  205. data/generated/google/apis/file_v1beta1.rb +1 -1
  206. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  207. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  208. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  209. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  210. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  211. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  212. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  213. data/generated/google/apis/fitness_v1.rb +4 -4
  214. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  215. data/generated/google/apis/fitness_v1/service.rb +187 -215
  216. data/generated/google/apis/games_v1.rb +1 -1
  217. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  218. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  219. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  220. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  221. data/generated/google/apis/gmail_v1.rb +3 -2
  222. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  223. data/generated/google/apis/gmail_v1/service.rb +551 -743
  224. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  225. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  226. data/generated/google/apis/healthcare_v1.rb +1 -1
  227. data/generated/google/apis/healthcare_v1/classes.rb +45 -36
  228. data/generated/google/apis/healthcare_v1/service.rb +66 -32
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +954 -83
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +682 -147
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  235. data/generated/google/apis/iam_v1.rb +1 -1
  236. data/generated/google/apis/iam_v1/classes.rb +116 -93
  237. data/generated/google/apis/iam_v1/service.rb +170 -144
  238. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  239. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  240. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  241. data/generated/google/apis/jobs_v3.rb +1 -1
  242. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  243. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  244. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  245. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  246. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  247. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  248. data/generated/google/apis/logging_v2.rb +1 -1
  249. data/generated/google/apis/logging_v2/classes.rb +69 -21
  250. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  251. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
  252. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  253. data/generated/google/apis/ml_v1.rb +1 -1
  254. data/generated/google/apis/ml_v1/classes.rb +8 -0
  255. data/generated/google/apis/ml_v1/representations.rb +1 -0
  256. data/generated/google/apis/monitoring_v1.rb +1 -1
  257. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  258. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  259. data/generated/google/apis/monitoring_v3.rb +1 -1
  260. data/generated/google/apis/monitoring_v3/classes.rb +75 -19
  261. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  262. data/generated/google/apis/osconfig_v1.rb +1 -1
  263. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  264. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  265. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  266. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  267. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  268. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  269. data/generated/google/apis/people_v1.rb +4 -1
  270. data/generated/google/apis/people_v1/classes.rb +216 -0
  271. data/generated/google/apis/people_v1/representations.rb +82 -0
  272. data/generated/google/apis/people_v1/service.rb +371 -8
  273. data/generated/google/apis/{pagespeedonline_v2.rb → playablelocations_v3.rb} +9 -10
  274. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  275. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  276. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  277. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  278. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  279. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  280. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  281. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  282. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  283. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  284. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  285. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  286. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
  287. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  288. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  289. data/generated/google/apis/pubsub_v1.rb +1 -1
  290. data/generated/google/apis/pubsub_v1/classes.rb +68 -10
  291. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  292. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  293. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  294. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  295. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  296. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  297. data/generated/google/apis/{pagespeedonline_v4.rb → recommender_v1.rb} +12 -10
  298. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  299. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  300. data/generated/google/apis/recommender_v1/service.rb +266 -0
  301. data/generated/google/apis/redis_v1.rb +1 -1
  302. data/generated/google/apis/redis_v1/classes.rb +1 -1
  303. data/generated/google/apis/redis_v1/service.rb +1 -1
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  306. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  308. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  311. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  312. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  313. data/generated/google/apis/run_v1.rb +2 -2
  314. data/generated/google/apis/run_v1/classes.rb +19 -7
  315. data/generated/google/apis/run_v1/representations.rb +1 -0
  316. data/generated/google/apis/run_v1/service.rb +1 -1
  317. data/generated/google/apis/run_v1alpha1.rb +2 -2
  318. data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
  319. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  320. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  321. data/generated/google/apis/run_v1beta1.rb +2 -2
  322. data/generated/google/apis/run_v1beta1/service.rb +1 -1
  323. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  324. data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
  325. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  326. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  327. data/generated/google/apis/secretmanager_v1.rb +1 -1
  328. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  329. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  330. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  331. data/generated/google/apis/securitycenter_v1.rb +1 -1
  332. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  333. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  334. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  335. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  336. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  337. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  338. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  339. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  340. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  341. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  342. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  343. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  344. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  345. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  346. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
  347. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
  348. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  349. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
  350. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
  351. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  352. data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
  353. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  354. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  355. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  356. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  357. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  359. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  360. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  361. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  362. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  363. data/generated/google/apis/serviceusage_v1.rb +1 -1
  364. data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
  365. data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
  366. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  367. data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
  368. data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
  369. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  370. data/generated/google/apis/sheets_v4.rb +1 -1
  371. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  372. data/generated/google/apis/slides_v1.rb +1 -1
  373. data/generated/google/apis/slides_v1/classes.rb +4 -0
  374. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  375. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  376. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  377. data/generated/google/apis/spanner_v1.rb +1 -1
  378. data/generated/google/apis/spanner_v1/classes.rb +55 -32
  379. data/generated/google/apis/spanner_v1/service.rb +10 -8
  380. data/generated/google/apis/speech_v1.rb +1 -1
  381. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  382. data/generated/google/apis/sql_v1beta4.rb +1 -1
  383. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  384. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  385. data/generated/google/apis/storage_v1.rb +1 -1
  386. data/generated/google/apis/storage_v1/service.rb +2 -3
  387. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  388. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  389. data/generated/google/apis/testing_v1.rb +1 -1
  390. data/generated/google/apis/testing_v1/classes.rb +2 -1
  391. data/generated/google/apis/texttospeech_v1.rb +1 -1
  392. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  393. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  394. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  395. data/generated/google/apis/tpu_v1.rb +1 -1
  396. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  397. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  398. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  399. data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
  400. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  401. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  402. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  403. data/generated/google/apis/videointelligence_v1.rb +1 -1
  404. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  406. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  407. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  409. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  410. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  412. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  413. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  414. data/generated/google/apis/vision_v1.rb +1 -1
  415. data/generated/google/apis/vision_v1/classes.rb +18 -0
  416. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  417. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  418. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  419. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  420. data/generated/google/apis/webfonts_v1.rb +5 -5
  421. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  422. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  423. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  424. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  425. data/generated/google/apis/youtube_v3.rb +1 -1
  426. data/generated/google/apis/youtube_v3/classes.rb +64 -26
  427. data/generated/google/apis/youtube_v3/representations.rb +27 -0
  428. data/generated/google/apis/youtube_v3/service.rb +33 -36
  429. data/lib/google/apis/core/api_command.rb +12 -7
  430. data/lib/google/apis/options.rb +5 -1
  431. data/lib/google/apis/version.rb +1 -1
  432. metadata +27 -19
  433. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  434. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  435. data/generated/google/apis/customsearch_v1/service.rb +0 -608
  436. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5022
  437. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2057
  438. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  439. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  440. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  441. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  442. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  443. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -32,6 +32,7 @@ module Google
32
32
  # @private
33
33
  class Representation < Google::Apis::Core::JsonRepresentation
34
34
  property :language_code, as: 'languageCode'
35
+ property :package_name, as: 'packageName'
35
36
  property :title, as: 'title'
36
37
  end
37
38
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module PlaycustomappV1
23
23
  # Google Play Custom App Publishing API
24
24
  #
25
- # An API to publish custom Android apps.
25
+ # API to create and publish custom Android apps
26
26
  #
27
27
  # @example
28
28
  # require 'google/apis/playcustomapp_v1'
@@ -30,7 +30,7 @@ module Google
30
30
  # Playcustomapp = Google::Apis::PlaycustomappV1 # Alias the module
31
31
  # service = Playcustomapp::PlaycustomappService.new
32
32
  #
33
- # @see https://developers.google.com/android/work/play/custom-app-api
33
+ # @see https://developers.google.com/android/work/play/custom-app-api/
34
34
  class PlaycustomappService < Google::Apis::Core::BaseService
35
35
  # @return [String]
36
36
  # API key. Your API key identifies your project and provides you with API access,
@@ -38,30 +38,24 @@ module Google
38
38
  attr_accessor :key
39
39
 
40
40
  # @return [String]
41
- # An opaque string that represents a user for quota purposes. Must not exceed 40
42
- # characters.
41
+ # Available to use for quota purposes for server-side applications. Can be any
42
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
43
  attr_accessor :quota_user
44
44
 
45
- # @return [String]
46
- # Deprecated. Please use quotaUser instead.
47
- attr_accessor :user_ip
48
-
49
45
  def initialize
50
- super('https://www.googleapis.com/', 'playcustomapp/v1/accounts/')
46
+ super('https://www.googleapis.com/', '')
51
47
  @batch_path = 'batch/playcustomapp/v1'
52
48
  end
53
49
 
54
- # Create and publish a new custom app.
50
+ # Creates a new custom app.
55
51
  # @param [Fixnum] account
56
52
  # Developer account ID.
57
53
  # @param [Google::Apis::PlaycustomappV1::CustomApp] custom_app_object
58
54
  # @param [String] fields
59
55
  # Selector specifying which fields to include in a partial response.
60
56
  # @param [String] quota_user
61
- # An opaque string that represents a user for quota purposes. Must not exceed 40
62
- # characters.
63
- # @param [String] user_ip
64
- # Deprecated. Please use quotaUser instead.
57
+ # Available to use for quota purposes for server-side applications. Can be any
58
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
65
59
  # @param [IO, String] upload_source
66
60
  # IO stream or filename containing content to upload
67
61
  # @param [String] content_type
@@ -78,11 +72,11 @@ module Google
78
72
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
79
73
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
74
  # @raise [Google::Apis::AuthorizationError] Authorization is required
81
- def create_account_custom_app(account, custom_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
75
+ def create_account_custom_app(account, custom_app_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
82
76
  if upload_source.nil?
83
- command = make_simple_command(:post, '{account}/customApps', options)
77
+ command = make_simple_command(:post, 'playcustomapp/v1/accounts/{account}/customApps', options)
84
78
  else
85
- command = make_upload_command(:post, '{account}/customApps', options)
79
+ command = make_upload_command(:post, 'playcustomapp/v1/accounts/{account}/customApps', options)
86
80
  command.upload_source = upload_source
87
81
  command.upload_content_type = content_type
88
82
  end
@@ -93,7 +87,6 @@ module Google
93
87
  command.params['account'] = account unless account.nil?
94
88
  command.query['fields'] = fields unless fields.nil?
95
89
  command.query['quotaUser'] = quota_user unless quota_user.nil?
96
- command.query['userIp'] = user_ip unless user_ip.nil?
97
90
  execute_or_queue_command(command, &block)
98
91
  end
99
92
 
@@ -102,7 +95,6 @@ module Google
102
95
  def apply_command_defaults(command)
103
96
  command.query['key'] = key unless key.nil?
104
97
  command.query['quotaUser'] = quota_user unless quota_user.nil?
105
- command.query['userIp'] = user_ip unless user_ip.nil?
106
98
  end
107
99
  end
108
100
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iam/
26
26
  module PolicytroubleshooterV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200504'
28
+ REVISION = '20200606'
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'
@@ -383,7 +383,7 @@ module Google
383
383
  # `
384
384
  # "audit_configs": [
385
385
  # `
386
- # "service": "allServices"
386
+ # "service": "allServices",
387
387
  # "audit_log_configs": [
388
388
  # `
389
389
  # "log_type": "DATA_READ",
@@ -392,18 +392,18 @@ module Google
392
392
  # ]
393
393
  # `,
394
394
  # `
395
- # "log_type": "DATA_WRITE",
395
+ # "log_type": "DATA_WRITE"
396
396
  # `,
397
397
  # `
398
- # "log_type": "ADMIN_READ",
398
+ # "log_type": "ADMIN_READ"
399
399
  # `
400
400
  # ]
401
401
  # `,
402
402
  # `
403
- # "service": "sampleservice.googleapis.com"
403
+ # "service": "sampleservice.googleapis.com",
404
404
  # "audit_log_configs": [
405
405
  # `
406
- # "log_type": "DATA_READ",
406
+ # "log_type": "DATA_READ"
407
407
  # `,
408
408
  # `
409
409
  # "log_type": "DATA_WRITE",
@@ -455,7 +455,7 @@ module Google
455
455
  # ]
456
456
  # `,
457
457
  # `
458
- # "log_type": "DATA_WRITE",
458
+ # "log_type": "DATA_WRITE"
459
459
  # `
460
460
  # ]
461
461
  # `
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iam/
26
26
  module PolicytroubleshooterV1beta
27
27
  VERSION = 'V1beta'
28
- REVISION = '20200504'
28
+ REVISION = '20200606'
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'
@@ -382,7 +382,7 @@ module Google
382
382
  # `
383
383
  # "audit_configs": [
384
384
  # `
385
- # "service": "allServices"
385
+ # "service": "allServices",
386
386
  # "audit_log_configs": [
387
387
  # `
388
388
  # "log_type": "DATA_READ",
@@ -391,18 +391,18 @@ module Google
391
391
  # ]
392
392
  # `,
393
393
  # `
394
- # "log_type": "DATA_WRITE",
394
+ # "log_type": "DATA_WRITE"
395
395
  # `,
396
396
  # `
397
- # "log_type": "ADMIN_READ",
397
+ # "log_type": "ADMIN_READ"
398
398
  # `
399
399
  # ]
400
400
  # `,
401
401
  # `
402
- # "service": "sampleservice.googleapis.com"
402
+ # "service": "sampleservice.googleapis.com",
403
403
  # "audit_log_configs": [
404
404
  # `
405
- # "log_type": "DATA_READ",
405
+ # "log_type": "DATA_READ"
406
406
  # `,
407
407
  # `
408
408
  # "log_type": "DATA_WRITE",
@@ -454,7 +454,7 @@ module Google
454
454
  # ]
455
455
  # `,
456
456
  # `
457
- # "log_type": "DATA_WRITE",
457
+ # "log_type": "DATA_WRITE"
458
458
  # `
459
459
  # ]
460
460
  # `
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/spectrum-access-system/
26
26
  module ProdTtSasportalV1alpha1
27
27
  VERSION = 'V1alpha1'
28
- REVISION = '20200416'
28
+ REVISION = '20200623'
29
29
 
30
30
  # View your email address
31
31
  AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
@@ -159,6 +159,11 @@ module Google
159
159
  # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceConfig]
160
160
  attr_accessor :active_config
161
161
 
162
+ # Device data overridable by both SAS Portal and registration requests.
163
+ # Corresponds to the JSON property `deviceMetadata`
164
+ # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceMetadata]
165
+ attr_accessor :device_metadata
166
+
162
167
  # Device display name.
163
168
  # Corresponds to the JSON property `displayName`
164
169
  # @return [String]
@@ -202,6 +207,7 @@ module Google
202
207
  # Update properties of this object
203
208
  def update!(**args)
204
209
  @active_config = args[:active_config] if args.key?(:active_config)
210
+ @device_metadata = args[:device_metadata] if args.key?(:device_metadata)
205
211
  @display_name = args[:display_name] if args.key?(:display_name)
206
212
  @fcc_id = args[:fcc_id] if args.key?(:fcc_id)
207
213
  @grants = args[:grants] if args.key?(:grants)
@@ -375,6 +381,19 @@ module Google
375
381
  end
376
382
  end
377
383
 
384
+ # Device data overridable by both SAS Portal and registration requests.
385
+ class SasPortalDeviceMetadata
386
+ include Google::Apis::Core::Hashable
387
+
388
+ def initialize(**args)
389
+ update!(**args)
390
+ end
391
+
392
+ # Update properties of this object
393
+ def update!(**args)
394
+ end
395
+ end
396
+
378
397
  # Information about the model of the device.
379
398
  class SasPortalDeviceModel
380
399
  include Google::Apis::Core::Hashable
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class SasPortalDeviceMetadata
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class SasPortalDeviceModel
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -265,6 +271,8 @@ module Google
265
271
  class Representation < Google::Apis::Core::JsonRepresentation
266
272
  property :active_config, as: 'activeConfig', class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceConfig, decorator: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceConfig::Representation
267
273
 
274
+ property :device_metadata, as: 'deviceMetadata', class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceMetadata, decorator: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceMetadata::Representation
275
+
268
276
  property :display_name, as: 'displayName'
269
277
  property :fcc_id, as: 'fccId'
270
278
  collection :grants, as: 'grants', class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceGrant, decorator: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceGrant::Representation
@@ -319,6 +327,12 @@ module Google
319
327
  end
320
328
  end
321
329
 
330
+ class SasPortalDeviceMetadata
331
+ # @private
332
+ class Representation < Google::Apis::Core::JsonRepresentation
333
+ end
334
+ end
335
+
322
336
  class SasPortalDeviceModel
323
337
  # @private
324
338
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -818,6 +818,36 @@ module Google
818
818
  execute_or_queue_command(command, &block)
819
819
  end
820
820
 
821
+ # Returns a requested node.
822
+ # @param [String] name
823
+ # Required. The name of the node.
824
+ # @param [String] fields
825
+ # Selector specifying which fields to include in a partial response.
826
+ # @param [String] quota_user
827
+ # Available to use for quota purposes for server-side applications. Can be any
828
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
829
+ # @param [Google::Apis::RequestOptions] options
830
+ # Request-specific options
831
+ #
832
+ # @yield [result, err] Result & error if block supplied
833
+ # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode] parsed result object
834
+ # @yieldparam err [StandardError] error object if request failed
835
+ #
836
+ # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode]
837
+ #
838
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
839
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
840
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
841
+ def get_node(name, fields: nil, quota_user: nil, options: nil, &block)
842
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
843
+ command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
844
+ command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode
845
+ command.params['name'] = name unless name.nil?
846
+ command.query['fields'] = fields unless fields.nil?
847
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
848
+ execute_or_queue_command(command, &block)
849
+ end
850
+
821
851
  # Creates a device under a node or customer. Returned devices are unordered.
822
852
  # @param [String] parent
823
853
  # Required. The name of the parent resource.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/pubsub/docs
26
26
  module PubsubV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200505'
28
+ REVISION = '20200616'
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'
@@ -203,6 +203,20 @@ module Google
203
203
  end
204
204
  end
205
205
 
206
+ # Response for the DetachSubscription method.
207
+ # Reserved for future use.
208
+ class DetachSubscriptionResponse
209
+ include Google::Apis::Core::Hashable
210
+
211
+ def initialize(**args)
212
+ update!(**args)
213
+ end
214
+
215
+ # Update properties of this object
216
+ def update!(**args)
217
+ end
218
+ end
219
+
206
220
  # A generic empty message that you can re-use to avoid defining duplicated
207
221
  # empty messages in your APIs. A typical example is to use it as the request
208
222
  # or the response type of an API method. For instance:
@@ -401,7 +415,7 @@ module Google
401
415
  # @return [String]
402
416
  attr_accessor :next_page_token
403
417
 
404
- # The names of the subscriptions that match the request.
418
+ # The names of subscriptions attached to the topic specified in the request.
405
419
  # Corresponds to the JSON property `subscriptions`
406
420
  # @return [Array<String>]
407
421
  attr_accessor :subscriptions
@@ -443,7 +457,7 @@ module Google
443
457
  end
444
458
  end
445
459
 
446
- #
460
+ # A policy constraining the storage of messages published to the topic.
447
461
  class MessageStoragePolicy
448
462
  include Google::Apis::Core::Hashable
449
463
 
@@ -728,7 +742,8 @@ module Google
728
742
  include Google::Apis::Core::Hashable
729
743
 
730
744
  # Attributes for this message. If this field is empty, the message must
731
- # contain non-empty data.
745
+ # contain non-empty data. This can be used to filter messages on the
746
+ # subscription.
732
747
  # Corresponds to the JSON property `attributes`
733
748
  # @return [Hash<String,String>]
734
749
  attr_accessor :attributes
@@ -923,6 +938,40 @@ module Google
923
938
  end
924
939
  end
925
940
 
941
+ # A policy that specifies how Cloud Pub/Sub retries message delivery.
942
+ # Retry delay will be exponential based on provided minimum and maximum
943
+ # backoffs. https://en.wikipedia.org/wiki/Exponential_backoff.
944
+ # RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded
945
+ # events for a given message.
946
+ # Retry Policy is implemented on a best effort basis. At times, the delay
947
+ # between consecutive deliveries may not match the configuration. That is,
948
+ # delay can be more or less than configured backoff.
949
+ class RetryPolicy
950
+ include Google::Apis::Core::Hashable
951
+
952
+ # The maximum delay between consecutive deliveries of a given message.
953
+ # Value should be between 0 and 600 seconds. Defaults to 600 seconds.
954
+ # Corresponds to the JSON property `maximumBackoff`
955
+ # @return [String]
956
+ attr_accessor :maximum_backoff
957
+
958
+ # The minimum delay between consecutive deliveries of a given message.
959
+ # Value should be between 0 and 600 seconds. Defaults to 10 seconds.
960
+ # Corresponds to the JSON property `minimumBackoff`
961
+ # @return [String]
962
+ attr_accessor :minimum_backoff
963
+
964
+ def initialize(**args)
965
+ update!(**args)
966
+ end
967
+
968
+ # Update properties of this object
969
+ def update!(**args)
970
+ @maximum_backoff = args[:maximum_backoff] if args.key?(:maximum_backoff)
971
+ @minimum_backoff = args[:minimum_backoff] if args.key?(:minimum_backoff)
972
+ end
973
+ end
974
+
926
975
  # Request for the `Seek` method.
927
976
  class SeekRequest
928
977
  include Google::Apis::Core::Hashable
@@ -1143,13 +1192,11 @@ module Google
1143
1192
  # @return [Google::Apis::PubsubV1::ExpirationPolicy]
1144
1193
  attr_accessor :expiration_policy
1145
1194
 
1146
- # An expression written in the Cloud Pub/Sub filter language. If non-empty,
1195
+ # An expression written in the Pub/Sub [filter
1196
+ # language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
1147
1197
  # then only `PubsubMessage`s whose `attributes` field matches the filter are
1148
1198
  # delivered on this subscription. If empty, then no messages are filtered
1149
1199
  # out.
1150
- # <b>EXPERIMENTAL:</b> This feature is part of a closed alpha release. This
1151
- # API might be changed in backward-incompatible ways and is not recommended
1152
- # for production use. It is not subject to any SLA or deprecation policy.
1153
1200
  # Corresponds to the JSON property `filter`
1154
1201
  # @return [String]
1155
1202
  attr_accessor :filter
@@ -1197,6 +1244,18 @@ module Google
1197
1244
  attr_accessor :retain_acked_messages
1198
1245
  alias_method :retain_acked_messages?, :retain_acked_messages
1199
1246
 
1247
+ # A policy that specifies how Cloud Pub/Sub retries message delivery.
1248
+ # Retry delay will be exponential based on provided minimum and maximum
1249
+ # backoffs. https://en.wikipedia.org/wiki/Exponential_backoff.
1250
+ # RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded
1251
+ # events for a given message.
1252
+ # Retry Policy is implemented on a best effort basis. At times, the delay
1253
+ # between consecutive deliveries may not match the configuration. That is,
1254
+ # delay can be more or less than configured backoff.
1255
+ # Corresponds to the JSON property `retryPolicy`
1256
+ # @return [Google::Apis::PubsubV1::RetryPolicy]
1257
+ attr_accessor :retry_policy
1258
+
1200
1259
  # Required. The name of the topic from which this subscription is receiving
1201
1260
  # messages.
1202
1261
  # Format is `projects/`project`/topics/`topic``.
@@ -1221,6 +1280,7 @@ module Google
1221
1280
  @name = args[:name] if args.key?(:name)
1222
1281
  @push_config = args[:push_config] if args.key?(:push_config)
1223
1282
  @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
1283
+ @retry_policy = args[:retry_policy] if args.key?(:retry_policy)
1224
1284
  @topic = args[:topic] if args.key?(:topic)
1225
1285
  end
1226
1286
  end
@@ -1284,9 +1344,7 @@ module Google
1284
1344
  # @return [Hash<String,String>]
1285
1345
  attr_accessor :labels
1286
1346
 
1287
- # Policy constraining the set of Google Cloud Platform regions where messages
1288
- # published to the topic may be stored. If not present, then no constraints
1289
- # are in effect.
1347
+ # A policy constraining the storage of messages published to the topic.
1290
1348
  # Corresponds to the JSON property `messageStoragePolicy`
1291
1349
  # @return [Google::Apis::PubsubV1::MessageStoragePolicy]
1292
1350
  attr_accessor :message_storage_policy