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
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
27
27
  module SecuritycenterV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200519'
29
+ REVISION = '20200605'
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'
@@ -122,7 +122,7 @@ module Google
122
122
  # `
123
123
  # "audit_configs": [
124
124
  # `
125
- # "service": "allServices"
125
+ # "service": "allServices",
126
126
  # "audit_log_configs": [
127
127
  # `
128
128
  # "log_type": "DATA_READ",
@@ -131,18 +131,18 @@ module Google
131
131
  # ]
132
132
  # `,
133
133
  # `
134
- # "log_type": "DATA_WRITE",
134
+ # "log_type": "DATA_WRITE"
135
135
  # `,
136
136
  # `
137
- # "log_type": "ADMIN_READ",
137
+ # "log_type": "ADMIN_READ"
138
138
  # `
139
139
  # ]
140
140
  # `,
141
141
  # `
142
- # "service": "sampleservice.googleapis.com"
142
+ # "service": "sampleservice.googleapis.com",
143
143
  # "audit_log_configs": [
144
144
  # `
145
- # "log_type": "DATA_READ",
145
+ # "log_type": "DATA_READ"
146
146
  # `,
147
147
  # `
148
148
  # "log_type": "DATA_WRITE",
@@ -194,7 +194,7 @@ module Google
194
194
  # ]
195
195
  # `,
196
196
  # `
197
- # "log_type": "DATA_WRITE",
197
+ # "log_type": "DATA_WRITE"
198
198
  # `
199
199
  # ]
200
200
  # `
@@ -571,6 +571,11 @@ module Google
571
571
  # @return [String]
572
572
  attr_accessor :notification_config_name
573
573
 
574
+ # Information related to the Google Cloud resource.
575
+ # Corresponds to the JSON property `resource`
576
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Resource]
577
+ attr_accessor :resource
578
+
574
579
  def initialize(**args)
575
580
  update!(**args)
576
581
  end
@@ -579,6 +584,51 @@ module Google
579
584
  def update!(**args)
580
585
  @finding = args[:finding] if args.key?(:finding)
581
586
  @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
587
+ @resource = args[:resource] if args.key?(:resource)
588
+ end
589
+ end
590
+
591
+ # Information related to the Google Cloud resource.
592
+ class GoogleCloudSecuritycenterV1Resource
593
+ include Google::Apis::Core::Hashable
594
+
595
+ # The full resource name of the resource. See:
596
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name
597
+ # Corresponds to the JSON property `name`
598
+ # @return [String]
599
+ attr_accessor :name
600
+
601
+ # The full resource name of resource's parent.
602
+ # Corresponds to the JSON property `parent`
603
+ # @return [String]
604
+ attr_accessor :parent
605
+
606
+ # The human readable name of resource's parent.
607
+ # Corresponds to the JSON property `parentDisplayName`
608
+ # @return [String]
609
+ attr_accessor :parent_display_name
610
+
611
+ # The full resource name of project that the resource belongs to.
612
+ # Corresponds to the JSON property `project`
613
+ # @return [String]
614
+ attr_accessor :project
615
+
616
+ # The human readable name of project that the resource belongs to.
617
+ # Corresponds to the JSON property `projectDisplayName`
618
+ # @return [String]
619
+ attr_accessor :project_display_name
620
+
621
+ def initialize(**args)
622
+ update!(**args)
623
+ end
624
+
625
+ # Update properties of this object
626
+ def update!(**args)
627
+ @name = args[:name] if args.key?(:name)
628
+ @parent = args[:parent] if args.key?(:parent)
629
+ @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
630
+ @project = args[:project] if args.key?(:project)
631
+ @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
582
632
  end
583
633
  end
584
634
 
@@ -988,6 +1038,11 @@ module Google
988
1038
  # @return [String]
989
1039
  attr_accessor :notification_config_name
990
1040
 
1041
+ # Information related to the Google Cloud resource.
1042
+ # Corresponds to the JSON property `resource`
1043
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource]
1044
+ attr_accessor :resource
1045
+
991
1046
  # Wrapper over asset object that also captures the state change for the asset
992
1047
  # e.g. if it was a newly created asset vs updated or deleted asset.
993
1048
  # Corresponds to the JSON property `temporalAsset`
@@ -1002,10 +1057,55 @@ module Google
1002
1057
  def update!(**args)
1003
1058
  @finding = args[:finding] if args.key?(:finding)
1004
1059
  @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
1060
+ @resource = args[:resource] if args.key?(:resource)
1005
1061
  @temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
1006
1062
  end
1007
1063
  end
1008
1064
 
1065
+ # Information related to the Google Cloud resource.
1066
+ class GoogleCloudSecuritycenterV1p1beta1Resource
1067
+ include Google::Apis::Core::Hashable
1068
+
1069
+ # The full resource name of the resource. See:
1070
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name
1071
+ # Corresponds to the JSON property `name`
1072
+ # @return [String]
1073
+ attr_accessor :name
1074
+
1075
+ # The full resource name of resource's parent.
1076
+ # Corresponds to the JSON property `parent`
1077
+ # @return [String]
1078
+ attr_accessor :parent
1079
+
1080
+ # The human readable name of resource's parent.
1081
+ # Corresponds to the JSON property `parentDisplayName`
1082
+ # @return [String]
1083
+ attr_accessor :parent_display_name
1084
+
1085
+ # The full resource name of project that the resource belongs to.
1086
+ # Corresponds to the JSON property `project`
1087
+ # @return [String]
1088
+ attr_accessor :project
1089
+
1090
+ # The human readable name of project that the resource belongs to.
1091
+ # Corresponds to the JSON property `projectDisplayName`
1092
+ # @return [String]
1093
+ attr_accessor :project_display_name
1094
+
1095
+ def initialize(**args)
1096
+ update!(**args)
1097
+ end
1098
+
1099
+ # Update properties of this object
1100
+ def update!(**args)
1101
+ @name = args[:name] if args.key?(:name)
1102
+ @parent = args[:parent] if args.key?(:parent)
1103
+ @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
1104
+ @project = args[:project] if args.key?(:project)
1105
+ @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
1106
+ end
1107
+ end
1108
+
1009
1109
  # Response of asset discovery run
1010
1110
  class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
1011
1111
  include Google::Apis::Core::Hashable
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class GoogleCloudSecuritycenterV1Resource
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -142,6 +148,12 @@ module Google
142
148
  include Google::Apis::Core::JsonObjectSupport
143
149
  end
144
150
 
151
+ class GoogleCloudSecuritycenterV1p1beta1Resource
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
145
157
  class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
146
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
159
 
@@ -407,6 +419,19 @@ module Google
407
419
  property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1beta1::Finding, decorator: Google::Apis::SecuritycenterV1beta1::Finding::Representation
408
420
 
409
421
  property :notification_config_name, as: 'notificationConfigName'
422
+ property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Resource, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Resource::Representation
423
+
424
+ end
425
+ end
426
+
427
+ class GoogleCloudSecuritycenterV1Resource
428
+ # @private
429
+ class Representation < Google::Apis::Core::JsonRepresentation
430
+ property :name, as: 'name'
431
+ property :parent, as: 'parent'
432
+ property :parent_display_name, as: 'parentDisplayName'
433
+ property :project, as: 'project'
434
+ property :project_display_name, as: 'projectDisplayName'
410
435
  end
411
436
  end
412
437
 
@@ -497,11 +522,24 @@ module Google
497
522
  property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
498
523
 
499
524
  property :notification_config_name, as: 'notificationConfigName'
525
+ property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
526
+
500
527
  property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
501
528
 
502
529
  end
503
530
  end
504
531
 
532
+ class GoogleCloudSecuritycenterV1p1beta1Resource
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :name, as: 'name'
536
+ property :parent, as: 'parent'
537
+ property :parent_display_name, as: 'parentDisplayName'
538
+ property :project, as: 'project'
539
+ property :project_display_name, as: 'projectDisplayName'
540
+ end
541
+ end
542
+
505
543
  class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
506
544
  # @private
507
545
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
27
27
  module SecuritycenterV1p1alpha1
28
28
  VERSION = 'V1p1alpha1'
29
- REVISION = '20200410'
29
+ REVISION = '20200605'
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'
@@ -162,6 +162,11 @@ module Google
162
162
  # @return [String]
163
163
  attr_accessor :notification_config_name
164
164
 
165
+ # Information related to the Google Cloud resource.
166
+ # Corresponds to the JSON property `resource`
167
+ # @return [Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1Resource]
168
+ attr_accessor :resource
169
+
165
170
  def initialize(**args)
166
171
  update!(**args)
167
172
  end
@@ -170,6 +175,51 @@ module Google
170
175
  def update!(**args)
171
176
  @finding = args[:finding] if args.key?(:finding)
172
177
  @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
178
+ @resource = args[:resource] if args.key?(:resource)
179
+ end
180
+ end
181
+
182
+ # Information related to the Google Cloud resource.
183
+ class GoogleCloudSecuritycenterV1Resource
184
+ include Google::Apis::Core::Hashable
185
+
186
+ # The full resource name of the resource. See:
187
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name
188
+ # Corresponds to the JSON property `name`
189
+ # @return [String]
190
+ attr_accessor :name
191
+
192
+ # The full resource name of resource's parent.
193
+ # Corresponds to the JSON property `parent`
194
+ # @return [String]
195
+ attr_accessor :parent
196
+
197
+ # The human readable name of resource's parent.
198
+ # Corresponds to the JSON property `parentDisplayName`
199
+ # @return [String]
200
+ attr_accessor :parent_display_name
201
+
202
+ # The full resource name of project that the resource belongs to.
203
+ # Corresponds to the JSON property `project`
204
+ # @return [String]
205
+ attr_accessor :project
206
+
207
+ # The human readable name of project that the resource belongs to.
208
+ # Corresponds to the JSON property `projectDisplayName`
209
+ # @return [String]
210
+ attr_accessor :project_display_name
211
+
212
+ def initialize(**args)
213
+ update!(**args)
214
+ end
215
+
216
+ # Update properties of this object
217
+ def update!(**args)
218
+ @name = args[:name] if args.key?(:name)
219
+ @parent = args[:parent] if args.key?(:parent)
220
+ @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
221
+ @project = args[:project] if args.key?(:project)
222
+ @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
173
223
  end
174
224
  end
175
225
 
@@ -438,6 +488,11 @@ module Google
438
488
  # @return [String]
439
489
  attr_accessor :notification_config_name
440
490
 
491
+ # Information related to the Google Cloud resource.
492
+ # Corresponds to the JSON property `resource`
493
+ # @return [Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Resource]
494
+ attr_accessor :resource
495
+
441
496
  # Wrapper over asset object that also captures the state change for the asset
442
497
  # e.g. if it was a newly created asset vs updated or deleted asset.
443
498
  # Corresponds to the JSON property `temporalAsset`
@@ -452,10 +507,55 @@ module Google
452
507
  def update!(**args)
453
508
  @finding = args[:finding] if args.key?(:finding)
454
509
  @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
510
+ @resource = args[:resource] if args.key?(:resource)
455
511
  @temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
456
512
  end
457
513
  end
458
514
 
515
+ # Information related to the Google Cloud resource.
516
+ class GoogleCloudSecuritycenterV1p1beta1Resource
517
+ include Google::Apis::Core::Hashable
518
+
519
+ # The full resource name of the resource. See:
520
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name
521
+ # Corresponds to the JSON property `name`
522
+ # @return [String]
523
+ attr_accessor :name
524
+
525
+ # The full resource name of resource's parent.
526
+ # Corresponds to the JSON property `parent`
527
+ # @return [String]
528
+ attr_accessor :parent
529
+
530
+ # The human readable name of resource's parent.
531
+ # Corresponds to the JSON property `parentDisplayName`
532
+ # @return [String]
533
+ attr_accessor :parent_display_name
534
+
535
+ # The full resource name of project that the resource belongs to.
536
+ # Corresponds to the JSON property `project`
537
+ # @return [String]
538
+ attr_accessor :project
539
+
540
+ # The human readable name of project that the resource belongs to.
541
+ # Corresponds to the JSON property `projectDisplayName`
542
+ # @return [String]
543
+ attr_accessor :project_display_name
544
+
545
+ def initialize(**args)
546
+ update!(**args)
547
+ end
548
+
549
+ # Update properties of this object
550
+ def update!(**args)
551
+ @name = args[:name] if args.key?(:name)
552
+ @parent = args[:parent] if args.key?(:parent)
553
+ @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
554
+ @project = args[:project] if args.key?(:project)
555
+ @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
556
+ end
557
+ end
558
+
459
559
  # Response of asset discovery run
460
560
  class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
461
561
  include Google::Apis::Core::Hashable
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleCloudSecuritycenterV1Resource
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -76,6 +82,12 @@ module Google
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
85
+ class GoogleCloudSecuritycenterV1p1beta1Resource
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -153,6 +165,19 @@ module Google
153
165
  property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1alpha1::Finding, decorator: Google::Apis::SecuritycenterV1p1alpha1::Finding::Representation
154
166
 
155
167
  property :notification_config_name, as: 'notificationConfigName'
168
+ property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1Resource, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1Resource::Representation
169
+
170
+ end
171
+ end
172
+
173
+ class GoogleCloudSecuritycenterV1Resource
174
+ # @private
175
+ class Representation < Google::Apis::Core::JsonRepresentation
176
+ property :name, as: 'name'
177
+ property :parent, as: 'parent'
178
+ property :parent_display_name, as: 'parentDisplayName'
179
+ property :project, as: 'project'
180
+ property :project_display_name, as: 'projectDisplayName'
156
181
  end
157
182
  end
158
183
 
@@ -218,11 +243,24 @@ module Google
218
243
  property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
219
244
 
220
245
  property :notification_config_name, as: 'notificationConfigName'
246
+ property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
247
+
221
248
  property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
222
249
 
223
250
  end
224
251
  end
225
252
 
253
+ class GoogleCloudSecuritycenterV1p1beta1Resource
254
+ # @private
255
+ class Representation < Google::Apis::Core::JsonRepresentation
256
+ property :name, as: 'name'
257
+ property :parent, as: 'parent'
258
+ property :parent_display_name, as: 'parentDisplayName'
259
+ property :project, as: 'project'
260
+ property :project_display_name, as: 'projectDisplayName'
261
+ end
262
+ end
263
+
226
264
  class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
227
265
  # @private
228
266
  class Representation < Google::Apis::Core::JsonRepresentation