google-api-client 0.40.1 → 0.42.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +280 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  6. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  11. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/admob_v1/service.rb +1 -1
  14. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  15. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  18. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  19. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  20. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  21. data/generated/google/apis/androidpublisher_v3/classes.rb +494 -698
  22. data/generated/google/apis/androidpublisher_v3/representations.rb +18 -167
  23. data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
  24. data/generated/google/apis/apigee_v1.rb +1 -1
  25. data/generated/google/apis/apigee_v1/classes.rb +1492 -112
  26. data/generated/google/apis/apigee_v1/representations.rb +560 -0
  27. data/generated/google/apis/apigee_v1/service.rb +1162 -117
  28. data/generated/google/apis/appsmarket_v2.rb +1 -1
  29. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  30. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  31. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  32. data/generated/google/apis/bigquery_v2.rb +1 -1
  33. data/generated/google/apis/bigquery_v2/classes.rb +51 -13
  34. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  35. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  36. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  37. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  38. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  39. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  40. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  41. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  42. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  43. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  44. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  46. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  47. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
  50. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  51. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  52. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  53. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  54. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  55. data/generated/google/apis/books_v1.rb +1 -1
  56. data/generated/google/apis/books_v1/service.rb +2 -2
  57. data/generated/google/apis/calendar_v3.rb +1 -1
  58. data/generated/google/apis/chat_v1.rb +1 -1
  59. data/generated/google/apis/chat_v1/classes.rb +2 -0
  60. data/generated/google/apis/civicinfo_v2.rb +2 -2
  61. data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
  62. data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
  63. data/generated/google/apis/civicinfo_v2/service.rb +28 -63
  64. data/generated/google/apis/classroom_v1.rb +1 -1
  65. data/generated/google/apis/classroom_v1/service.rb +4 -3
  66. data/generated/google/apis/cloudasset_v1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  68. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  69. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  70. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  71. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  72. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  73. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  74. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  75. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  76. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  77. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  79. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  80. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  81. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  82. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  83. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  84. data/generated/google/apis/cloudbuild_v1/classes.rb +273 -13
  85. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  86. data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
  87. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  88. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +286 -26
  89. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  90. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  91. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  92. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +286 -26
  93. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  94. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  95. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  96. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  97. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  98. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  99. data/generated/google/apis/cloudfunctions_v1/classes.rb +20 -6
  100. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  101. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  102. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  103. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  104. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  105. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  107. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  108. data/generated/google/apis/cloudkms_v1.rb +1 -1
  109. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  110. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  112. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  113. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  114. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  116. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  118. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  120. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  121. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  122. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  123. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  124. data/generated/google/apis/composer_v1beta1.rb +1 -1
  125. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  126. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  127. data/generated/google/apis/compute_alpha.rb +1 -1
  128. data/generated/google/apis/compute_alpha/classes.rb +725 -107
  129. data/generated/google/apis/compute_alpha/representations.rb +206 -0
  130. data/generated/google/apis/compute_alpha/service.rb +888 -139
  131. data/generated/google/apis/compute_beta.rb +1 -1
  132. data/generated/google/apis/compute_beta/classes.rb +439 -105
  133. data/generated/google/apis/compute_beta/representations.rb +94 -0
  134. data/generated/google/apis/compute_beta/service.rb +308 -33
  135. data/generated/google/apis/compute_v1.rb +1 -1
  136. data/generated/google/apis/compute_v1/classes.rb +701 -71
  137. data/generated/google/apis/compute_v1/representations.rb +200 -0
  138. data/generated/google/apis/compute_v1/service.rb +522 -33
  139. data/generated/google/apis/container_v1.rb +1 -1
  140. data/generated/google/apis/container_v1/classes.rb +123 -5
  141. data/generated/google/apis/container_v1/representations.rb +50 -0
  142. data/generated/google/apis/container_v1beta1.rb +1 -1
  143. data/generated/google/apis/container_v1beta1/classes.rb +142 -24
  144. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  145. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  146. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  147. data/generated/google/apis/content_v2.rb +1 -1
  148. data/generated/google/apis/content_v2/classes.rb +7 -1
  149. data/generated/google/apis/content_v2/representations.rb +1 -0
  150. data/generated/google/apis/content_v2/service.rb +10 -5
  151. data/generated/google/apis/content_v2_1.rb +1 -1
  152. data/generated/google/apis/content_v2_1/classes.rb +265 -7
  153. data/generated/google/apis/content_v2_1/representations.rb +108 -0
  154. data/generated/google/apis/content_v2_1/service.rb +10 -5
  155. data/generated/google/apis/customsearch_v1.rb +1 -1
  156. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  157. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  158. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  159. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  160. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  161. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  162. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  163. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  164. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  165. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  166. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  167. data/generated/google/apis/dataproc_v1.rb +1 -1
  168. data/generated/google/apis/dataproc_v1/classes.rb +49 -2
  169. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  170. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  171. data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -2
  172. data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
  173. data/generated/google/apis/dialogflow_v2.rb +1 -1
  174. data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
  175. data/generated/google/apis/dialogflow_v2/representations.rb +93 -0
  176. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  177. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  178. data/generated/google/apis/dialogflow_v2beta1/classes.rb +272 -30
  179. data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
  180. data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -48
  181. data/generated/google/apis/displayvideo_v1.rb +1 -1
  182. data/generated/google/apis/displayvideo_v1/classes.rb +118 -11
  183. data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
  184. data/generated/google/apis/displayvideo_v1/service.rb +78 -1
  185. data/generated/google/apis/dlp_v2.rb +1 -1
  186. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  187. data/generated/google/apis/dlp_v2/service.rb +170 -64
  188. data/generated/google/apis/dns_v1.rb +4 -4
  189. data/generated/google/apis/dns_v1/classes.rb +313 -162
  190. data/generated/google/apis/dns_v1/service.rb +247 -180
  191. data/generated/google/apis/dns_v1beta2.rb +4 -4
  192. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  193. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  194. data/generated/google/apis/documentai_v1beta2.rb +36 -0
  195. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  196. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  197. data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
  198. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  199. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  200. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  201. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  202. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  203. data/generated/google/apis/drive_v2.rb +1 -1
  204. data/generated/google/apis/drive_v2/classes.rb +9 -0
  205. data/generated/google/apis/drive_v2/representations.rb +1 -0
  206. data/generated/google/apis/drive_v2/service.rb +26 -78
  207. data/generated/google/apis/drive_v3.rb +1 -1
  208. data/generated/google/apis/drive_v3/classes.rb +9 -0
  209. data/generated/google/apis/drive_v3/representations.rb +1 -0
  210. data/generated/google/apis/drive_v3/service.rb +18 -54
  211. data/generated/google/apis/fcm_v1.rb +1 -1
  212. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  213. data/generated/google/apis/file_v1.rb +1 -1
  214. data/generated/google/apis/file_v1beta1.rb +1 -1
  215. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  216. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  217. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  218. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -11
  219. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  220. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  221. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  222. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  223. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  224. data/generated/google/apis/games_v1.rb +6 -4
  225. data/generated/google/apis/games_v1/classes.rb +354 -2112
  226. data/generated/google/apis/games_v1/representations.rb +12 -647
  227. data/generated/google/apis/games_v1/service.rb +212 -1154
  228. data/generated/google/apis/{androidpublisher_v2.rb → gameservices_v1.rb} +11 -11
  229. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  230. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  231. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  232. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  233. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  234. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  235. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  236. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  237. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  238. data/generated/google/apis/gmail_v1.rb +3 -2
  239. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  240. data/generated/google/apis/gmail_v1/service.rb +551 -743
  241. data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
  242. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  243. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  244. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  245. data/generated/google/apis/groupssettings_v1.rb +1 -1
  246. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  247. data/generated/google/apis/healthcare_v1.rb +1 -1
  248. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  249. data/generated/google/apis/healthcare_v1/service.rb +2 -0
  250. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  251. data/generated/google/apis/healthcare_v1beta1/classes.rb +916 -49
  252. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  253. data/generated/google/apis/healthcare_v1beta1/service.rb +517 -0
  254. data/generated/google/apis/iam_v1.rb +1 -1
  255. data/generated/google/apis/iam_v1/classes.rb +92 -81
  256. data/generated/google/apis/iam_v1/service.rb +167 -148
  257. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  258. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  259. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  260. data/generated/google/apis/jobs_v3.rb +1 -1
  261. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  262. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  263. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  264. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  265. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  266. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  267. data/generated/google/apis/logging_v2.rb +1 -1
  268. data/generated/google/apis/logging_v2/classes.rb +69 -21
  269. data/generated/google/apis/managedidentities_v1.rb +1 -1
  270. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  271. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  272. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  273. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  274. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  275. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  276. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  277. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  278. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  279. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  280. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  281. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  282. data/generated/google/apis/memcache_v1beta2/classes.rb +6 -6
  283. data/generated/google/apis/ml_v1.rb +1 -1
  284. data/generated/google/apis/ml_v1/classes.rb +14 -6
  285. data/generated/google/apis/ml_v1/representations.rb +1 -0
  286. data/generated/google/apis/monitoring_v1.rb +1 -1
  287. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  288. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  289. data/generated/google/apis/monitoring_v3.rb +1 -1
  290. data/generated/google/apis/monitoring_v3/classes.rb +78 -21
  291. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  292. data/generated/google/apis/monitoring_v3/service.rb +8 -5
  293. data/generated/google/apis/osconfig_v1.rb +1 -1
  294. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  295. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  296. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  297. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  298. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  299. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  300. data/generated/google/apis/people_v1.rb +4 -1
  301. data/generated/google/apis/people_v1/classes.rb +122 -6
  302. data/generated/google/apis/people_v1/representations.rb +51 -0
  303. data/generated/google/apis/people_v1/service.rb +339 -69
  304. data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
  305. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  306. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  307. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  308. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  309. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  310. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  311. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  312. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  313. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  314. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  315. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
  318. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
  319. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
  320. data/generated/google/apis/pubsub_v1.rb +1 -1
  321. data/generated/google/apis/pubsub_v1/classes.rb +77 -37
  322. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  323. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  324. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  325. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  326. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  327. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  328. data/generated/google/apis/recommender_v1.rb +1 -1
  329. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  330. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  331. data/generated/google/apis/recommender_v1/service.rb +123 -0
  332. data/generated/google/apis/redis_v1.rb +1 -1
  333. data/generated/google/apis/redis_v1/classes.rb +1 -1
  334. data/generated/google/apis/redis_v1/service.rb +1 -1
  335. data/generated/google/apis/redis_v1beta1.rb +1 -1
  336. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  337. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  338. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  339. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  342. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  343. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  344. data/generated/google/apis/run_v1.rb +1 -1
  345. data/generated/google/apis/run_v1/classes.rb +7 -9
  346. data/generated/google/apis/run_v1alpha1.rb +1 -1
  347. data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
  348. data/generated/google/apis/run_v1beta1.rb +1 -1
  349. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  350. data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
  351. data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
  352. data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
  353. data/generated/google/apis/secretmanager_v1.rb +1 -1
  354. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  355. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  356. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  357. data/generated/google/apis/securitycenter_v1.rb +1 -1
  358. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  359. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  360. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  361. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  362. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  363. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  364. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  365. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  366. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  367. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  368. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  369. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  370. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  371. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  372. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +126 -43
  373. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -1
  374. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +132 -43
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +2 -1
  377. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  378. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
  379. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  380. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  381. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  382. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  383. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  384. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  385. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  386. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  387. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  388. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  389. data/generated/google/apis/serviceusage_v1.rb +1 -1
  390. data/generated/google/apis/serviceusage_v1/classes.rb +133 -44
  391. data/generated/google/apis/serviceusage_v1/representations.rb +2 -1
  392. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  393. data/generated/google/apis/serviceusage_v1beta1/classes.rb +184 -44
  394. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -1
  395. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  396. data/generated/google/apis/sheets_v4.rb +1 -1
  397. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  398. data/generated/google/apis/slides_v1.rb +1 -1
  399. data/generated/google/apis/slides_v1/classes.rb +4 -0
  400. data/generated/google/apis/spanner_v1.rb +1 -1
  401. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  402. data/generated/google/apis/spanner_v1/service.rb +7 -0
  403. data/generated/google/apis/speech_v1.rb +1 -1
  404. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/storage_v1.rb +1 -1
  406. data/generated/google/apis/storage_v1/service.rb +2 -3
  407. data/generated/google/apis/testing_v1.rb +1 -1
  408. data/generated/google/apis/testing_v1/classes.rb +17 -6
  409. data/generated/google/apis/testing_v1/representations.rb +1 -0
  410. data/generated/google/apis/texttospeech_v1.rb +1 -1
  411. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  412. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  413. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  414. data/generated/google/apis/{androidpublisher_v1.rb → vectortile_v1.rb} +8 -8
  415. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  416. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  417. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  418. data/generated/google/apis/vision_v1.rb +1 -1
  419. data/generated/google/apis/vision_v1/classes.rb +18 -0
  420. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  421. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  422. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  423. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  424. data/generated/google/apis/webfonts_v1.rb +5 -5
  425. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  426. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  427. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  428. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  429. data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
  430. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  431. data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
  432. data/generated/google/apis/youtube_v3.rb +1 -1
  433. data/generated/google/apis/youtube_v3/classes.rb +592 -0
  434. data/generated/google/apis/youtube_v3/representations.rb +308 -0
  435. data/generated/google/apis/youtube_v3/service.rb +291 -0
  436. data/lib/google/apis/version.rb +1 -1
  437. metadata +31 -19
  438. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  439. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  440. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  441. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  442. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  443. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  444. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  445. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  446. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  447. data/generated/google/apis/groupsmigration_v1/service.rb +0 -107
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/classroom/
26
26
  module ClassroomV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200408'
28
+ REVISION = '20200706'
29
29
 
30
30
  # View and manage announcements in Google Classroom
31
31
  AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
@@ -1626,7 +1626,7 @@ module Google
1626
1626
  # This identifier can be either the Classroom-assigned identifier or an
1627
1627
  # alias.
1628
1628
  # @param [Fixnum] page_size
1629
- # Maximum number of items to return. Zero means no maximum.
1629
+ # Maximum number of items to return. The default is 30 if unspecified or `0`.
1630
1630
  # The server may return fewer than the specified number of results.
1631
1631
  # @param [String] page_token
1632
1632
  # nextPageToken
@@ -1811,7 +1811,7 @@ module Google
1811
1811
  # This identifier can be either the Classroom-assigned identifier or an
1812
1812
  # alias.
1813
1813
  # @param [Fixnum] page_size
1814
- # Maximum number of items to return. Zero means no maximum.
1814
+ # Maximum number of items to return. The default is 30 if unspecified or `0`.
1815
1815
  # The server may return fewer than the specified number of results.
1816
1816
  # @param [String] page_token
1817
1817
  # nextPageToken
@@ -2231,7 +2231,8 @@ module Google
2231
2231
  # Restricts returned invitations to those for a course with the specified
2232
2232
  # identifier.
2233
2233
  # @param [Fixnum] page_size
2234
- # Maximum number of items to return. Zero means no maximum.
2234
+ # Maximum number of items to return. The default is 500 if unspecified or
2235
+ # `0`.
2235
2236
  # The server may return fewer than the specified number of results.
2236
2237
  # @param [String] page_token
2237
2238
  # nextPageToken
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/asset-inventory/docs/quickstart
26
26
  module CloudassetV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200515'
28
+ REVISION = '20200619'
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'
@@ -27,7 +27,10 @@ module Google
27
27
  # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
28
28
  # resource-hierarchy),
29
29
  # a resource outside the Google Cloud resource hierarchy (such as Google
30
- # Kubernetes Engine clusters and objects), or a Cloud IAM policy.
30
+ # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
31
+ # See [Supported asset
32
+ # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
33
+ # for more information.
31
34
  class Asset
32
35
  include Google::Apis::Core::Hashable
33
36
 
@@ -59,7 +62,7 @@ module Google
59
62
  # @return [Array<String>]
60
63
  attr_accessor :ancestors
61
64
 
62
- # The type of the asset. Example: "compute.googleapis.com/Disk"
65
+ # The type of the asset. Example: `compute.googleapis.com/Disk`
63
66
  # See [Supported asset
64
67
  # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
65
68
  # for more information.
@@ -133,8 +136,8 @@ module Google
133
136
  attr_accessor :iam_policy
134
137
 
135
138
  # The full name of the asset. Example:
136
- # "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
137
- # instance1"
139
+ # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
140
+ # instance1`
138
141
  # See [Resource
139
142
  # names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
140
143
  # for more information.
@@ -170,6 +173,12 @@ module Google
170
173
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter]
171
174
  attr_accessor :service_perimeter
172
175
 
176
+ # The last update timestamp of an asset. update_time is updated when
177
+ # create/update/delete operation is performed.
178
+ # Corresponds to the JSON property `updateTime`
179
+ # @return [String]
180
+ attr_accessor :update_time
181
+
173
182
  def initialize(**args)
174
183
  update!(**args)
175
184
  end
@@ -185,6 +194,7 @@ module Google
185
194
  @org_policy = args[:org_policy] if args.key?(:org_policy)
186
195
  @resource = args[:resource] if args.key?(:resource)
187
196
  @service_perimeter = args[:service_perimeter] if args.key?(:service_perimeter)
197
+ @update_time = args[:update_time] if args.key?(:update_time)
188
198
  end
189
199
  end
190
200
 
@@ -200,7 +210,7 @@ module Google
200
210
  # `
201
211
  # "audit_configs": [
202
212
  # `
203
- # "service": "allServices"
213
+ # "service": "allServices",
204
214
  # "audit_log_configs": [
205
215
  # `
206
216
  # "log_type": "DATA_READ",
@@ -209,18 +219,18 @@ module Google
209
219
  # ]
210
220
  # `,
211
221
  # `
212
- # "log_type": "DATA_WRITE",
222
+ # "log_type": "DATA_WRITE"
213
223
  # `,
214
224
  # `
215
- # "log_type": "ADMIN_READ",
225
+ # "log_type": "ADMIN_READ"
216
226
  # `
217
227
  # ]
218
228
  # `,
219
229
  # `
220
- # "service": "sampleservice.googleapis.com"
230
+ # "service": "sampleservice.googleapis.com",
221
231
  # "audit_log_configs": [
222
232
  # `
223
- # "log_type": "DATA_READ",
233
+ # "log_type": "DATA_READ"
224
234
  # `,
225
235
  # `
226
236
  # "log_type": "DATA_WRITE",
@@ -272,7 +282,7 @@ module Google
272
282
  # ]
273
283
  # `,
274
284
  # `
275
- # "log_type": "DATA_WRITE",
285
+ # "log_type": "DATA_WRITE"
276
286
  # `
277
287
  # ]
278
288
  # `
@@ -323,7 +333,7 @@ module Google
323
333
  end
324
334
  end
325
335
 
326
- # A BigQuery destination.
336
+ # A BigQuery destination for exporting assets to.
327
337
  class BigQueryDestination
328
338
  include Google::Apis::Core::Hashable
329
339
 
@@ -503,7 +513,7 @@ module Google
503
513
  # permission query (i.e., a query containing `policy.role.permissions:`).
504
514
  # Example: if query `policy.role.permissions : "compute.disk.get"`
505
515
  # matches a policy binding that contains owner role, the
506
- # matched_permissions will be `"roles/owner": ["compute.disk.get"]`. The
516
+ # matched_permissions will be ``"roles/owner": ["compute.disk.get"]``. The
507
517
  # roles can also be found in the returned `policy` bindings. Note that the
508
518
  # map is populated only for requests with permission queries.
509
519
  # Corresponds to the JSON property `matchedPermissions`
@@ -524,9 +534,18 @@ module Google
524
534
  class ExportAssetsRequest
525
535
  include Google::Apis::Core::Hashable
526
536
 
527
- # A list of asset types of which to take a snapshot for. Example:
528
- # "compute.googleapis.com/Disk". If specified, only matching assets will be
529
- # returned. See [Introduction to Cloud Asset
537
+ # A list of asset types to take a snapshot for. For example:
538
+ # "compute.googleapis.com/Disk".
539
+ # Regular expressions are also supported. For example:
540
+ # * "compute.googleapis.com.*" snapshots resources whose asset type starts
541
+ # with "compute.googleapis.com".
542
+ # * ".*Instance" snapshots resources whose asset type ends with "Instance".
543
+ # * ".*Instance.*" snapshots resources whose asset type contains "Instance".
544
+ # See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
545
+ # regular expression syntax. If the regular expression does not match any
546
+ # supported asset type, an INVALID_ARGUMENT error will be returned.
547
+ # If specified, only matching assets will be returned, otherwise, it will
548
+ # snapshot all asset types. See [Introduction to Cloud Asset
530
549
  # Inventory](https://cloud.google.com/asset-inventory/docs/overview)
531
550
  # for all supported asset types.
532
551
  # Corresponds to the JSON property `assetTypes`
@@ -661,6 +680,32 @@ module Google
661
680
  # @return [Array<String>]
662
681
  attr_accessor :asset_types
663
682
 
683
+ # Represents a textual expression in the Common Expression Language (CEL)
684
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
685
+ # are documented at https://github.com/google/cel-spec.
686
+ # Example (Comparison):
687
+ # title: "Summary size limit"
688
+ # description: "Determines if a summary is less than 100 chars"
689
+ # expression: "document.summary.size() < 100"
690
+ # Example (Equality):
691
+ # title: "Requestor is owner"
692
+ # description: "Determines if requestor is the document owner"
693
+ # expression: "document.owner == request.auth.claims.email"
694
+ # Example (Logic):
695
+ # title: "Public documents"
696
+ # description: "Determine whether the document should be publicly visible"
697
+ # expression: "document.type != 'private' && document.type != 'internal'"
698
+ # Example (Data Manipulation):
699
+ # title: "Notification string"
700
+ # description: "Create a notification string with a timestamp."
701
+ # expression: "'New message received at ' + string(document.create_time)"
702
+ # The exact variables and functions that may be referenced within an expression
703
+ # are determined by the service that evaluates it. See the service
704
+ # documentation for additional information.
705
+ # Corresponds to the JSON property `condition`
706
+ # @return [Google::Apis::CloudassetV1::Expr]
707
+ attr_accessor :condition
708
+
664
709
  # Asset content type. If not specified, no content but the asset name and
665
710
  # type will be returned.
666
711
  # Corresponds to the JSON property `contentType`
@@ -690,6 +735,7 @@ module Google
690
735
  def update!(**args)
691
736
  @asset_names = args[:asset_names] if args.key?(:asset_names)
692
737
  @asset_types = args[:asset_types] if args.key?(:asset_types)
738
+ @condition = args[:condition] if args.key?(:condition)
693
739
  @content_type = args[:content_type] if args.key?(:content_type)
694
740
  @feed_output_config = args[:feed_output_config] if args.key?(:feed_output_config)
695
741
  @name = args[:name] if args.key?(:name)
@@ -852,7 +898,7 @@ module Google
852
898
  attr_accessor :denied_values
853
899
 
854
900
  # Determines the inheritance behavior for this `Policy`.
855
- # By default, a `ListPolicy` set at a resource supercedes any `Policy` set
901
+ # By default, a `ListPolicy` set at a resource supersedes any `Policy` set
856
902
  # anywhere up the resource hierarchy. However, if `inherit_from_parent` is
857
903
  # set to `true`, then the values from the effective `Policy` of the parent
858
904
  # resource are inherited, meaning the values set in this `Policy` are
@@ -976,6 +1022,9 @@ module Google
976
1022
 
977
1023
  # The name of the `Constraint` the `Policy` is configuring, for example,
978
1024
  # `constraints/serviceuser.services`.
1025
+ # A [list of available
1026
+ # constraints](/resource-manager/docs/organization-policy/org-policy-constraints)
1027
+ # is available.
979
1028
  # Immutable after creation.
980
1029
  # Corresponds to the JSON property `constraint`
981
1030
  # @return [String]
@@ -1687,8 +1736,8 @@ module Google
1687
1736
 
1688
1737
  # The full resource name of the resource associated with this IAM policy.
1689
1738
  # Example:
1690
- # "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
1691
- # instance1".
1739
+ # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
1740
+ # instance1`.
1692
1741
  # See [Cloud Asset Inventory Resource Name
1693
1742
  # Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
1694
1743
  # for more information.
@@ -1798,7 +1847,7 @@ module Google
1798
1847
  class OutputConfig
1799
1848
  include Google::Apis::Core::Hashable
1800
1849
 
1801
- # A BigQuery destination.
1850
+ # A BigQuery destination for exporting assets to.
1802
1851
  # Corresponds to the JSON property `bigqueryDestination`
1803
1852
  # @return [Google::Apis::CloudassetV1::BigQueryDestination]
1804
1853
  attr_accessor :bigquery_destination
@@ -1823,7 +1872,7 @@ module Google
1823
1872
  class Permissions
1824
1873
  include Google::Apis::Core::Hashable
1825
1874
 
1826
- # A list of permissions. A sample permission string: "compute.disk.get".
1875
+ # A list of permissions. A sample permission string: `compute.disk.get`.
1827
1876
  # Corresponds to the JSON property `permissions`
1828
1877
  # @return [Array<String>]
1829
1878
  attr_accessor :permissions
@@ -1998,7 +2047,7 @@ module Google
1998
2047
 
1999
2048
  # The URL of the discovery document containing the resource's JSON schema.
2000
2049
  # Example:
2001
- # "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"
2050
+ # `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
2002
2051
  # This value is unspecified for resources that do not have an API based on a
2003
2052
  # discovery document, such as Cloud Bigtable.
2004
2053
  # Corresponds to the JSON property `discoveryDocumentUri`
@@ -2006,7 +2055,7 @@ module Google
2006
2055
  attr_accessor :discovery_document_uri
2007
2056
 
2008
2057
  # The JSON schema name listed in the discovery document. Example:
2009
- # "Project"
2058
+ # `Project`
2010
2059
  # This value is unspecified for resources that do not have an API based on a
2011
2060
  # discovery document, such as Cloud Bigtable.
2012
2061
  # Corresponds to the JSON property `discoveryName`
@@ -2027,7 +2076,7 @@ module Google
2027
2076
  # [Cloud IAM policy
2028
2077
  # hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
2029
2078
  # Example:
2030
- # "//cloudresourcemanager.googleapis.com/projects/my_project_123"
2079
+ # `//cloudresourcemanager.googleapis.com/projects/my_project_123`
2031
2080
  # For third-party assets, this field may be set differently.
2032
2081
  # Corresponds to the JSON property `parent`
2033
2082
  # @return [String]
@@ -2035,13 +2084,13 @@ module Google
2035
2084
 
2036
2085
  # The REST URL for accessing the resource. An HTTP `GET` request using this
2037
2086
  # URL returns the resource itself. Example:
2038
- # "https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123"
2087
+ # `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
2039
2088
  # This value is unspecified for resources without a REST API.
2040
2089
  # Corresponds to the JSON property `resourceUrl`
2041
2090
  # @return [String]
2042
2091
  attr_accessor :resource_url
2043
2092
 
2044
- # The API version. Example: "v1"
2093
+ # The API version. Example: `v1`
2045
2094
  # Corresponds to the JSON property `version`
2046
2095
  # @return [String]
2047
2096
  attr_accessor :version
@@ -2067,17 +2116,25 @@ module Google
2067
2116
  include Google::Apis::Core::Hashable
2068
2117
 
2069
2118
  # The additional attributes of this resource. The attributes may vary from
2070
- # one resource type to another. Examples: "projectId" for Project,
2071
- # "dnsName" for DNS ManagedZone.
2119
+ # one resource type to another. Examples: `projectId` for Project,
2120
+ # `dnsName` for DNS ManagedZone. This field contains a subset of the resource
2121
+ # metadata fields that are returned by the List or Get APIs provided by the
2122
+ # corresponding GCP service (e.g., Compute Engine). see [API
2123
+ # references](https://cloud.google.com/asset-inventory/docs/supported-asset-
2124
+ # types#supported_resource_types)
2125
+ # of CAIS supported resource types. You can search values of these fields
2126
+ # through free text search. However, you should not consume the field
2127
+ # programically as the field names and values may change as the GCP service
2128
+ # (e.g., Compute Engine) updates to a new incompatible API version.
2072
2129
  # To search against the `additional_attributes`:
2073
2130
  # * use a free text query to match the attributes values. Example: to search
2074
- # additional_attributes = ` dnsName: "foobar" `, you can issue a query
2131
+ # `additional_attributes = ` dnsName: "foobar" ``, you can issue a query
2075
2132
  # `"foobar"`.
2076
2133
  # Corresponds to the JSON property `additionalAttributes`
2077
2134
  # @return [Hash<String,Object>]
2078
2135
  attr_accessor :additional_attributes
2079
2136
 
2080
- # The type of this resource. Example: "compute.googleapis.com/Disk".
2137
+ # The type of this resource. Example: `compute.googleapis.com/Disk`.
2081
2138
  # To search against the `asset_type`:
2082
2139
  # * specify the `asset_type` field in your search request.
2083
2140
  # Corresponds to the JSON property `assetType`
@@ -2115,8 +2172,8 @@ module Google
2115
2172
  # @return [Hash<String,String>]
2116
2173
  attr_accessor :labels
2117
2174
 
2118
- # Location can be "global", regional like "us-east1", or zonal like
2119
- # "us-west1-b".
2175
+ # Location can be `global`, regional like `us-east1`, or zonal like
2176
+ # `us-west1-b`.
2120
2177
  # To search against the `location`:
2121
2178
  # * use a field query. Example: `location : "us-west*"`
2122
2179
  # * use a free text query. Example: `"us-west*"`
@@ -2125,8 +2182,8 @@ module Google
2125
2182
  attr_accessor :location
2126
2183
 
2127
2184
  # The full resource name of this resource. Example:
2128
- # "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
2129
- # instance1".
2185
+ # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
2186
+ # instance1`.
2130
2187
  # See [Cloud Asset Inventory Resource Name
2131
2188
  # Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
2132
2189
  # for more information.
@@ -2280,7 +2337,10 @@ module Google
2280
2337
  # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
2281
2338
  # resource-hierarchy),
2282
2339
  # a resource outside the Google Cloud resource hierarchy (such as Google
2283
- # Kubernetes Engine clusters and objects), or a Cloud IAM policy.
2340
+ # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
2341
+ # See [Supported asset
2342
+ # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
2343
+ # for more information.
2284
2344
  # Corresponds to the JSON property `asset`
2285
2345
  # @return [Google::Apis::CloudassetV1::Asset]
2286
2346
  attr_accessor :asset
@@ -2291,7 +2351,25 @@ module Google
2291
2351
  attr_accessor :deleted
2292
2352
  alias_method :deleted?, :deleted
2293
2353
 
2294
- # A time window specified by its "start_time" and "end_time".
2354
+ # An asset in Google Cloud. An asset can be any resource in the Google Cloud
2355
+ # [resource
2356
+ # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
2357
+ # resource-hierarchy),
2358
+ # a resource outside the Google Cloud resource hierarchy (such as Google
2359
+ # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
2360
+ # See [Supported asset
2361
+ # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
2362
+ # for more information.
2363
+ # Corresponds to the JSON property `priorAsset`
2364
+ # @return [Google::Apis::CloudassetV1::Asset]
2365
+ attr_accessor :prior_asset
2366
+
2367
+ # State of prior_asset.
2368
+ # Corresponds to the JSON property `priorAssetState`
2369
+ # @return [String]
2370
+ attr_accessor :prior_asset_state
2371
+
2372
+ # A time window specified by its `start_time` and `end_time`.
2295
2373
  # Corresponds to the JSON property `window`
2296
2374
  # @return [Google::Apis::CloudassetV1::TimeWindow]
2297
2375
  attr_accessor :window
@@ -2304,11 +2382,13 @@ module Google
2304
2382
  def update!(**args)
2305
2383
  @asset = args[:asset] if args.key?(:asset)
2306
2384
  @deleted = args[:deleted] if args.key?(:deleted)
2385
+ @prior_asset = args[:prior_asset] if args.key?(:prior_asset)
2386
+ @prior_asset_state = args[:prior_asset_state] if args.key?(:prior_asset_state)
2307
2387
  @window = args[:window] if args.key?(:window)
2308
2388
  end
2309
2389
  end
2310
2390
 
2311
- # A time window specified by its "start_time" and "end_time".
2391
+ # A time window specified by its `start_time` and `end_time`.
2312
2392
  class TimeWindow
2313
2393
  include Google::Apis::Core::Hashable
2314
2394
 
@@ -298,6 +298,7 @@ module Google
298
298
 
299
299
  property :service_perimeter, as: 'servicePerimeter', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter::Representation
300
300
 
301
+ property :update_time, as: 'updateTime'
301
302
  end
302
303
  end
303
304
 
@@ -394,6 +395,8 @@ module Google
394
395
  class Representation < Google::Apis::Core::JsonRepresentation
395
396
  collection :asset_names, as: 'assetNames'
396
397
  collection :asset_types, as: 'assetTypes'
398
+ property :condition, as: 'condition', class: Google::Apis::CloudassetV1::Expr, decorator: Google::Apis::CloudassetV1::Expr::Representation
399
+
397
400
  property :content_type, as: 'contentType'
398
401
  property :feed_output_config, as: 'feedOutputConfig', class: Google::Apis::CloudassetV1::FeedOutputConfig, decorator: Google::Apis::CloudassetV1::FeedOutputConfig::Representation
399
402
 
@@ -695,6 +698,9 @@ module Google
695
698
  property :asset, as: 'asset', class: Google::Apis::CloudassetV1::Asset, decorator: Google::Apis::CloudassetV1::Asset::Representation
696
699
 
697
700
  property :deleted, as: 'deleted'
701
+ property :prior_asset, as: 'priorAsset', class: Google::Apis::CloudassetV1::Asset, decorator: Google::Apis::CloudassetV1::Asset::Representation
702
+
703
+ property :prior_asset_state, as: 'priorAssetState'
698
704
  property :window, as: 'window', class: Google::Apis::CloudassetV1::TimeWindow, decorator: Google::Apis::CloudassetV1::TimeWindow::Representation
699
705
 
700
706
  end
@@ -254,10 +254,10 @@ module Google
254
254
  end
255
255
 
256
256
  # Batch gets the update history of assets that overlap a time window.
257
- # For RESOURCE content, this API outputs history with asset in both
258
- # non-delete or deleted status.
259
257
  # For IAM_POLICY content, this API outputs history when the asset and its
260
258
  # attached IAM POLICY both exist. This can create gaps in the output history.
259
+ # Otherwise, this API outputs history with asset in both non-delete or
260
+ # deleted status.
261
261
  # If a specified asset does not exist, this API returns an INVALID_ARGUMENT
262
262
  # error.
263
263
  # @param [String] parent
@@ -311,13 +311,15 @@ module Google
311
311
  end
312
312
 
313
313
  # Exports assets with time and resource types to a given Cloud Storage
314
- # location. The output format is newline-delimited JSON. Each line represents
315
- # a google.cloud.asset.v1.Asset in the JSON format.
316
- # This API implements the google.longrunning.Operation API allowing you
317
- # to keep track of the export. We recommend intervals of at least 2 seconds
318
- # with exponential retry to poll the export operation result. For
319
- # regular-size resource parent, the export operation usually finishes within
320
- # 5 minutes.
314
+ # location/BigQuery table. For Cloud Storage location destinations, the
315
+ # output format is newline-delimited JSON. Each line represents a
316
+ # google.cloud.asset.v1.Asset in the JSON format; for BigQuery table
317
+ # destinations, the output table stores the fields in asset proto as columns.
318
+ # This API implements the google.longrunning.Operation API
319
+ # , which allows you to keep track of the export. We recommend intervals of
320
+ # at least 2 seconds with exponential retry to poll the export operation
321
+ # result. For regular-size resource parent, the export operation usually
322
+ # finishes within 5 minutes.
321
323
  # @param [String] parent
322
324
  # Required. The relative name of the root asset. This can only be an
323
325
  # organization number (such as "organizations/123"), a project ID (such as
@@ -355,7 +357,7 @@ module Google
355
357
 
356
358
  # Searches all the IAM policies within the given accessible scope (e.g., a
357
359
  # project, a folder or an organization). Callers should have
358
- # cloud.assets.SearchAllIamPolicies permission upon the requested scope,
360
+ # `cloud.assets.SearchAllIamPolicies` permission upon the requested scope,
359
361
  # otherwise the request will be rejected.
360
362
  # @param [String] scope
361
363
  # Required. A scope can be a project, a folder or an organization. The search is
@@ -430,7 +432,7 @@ module Google
430
432
 
431
433
  # Searches all the resources within the given accessible scope (e.g., a
432
434
  # project, a folder or an organization). Callers should have
433
- # cloud.assets.SearchAllResources permission upon the requested scope,
435
+ # `cloud.assets.SearchAllResources` permission upon the requested scope,
434
436
  # otherwise the request will be rejected.
435
437
  # @param [String] scope
436
438
  # Required. A scope can be a project, a folder or an organization. The search is
@@ -450,10 +452,11 @@ module Google
450
452
  # Optional. A comma separated list of fields specifying the sorting order of the
451
453
  # results. The default order is ascending. Add " DESC" after the field name
452
454
  # to indicate descending order. Redundant space characters are ignored.
453
- # Example: "location DESC, name". See [supported resource metadata
454
- # fields](https://cloud.google.com/asset-inventory/docs/searching-resources#
455
- # query_on_resource_metadata_fields)
456
- # for more details.
455
+ # Example: "location DESC, name". Only string fields in the response are
456
+ # sortable, including `name`, `displayName`, `description`, `location`. All
457
+ # the other fields such as repeated fields (e.g., `networkTags`), map
458
+ # fields (e.g., `labels`) and struct fields (e.g., `additionalAttributes`)
459
+ # are not supported.
457
460
  # @param [Fixnum] page_size
458
461
  # Optional. The page size for search result pagination. Page size is capped at
459
462
  # 500 even