google-api-client 0.40.0 → 0.41.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (452) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +297 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/admin_directory_v1.rb +1 -1
  5. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  6. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  7. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  8. data/generated/google/apis/admob_v1.rb +1 -1
  9. data/generated/google/apis/admob_v1/classes.rb +5 -6
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  12. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  13. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  14. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  15. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  18. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  19. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  20. data/generated/google/apis/androidpublisher_v3/classes.rb +499 -684
  21. data/generated/google/apis/androidpublisher_v3/representations.rb +19 -166
  22. data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
  23. data/generated/google/apis/apigee_v1.rb +1 -1
  24. data/generated/google/apis/apigee_v1/classes.rb +144 -48
  25. data/generated/google/apis/apigee_v1/representations.rb +17 -0
  26. data/generated/google/apis/apigee_v1/service.rb +23 -24
  27. data/generated/google/apis/appsmarket_v2.rb +3 -3
  28. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  29. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  30. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  31. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  32. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  33. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  34. data/generated/google/apis/bigquery_v2.rb +1 -1
  35. data/generated/google/apis/bigquery_v2/classes.rb +51 -13
  36. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  37. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  39. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  40. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  45. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  46. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
  47. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  48. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  49. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  50. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  51. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  52. data/generated/google/apis/books_v1.rb +1 -1
  53. data/generated/google/apis/books_v1/service.rb +2 -2
  54. data/generated/google/apis/calendar_v3.rb +1 -1
  55. data/generated/google/apis/chat_v1.rb +1 -1
  56. data/generated/google/apis/chat_v1/classes.rb +2 -0
  57. data/generated/google/apis/civicinfo_v2.rb +2 -2
  58. data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
  59. data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
  60. data/generated/google/apis/civicinfo_v2/service.rb +27 -62
  61. data/generated/google/apis/cloudasset_v1.rb +1 -1
  62. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  63. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  64. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  65. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  67. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  68. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  69. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  70. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  71. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  72. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  74. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  75. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  76. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  77. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  78. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  79. data/generated/google/apis/cloudbuild_v1/classes.rb +287 -15
  80. data/generated/google/apis/cloudbuild_v1/representations.rb +131 -4
  81. data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
  82. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +298 -26
  84. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +136 -9
  85. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  86. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  87. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +298 -26
  88. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +136 -9
  89. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  90. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  91. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  99. data/generated/google/apis/cloudkms_v1.rb +1 -1
  100. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  101. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  102. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  103. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  104. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  107. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  108. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  111. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  112. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  113. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  114. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  115. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  116. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  117. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  118. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
  119. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  120. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
  121. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  122. data/generated/google/apis/composer_v1beta1.rb +1 -1
  123. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  124. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  125. data/generated/google/apis/compute_alpha.rb +1 -1
  126. data/generated/google/apis/compute_alpha/classes.rb +801 -219
  127. data/generated/google/apis/compute_alpha/representations.rb +220 -32
  128. data/generated/google/apis/compute_alpha/service.rb +899 -113
  129. data/generated/google/apis/compute_beta.rb +1 -1
  130. data/generated/google/apis/compute_beta/classes.rb +490 -131
  131. data/generated/google/apis/compute_beta/representations.rb +97 -0
  132. data/generated/google/apis/compute_beta/service.rb +308 -33
  133. data/generated/google/apis/compute_v1.rb +1 -1
  134. data/generated/google/apis/compute_v1/classes.rb +706 -76
  135. data/generated/google/apis/compute_v1/representations.rb +200 -0
  136. data/generated/google/apis/compute_v1/service.rb +522 -33
  137. data/generated/google/apis/container_v1.rb +1 -1
  138. data/generated/google/apis/container_v1/classes.rb +123 -5
  139. data/generated/google/apis/container_v1/representations.rb +50 -0
  140. data/generated/google/apis/container_v1beta1.rb +1 -1
  141. data/generated/google/apis/container_v1beta1/classes.rb +142 -24
  142. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  143. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  144. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  145. data/generated/google/apis/content_v2.rb +1 -1
  146. data/generated/google/apis/content_v2/classes.rb +41 -1
  147. data/generated/google/apis/content_v2/representations.rb +17 -0
  148. data/generated/google/apis/content_v2/service.rb +15 -6
  149. data/generated/google/apis/content_v2_1.rb +1 -1
  150. data/generated/google/apis/content_v2_1/classes.rb +616 -6
  151. data/generated/google/apis/content_v2_1/representations.rb +243 -0
  152. data/generated/google/apis/content_v2_1/service.rb +95 -6
  153. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  154. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  155. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  156. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  157. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  158. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  159. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  160. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  161. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  162. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  163. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  164. data/generated/google/apis/dataproc_v1.rb +1 -1
  165. data/generated/google/apis/dataproc_v1/classes.rb +71 -24
  166. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  167. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  168. data/generated/google/apis/dataproc_v1beta2/classes.rb +65 -23
  169. data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
  170. data/generated/google/apis/dialogflow_v2.rb +1 -1
  171. data/generated/google/apis/dialogflow_v2/classes.rb +277 -57
  172. data/generated/google/apis/dialogflow_v2/representations.rb +93 -4
  173. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  174. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  175. data/generated/google/apis/dialogflow_v2beta1/classes.rb +268 -56
  176. data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -4
  177. data/generated/google/apis/dialogflow_v2beta1/service.rb +70 -46
  178. data/generated/google/apis/displayvideo_v1.rb +1 -1
  179. data/generated/google/apis/displayvideo_v1/classes.rb +569 -6
  180. data/generated/google/apis/displayvideo_v1/representations.rb +249 -0
  181. data/generated/google/apis/displayvideo_v1/service.rb +1496 -77
  182. data/generated/google/apis/dlp_v2.rb +1 -1
  183. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  184. data/generated/google/apis/dlp_v2/service.rb +170 -64
  185. data/generated/google/apis/dns_v1beta2.rb +4 -4
  186. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  187. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  188. data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
  189. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  190. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  191. data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
  192. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  193. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  194. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  195. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  196. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  197. data/generated/google/apis/drive_v2.rb +1 -1
  198. data/generated/google/apis/drive_v2/classes.rb +9 -0
  199. data/generated/google/apis/drive_v2/representations.rb +1 -0
  200. data/generated/google/apis/drive_v2/service.rb +26 -78
  201. data/generated/google/apis/drive_v3.rb +1 -1
  202. data/generated/google/apis/drive_v3/classes.rb +9 -0
  203. data/generated/google/apis/drive_v3/representations.rb +1 -0
  204. data/generated/google/apis/drive_v3/service.rb +18 -54
  205. data/generated/google/apis/fcm_v1.rb +1 -1
  206. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  207. data/generated/google/apis/file_v1.rb +1 -1
  208. data/generated/google/apis/file_v1/classes.rb +0 -1156
  209. data/generated/google/apis/file_v1/representations.rb +0 -381
  210. data/generated/google/apis/file_v1beta1.rb +1 -1
  211. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  212. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  213. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  214. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  215. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  216. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  217. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  218. data/generated/google/apis/fitness_v1.rb +1 -1
  219. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  220. data/generated/google/apis/games_v1.rb +1 -1
  221. data/generated/google/apis/gameservices_v1.rb +34 -0
  222. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  223. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  224. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  225. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  226. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  227. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  228. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  229. data/generated/google/apis/gmail_v1.rb +3 -2
  230. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  231. data/generated/google/apis/gmail_v1/service.rb +551 -743
  232. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
  233. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  234. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  235. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  236. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  237. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  238. data/generated/google/apis/healthcare_v1.rb +1 -1
  239. data/generated/google/apis/healthcare_v1/classes.rb +9 -9
  240. data/generated/google/apis/healthcare_v1/service.rb +5 -3
  241. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  242. data/generated/google/apis/healthcare_v1beta1/classes.rb +919 -52
  243. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  244. data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
  245. data/generated/google/apis/iam_v1.rb +1 -1
  246. data/generated/google/apis/iam_v1/classes.rb +92 -81
  247. data/generated/google/apis/iam_v1/service.rb +167 -148
  248. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  249. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  250. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  251. data/generated/google/apis/jobs_v3.rb +1 -1
  252. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  253. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  254. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  255. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  256. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  257. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  258. data/generated/google/apis/logging_v2.rb +1 -1
  259. data/generated/google/apis/logging_v2/classes.rb +69 -21
  260. data/generated/google/apis/managedidentities_v1.rb +1 -1
  261. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  262. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  263. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  264. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  265. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  266. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  267. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  268. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  269. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  270. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  271. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  272. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  273. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
  274. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  275. data/generated/google/apis/ml_v1.rb +1 -1
  276. data/generated/google/apis/ml_v1/classes.rb +8 -0
  277. data/generated/google/apis/ml_v1/representations.rb +1 -0
  278. data/generated/google/apis/monitoring_v1.rb +1 -1
  279. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  280. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  281. data/generated/google/apis/monitoring_v3.rb +1 -1
  282. data/generated/google/apis/monitoring_v3/classes.rb +68 -19
  283. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  284. data/generated/google/apis/osconfig_v1.rb +1 -1
  285. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  286. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  287. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  288. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  289. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  290. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  291. data/generated/google/apis/people_v1.rb +4 -1
  292. data/generated/google/apis/people_v1/classes.rb +216 -0
  293. data/generated/google/apis/people_v1/representations.rb +82 -0
  294. data/generated/google/apis/people_v1/service.rb +371 -8
  295. data/generated/google/apis/playablelocations_v3.rb +31 -0
  296. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  297. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  298. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  299. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  300. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  301. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  302. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  303. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  304. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  305. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  306. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  307. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  308. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
  309. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
  310. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +507 -0
  311. data/generated/google/apis/pubsub_v1.rb +1 -1
  312. data/generated/google/apis/pubsub_v1/classes.rb +68 -10
  313. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  314. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  315. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  316. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  317. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  318. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  319. data/generated/google/apis/recommender_v1.rb +34 -0
  320. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  321. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  322. data/generated/google/apis/recommender_v1/service.rb +266 -0
  323. data/generated/google/apis/redis_v1.rb +1 -1
  324. data/generated/google/apis/redis_v1/classes.rb +1 -1
  325. data/generated/google/apis/redis_v1/service.rb +1 -1
  326. data/generated/google/apis/redis_v1beta1.rb +1 -1
  327. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  328. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  329. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  330. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  331. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  332. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  333. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  334. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  335. data/generated/google/apis/run_v1.rb +1 -1
  336. data/generated/google/apis/run_v1/classes.rb +16 -9
  337. data/generated/google/apis/run_v1/representations.rb +1 -0
  338. data/generated/google/apis/run_v1alpha1.rb +1 -1
  339. data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
  340. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  341. data/generated/google/apis/run_v1beta1.rb +1 -1
  342. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  343. data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
  344. data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
  345. data/generated/google/apis/sasportal_v1alpha1/service.rb +507 -0
  346. data/generated/google/apis/secretmanager_v1.rb +1 -1
  347. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  348. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  349. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  350. data/generated/google/apis/securitycenter_v1.rb +1 -1
  351. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  352. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  353. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  354. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  355. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  356. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  357. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  358. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  359. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  360. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  361. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  362. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  363. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  364. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  365. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
  366. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
  367. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  368. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
  369. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
  370. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  371. data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
  372. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  373. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  374. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  375. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  376. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  377. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  378. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  379. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  380. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  381. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  382. data/generated/google/apis/serviceusage_v1.rb +1 -1
  383. data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
  384. data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
  385. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  386. data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
  387. data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
  388. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  389. data/generated/google/apis/sheets_v4.rb +1 -1
  390. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  391. data/generated/google/apis/slides_v1.rb +1 -1
  392. data/generated/google/apis/slides_v1/classes.rb +4 -0
  393. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  394. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  395. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  396. data/generated/google/apis/spanner_v1.rb +1 -1
  397. data/generated/google/apis/spanner_v1/classes.rb +26 -22
  398. data/generated/google/apis/spanner_v1/service.rb +15 -8
  399. data/generated/google/apis/speech_v1.rb +1 -1
  400. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  401. data/generated/google/apis/sql_v1beta4.rb +1 -1
  402. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  403. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  404. data/generated/google/apis/storage_v1.rb +1 -1
  405. data/generated/google/apis/storage_v1/service.rb +2 -3
  406. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  407. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  408. data/generated/google/apis/testing_v1.rb +1 -1
  409. data/generated/google/apis/testing_v1/classes.rb +2 -1
  410. data/generated/google/apis/texttospeech_v1.rb +1 -1
  411. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  412. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  413. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  414. data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
  415. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  416. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  417. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  418. data/generated/google/apis/videointelligence_v1.rb +1 -1
  419. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  420. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  421. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  422. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  423. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  424. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  425. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  426. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  427. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  428. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  429. data/generated/google/apis/vision_v1.rb +1 -1
  430. data/generated/google/apis/vision_v1/classes.rb +18 -0
  431. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  432. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  433. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  434. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  435. data/generated/google/apis/webfonts_v1.rb +5 -5
  436. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  437. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  438. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  439. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  440. data/generated/google/apis/youtube_v3.rb +1 -1
  441. data/generated/google/apis/youtube_v3/classes.rb +38 -0
  442. data/generated/google/apis/youtube_v3/representations.rb +27 -0
  443. data/generated/google/apis/youtube_v3/service.rb +32 -0
  444. data/lib/google/apis/core/api_command.rb +12 -7
  445. data/lib/google/apis/options.rb +5 -1
  446. data/lib/google/apis/version.rb +1 -1
  447. metadata +31 -11
  448. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  449. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  450. data/generated/google/apis/customsearch_v1/service.rb +0 -608
  451. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
  452. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
@@ -311,6 +311,9 @@ module Google
311
311
  # Requests for policies with any conditional bindings must specify version 3.
312
312
  # Policies without any conditional bindings may specify any valid value or
313
313
  # leave the field unset.
314
+ # To learn which resources support conditions in their IAM policies, see the
315
+ # [IAM
316
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
314
317
  # @param [String] fields
315
318
  # Selector specifying which fields to include in a partial response.
316
319
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/managed-microsoft-ad/
27
27
  module ManagedidentitiesV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20200415'
29
+ REVISION = '20200622'
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'
@@ -550,6 +550,12 @@ module Google
550
550
  # @return [Hash<String,Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
551
551
  attr_accessor :maintenance_schedules
552
552
 
553
+ # Maintenance settings associated with instance. Allows service producers and
554
+ # end users to assign settings that controls maintenance on this instance.
555
+ # Corresponds to the JSON property `maintenanceSettings`
556
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
557
+ attr_accessor :maintenance_settings
558
+
553
559
  # Unique name of the resource. It uses the form:
554
560
  # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
555
561
  # Corresponds to the JSON property `name`
@@ -617,6 +623,7 @@ module Google
617
623
  @labels = args[:labels] if args.key?(:labels)
618
624
  @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
619
625
  @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
626
+ @maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
620
627
  @name = args[:name] if args.key?(:name)
621
628
  @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
622
629
  @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
@@ -672,6 +679,30 @@ module Google
672
679
  end
673
680
  end
674
681
 
682
+ # Maintenance settings associated with instance. Allows service producers and
683
+ # end users to assign settings that controls maintenance on this instance.
684
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
685
+ include Google::Apis::Core::Hashable
686
+
687
+ # Optional. Exclude instance from maintenance. When true, rollout service will
688
+ # not
689
+ # attempt maintenance on the instance. Rollout service will include the
690
+ # instance in reported rollout progress as not attempted.
691
+ # Corresponds to the JSON property `exclude`
692
+ # @return [Boolean]
693
+ attr_accessor :exclude
694
+ alias_method :exclude?, :exclude
695
+
696
+ def initialize(**args)
697
+ update!(**args)
698
+ end
699
+
700
+ # Update properties of this object
701
+ def update!(**args)
702
+ @exclude = args[:exclude] if args.key?(:exclude)
703
+ end
704
+ end
705
+
675
706
  # Node information for custom per-node SLO implementations.
676
707
  # SSA does not support per-node SLO, but producers can populate per-node
677
708
  # information in SloMetadata for custom precomputations.
@@ -1135,10 +1166,13 @@ module Google
1135
1166
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1136
1167
  # permissions; each `role` can be an IAM predefined role or a user-created
1137
1168
  # custom role.
1138
- # Optionally, a `binding` can specify a `condition`, which is a logical
1139
- # expression that allows access to a resource only if the expression evaluates
1140
- # to `true`. A condition can add constraints based on attributes of the
1141
- # request, the resource, or both.
1169
+ # For some types of Google Cloud resources, a `binding` can also specify a
1170
+ # `condition`, which is a logical expression that allows access to a resource
1171
+ # only if the expression evaluates to `true`. A condition can add constraints
1172
+ # based on attributes of the request, the resource, or both. To learn which
1173
+ # resources support conditions in their IAM policies, see the
1174
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1175
+ # policies).
1142
1176
  # **JSON example:**
1143
1177
  # `
1144
1178
  # "bindings": [
@@ -1153,7 +1187,9 @@ module Google
1153
1187
  # `,
1154
1188
  # `
1155
1189
  # "role": "roles/resourcemanager.organizationViewer",
1156
- # "members": ["user:eve@example.com"],
1190
+ # "members": [
1191
+ # "user:eve@example.com"
1192
+ # ],
1157
1193
  # "condition": `
1158
1194
  # "title": "expirable access",
1159
1195
  # "description": "Does not grant access after Sep 2020",
@@ -1226,6 +1262,9 @@ module Google
1226
1262
  # the conditions in the version `3` policy are lost.
1227
1263
  # If a policy does not include any conditions, operations on that policy may
1228
1264
  # specify any valid version or leave the field unset.
1265
+ # To learn which resources support conditions in their IAM policies, see the
1266
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1267
+ # policies).
1229
1268
  # Corresponds to the JSON property `version`
1230
1269
  # @return [Fixnum]
1231
1270
  attr_accessor :version
@@ -1308,10 +1347,13 @@ module Google
1308
1347
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1309
1348
  # permissions; each `role` can be an IAM predefined role or a user-created
1310
1349
  # custom role.
1311
- # Optionally, a `binding` can specify a `condition`, which is a logical
1312
- # expression that allows access to a resource only if the expression evaluates
1313
- # to `true`. A condition can add constraints based on attributes of the
1314
- # request, the resource, or both.
1350
+ # For some types of Google Cloud resources, a `binding` can also specify a
1351
+ # `condition`, which is a logical expression that allows access to a resource
1352
+ # only if the expression evaluates to `true`. A condition can add constraints
1353
+ # based on attributes of the request, the resource, or both. To learn which
1354
+ # resources support conditions in their IAM policies, see the
1355
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1356
+ # policies).
1315
1357
  # **JSON example:**
1316
1358
  # `
1317
1359
  # "bindings": [
@@ -1326,7 +1368,9 @@ module Google
1326
1368
  # `,
1327
1369
  # `
1328
1370
  # "role": "roles/resourcemanager.organizationViewer",
1329
- # "members": ["user:eve@example.com"],
1371
+ # "members": [
1372
+ # "user:eve@example.com"
1373
+ # ],
1330
1374
  # "condition": `
1331
1375
  # "title": "expirable access",
1332
1376
  # "description": "Does not grant access after Sep 2020",
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -332,6 +338,8 @@ module Google
332
338
  hash :maintenance_policy_names, as: 'maintenancePolicyNames'
333
339
  hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
334
340
 
341
+ property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
342
+
335
343
  property :name, as: 'name'
336
344
  hash :producer_metadata, as: 'producerMetadata'
337
345
  collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
@@ -356,6 +364,13 @@ module Google
356
364
  end
357
365
  end
358
366
 
367
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ property :exclude, as: 'exclude'
371
+ end
372
+ end
373
+
359
374
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
360
375
  # @private
361
376
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -315,6 +315,9 @@ module Google
315
315
  # Requests for policies with any conditional bindings must specify version 3.
316
316
  # Policies without any conditional bindings may specify any valid value or
317
317
  # leave the field unset.
318
+ # To learn which resources support conditions in their IAM policies, see the
319
+ # [IAM
320
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
318
321
  # @param [String] fields
319
322
  # Selector specifying which fields to include in a partial response.
320
323
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/managed-microsoft-ad/
27
27
  module ManagedidentitiesV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200415'
29
+ REVISION = '20200622'
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'
@@ -542,6 +542,12 @@ module Google
542
542
  # @return [Hash<String,Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
543
543
  attr_accessor :maintenance_schedules
544
544
 
545
+ # Maintenance settings associated with instance. Allows service producers and
546
+ # end users to assign settings that controls maintenance on this instance.
547
+ # Corresponds to the JSON property `maintenanceSettings`
548
+ # @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
549
+ attr_accessor :maintenance_settings
550
+
545
551
  # Unique name of the resource. It uses the form:
546
552
  # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
547
553
  # Corresponds to the JSON property `name`
@@ -609,6 +615,7 @@ module Google
609
615
  @labels = args[:labels] if args.key?(:labels)
610
616
  @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
611
617
  @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
618
+ @maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
612
619
  @name = args[:name] if args.key?(:name)
613
620
  @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
614
621
  @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
@@ -664,6 +671,30 @@ module Google
664
671
  end
665
672
  end
666
673
 
674
+ # Maintenance settings associated with instance. Allows service producers and
675
+ # end users to assign settings that controls maintenance on this instance.
676
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
677
+ include Google::Apis::Core::Hashable
678
+
679
+ # Optional. Exclude instance from maintenance. When true, rollout service will
680
+ # not
681
+ # attempt maintenance on the instance. Rollout service will include the
682
+ # instance in reported rollout progress as not attempted.
683
+ # Corresponds to the JSON property `exclude`
684
+ # @return [Boolean]
685
+ attr_accessor :exclude
686
+ alias_method :exclude?, :exclude
687
+
688
+ def initialize(**args)
689
+ update!(**args)
690
+ end
691
+
692
+ # Update properties of this object
693
+ def update!(**args)
694
+ @exclude = args[:exclude] if args.key?(:exclude)
695
+ end
696
+ end
697
+
667
698
  # Node information for custom per-node SLO implementations.
668
699
  # SSA does not support per-node SLO, but producers can populate per-node
669
700
  # information in SloMetadata for custom precomputations.
@@ -1128,10 +1159,13 @@ module Google
1128
1159
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1129
1160
  # permissions; each `role` can be an IAM predefined role or a user-created
1130
1161
  # custom role.
1131
- # Optionally, a `binding` can specify a `condition`, which is a logical
1132
- # expression that allows access to a resource only if the expression evaluates
1133
- # to `true`. A condition can add constraints based on attributes of the
1134
- # request, the resource, or both.
1162
+ # For some types of Google Cloud resources, a `binding` can also specify a
1163
+ # `condition`, which is a logical expression that allows access to a resource
1164
+ # only if the expression evaluates to `true`. A condition can add constraints
1165
+ # based on attributes of the request, the resource, or both. To learn which
1166
+ # resources support conditions in their IAM policies, see the
1167
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1168
+ # policies).
1135
1169
  # **JSON example:**
1136
1170
  # `
1137
1171
  # "bindings": [
@@ -1146,7 +1180,9 @@ module Google
1146
1180
  # `,
1147
1181
  # `
1148
1182
  # "role": "roles/resourcemanager.organizationViewer",
1149
- # "members": ["user:eve@example.com"],
1183
+ # "members": [
1184
+ # "user:eve@example.com"
1185
+ # ],
1150
1186
  # "condition": `
1151
1187
  # "title": "expirable access",
1152
1188
  # "description": "Does not grant access after Sep 2020",
@@ -1219,6 +1255,9 @@ module Google
1219
1255
  # the conditions in the version `3` policy are lost.
1220
1256
  # If a policy does not include any conditions, operations on that policy may
1221
1257
  # specify any valid version or leave the field unset.
1258
+ # To learn which resources support conditions in their IAM policies, see the
1259
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1260
+ # policies).
1222
1261
  # Corresponds to the JSON property `version`
1223
1262
  # @return [Fixnum]
1224
1263
  attr_accessor :version
@@ -1310,10 +1349,13 @@ module Google
1310
1349
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1311
1350
  # permissions; each `role` can be an IAM predefined role or a user-created
1312
1351
  # custom role.
1313
- # Optionally, a `binding` can specify a `condition`, which is a logical
1314
- # expression that allows access to a resource only if the expression evaluates
1315
- # to `true`. A condition can add constraints based on attributes of the
1316
- # request, the resource, or both.
1352
+ # For some types of Google Cloud resources, a `binding` can also specify a
1353
+ # `condition`, which is a logical expression that allows access to a resource
1354
+ # only if the expression evaluates to `true`. A condition can add constraints
1355
+ # based on attributes of the request, the resource, or both. To learn which
1356
+ # resources support conditions in their IAM policies, see the
1357
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1358
+ # policies).
1317
1359
  # **JSON example:**
1318
1360
  # `
1319
1361
  # "bindings": [
@@ -1328,7 +1370,9 @@ module Google
1328
1370
  # `,
1329
1371
  # `
1330
1372
  # "role": "roles/resourcemanager.organizationViewer",
1331
- # "members": ["user:eve@example.com"],
1373
+ # "members": [
1374
+ # "user:eve@example.com"
1375
+ # ],
1332
1376
  # "condition": `
1333
1377
  # "title": "expirable access",
1334
1378
  # "description": "Does not grant access after Sep 2020",
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -332,6 +338,8 @@ module Google
332
338
  hash :maintenance_policy_names, as: 'maintenancePolicyNames'
333
339
  hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
334
340
 
341
+ property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
342
+
335
343
  property :name, as: 'name'
336
344
  hash :producer_metadata, as: 'producerMetadata'
337
345
  collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
@@ -356,6 +364,13 @@ module Google
356
364
  end
357
365
  end
358
366
 
367
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ property :exclude, as: 'exclude'
371
+ end
372
+ end
373
+
359
374
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
360
375
  # @private
361
376
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -311,6 +311,9 @@ module Google
311
311
  # Requests for policies with any conditional bindings must specify version 3.
312
312
  # Policies without any conditional bindings may specify any valid value or
313
313
  # leave the field unset.
314
+ # To learn which resources support conditions in their IAM policies, see the
315
+ # [IAM
316
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
314
317
  # @param [String] fields
315
318
  # Selector specifying which fields to include in a partial response.
316
319
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/memorystore/
27
27
  module MemcacheV1beta2
28
28
  VERSION = 'V1beta2'
29
- REVISION = '20200512'
29
+ REVISION = '20200608'
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'
@@ -62,7 +62,7 @@ module Google
62
62
  # `
63
63
  # "audit_configs": [
64
64
  # `
65
- # "service": "allServices"
65
+ # "service": "allServices",
66
66
  # "audit_log_configs": [
67
67
  # `
68
68
  # "log_type": "DATA_READ",
@@ -71,18 +71,18 @@ module Google
71
71
  # ]
72
72
  # `,
73
73
  # `
74
- # "log_type": "DATA_WRITE",
74
+ # "log_type": "DATA_WRITE"
75
75
  # `,
76
76
  # `
77
- # "log_type": "ADMIN_READ",
77
+ # "log_type": "ADMIN_READ"
78
78
  # `
79
79
  # ]
80
80
  # `,
81
81
  # `
82
- # "service": "sampleservice.googleapis.com"
82
+ # "service": "sampleservice.googleapis.com",
83
83
  # "audit_log_configs": [
84
84
  # `
85
- # "log_type": "DATA_READ",
85
+ # "log_type": "DATA_READ"
86
86
  # `,
87
87
  # `
88
88
  # "log_type": "DATA_WRITE",
@@ -134,7 +134,7 @@ module Google
134
134
  # ]
135
135
  # `,
136
136
  # `
137
- # "log_type": "DATA_WRITE",
137
+ # "log_type": "DATA_WRITE"
138
138
  # `
139
139
  # ]
140
140
  # `
@@ -464,6 +464,12 @@ module Google
464
464
  # @return [Hash<String,Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
465
465
  attr_accessor :maintenance_schedules
466
466
 
467
+ # Maintenance settings associated with instance. Allows service producers and
468
+ # end users to assign settings that controls maintenance on this instance.
469
+ # Corresponds to the JSON property `maintenanceSettings`
470
+ # @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
471
+ attr_accessor :maintenance_settings
472
+
467
473
  # Unique name of the resource. It uses the form:
468
474
  # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
469
475
  # Corresponds to the JSON property `name`
@@ -531,6 +537,7 @@ module Google
531
537
  @labels = args[:labels] if args.key?(:labels)
532
538
  @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
533
539
  @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
540
+ @maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
534
541
  @name = args[:name] if args.key?(:name)
535
542
  @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
536
543
  @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
@@ -586,6 +593,30 @@ module Google
586
593
  end
587
594
  end
588
595
 
596
+ # Maintenance settings associated with instance. Allows service producers and
597
+ # end users to assign settings that controls maintenance on this instance.
598
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
599
+ include Google::Apis::Core::Hashable
600
+
601
+ # Optional. Exclude instance from maintenance. When true, rollout service will
602
+ # not
603
+ # attempt maintenance on the instance. Rollout service will include the
604
+ # instance in reported rollout progress as not attempted.
605
+ # Corresponds to the JSON property `exclude`
606
+ # @return [Boolean]
607
+ attr_accessor :exclude
608
+ alias_method :exclude?, :exclude
609
+
610
+ def initialize(**args)
611
+ update!(**args)
612
+ end
613
+
614
+ # Update properties of this object
615
+ def update!(**args)
616
+ @exclude = args[:exclude] if args.key?(:exclude)
617
+ end
618
+ end
619
+
589
620
  # Node information for custom per-node SLO implementations.
590
621
  # SSA does not support per-node SLO, but producers can populate per-node
591
622
  # information in SloMetadata for custom precomputations.
@@ -794,7 +825,7 @@ module Google
794
825
  class Instance
795
826
  include Google::Apis::Core::Hashable
796
827
 
797
- # Optional. The full name of the Google Compute Engine
828
+ # The full name of the Google Compute Engine
798
829
  # [network](/compute/docs/networks-and-firewalls#networks) to which the
799
830
  # instance is connected. If left unspecified, the `default` network
800
831
  # will be used.
@@ -812,7 +843,7 @@ module Google
812
843
  # @return [String]
813
844
  attr_accessor :discovery_endpoint
814
845
 
815
- # Optional. User provided name for the instance only used for display
846
+ # User provided name for the instance only used for display
816
847
  # purposes. Cannot be more than 80 characters.
817
848
  # Corresponds to the JSON property `displayName`
818
849
  # @return [String]
@@ -823,7 +854,7 @@ module Google
823
854
  # @return [Array<Google::Apis::MemcacheV1beta2::InstanceMessage>]
824
855
  attr_accessor :instance_messages
825
856
 
826
- # Optional. Resource labels to represent user-provided metadata.
857
+ # Resource labels to represent user-provided metadata.
827
858
  # Refer to cloud documentation on labels for more details.
828
859
  # https://cloud.google.com/compute/docs/labeling-resources
829
860
  # Corresponds to the JSON property `labels`
@@ -844,7 +875,7 @@ module Google
844
875
  # @return [Array<Google::Apis::MemcacheV1beta2::Node>]
845
876
  attr_accessor :memcache_nodes
846
877
 
847
- # Optional. The major version of Memcached software.
878
+ # The major version of Memcached software.
848
879
  # If not provided, latest supported version will be used. Currently the
849
880
  # latest supported major version is MEMCACHE_1_5.
850
881
  # The minor version will be automatically determined by our system based on
@@ -890,7 +921,7 @@ module Google
890
921
  # @return [String]
891
922
  attr_accessor :update_time
892
923
 
893
- # Optional. Zones where Memcached nodes should be provisioned in.
924
+ # Zones where Memcached nodes should be provisioned in.
894
925
  # Memcached nodes will be equally distributed across these zones. If not
895
926
  # provided, the service will by default create nodes in all zones in the
896
927
  # region for the instance.