google-api-client 0.28.7 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/build.bat +9 -6
  3. data/.kokoro/build.sh +2 -32
  4. data/.kokoro/continuous/common.cfg +6 -1
  5. data/.kokoro/continuous/windows.cfg +17 -1
  6. data/.kokoro/osx.sh +2 -33
  7. data/.kokoro/presubmit/common.cfg +6 -1
  8. data/.kokoro/presubmit/windows.cfg +17 -1
  9. data/.kokoro/trampoline.bat +10 -0
  10. data/.kokoro/trampoline.sh +3 -23
  11. data/CHANGELOG.md +138 -0
  12. data/Rakefile +31 -0
  13. data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
  14. data/generated/google/apis/accessapproval_v1beta1/classes.rb +306 -0
  15. data/generated/google/apis/accessapproval_v1beta1/representations.rb +159 -0
  16. data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +96 -131
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -42
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  22. data/generated/google/apis/alertcenter_v1beta1/classes.rb +98 -0
  23. data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
  24. data/generated/google/apis/alertcenter_v1beta1/service.rb +2 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +40 -0
  27. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
  28. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  29. data/generated/google/apis/androidenterprise_v1/classes.rb +0 -26
  30. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -14
  31. data/generated/google/apis/androidenterprise_v1/service.rb +0 -36
  32. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  34. data/generated/google/apis/androidmanagement_v1/representations.rb +82 -0
  35. data/generated/google/apis/androidmanagement_v1/service.rb +170 -0
  36. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v2/service.rb +6 -12
  38. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  39. data/generated/google/apis/androidpublisher_v3/service.rb +6 -12
  40. data/generated/google/apis/appengine_v1.rb +1 -1
  41. data/generated/google/apis/appengine_v1/service.rb +7 -1
  42. data/generated/google/apis/appengine_v1beta.rb +1 -1
  43. data/generated/google/apis/appengine_v1beta/classes.rb +2 -1
  44. data/generated/google/apis/appengine_v1beta/service.rb +7 -1
  45. data/generated/google/apis/appsactivity_v1.rb +1 -1
  46. data/generated/google/apis/appsactivity_v1/service.rb +4 -3
  47. data/generated/google/apis/bigquery_v2.rb +1 -1
  48. data/generated/google/apis/bigquery_v2/classes.rb +28 -4
  49. data/generated/google/apis/bigquery_v2/representations.rb +13 -0
  50. data/generated/google/apis/bigtableadmin_v1.rb +2 -2
  51. data/generated/google/apis/bigtableadmin_v1/service.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2.rb +2 -2
  53. data/generated/google/apis/bigtableadmin_v2/classes.rb +10 -10
  54. data/generated/google/apis/bigtableadmin_v2/service.rb +111 -2
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/calendar_v3/service.rb +16 -16
  58. data/generated/google/apis/classroom_v1.rb +7 -1
  59. data/generated/google/apis/classroom_v1/classes.rb +77 -0
  60. data/generated/google/apis/classroom_v1/representations.rb +32 -0
  61. data/generated/google/apis/classroom_v1/service.rb +224 -0
  62. data/generated/google/apis/cloudasset_v1.rb +1 -1
  63. data/generated/google/apis/cloudasset_v1/classes.rb +15 -2
  64. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  65. data/generated/google/apis/cloudasset_v1/service.rb +3 -2
  66. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1beta1/classes.rb +13 -0
  68. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  70. data/generated/google/apis/cloudbilling_v1/service.rb +2 -2
  71. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  72. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1 -1
  73. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  74. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
  75. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -5
  76. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  77. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -10
  78. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  79. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -4
  80. data/generated/google/apis/cloudiot_v1.rb +1 -1
  81. data/generated/google/apis/cloudkms_v1.rb +1 -1
  82. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
  85. data/generated/google/apis/cloudresourcemanager_v1/service.rb +30 -21
  86. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +37 -26
  88. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  90. data/generated/google/apis/cloudscheduler_v1.rb +34 -0
  91. data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
  92. data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
  93. data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
  94. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  95. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -2
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +25 -11
  98. data/generated/google/apis/cloudsearch_v1/service.rb +36 -32
  99. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2/service.rb +13 -13
  101. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  102. data/generated/google/apis/cloudtasks_v2beta2/service.rb +13 -13
  103. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  104. data/generated/google/apis/cloudtasks_v2beta3/service.rb +13 -13
  105. data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
  106. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
  107. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
  108. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
  109. data/generated/google/apis/compute_alpha.rb +1 -1
  110. data/generated/google/apis/compute_alpha/classes.rb +328 -25
  111. data/generated/google/apis/compute_alpha/representations.rb +134 -0
  112. data/generated/google/apis/compute_alpha/service.rb +465 -0
  113. data/generated/google/apis/compute_beta.rb +1 -1
  114. data/generated/google/apis/compute_beta/classes.rb +86 -20
  115. data/generated/google/apis/compute_beta/representations.rb +7 -0
  116. data/generated/google/apis/compute_v1.rb +1 -1
  117. data/generated/google/apis/compute_v1/classes.rb +994 -103
  118. data/generated/google/apis/compute_v1/representations.rb +346 -0
  119. data/generated/google/apis/compute_v1/service.rb +533 -0
  120. data/generated/google/apis/container_v1.rb +1 -1
  121. data/generated/google/apis/container_v1/classes.rb +167 -21
  122. data/generated/google/apis/container_v1/representations.rb +66 -0
  123. data/generated/google/apis/container_v1/service.rb +85 -36
  124. data/generated/google/apis/container_v1beta1.rb +1 -1
  125. data/generated/google/apis/container_v1beta1/classes.rb +86 -21
  126. data/generated/google/apis/container_v1beta1/representations.rb +32 -0
  127. data/generated/google/apis/container_v1beta1/service.rb +38 -38
  128. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  129. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  130. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +95 -6
  131. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +25 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +5 -5
  134. data/generated/google/apis/content_v2/service.rb +6 -6
  135. data/generated/google/apis/content_v2_1.rb +1 -1
  136. data/generated/google/apis/content_v2_1/classes.rb +18 -4
  137. data/generated/google/apis/content_v2_1/representations.rb +2 -0
  138. data/generated/google/apis/content_v2_1/service.rb +6 -6
  139. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  140. data/generated/google/apis/dataflow_v1b3/classes.rb +56 -1
  141. data/generated/google/apis/dataflow_v1b3/representations.rb +39 -0
  142. data/generated/google/apis/dataflow_v1b3/service.rb +251 -0
  143. data/generated/google/apis/datafusion_v1beta1.rb +43 -0
  144. data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
  145. data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
  146. data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
  147. data/generated/google/apis/dataproc_v1.rb +1 -1
  148. data/generated/google/apis/dataproc_v1/classes.rb +5 -5
  149. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  150. data/generated/google/apis/dataproc_v1beta2/classes.rb +37 -24
  151. data/generated/google/apis/datastore_v1.rb +1 -1
  152. data/generated/google/apis/datastore_v1/classes.rb +20 -16
  153. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  154. data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
  155. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  156. data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
  157. data/generated/google/apis/dialogflow_v2.rb +1 -1
  158. data/generated/google/apis/dialogflow_v2/classes.rb +236 -0
  159. data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
  160. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  161. data/generated/google/apis/dialogflow_v2beta1/classes.rb +64 -2
  162. data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
  163. data/generated/google/apis/dlp_v2.rb +1 -1
  164. data/generated/google/apis/dlp_v2/classes.rb +19 -2
  165. data/generated/google/apis/dns_v1.rb +1 -1
  166. data/generated/google/apis/dns_v1/classes.rb +202 -93
  167. data/generated/google/apis/dns_v1/service.rb +110 -15
  168. data/generated/google/apis/dns_v1beta2.rb +1 -1
  169. data/generated/google/apis/dns_v1beta2/classes.rb +262 -122
  170. data/generated/google/apis/dns_v1beta2/service.rb +141 -21
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +202 -93
  173. data/generated/google/apis/dns_v2beta1/service.rb +110 -15
  174. data/generated/google/apis/docs_v1.rb +1 -1
  175. data/generated/google/apis/docs_v1/classes.rb +10 -0
  176. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  177. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
  178. data/generated/google/apis/drive_v2.rb +1 -1
  179. data/generated/google/apis/drive_v2/classes.rb +601 -69
  180. data/generated/google/apis/drive_v2/representations.rb +152 -0
  181. data/generated/google/apis/drive_v2/service.rb +452 -96
  182. data/generated/google/apis/drive_v3.rb +1 -1
  183. data/generated/google/apis/drive_v3/classes.rb +591 -64
  184. data/generated/google/apis/drive_v3/representations.rb +151 -0
  185. data/generated/google/apis/drive_v3/service.rb +407 -77
  186. data/generated/google/apis/driveactivity_v2.rb +1 -1
  187. data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
  188. data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
  189. data/generated/google/apis/file_v1.rb +1 -1
  190. data/generated/google/apis/file_v1/classes.rb +399 -8
  191. data/generated/google/apis/file_v1/representations.rb +121 -0
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +399 -8
  194. data/generated/google/apis/file_v1beta1/representations.rb +121 -0
  195. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  196. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +28 -4
  197. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
  198. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  199. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
  200. data/generated/google/apis/firebaserules_v1.rb +1 -1
  201. data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
  202. data/generated/google/apis/firestore_v1.rb +1 -1
  203. data/generated/google/apis/firestore_v1/classes.rb +15 -15
  204. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  205. data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
  206. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  207. data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
  208. data/generated/google/apis/fitness_v1.rb +1 -1
  209. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  210. data/generated/google/apis/games_v1.rb +2 -2
  211. data/generated/google/apis/gmail_v1.rb +1 -1
  212. data/generated/google/apis/gmail_v1/classes.rb +29 -0
  213. data/generated/google/apis/gmail_v1/representations.rb +13 -0
  214. data/generated/google/apis/gmail_v1/service.rb +76 -0
  215. data/generated/google/apis/healthcare_v1beta1.rb +34 -0
  216. data/generated/google/apis/healthcare_v1beta1/classes.rb +2462 -0
  217. data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
  218. data/generated/google/apis/healthcare_v1beta1/service.rb +3403 -0
  219. data/generated/google/apis/iap_v1.rb +1 -1
  220. data/generated/google/apis/iap_v1beta1.rb +1 -1
  221. data/generated/google/apis/jobs_v2.rb +1 -1
  222. data/generated/google/apis/jobs_v2/classes.rb +9 -8
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3/classes.rb +13 -7
  225. data/generated/google/apis/jobs_v3/service.rb +1 -2
  226. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  227. data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -7
  228. data/generated/google/apis/jobs_v3p1beta1/service.rb +1 -2
  229. data/generated/google/apis/language_v1.rb +1 -1
  230. data/generated/google/apis/language_v1/classes.rb +3 -2
  231. data/generated/google/apis/language_v1beta2.rb +1 -1
  232. data/generated/google/apis/language_v1beta2/classes.rb +3 -2
  233. data/generated/google/apis/ml_v1.rb +1 -1
  234. data/generated/google/apis/ml_v1/classes.rb +64 -16
  235. data/generated/google/apis/ml_v1/representations.rb +2 -0
  236. data/generated/google/apis/ml_v1/service.rb +5 -5
  237. data/generated/google/apis/monitoring_v3.rb +1 -1
  238. data/generated/google/apis/monitoring_v3/classes.rb +0 -10
  239. data/generated/google/apis/monitoring_v3/representations.rb +0 -1
  240. data/generated/google/apis/oauth2_v1.rb +1 -1
  241. data/generated/google/apis/oauth2_v2.rb +1 -1
  242. data/generated/google/apis/oslogin_v1.rb +3 -2
  243. data/generated/google/apis/oslogin_v1/service.rb +2 -1
  244. data/generated/google/apis/oslogin_v1alpha.rb +3 -2
  245. data/generated/google/apis/oslogin_v1alpha/service.rb +2 -1
  246. data/generated/google/apis/oslogin_v1beta.rb +3 -2
  247. data/generated/google/apis/oslogin_v1beta/service.rb +2 -1
  248. data/generated/google/apis/people_v1.rb +1 -4
  249. data/generated/google/apis/people_v1/classes.rb +19 -11
  250. data/generated/google/apis/people_v1/representations.rb +1 -0
  251. data/generated/google/apis/people_v1/service.rb +1 -0
  252. data/generated/google/apis/plus_domains_v1.rb +2 -5
  253. data/generated/google/apis/plus_domains_v1/service.rb +8 -90
  254. data/generated/google/apis/plus_v1.rb +2 -2
  255. data/generated/google/apis/plus_v1/service.rb +7 -7
  256. data/generated/google/apis/poly_v1.rb +1 -1
  257. data/generated/google/apis/poly_v1/classes.rb +3 -2
  258. data/generated/google/apis/poly_v1/service.rb +11 -8
  259. data/generated/google/apis/pubsub_v1.rb +1 -1
  260. data/generated/google/apis/pubsub_v1/classes.rb +2 -1
  261. data/generated/google/apis/pubsub_v1/service.rb +8 -8
  262. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  263. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  264. data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -6
  265. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  266. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -4
  267. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  268. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -4
  269. data/generated/google/apis/run_v1alpha1.rb +1 -1
  270. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1.rb +35 -0
  272. data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
  273. data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
  274. data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
  275. data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
  276. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
  277. data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
  278. data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
  279. data/generated/google/apis/servicebroker_v1.rb +1 -1
  280. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  281. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  282. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  283. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +324 -13
  284. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +174 -0
  285. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -0
  286. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  287. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
  288. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  289. data/generated/google/apis/servicemanagement_v1/classes.rb +101 -20
  290. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  291. data/generated/google/apis/servicenetworking_v1/classes.rb +16 -13
  292. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  293. data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -13
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +110 -13
  296. data/generated/google/apis/serviceusage_v1/representations.rb +43 -0
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +110 -13
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +43 -0
  300. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  301. data/generated/google/apis/sourcerepo_v1/classes.rb +182 -0
  302. data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
  303. data/generated/google/apis/sourcerepo_v1/service.rb +35 -0
  304. data/generated/google/apis/spanner_v1.rb +1 -1
  305. data/generated/google/apis/spanner_v1/classes.rb +20 -19
  306. data/generated/google/apis/spanner_v1/service.rb +1 -1
  307. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  308. data/generated/google/apis/sqladmin_v1beta4/classes.rb +9 -2
  309. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  310. data/generated/google/apis/storage_v1.rb +1 -1
  311. data/generated/google/apis/storage_v1/classes.rb +144 -0
  312. data/generated/google/apis/storage_v1/representations.rb +56 -0
  313. data/generated/google/apis/storage_v1/service.rb +441 -46
  314. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  315. data/generated/google/apis/storagetransfer_v1/classes.rb +3 -3
  316. data/generated/google/apis/testing_v1.rb +1 -1
  317. data/generated/google/apis/testing_v1/classes.rb +6 -0
  318. data/generated/google/apis/testing_v1/representations.rb +1 -0
  319. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  320. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  321. data/generated/google/apis/toolresults_v1beta3/classes.rb +240 -0
  322. data/generated/google/apis/toolresults_v1beta3/representations.rb +43 -0
  323. data/generated/google/apis/toolresults_v1beta3/service.rb +116 -0
  324. data/generated/google/apis/tpu_v1.rb +1 -1
  325. data/generated/google/apis/tpu_v1/classes.rb +10 -4
  326. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  327. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  328. data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -4
  329. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  330. data/generated/google/apis/vault_v1.rb +1 -1
  331. data/generated/google/apis/vault_v1/classes.rb +37 -18
  332. data/generated/google/apis/vault_v1/representations.rb +3 -0
  333. data/generated/google/apis/vision_v1.rb +1 -1
  334. data/generated/google/apis/vision_v1/classes.rb +84 -47
  335. data/generated/google/apis/vision_v1/service.rb +68 -4
  336. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  337. data/generated/google/apis/vision_v1p1beta1/classes.rb +84 -47
  338. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  339. data/generated/google/apis/vision_v1p2beta1/classes.rb +84 -47
  340. data/generated/google/apis/webmasters_v3.rb +1 -1
  341. data/generated/google/apis/webmasters_v3/classes.rb +0 -166
  342. data/generated/google/apis/webmasters_v3/representations.rb +0 -93
  343. data/generated/google/apis/webmasters_v3/service.rb +0 -171
  344. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  345. data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
  346. data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
  347. data/generated/google/apis/youtube_v3.rb +1 -1
  348. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  349. data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
  350. data/google-api-client.gemspec +1 -1
  351. data/lib/google/apis/version.rb +1 -1
  352. metadata +31 -9
  353. data/.kokoro/common.cfg +0 -22
  354. data/.kokoro/windows.sh +0 -32
  355. data/generated/google/apis/logging_v2beta1.rb +0 -46
  356. data/generated/google/apis/logging_v2beta1/classes.rb +0 -1764
  357. data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
  358. data/generated/google/apis/logging_v2beta1/service.rb +0 -570
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
26
26
  module CloudassetV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190327'
28
+ REVISION = '20190412'
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'
@@ -290,8 +290,7 @@ module Google
290
290
 
291
291
  # A list of asset types of which to take a snapshot for. For example:
292
292
  # "compute.googleapis.com/Disk". If specified, only matching assets will be
293
- # returned.
294
- # See [Introduction to Cloud Asset
293
+ # returned. See [Introduction to Cloud Asset
295
294
  # Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-
296
295
  # inventory/overview)
297
296
  # for all supported asset types.
@@ -392,6 +391,19 @@ module Google
392
391
  # @return [String]
393
392
  attr_accessor :uri
394
393
 
394
+ # The uri prefix of all generated Cloud Storage objects. For example:
395
+ # "gs://bucket_name/object_name_prefix". Each object uri is in format:
396
+ # "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
397
+ # contains assets for that type. <shard number> starts from 0. For example:
398
+ # "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
399
+ # the first shard of output objects containing all
400
+ # compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
401
+ # returned if file with the same name "gs://bucket_name/object_name_prefix"
402
+ # already exists.
403
+ # Corresponds to the JSON property `uriPrefix`
404
+ # @return [String]
405
+ attr_accessor :uri_prefix
406
+
395
407
  def initialize(**args)
396
408
  update!(**args)
397
409
  end
@@ -399,6 +411,7 @@ module Google
399
411
  # Update properties of this object
400
412
  def update!(**args)
401
413
  @uri = args[:uri] if args.key?(:uri)
414
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
402
415
  end
403
416
  end
404
417
 
@@ -184,6 +184,7 @@ module Google
184
184
  # @private
185
185
  class Representation < Google::Apis::Core::JsonRepresentation
186
186
  property :uri, as: 'uri'
187
+ property :uri_prefix, as: 'uriPrefix'
187
188
  end
188
189
  end
189
190
 
@@ -96,8 +96,9 @@ module Google
96
96
  # instance1`.
97
97
  # See [Resource
98
98
  # Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
99
- # and [Resource Name Format](https://cloud.google.com/resource-manager/docs/
100
- # cloud-asset-inventory/resource-name-format)
99
+ # and [Resource Name
100
+ # Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/
101
+ # resource-name-format)
101
102
  # for more info.
102
103
  # The request becomes a no-op if the asset name list is empty, and the max
103
104
  # size of the asset name list is 100 in one request.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
26
26
  module CloudassetV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190327'
28
+ REVISION = '20190412'
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'
@@ -391,6 +391,18 @@ module Google
391
391
  # @return [String]
392
392
  attr_accessor :uri
393
393
 
394
+ # The uri prefix of all generated Cloud Storage objects. For example:
395
+ # "gs://bucket_name/object_name_prefix". Each object uri is in format:
396
+ # "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
397
+ # contains assets for that type. <shard number> starts from 0. For example:
398
+ # "gs://bucket_name/object_name_prefix/google.compute.disk/0" is the first
399
+ # shard of output objects containing all google.compute.disk assets.
400
+ # An INVALID_ARGUMENT error will be returned if file with the same name
401
+ # "gs://bucket_name/object_name_prefix" already exists.
402
+ # Corresponds to the JSON property `uriPrefix`
403
+ # @return [String]
404
+ attr_accessor :uri_prefix
405
+
394
406
  def initialize(**args)
395
407
  update!(**args)
396
408
  end
@@ -398,6 +410,7 @@ module Google
398
410
  # Update properties of this object
399
411
  def update!(**args)
400
412
  @uri = args[:uri] if args.key?(:uri)
413
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
401
414
  end
402
415
  end
403
416
 
@@ -184,6 +184,7 @@ module Google
184
184
  # @private
185
185
  class Representation < Google::Apis::Core::JsonRepresentation
186
186
  property :uri, as: 'uri'
187
+ property :uri_prefix, as: 'uriPrefix'
187
188
  end
188
189
  end
189
190
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/billing/
27
27
  module CloudbillingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190310'
29
+ REVISION = '20190413'
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'
@@ -155,8 +155,8 @@ module Google
155
155
  end
156
156
 
157
157
  # Lists the billing accounts that the current authenticated user has
158
- # permission to [view](https://cloud.google.com/billing/docs/how-to/billing-
159
- # access).
158
+ # permission to
159
+ # [view](https://cloud.google.com/billing/docs/how-to/billing-access).
160
160
  # @param [String] filter
161
161
  # Options for how to filter the returned billing accounts.
162
162
  # Currently this only supports filtering for
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/cloud-build/docs/
26
26
  module CloudbuildV1alpha1
27
27
  VERSION = 'V1alpha1'
28
- REVISION = '20190312'
28
+ REVISION = '20190422'
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'
@@ -1098,7 +1098,7 @@ module Google
1098
1098
  # @return [String]
1099
1099
  attr_accessor :name
1100
1100
 
1101
- # The project ID of the GCP project in which the `WorkerPool` is created.
1101
+ # The project ID of the GCP project for which the `WorkerPool` is created.
1102
1102
  # Corresponds to the JSON property `projectId`
1103
1103
  # @return [String]
1104
1104
  attr_accessor :project_id
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/error-reporting/
27
27
  module ClouderrorreportingV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20180706'
29
+ REVISION = '20190411'
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'
@@ -420,23 +420,26 @@ module Google
420
420
  # languages and formats.
421
421
  # Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
422
422
  # Supported stack trace formats are:
423
- # * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https:/
424
- # /docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%
425
- # 29).
426
- # * **Python**: Must be the return value of [`traceback.format_exc()`](https://
427
- # docs.python.org/2/library/traceback.html#traceback.format_exc).
428
- # * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/
429
- # v8/wiki/Stack-Trace-API)
430
- # as returned by V8.
431
- # * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://
432
- # ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
433
- # * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.
434
- # microsoft.com/en-us/library/system.exception.tostring.aspx).
423
+ # * **Java**: Must be the return value of
424
+ # [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/
425
+ # lang/Throwable.html#printStackTrace%28%29).
426
+ # * **Python**: Must be the return value of
427
+ # [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#
428
+ # traceback.format_exc).
429
+ # * **JavaScript**: Must be the value of
430
+ # [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned
431
+ # by V8.
432
+ # * **Ruby**: Must contain frames returned by
433
+ # [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-
434
+ # i-backtrace).
435
+ # * **C#**: Must be the return value of
436
+ # [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.
437
+ # exception.tostring.aspx).
435
438
  # * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
436
- # and contain the result of [`(string)$exception`](http://php.net/manual/en/
437
- # exception.tostring.php).
438
- # * **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/
439
- # pkg/runtime/debug/#Stack).
439
+ # and contain the result of
440
+ # [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).
441
+ # * **Go**: Must be the return value of
442
+ # [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
440
443
  # Corresponds to the JSON property `message`
441
444
  # @return [String]
442
445
  attr_accessor :message
@@ -148,14 +148,15 @@ module Google
148
148
  # **or** an [API key](https://support.google.com/cloud/answer/6158862)
149
149
  # for authentication. To use an API key, append it to the URL as the value of
150
150
  # a `key` parameter. For example:
151
- # `POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-
152
- # project/events:report?key=123ABC456`
151
+ # `POST
152
+ # https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/
153
+ # events:report?key=123ABC456`
153
154
  # @param [String] project_name
154
155
  # [Required] The resource name of the Google Cloud Platform project. Written
155
156
  # as `projects/` plus the
156
- # [Google Cloud Platform project ID](https://support.google.com/cloud/answer/
157
- # 6158840).
158
- # Example: `projects/my-project-123`.
157
+ # [Google Cloud Platform project
158
+ # ID](https://support.google.com/cloud/answer/6158840). Example:
159
+ # `projects/my-project-123`.
159
160
  # @param [Google::Apis::ClouderrorreportingV1beta1::ReportedErrorEvent] reported_error_event_object
160
161
  # @param [String] fields
161
162
  # Selector specifying which fields to include in a partial response.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/functions
26
26
  module CloudfunctionsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190318'
28
+ REVISION = '20190406'
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'
@@ -287,8 +287,7 @@ module Google
287
287
  attr_accessor :labels
288
288
 
289
289
  # The limit on the maximum number of function instances that may coexist at a
290
- # given time. This feature is currently in alpha, available only for
291
- # whitelisted users.
290
+ # given time.
292
291
  # Corresponds to the JSON property `maxInstances`
293
292
  # @return [Fixnum]
294
293
  attr_accessor :max_instances
@@ -316,14 +315,12 @@ module Google
316
315
  # @return [String]
317
316
  attr_accessor :network
318
317
 
319
- # The runtime in which the function is going to run. Example values include:
320
- # `go111`: for Go 1.11
321
- # `nodejs6`: for Node.js 6
322
- # `nodejs8`: for Node.js 8
323
- # `nodejs10`: for Node.js 10
324
- # `python37`: for Python 3.7
325
- # `ruby25`: for Ruby 2.5
326
- # If empty, defaults to `nodejs6`.
318
+ # Required. The runtime in which the function is going to run. Choices:
319
+ # * `nodejs6`: Node.js 6
320
+ # * `nodejs8`: Node.js 8
321
+ # * `nodejs10`: Node.js 10
322
+ # * `python37`: Python 3.7
323
+ # * `go111`: Go 1.11
327
324
  # Corresponds to the JSON property `runtime`
328
325
  # @return [String]
329
326
  attr_accessor :runtime
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/functions
26
26
  module CloudfunctionsV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20190318'
28
+ REVISION = '20190406'
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'
@@ -124,8 +124,7 @@ module Google
124
124
  attr_accessor :latest_operation
125
125
 
126
126
  # The limit on the maximum number of function instances that may coexist at a
127
- # given time. This feature is currently in alpha, available only for
128
- # whitelisted users.
127
+ # given time.
129
128
  # Corresponds to the JSON property `maxInstances`
130
129
  # @return [Fixnum]
131
130
  attr_accessor :max_instances
@@ -153,8 +152,12 @@ module Google
153
152
  # @return [String]
154
153
  attr_accessor :network
155
154
 
156
- # The runtime in which the function is going to run. If empty, defaults to
157
- # Node.js 6.
155
+ # Required. The runtime in which the function is going to run. Choices:
156
+ # * `nodejs6`: Node.js 6
157
+ # * `nodejs8`: Node.js 8
158
+ # * `nodejs10`: Node.js 10
159
+ # * `python37`: Python 3.7
160
+ # * `go111`: Go 1.11
158
161
  # Corresponds to the JSON property `runtime`
159
162
  # @return [String]
160
163
  attr_accessor :runtime
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/iot
27
27
  module CloudiotV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190321'
29
+ REVISION = '20190409'
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'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/kms/
27
27
  module CloudkmsV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190321'
29
+ REVISION = '20190426'
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'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://sites.google.com/corp/google.com/cloudprivatecatalog
27
27
  module CloudprivatecatalogproducerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20190316'
29
+ REVISION = '20190413'
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'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190318'
29
+ REVISION = '20190424'
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'
@@ -1560,11 +1560,12 @@ module Google
1560
1560
  # the response. Filter rules are case-insensitive.
1561
1561
  # Organizations may be filtered by `owner.directoryCustomerId` or by
1562
1562
  # `domain`, where the domain is a G Suite domain, for example:
1563
- # |Filter|Description|
1564
- # |------|-----------|
1565
- # |owner.directorycustomerid:123456789|Organizations with
1566
- # `owner.directory_customer_id` equal to `123456789`.|
1567
- # |domain:google.com|Organizations corresponding to the domain `google.com`.|
1563
+ # | Filter | Description |
1564
+ # |-------------------------------------|----------------------------------|
1565
+ # | owner.directorycustomerid:123456789 | Organizations with `owner.
1566
+ # directory_customer_id` equal to `123456789`.|
1567
+ # | domain:google.com | Organizations corresponding to the
1568
+ # domain `google.com`.|
1568
1569
  # This field is optional.
1569
1570
  # Corresponds to the JSON property `filter`
1570
1571
  # @return [String]
@@ -1125,38 +1125,47 @@ module Google
1125
1125
  execute_or_queue_command(command, &block)
1126
1126
  end
1127
1127
 
1128
- # Lists Projects that are visible to the user and satisfy the
1129
- # specified filter. This method returns Projects in an unspecified order.
1128
+ # Lists Projects that the caller has the `resourcemanager.projects.get`
1129
+ # permission on and satisfy the specified filter.
1130
+ # This method returns Projects in an unspecified order.
1130
1131
  # This method is eventually consistent with project mutations; this means
1131
1132
  # that a newly created project may not appear in the results or recent
1132
1133
  # updates to an existing project may not be reflected in the results. To
1133
1134
  # retrieve the latest state of a project, use the
1134
1135
  # GetProject method.
1136
+ # NOTE: If the request filter contains a `parent.type` and `parent.id` and
1137
+ # the caller has the `resourcemanager.projects.list` permission on the
1138
+ # parent, the results will be drawn from an alternate index which provides
1139
+ # more consistent results. In future versions of this API, this List method
1140
+ # will be split into List and Search to properly capture the behavorial
1141
+ # difference.
1135
1142
  # @param [String] filter
1136
1143
  # An expression for filtering the results of the request. Filter rules are
1137
1144
  # case insensitive. The fields eligible for filtering are:
1138
1145
  # + `name`
1139
1146
  # + `id`
1140
- # + <code>labels.<em>key</em></code> where *key* is the name of a label
1147
+ # + `labels.<key>` (where *key* is the name of a label)
1148
+ # + `parent.type`
1149
+ # + `parent.id`
1141
1150
  # Some examples of using labels as filters:
1142
- # |Filter|Description|
1143
- # |------|-----------|
1144
- # |name:how*|The project's name starts with "how".|
1145
- # |name:Howl|The project's name is `Howl` or `howl`.|
1146
- # |name:HOWL|Equivalent to above.|
1147
- # |NAME:howl|Equivalent to above.|
1148
- # |labels.color:*|The project has the label `color`.|
1149
- # |labels.color:red|The project's label `color` has the value `red`.|
1150
- # |labels.color:red&nbsp;labels.size:big|The project's label `color` has the
1151
- # value `red` and its label `size` has the value `big`.
1152
- # If you specify a filter that has both `parent.type` and `parent.id`, then
1153
- # the `resourcemanager.projects.list` permission is checked on the parent.
1154
- # If the user has this permission, all projects under the parent will be
1155
- # returned after remaining filters have been applied. If the user lacks this
1156
- # permission, then all projects for which the user has the
1157
- # `resourcemanager.projects.get` permission will be returned after remaining
1158
- # filters have been applied. If no filter is specified, the call will return
1159
- # projects for which the user has `resourcemanager.projects.get` permissions.
1151
+ # | Filter | Description |
1152
+ # |------------------|-----------------------------------------------------|
1153
+ # | name:how* | The project's name starts with "how". |
1154
+ # | name:Howl | The project's name is `Howl` or `howl`. |
1155
+ # | name:HOWL | Equivalent to above. |
1156
+ # | NAME:howl | Equivalent to above. |
1157
+ # | labels.color:* | The project has the label `color`. |
1158
+ # | labels.color:red | The project's label `color` has the value `red`. |
1159
+ # | labels.color:red&nbsp;labels.size:big |The project's label `color` has
1160
+ # the value `red` and its label `size` has the value `big`. |
1161
+ # If no filter is specified, the call will return projects for which the user
1162
+ # has the `resourcemanager.projects.get` permission.
1163
+ # NOTE: To perform a by-parent query (eg., what projects are directly in a
1164
+ # Folder), the caller must have the `resourcemanager.projects.list`
1165
+ # permission on the parent and the filter must contain both a `parent.type`
1166
+ # and a `parent.id` restriction
1167
+ # (example: "parent.type:folder parent.id:123"). In this case an alternate
1168
+ # search index is used which provides more consistent results.
1160
1169
  # Optional.
1161
1170
  # @param [Fixnum] page_size
1162
1171
  # The maximum number of Projects to return in the response.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20190318'
29
+ REVISION = '20190424'
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'
@@ -130,8 +130,8 @@ module Google
130
130
  # `domain`, where the domain is a G Suite domain, for example:
131
131
  # |Filter|Description|
132
132
  # |------|-----------|
133
- # |owner.directorycustomerid:123456789|Organizations with `owner.
134
- # directory_customer_id` equal to `123456789`.|
133
+ # |owner.directorycustomerid:123456789|Organizations with
134
+ # `owner.directory_customer_id` equal to `123456789`.|
135
135
  # |domain:google.com|Organizations corresponding to the domain `google.com`.|
136
136
  # This field is optional.
137
137
  # @param [Fixnum] page_size
@@ -335,8 +335,9 @@ module Google
335
335
  # and the Project remains visible to ListProjects.
336
336
  # However, you cannot update the project.
337
337
  # After the deletion completes, the Project is not retrievable by
338
- # the GetProject and
339
- # ListProjects methods.
338
+ # the GetProject
339
+ # and ListProjects
340
+ # methods.
340
341
  # The caller must have modify permissions for this Project.
341
342
  # @param [String] project_id
342
343
  # The Project ID (for example, `foo-bar-123`).
@@ -474,37 +475,47 @@ module Google
474
475
  execute_or_queue_command(command, &block)
475
476
  end
476
477
 
477
- # Lists Projects that are visible to the user and satisfy the
478
- # specified filter. This method returns Projects in an unspecified order.
478
+ # Lists Projects that the caller has the `resourcemanager.projects.get`
479
+ # permission on and satisfy the specified filter.
480
+ # This method returns Projects in an unspecified order.
479
481
  # This method is eventually consistent with project mutations; this means
480
482
  # that a newly created project may not appear in the results or recent
481
483
  # updates to an existing project may not be reflected in the results. To
482
- # retrieve the latest state of a project, use the GetProjectmethod.
484
+ # retrieve the latest state of a project, use the
485
+ # GetProject method.
486
+ # NOTE: If the request filter contains a `parent.type` and `parent.id` and
487
+ # the caller has the `resourcemanager.projects.list` permission on the
488
+ # parent, the results will be drawn from an alternate index which provides
489
+ # more consistent results. In future versions of this API, this List method
490
+ # will be split into List and Search to properly capture the behavorial
491
+ # difference.
483
492
  # @param [String] filter
484
493
  # An expression for filtering the results of the request. Filter rules are
485
494
  # case insensitive. The fields eligible for filtering are:
486
495
  # + `name`
487
496
  # + `id`
488
- # + <code>labels.<em>key</em></code> where *key* is the name of a label
497
+ # + `labels.<key>` (where *key* is the name of a label)
498
+ # + `parent.type`
499
+ # + `parent.id`
489
500
  # Some examples of using labels as filters:
490
- # |Filter|Description|
491
- # |------|-----------|
492
- # |name:how*|The project's name starts with "how".|
493
- # |name:Howl|The project's name is `Howl` or `howl`.|
494
- # |name:HOWL|Equivalent to above.|
495
- # |NAME:howl|Equivalent to above.|
496
- # |labels.color:*|The project has the label `color`.|
497
- # |labels.color:red|The project's label `color` has the value `red`.|
498
- # |labels.color:red&nbsp;labels.size:big|The project's label `color` has the
499
- # value `red` and its label `size` has the value `big`.
500
- # If you specify a filter that has both `parent.type` and `parent.id`, then
501
- # the `resourcemanager.projects.list` permission is checked on the parent.
502
- # If the user has this permission, all projects under the parent will be
503
- # returned after remaining filters have been applied. If the user lacks this
504
- # permission, then all projects for which the user has the
505
- # `resourcemanager.projects.get` permission will be returned after remaining
506
- # filters have been applied. If no filter is specified, the call will return
507
- # projects for which the user has `resourcemanager.projects.get` permissions.
501
+ # | Filter | Description |
502
+ # |------------------|-----------------------------------------------------|
503
+ # | name:how* | The project's name starts with "how". |
504
+ # | name:Howl | The project's name is `Howl` or `howl`. |
505
+ # | name:HOWL | Equivalent to above. |
506
+ # | NAME:howl | Equivalent to above. |
507
+ # | labels.color:* | The project has the label `color`. |
508
+ # | labels.color:red | The project's label `color` has the value `red`. |
509
+ # | labels.color:red&nbsp;labels.size:big |The project's label `color` has
510
+ # the value `red` and its label `size` has the value `big`. |
511
+ # If no filter is specified, the call will return projects for which the user
512
+ # has the `resourcemanager.projects.get` permission.
513
+ # NOTE: To perform a by-parent query (eg., what projects are directly in a
514
+ # Folder), the caller must have the `resourcemanager.projects.list`
515
+ # permission on the parent and the filter must contain both a `parent.type`
516
+ # and a `parent.id` restriction
517
+ # (example: "parent.type:folder parent.id:123"). In this case an alternate
518
+ # search index is used which provides more consistent results.
508
519
  # Optional.
509
520
  # @param [Fixnum] page_size
510
521
  # The maximum number of Projects to return in the response.