google-api-client 0.34.0 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (344) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -3
  9. data/CHANGELOG.md +132 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +49 -1
  13. data/Rakefile +71 -2
  14. data/docs/api-keys.md +20 -0
  15. data/docs/auth.md +53 -0
  16. data/docs/client-secrets.md +69 -0
  17. data/docs/getting-started.md +340 -0
  18. data/docs/installation.md +0 -0
  19. data/docs/logging.md +34 -0
  20. data/docs/media-upload.md +25 -0
  21. data/docs/oauth-installed.md +191 -0
  22. data/docs/oauth-server.md +135 -0
  23. data/docs/oauth-web.md +280 -0
  24. data/docs/oauth.md +268 -0
  25. data/docs/pagination.md +29 -0
  26. data/docs/performance.md +25 -0
  27. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  28. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +9 -0
  29. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  30. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  31. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +9 -0
  32. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  33. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  34. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v3/classes.rb +93 -0
  36. data/generated/google/apis/androidpublisher_v3/representations.rb +49 -0
  37. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  38. data/generated/google/apis/appengine_v1.rb +1 -1
  39. data/generated/google/apis/appengine_v1beta.rb +1 -1
  40. data/generated/google/apis/appsmarket_v2.rb +1 -1
  41. data/generated/google/apis/bigquery_v2/classes.rb +79 -4
  42. data/generated/google/apis/bigquery_v2/representations.rb +35 -0
  43. data/generated/google/apis/bigquery_v2/service.rb +1 -5
  44. data/generated/google/apis/bigquery_v2.rb +1 -1
  45. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
  46. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  47. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
  48. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  49. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
  50. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  51. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  52. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
  53. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
  54. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  55. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  56. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
  57. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
  58. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +112 -78
  59. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  60. data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
  61. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  62. data/generated/google/apis/bigtableadmin_v2/classes.rb +1 -1
  63. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  64. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  65. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
  66. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
  67. data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
  68. data/generated/google/apis/{sqladmin_v1beta4.rb → billingbudgets_v1beta1.rb} +10 -13
  69. data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
  70. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  71. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
  72. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  73. data/generated/google/apis/books_v1/classes.rb +20 -0
  74. data/generated/google/apis/books_v1/representations.rb +3 -0
  75. data/generated/google/apis/books_v1.rb +1 -1
  76. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  77. data/generated/google/apis/calendar_v3/service.rb +18 -30
  78. data/generated/google/apis/calendar_v3.rb +1 -1
  79. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  80. data/generated/google/apis/civicinfo_v2/representations.rb +0 -58
  81. data/generated/google/apis/civicinfo_v2.rb +1 -1
  82. data/generated/google/apis/cloudasset_v1/classes.rb +6 -5
  83. data/generated/google/apis/cloudasset_v1.rb +1 -1
  84. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -5
  85. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  86. data/generated/google/apis/cloudbilling_v1/classes.rb +17 -0
  87. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  88. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
  89. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  90. data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
  91. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  92. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -2
  93. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  94. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +4 -1
  95. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  96. data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
  97. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  98. data/generated/google/apis/cloudfunctions_v1/service.rb +3 -1
  99. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  100. data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
  101. data/generated/google/apis/cloudiot_v1.rb +1 -1
  102. data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
  103. data/generated/google/apis/cloudkms_v1.rb +1 -1
  104. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -5
  105. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
  107. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  108. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
  109. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -5
  111. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -5
  113. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  114. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  115. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  116. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  117. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  118. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -130
  119. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
  120. data/generated/google/apis/cloudsearch_v1/service.rb +42 -7
  121. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  122. data/generated/google/apis/cloudshell_v1/classes.rb +2 -1
  123. data/generated/google/apis/cloudshell_v1.rb +1 -1
  124. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +2 -1
  125. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  126. data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
  127. data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
  128. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  129. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
  130. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  131. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
  132. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  133. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
  134. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  135. data/generated/google/apis/compute_alpha/classes.rb +75 -12
  136. data/generated/google/apis/compute_alpha/representations.rb +2 -0
  137. data/generated/google/apis/compute_alpha.rb +1 -1
  138. data/generated/google/apis/compute_beta/classes.rb +54 -10
  139. data/generated/google/apis/compute_beta.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +54 -10
  141. data/generated/google/apis/compute_v1.rb +1 -1
  142. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
  143. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  144. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
  145. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  146. data/generated/google/apis/content_v2/classes.rb +13 -4
  147. data/generated/google/apis/content_v2.rb +1 -1
  148. data/generated/google/apis/content_v2_1/classes.rb +13 -4
  149. data/generated/google/apis/content_v2_1.rb +1 -1
  150. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
  151. data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
  152. data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
  153. data/generated/google/apis/datacatalog_v1beta1.rb +35 -0
  154. data/generated/google/apis/dataproc_v1/classes.rb +75 -4
  155. data/generated/google/apis/dataproc_v1/representations.rb +22 -0
  156. data/generated/google/apis/dataproc_v1/service.rb +14 -7
  157. data/generated/google/apis/dataproc_v1.rb +1 -1
  158. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -4
  159. data/generated/google/apis/dataproc_v1beta2/service.rb +14 -7
  160. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  161. data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
  162. data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
  163. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  164. data/generated/google/apis/dfareporting_v3_4/classes.rb +12717 -0
  165. data/generated/google/apis/dfareporting_v3_4/representations.rb +4595 -0
  166. data/generated/google/apis/dfareporting_v3_4/service.rb +8685 -0
  167. data/generated/google/apis/dfareporting_v3_4.rb +40 -0
  168. data/generated/google/apis/dialogflow_v2/classes.rb +484 -1
  169. data/generated/google/apis/dialogflow_v2/representations.rb +220 -0
  170. data/generated/google/apis/dialogflow_v2.rb +1 -1
  171. data/generated/google/apis/dialogflow_v2beta1/classes.rb +497 -1
  172. data/generated/google/apis/dialogflow_v2beta1/representations.rb +221 -0
  173. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  174. data/generated/google/apis/dlp_v2/classes.rb +93 -25
  175. data/generated/google/apis/dlp_v2/representations.rb +23 -4
  176. data/generated/google/apis/dlp_v2/service.rb +1977 -233
  177. data/generated/google/apis/dlp_v2.rb +1 -1
  178. data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
  179. data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
  180. data/generated/google/apis/dns_v1beta2.rb +1 -1
  181. data/generated/google/apis/docs_v1.rb +1 -1
  182. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  183. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
  184. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
  185. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
  186. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +34 -0
  187. data/generated/google/apis/drive_v3/classes.rb +12 -3
  188. data/generated/google/apis/drive_v3.rb +1 -1
  189. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  190. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  191. data/generated/google/apis/fcm_v1.rb +1 -1
  192. data/generated/google/apis/firebase_v1beta1/classes.rb +3 -4
  193. data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
  194. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  195. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +25 -0
  196. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  197. data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
  198. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  199. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  200. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  201. data/generated/google/apis/firebaserules_v1.rb +1 -1
  202. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  203. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  204. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  205. data/generated/google/apis/healthcare_v1beta1/classes.rb +8 -7
  206. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  207. data/generated/google/apis/homegraph_v1/classes.rb +15 -1
  208. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  209. data/generated/google/apis/homegraph_v1.rb +1 -1
  210. data/generated/google/apis/iam_v1/classes.rb +6 -5
  211. data/generated/google/apis/iam_v1.rb +1 -1
  212. data/generated/google/apis/logging_v2/classes.rb +18 -2
  213. data/generated/google/apis/logging_v2/representations.rb +2 -0
  214. data/generated/google/apis/logging_v2.rb +1 -1
  215. data/generated/google/apis/ml_v1/classes.rb +173 -97
  216. data/generated/google/apis/ml_v1/representations.rb +58 -0
  217. data/generated/google/apis/ml_v1/service.rb +37 -0
  218. data/generated/google/apis/ml_v1.rb +1 -1
  219. data/generated/google/apis/monitoring_v3/classes.rb +780 -6
  220. data/generated/google/apis/monitoring_v3/representations.rb +347 -0
  221. data/generated/google/apis/monitoring_v3/service.rb +382 -0
  222. data/generated/google/apis/monitoring_v3.rb +1 -1
  223. data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
  224. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  225. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  226. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -5
  227. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  228. data/generated/google/apis/pubsub_v1/classes.rb +8 -6
  229. data/generated/google/apis/pubsub_v1/service.rb +6 -7
  230. data/generated/google/apis/pubsub_v1.rb +1 -1
  231. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
  232. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  233. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  234. data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
  235. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  236. data/generated/google/apis/redis_v1/classes.rb +11 -11
  237. data/generated/google/apis/redis_v1/service.rb +5 -5
  238. data/generated/google/apis/redis_v1.rb +1 -1
  239. data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
  240. data/generated/google/apis/redis_v1beta1/service.rb +5 -5
  241. data/generated/google/apis/redis_v1beta1.rb +1 -1
  242. data/generated/google/apis/remotebuildexecution_v1/classes.rb +33 -0
  243. data/generated/google/apis/remotebuildexecution_v1/representations.rb +15 -0
  244. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  245. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +33 -0
  246. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +15 -0
  247. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  248. data/generated/google/apis/remotebuildexecution_v2/classes.rb +33 -0
  249. data/generated/google/apis/remotebuildexecution_v2/representations.rb +15 -0
  250. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  251. data/generated/google/apis/run_v1/classes.rb +8 -169
  252. data/generated/google/apis/run_v1/representations.rb +0 -71
  253. data/generated/google/apis/run_v1/service.rb +229 -1207
  254. data/generated/google/apis/run_v1.rb +1 -1
  255. data/generated/google/apis/run_v1alpha1/classes.rb +9 -9
  256. data/generated/google/apis/run_v1alpha1.rb +1 -1
  257. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -5
  258. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  259. data/generated/google/apis/securitycenter_v1/classes.rb +88 -29
  260. data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
  261. data/generated/google/apis/securitycenter_v1/service.rb +14 -12
  262. data/generated/google/apis/securitycenter_v1.rb +1 -1
  263. data/generated/google/apis/securitycenter_v1beta1/classes.rb +24 -20
  264. data/generated/google/apis/securitycenter_v1beta1/service.rb +14 -12
  265. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  266. data/generated/google/apis/servicebroker_v1/classes.rb +6 -5
  267. data/generated/google/apis/servicebroker_v1.rb +1 -1
  268. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -5
  269. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  270. data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -5
  271. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  272. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -2
  273. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  274. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -1
  275. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  276. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  277. data/generated/google/apis/servicemanagement_v1/classes.rb +12 -9
  278. data/generated/google/apis/servicemanagement_v1/service.rb +1 -9
  279. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  280. data/generated/google/apis/servicenetworking_v1/classes.rb +130 -13
  281. data/generated/google/apis/servicenetworking_v1/representations.rb +58 -0
  282. data/generated/google/apis/servicenetworking_v1/service.rb +42 -3
  283. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  284. data/generated/google/apis/servicenetworking_v1beta/classes.rb +3 -2
  285. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  286. data/generated/google/apis/serviceusage_v1/classes.rb +3 -2
  287. data/generated/google/apis/serviceusage_v1.rb +1 -1
  288. data/generated/google/apis/serviceusage_v1beta1/classes.rb +3 -2
  289. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  290. data/generated/google/apis/sheets_v4/classes.rb +768 -18
  291. data/generated/google/apis/sheets_v4/representations.rb +101 -0
  292. data/generated/google/apis/sheets_v4.rb +1 -1
  293. data/generated/google/apis/spanner_v1/classes.rb +70 -30
  294. data/generated/google/apis/spanner_v1/service.rb +270 -0
  295. data/generated/google/apis/spanner_v1.rb +1 -1
  296. data/generated/google/apis/speech_v1/classes.rb +6 -0
  297. data/generated/google/apis/speech_v1/representations.rb +1 -0
  298. data/generated/google/apis/speech_v1.rb +1 -1
  299. data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
  300. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  301. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  302. data/generated/google/apis/sql_v1beta4/service.rb +59 -10
  303. data/generated/google/apis/sql_v1beta4.rb +1 -1
  304. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  305. data/generated/google/apis/videointelligence_v1/classes.rb +112 -0
  306. data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
  307. data/generated/google/apis/videointelligence_v1.rb +1 -1
  308. data/generated/google/apis/videointelligence_v1beta2/classes.rb +112 -0
  309. data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
  310. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  311. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +112 -0
  312. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
  313. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  314. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +112 -0
  315. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
  316. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  317. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +112 -0
  318. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
  319. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  320. data/generated/google/apis/vision_v1/classes.rb +66 -0
  321. data/generated/google/apis/vision_v1/representations.rb +32 -0
  322. data/generated/google/apis/vision_v1.rb +1 -1
  323. data/generated/google/apis/vision_v1p1beta1/classes.rb +66 -0
  324. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  325. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  326. data/generated/google/apis/vision_v1p2beta1/classes.rb +66 -0
  327. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  328. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  329. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  330. data/lib/google/apis/core/api_command.rb +3 -0
  331. data/lib/google/apis/core/http_command.rb +10 -8
  332. data/lib/google/apis/core/upload.rb +4 -0
  333. data/lib/google/apis/version.rb +1 -1
  334. data/rakelib/devsite/devsite_builder.rb +126 -0
  335. data/rakelib/devsite/link_checker.rb +64 -0
  336. data/rakelib/devsite/repo_metadata.rb +56 -0
  337. metadata +39 -11
  338. data/generated/google/apis/sqladmin_v1beta4/classes.rb +0 -2633
  339. data/generated/google/apis/sqladmin_v1beta4/representations.rb +0 -1110
  340. data/generated/google/apis/sqladmin_v1beta4/service.rb +0 -1793
  341. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  342. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  343. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  344. data/generated/google/apis/storage_v1beta1.rb +0 -40
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191009'
29
+ REVISION = '20191112'
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'
@@ -2728,8 +2728,8 @@ module Google
2728
2728
  # ensure that their change will be applied to the same version of the policy.
2729
2729
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
2730
2730
  # policy is overwritten. Due to blind-set semantics of an etag-less policy,
2731
- # 'setIamPolicy' will not fail even if either of incoming or stored policy
2732
- # does not meet the version requirements.
2731
+ # 'setIamPolicy' will not fail even if the incoming policy version does not
2732
+ # meet the requirements for modifying the stored policy.
2733
2733
  # Corresponds to the JSON property `etag`
2734
2734
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2735
2735
  # @return [String]
@@ -2740,11 +2740,12 @@ module Google
2740
2740
  # rejected.
2741
2741
  # Operations affecting conditional bindings must specify version 3. This can
2742
2742
  # be either setting a conditional policy, modifying a conditional binding,
2743
- # or removing a conditional binding from the stored conditional policy.
2743
+ # or removing a binding (conditional or unconditional) from the stored
2744
+ # conditional policy.
2744
2745
  # Operations on non-conditional policies may specify any valid value or
2745
2746
  # leave the field unset.
2746
- # If no etag is provided in the call to `setIamPolicy`, any version
2747
- # compliance checks on the incoming and/or stored policy is skipped.
2747
+ # If no etag is provided in the call to `setIamPolicy`, version compliance
2748
+ # checks against the stored policy is skipped.
2748
2749
  # Corresponds to the JSON property `version`
2749
2750
  # @return [Fixnum]
2750
2751
  attr_accessor :version
@@ -4665,7 +4666,7 @@ module Google
4665
4666
  end
4666
4667
  end
4667
4668
 
4668
- #
4669
+ # Deprecated, importer specification will be available via GcpImporterDao.
4669
4670
  class TriggerImporterSpec
4670
4671
  include Google::Apis::Core::Hashable
4671
4672
 
@@ -4708,9 +4709,8 @@ module Google
4708
4709
  # @return [Google::Apis::RunV1alpha1::TriggerFilter]
4709
4710
  attr_accessor :filter
4710
4711
 
4711
- # Specification of the importers that will provide events to the trigger.
4712
- # Note, for Cloud Run, the importers will only be used if a filter is not
4713
- # specified.
4712
+ # Deprecated, importer specification will be replaced by information stored
4713
+ # in GcpImporterDao.
4714
4714
  # Corresponds to the JSON property `importers`
4715
4715
  # @return [Array<Google::Apis::RunV1alpha1::TriggerImporterSpec>]
4716
4716
  attr_accessor :importers
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20191021'
29
+ REVISION = '20191115'
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'
@@ -427,8 +427,8 @@ module Google
427
427
  # ensure that their change will be applied to the same version of the policy.
428
428
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
429
429
  # policy is overwritten. Due to blind-set semantics of an etag-less policy,
430
- # 'setIamPolicy' will not fail even if either of incoming or stored policy
431
- # does not meet the version requirements.
430
+ # 'setIamPolicy' will not fail even if the incoming policy version does not
431
+ # meet the requirements for modifying the stored policy.
432
432
  # Corresponds to the JSON property `etag`
433
433
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
434
434
  # @return [String]
@@ -439,11 +439,12 @@ module Google
439
439
  # rejected.
440
440
  # Operations affecting conditional bindings must specify version 3. This can
441
441
  # be either setting a conditional policy, modifying a conditional binding,
442
- # or removing a conditional binding from the stored conditional policy.
442
+ # or removing a binding (conditional or unconditional) from the stored
443
+ # conditional policy.
443
444
  # Operations on non-conditional policies may specify any valid value or
444
445
  # leave the field unset.
445
- # If no etag is provided in the call to `setIamPolicy`, any version
446
- # compliance checks on the incoming and/or stored policy is skipped.
446
+ # If no etag is provided in the call to `setIamPolicy`, version compliance
447
+ # checks against the stored policy is skipped.
447
448
  # Corresponds to the JSON property `version`
448
449
  # @return [Fixnum]
449
450
  attr_accessor :version
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://cloud.google.com/deployment-manager/runtime-configurator/
29
29
  module RuntimeconfigV1beta1
30
30
  VERSION = 'V1beta1'
31
- REVISION = '20190930'
31
+ REVISION = '20191112'
32
32
 
33
33
  # View and manage your data across Google Cloud Platform services
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -45,7 +45,7 @@ module Google
45
45
  # The relative resource name of this asset. See:
46
46
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
47
47
  # Example:
48
- # "organizations/123/assets/456".
48
+ # "organizations/`organization_id`/assets/`asset_id`".
49
49
  # Corresponds to the JSON property `name`
50
50
  # @return [String]
51
51
  attr_accessor :name
@@ -348,10 +348,11 @@ module Google
348
348
  end
349
349
 
350
350
  # Cloud Security Command Center (Cloud SCC) finding.
351
- # A finding is a record of assessment data (security, risk, health or privacy)
352
- # ingested into Cloud SCC for presentation, notification, analysis,
353
- # policy testing, and enforcement. For example, an XSS vulnerability in an
354
- # App Engine application is a finding.
351
+ # A finding is a record of assessment data like security, risk, health, or
352
+ # privacy, that is ingested into Cloud SCC for presentation, notification,
353
+ # analysis, policy testing, and enforcement. For example, a
354
+ # cross-site scripting (XSS) vulnerability in an App Engine application is a
355
+ # finding.
355
356
  class Finding
356
357
  include Google::Apis::Core::Hashable
357
358
 
@@ -384,7 +385,7 @@ module Google
384
385
  # The relative resource name of this finding. See:
385
386
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
386
387
  # Example:
387
- # "organizations/123/sources/456/findings/789"
388
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
388
389
  # Corresponds to the JSON property `name`
389
390
  # @return [String]
390
391
  attr_accessor :name
@@ -393,14 +394,16 @@ module Google
393
394
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
394
395
  # This field is immutable after creation time.
395
396
  # For example:
396
- # "organizations/123/sources/456"
397
+ # "organizations/`organization_id`/sources/`source_id`"
397
398
  # Corresponds to the JSON property `parent`
398
399
  # @return [String]
399
400
  attr_accessor :parent
400
401
 
401
- # The full resource name of the Google Cloud Platform (GCP) resource this
402
- # finding is for. See:
402
+ # For findings on Google Cloud Platform (GCP) resources, the full resource
403
+ # name of the GCP resource this finding is for. See:
403
404
  # https://cloud.google.com/apis/design/resource_names#full_resource_name
405
+ # When the finding is for a non-GCP resource, the resourceName can be a
406
+ # customer or partner defined string.
404
407
  # This field is immutable after creation time.
405
408
  # Corresponds to the JSON property `resourceName`
406
409
  # @return [String]
@@ -1019,14 +1022,21 @@ module Google
1019
1022
  include Google::Apis::Core::Hashable
1020
1023
 
1021
1024
  # Cloud Security Command Center (Cloud SCC) finding.
1022
- # A finding is a record of assessment data (security, risk, health or privacy)
1023
- # ingested into Cloud SCC for presentation, notification, analysis,
1024
- # policy testing, and enforcement. For example, an XSS vulnerability in an
1025
- # App Engine application is a finding.
1025
+ # A finding is a record of assessment data like security, risk, health, or
1026
+ # privacy, that is ingested into Cloud SCC for presentation, notification,
1027
+ # analysis, policy testing, and enforcement. For example, a
1028
+ # cross-site scripting (XSS) vulnerability in an App Engine application is a
1029
+ # finding.
1026
1030
  # Corresponds to the JSON property `finding`
1027
1031
  # @return [Google::Apis::SecuritycenterV1::Finding]
1028
1032
  attr_accessor :finding
1029
1033
 
1034
+ # Information related to the Google Cloud Platform (GCP) resource that is
1035
+ # associated with this finding.
1036
+ # Corresponds to the JSON property `resource`
1037
+ # @return [Google::Apis::SecuritycenterV1::Resource]
1038
+ attr_accessor :resource
1039
+
1030
1040
  # State change of the finding between the points in time.
1031
1041
  # Corresponds to the JSON property `stateChange`
1032
1042
  # @return [String]
@@ -1039,6 +1049,7 @@ module Google
1039
1049
  # Update properties of this object
1040
1050
  def update!(**args)
1041
1051
  @finding = args[:finding] if args.key?(:finding)
1052
+ @resource = args[:resource] if args.key?(:resource)
1042
1053
  @state_change = args[:state_change] if args.key?(:state_change)
1043
1054
  end
1044
1055
  end
@@ -1180,7 +1191,7 @@ module Google
1180
1191
  # The relative resource name of the settings. See:
1181
1192
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1182
1193
  # Example:
1183
- # "organizations/123/organizationSettings".
1194
+ # "organizations/`organization_id`/organizationSettings".
1184
1195
  # Corresponds to the JSON property `name`
1185
1196
  # @return [String]
1186
1197
  attr_accessor :name
@@ -1271,8 +1282,8 @@ module Google
1271
1282
  # ensure that their change will be applied to the same version of the policy.
1272
1283
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
1273
1284
  # policy is overwritten. Due to blind-set semantics of an etag-less policy,
1274
- # 'setIamPolicy' will not fail even if either of incoming or stored policy
1275
- # does not meet the version requirements.
1285
+ # 'setIamPolicy' will not fail even if the incoming policy version does not
1286
+ # meet the requirements for modifying the stored policy.
1276
1287
  # Corresponds to the JSON property `etag`
1277
1288
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1278
1289
  # @return [String]
@@ -1283,11 +1294,12 @@ module Google
1283
1294
  # rejected.
1284
1295
  # Operations affecting conditional bindings must specify version 3. This can
1285
1296
  # be either setting a conditional policy, modifying a conditional binding,
1286
- # or removing a conditional binding from the stored conditional policy.
1297
+ # or removing a binding (conditional or unconditional) from the stored
1298
+ # conditional policy.
1287
1299
  # Operations on non-conditional policies may specify any valid value or
1288
1300
  # leave the field unset.
1289
- # If no etag is provided in the call to `setIamPolicy`, any version
1290
- # compliance checks on the incoming and/or stored policy is skipped.
1301
+ # If no etag is provided in the call to `setIamPolicy`, version compliance
1302
+ # checks against the stored policy is skipped.
1291
1303
  # Corresponds to the JSON property `version`
1292
1304
  # @return [Fixnum]
1293
1305
  attr_accessor :version
@@ -1305,6 +1317,51 @@ module Google
1305
1317
  end
1306
1318
  end
1307
1319
 
1320
+ # Information related to the Google Cloud Platform (GCP) resource that is
1321
+ # associated with this finding.
1322
+ class Resource
1323
+ include Google::Apis::Core::Hashable
1324
+
1325
+ # The full resource name of the resource. See:
1326
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name
1327
+ # Corresponds to the JSON property `name`
1328
+ # @return [String]
1329
+ attr_accessor :name
1330
+
1331
+ # The human readable name of resource's parent.
1332
+ # Corresponds to the JSON property `parentDisplayName`
1333
+ # @return [String]
1334
+ attr_accessor :parent_display_name
1335
+
1336
+ # The full resource name of resource's parent.
1337
+ # Corresponds to the JSON property `parentName`
1338
+ # @return [String]
1339
+ attr_accessor :parent_name
1340
+
1341
+ # The human readable name of project that the resource belongs to.
1342
+ # Corresponds to the JSON property `projectDisplayName`
1343
+ # @return [String]
1344
+ attr_accessor :project_display_name
1345
+
1346
+ # The full resource name of project that the resource belongs to.
1347
+ # Corresponds to the JSON property `projectName`
1348
+ # @return [String]
1349
+ attr_accessor :project_name
1350
+
1351
+ def initialize(**args)
1352
+ update!(**args)
1353
+ end
1354
+
1355
+ # Update properties of this object
1356
+ def update!(**args)
1357
+ @name = args[:name] if args.key?(:name)
1358
+ @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
1359
+ @parent_name = args[:parent_name] if args.key?(:parent_name)
1360
+ @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
1361
+ @project_name = args[:project_name] if args.key?(:project_name)
1362
+ end
1363
+ end
1364
+
1308
1365
  # Request message for running asset discovery for an organization.
1309
1366
  class RunAssetDiscoveryRequest
1310
1367
  include Google::Apis::Core::Hashable
@@ -1378,10 +1435,10 @@ module Google
1378
1435
 
1379
1436
  # Mutable user specified security marks belonging to the parent resource.
1380
1437
  # Constraints are as follows:
1381
- # - Keys and values are treated as case insensitive
1382
- # - Keys must be between 1 - 256 characters (inclusive)
1383
- # - Keys must be letters, numbers, underscores, or dashes
1384
- # - Values have leading and trailing whitespace trimmed, remaining
1438
+ # * Keys and values are treated as case insensitive
1439
+ # * Keys must be between 1 - 256 characters (inclusive)
1440
+ # * Keys must be letters, numbers, underscores, or dashes
1441
+ # * Values have leading and trailing whitespace trimmed, remaining
1385
1442
  # characters must be between 1 - 4096 characters (inclusive)
1386
1443
  # Corresponds to the JSON property `marks`
1387
1444
  # @return [Hash<String,String>]
@@ -1390,8 +1447,9 @@ module Google
1390
1447
  # The relative resource name of the SecurityMarks. See:
1391
1448
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1392
1449
  # Examples:
1393
- # "organizations/123/assets/456/securityMarks"
1394
- # "organizations/123/sources/456/findings/789/securityMarks".
1450
+ # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
1451
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
1452
+ # securityMarks".
1395
1453
  # Corresponds to the JSON property `name`
1396
1454
  # @return [String]
1397
1455
  attr_accessor :name
@@ -1512,17 +1570,18 @@ module Google
1512
1570
 
1513
1571
  # Cloud Security Command Center's (Cloud SCC) finding source. A finding source
1514
1572
  # is an entity or a mechanism that can produce a finding. A source is like a
1515
- # container of findings that come from the same scanner, logger, monitor, etc.
1573
+ # container of findings that come from the same scanner, logger, monitor, and
1574
+ # other tools.
1516
1575
  class Source
1517
1576
  include Google::Apis::Core::Hashable
1518
1577
 
1519
1578
  # The description of the source (max of 1024 characters).
1520
1579
  # Example:
1521
- # "Cloud Security Scanner is a web security scanner for common
1580
+ # "Web Security Scanner is a web security scanner for common
1522
1581
  # vulnerabilities in App Engine applications. It can automatically
1523
1582
  # scan and detect four common vulnerabilities, including cross-site-scripting
1524
1583
  # (XSS), Flash injection, mixed content (HTTP in HTTPS), and
1525
- # outdated/insecure libraries."
1584
+ # outdated or insecure libraries."
1526
1585
  # Corresponds to the JSON property `description`
1527
1586
  # @return [String]
1528
1587
  attr_accessor :description
@@ -1539,7 +1598,7 @@ module Google
1539
1598
  # The relative resource name of this source. See:
1540
1599
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1541
1600
  # Example:
1542
- # "organizations/123/sources/456"
1601
+ # "organizations/`organization_id`/sources/`source_id`"
1543
1602
  # Corresponds to the JSON property `name`
1544
1603
  # @return [String]
1545
1604
  attr_accessor :name
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class Resource
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class RunAssetDiscoveryRequest
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -450,6 +456,8 @@ module Google
450
456
  class Representation < Google::Apis::Core::JsonRepresentation
451
457
  property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1::Finding, decorator: Google::Apis::SecuritycenterV1::Finding::Representation
452
458
 
459
+ property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1::Resource, decorator: Google::Apis::SecuritycenterV1::Resource::Representation
460
+
453
461
  property :state_change, as: 'stateChange'
454
462
  end
455
463
  end
@@ -506,6 +514,17 @@ module Google
506
514
  end
507
515
  end
508
516
 
517
+ class Resource
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ property :name, as: 'name'
521
+ property :parent_display_name, as: 'parentDisplayName'
522
+ property :parent_name, as: 'parentName'
523
+ property :project_display_name, as: 'projectDisplayName'
524
+ property :project_name, as: 'projectName'
525
+ end
526
+ end
527
+
509
528
  class RunAssetDiscoveryRequest
510
529
  # @private
511
530
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -85,7 +85,7 @@ module Google
85
85
  # The relative resource name of the settings. See:
86
86
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
87
87
  # Example:
88
- # "organizations/123/organizationSettings".
88
+ # "organizations/`organization_id`/organizationSettings".
89
89
  # @param [Google::Apis::SecuritycenterV1::OrganizationSettings] organization_settings_object
90
90
  # @param [String] update_mask
91
91
  # The FieldMask to use when updating the settings resource.
@@ -333,8 +333,9 @@ module Google
333
333
  # The relative resource name of the SecurityMarks. See:
334
334
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
335
335
  # Examples:
336
- # "organizations/123/assets/456/securityMarks"
337
- # "organizations/123/sources/456/findings/789/securityMarks".
336
+ # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
337
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
338
+ # securityMarks".
338
339
  # @param [Google::Apis::SecuritycenterV1::SecurityMarks] security_marks_object
339
340
  # @param [String] start_time
340
341
  # The time at which the updated SecurityMarks take effect.
@@ -671,7 +672,7 @@ module Google
671
672
  # The relative resource name of this source. See:
672
673
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
673
674
  # Example:
674
- # "organizations/123/sources/456"
675
+ # "organizations/`organization_id`/sources/`source_id`"
675
676
  # @param [Google::Apis::SecuritycenterV1::Source] source_object
676
677
  # @param [String] update_mask
677
678
  # The FieldMask to use when updating the source resource.
@@ -817,12 +818,12 @@ module Google
817
818
  # Filters an organization or source's findings and groups them by their
818
819
  # specified properties.
819
820
  # To group across all sources provide a `-` as the source id.
820
- # Example: /v1/organizations/123/sources/-/findings
821
+ # Example: /v1/organizations/`organization_id`/sources/-/findings
821
822
  # @param [String] parent
822
823
  # Required. Name of the source to groupBy. Its format is
823
824
  # "organizations/[organization_id]/sources/[source_id]". To groupBy across
824
825
  # all sources provide a source_id of `-`. For example:
825
- # organizations/123/sources/-
826
+ # organizations/`organization_id`/sources/-
826
827
  # @param [Google::Apis::SecuritycenterV1::GroupFindingsRequest] group_findings_request_object
827
828
  # @param [String] fields
828
829
  # Selector specifying which fields to include in a partial response.
@@ -855,12 +856,12 @@ module Google
855
856
 
856
857
  # Lists an organization or source's findings.
857
858
  # To list across all sources provide a `-` as the source id.
858
- # Example: /v1/organizations/123/sources/-/findings
859
+ # Example: /v1/organizations/`organization_id`/sources/-/findings
859
860
  # @param [String] parent
860
861
  # Required. Name of the source the findings belong to. Its format is
861
862
  # "organizations/[organization_id]/sources/[source_id]". To list across all
862
863
  # sources provide a source_id of `-`. For example:
863
- # organizations/123/sources/-
864
+ # organizations/`organization_id`/sources/-
864
865
  # @param [String] compare_duration
865
866
  # When compare_duration is set, the ListFindingsResult's "state_change"
866
867
  # attribute is updated to indicate whether the finding had its state changed,
@@ -989,7 +990,7 @@ module Google
989
990
  # The relative resource name of this finding. See:
990
991
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
991
992
  # Example:
992
- # "organizations/123/sources/456/findings/789"
993
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
993
994
  # @param [Google::Apis::SecuritycenterV1::Finding] finding_object
994
995
  # @param [String] update_mask
995
996
  # The FieldMask to use when updating the finding resource. This field should
@@ -1033,7 +1034,7 @@ module Google
1033
1034
  # Required. The relative resource name of the finding. See:
1034
1035
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1035
1036
  # Example:
1036
- # "organizations/123/sources/456/finding/789".
1037
+ # "organizations/`organization_id`/sources/`source_id`/finding/`finding_id`".
1037
1038
  # @param [Google::Apis::SecuritycenterV1::SetFindingStateRequest] set_finding_state_request_object
1038
1039
  # @param [String] fields
1039
1040
  # Selector specifying which fields to include in a partial response.
@@ -1069,8 +1070,9 @@ module Google
1069
1070
  # The relative resource name of the SecurityMarks. See:
1070
1071
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1071
1072
  # Examples:
1072
- # "organizations/123/assets/456/securityMarks"
1073
- # "organizations/123/sources/456/findings/789/securityMarks".
1073
+ # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
1074
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
1075
+ # securityMarks".
1074
1076
  # @param [Google::Apis::SecuritycenterV1::SecurityMarks] security_marks_object
1075
1077
  # @param [String] start_time
1076
1078
  # The time at which the updated SecurityMarks take effect.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
27
27
  module SecuritycenterV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191004'
29
+ REVISION = '20191115'
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'
@@ -38,7 +38,7 @@ module Google
38
38
  # The relative resource name of this asset. See:
39
39
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
40
40
  # Example:
41
- # "organizations/123/assets/456".
41
+ # "organizations/`organization_id`/assets/`asset_id`".
42
42
  # Corresponds to the JSON property `name`
43
43
  # @return [String]
44
44
  attr_accessor :name
@@ -389,7 +389,7 @@ module Google
389
389
  # The relative resource name of this finding. See:
390
390
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
391
391
  # Example:
392
- # "organizations/123/sources/456/findings/789"
392
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
393
393
  # Corresponds to the JSON property `name`
394
394
  # @return [String]
395
395
  attr_accessor :name
@@ -399,14 +399,16 @@ module Google
399
399
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
400
400
  # This field is immutable after creation time.
401
401
  # For example:
402
- # "organizations/123/sources/456"
402
+ # "organizations/`organization_id`/sources/`source_id`"
403
403
  # Corresponds to the JSON property `parent`
404
404
  # @return [String]
405
405
  attr_accessor :parent
406
406
 
407
- # The full resource name of the Google Cloud Platform (GCP) resource this
408
- # finding is for. See:
407
+ # For findings on Google Cloud Platform (GCP) resources, the full resource
408
+ # name of the GCP resource this finding is for. See:
409
409
  # https://cloud.google.com/apis/design/resource_names#full_resource_name
410
+ # When the finding is for a non-GCP resource, the resourceName can be a
411
+ # customer or partner defined string.
410
412
  # This field is immutable after creation time.
411
413
  # Corresponds to the JSON property `resourceName`
412
414
  # @return [String]
@@ -1056,7 +1058,7 @@ module Google
1056
1058
  # The relative resource name of the settings. See:
1057
1059
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1058
1060
  # Example:
1059
- # "organizations/123/organizationSettings".
1061
+ # "organizations/`organization_id`/organizationSettings".
1060
1062
  # Corresponds to the JSON property `name`
1061
1063
  # @return [String]
1062
1064
  attr_accessor :name
@@ -1147,8 +1149,8 @@ module Google
1147
1149
  # ensure that their change will be applied to the same version of the policy.
1148
1150
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
1149
1151
  # policy is overwritten. Due to blind-set semantics of an etag-less policy,
1150
- # 'setIamPolicy' will not fail even if either of incoming or stored policy
1151
- # does not meet the version requirements.
1152
+ # 'setIamPolicy' will not fail even if the incoming policy version does not
1153
+ # meet the requirements for modifying the stored policy.
1152
1154
  # Corresponds to the JSON property `etag`
1153
1155
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1154
1156
  # @return [String]
@@ -1159,11 +1161,12 @@ module Google
1159
1161
  # rejected.
1160
1162
  # Operations affecting conditional bindings must specify version 3. This can
1161
1163
  # be either setting a conditional policy, modifying a conditional binding,
1162
- # or removing a conditional binding from the stored conditional policy.
1164
+ # or removing a binding (conditional or unconditional) from the stored
1165
+ # conditional policy.
1163
1166
  # Operations on non-conditional policies may specify any valid value or
1164
1167
  # leave the field unset.
1165
- # If no etag is provided in the call to `setIamPolicy`, any version
1166
- # compliance checks on the incoming and/or stored policy is skipped.
1168
+ # If no etag is provided in the call to `setIamPolicy`, version compliance
1169
+ # checks against the stored policy is skipped.
1167
1170
  # Corresponds to the JSON property `version`
1168
1171
  # @return [Fixnum]
1169
1172
  attr_accessor :version
@@ -1254,10 +1257,10 @@ module Google
1254
1257
 
1255
1258
  # Mutable user specified security marks belonging to the parent resource.
1256
1259
  # Constraints are as follows:
1257
- # - Keys and values are treated as case insensitive
1258
- # - Keys must be between 1 - 256 characters (inclusive)
1259
- # - Keys must be letters, numbers, underscores, or dashes
1260
- # - Values have leading and trailing whitespace trimmed, remaining
1260
+ # * Keys and values are treated as case insensitive
1261
+ # * Keys must be between 1 - 256 characters (inclusive)
1262
+ # * Keys must be letters, numbers, underscores, or dashes
1263
+ # * Values have leading and trailing whitespace trimmed, remaining
1261
1264
  # characters must be between 1 - 4096 characters (inclusive)
1262
1265
  # Corresponds to the JSON property `marks`
1263
1266
  # @return [Hash<String,String>]
@@ -1266,8 +1269,9 @@ module Google
1266
1269
  # The relative resource name of the SecurityMarks. See:
1267
1270
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1268
1271
  # Examples:
1269
- # "organizations/123/assets/456/securityMarks"
1270
- # "organizations/123/sources/456/findings/789/securityMarks".
1272
+ # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
1273
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
1274
+ # securityMarks".
1271
1275
  # Corresponds to the JSON property `name`
1272
1276
  # @return [String]
1273
1277
  attr_accessor :name
@@ -1403,8 +1407,8 @@ module Google
1403
1407
  # @return [String]
1404
1408
  attr_accessor :description
1405
1409
 
1406
- # The source’s display name.
1407
- # A source’s display name must be unique amongst its siblings, for example,
1410
+ # The source's display name.
1411
+ # A source's display name must be unique amongst its siblings, for example,
1408
1412
  # two sources with the same parent can't share the same display name.
1409
1413
  # The display name must have a length between 1 and 64 characters
1410
1414
  # (inclusive).
@@ -1415,7 +1419,7 @@ module Google
1415
1419
  # The relative resource name of this source. See:
1416
1420
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1417
1421
  # Example:
1418
- # "organizations/123/sources/456"
1422
+ # "organizations/`organization_id`/sources/`source_id`"
1419
1423
  # Corresponds to the JSON property `name`
1420
1424
  # @return [String]
1421
1425
  attr_accessor :name