google-api-client 0.20.1 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (451) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +140 -0
  3. data/README.md +3 -12
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +1 -0
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +11 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  10. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +24 -40
  12. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +66 -110
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +117 -195
  15. data/generated/google/apis/adexchangeseller_v1.rb +1 -1
  16. data/generated/google/apis/adexchangeseller_v1/service.rb +36 -60
  17. data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
  18. data/generated/google/apis/adexchangeseller_v1_1/service.rb +54 -90
  19. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  20. data/generated/google/apis/adexchangeseller_v2_0/service.rb +45 -75
  21. data/generated/google/apis/adexperiencereport_v1.rb +2 -2
  22. data/generated/google/apis/adexperiencereport_v1/classes.rb +1 -0
  23. data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
  24. data/generated/google/apis/admin_datatransfer_v1/service.rb +18 -30
  25. data/generated/google/apis/admin_directory_v1.rb +3 -3
  26. data/generated/google/apis/admin_directory_v1/classes.rb +18 -0
  27. data/generated/google/apis/admin_directory_v1/representations.rb +3 -0
  28. data/generated/google/apis/admin_directory_v1/service.rb +363 -577
  29. data/generated/google/apis/admin_reports_v1.rb +1 -1
  30. data/generated/google/apis/admin_reports_v1/service.rb +21 -35
  31. data/generated/google/apis/adsense_v1_4.rb +1 -1
  32. data/generated/google/apis/adsense_v1_4/service.rb +117 -195
  33. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  34. data/generated/google/apis/adsensehost_v4_1/service.rb +81 -135
  35. data/generated/google/apis/analytics_v2_4.rb +1 -1
  36. data/generated/google/apis/analytics_v2_4/service.rb +21 -35
  37. data/generated/google/apis/analytics_v3.rb +1 -1
  38. data/generated/google/apis/analytics_v3/classes.rb +32 -60
  39. data/generated/google/apis/analytics_v3/representations.rb +8 -12
  40. data/generated/google/apis/analytics_v3/service.rb +261 -435
  41. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  42. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -1
  43. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  44. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -12
  45. data/generated/google/apis/androidenterprise_v1/service.rb +254 -425
  46. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  47. data/generated/google/apis/androidmanagement_v1/classes.rb +38 -6
  48. data/generated/google/apis/androidmanagement_v1/representations.rb +18 -0
  49. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  50. data/generated/google/apis/androidpublisher_v1/service.rb +9 -15
  51. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  52. data/generated/google/apis/androidpublisher_v1_1/service.rb +12 -20
  53. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  54. data/generated/google/apis/androidpublisher_v2/classes.rb +102 -1
  55. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -0
  56. data/generated/google/apis/androidpublisher_v2/service.rb +255 -286
  57. data/generated/google/apis/androidpublisher_v3.rb +34 -0
  58. data/generated/google/apis/androidpublisher_v3/classes.rb +1899 -0
  59. data/generated/google/apis/androidpublisher_v3/representations.rb +882 -0
  60. data/generated/google/apis/androidpublisher_v3/service.rb +2208 -0
  61. data/generated/google/apis/appsactivity_v1.rb +1 -1
  62. data/generated/google/apis/appsactivity_v1/service.rb +6 -10
  63. data/generated/google/apis/appsmarket_v2/service.rb +12 -20
  64. data/generated/google/apis/appstate_v1.rb +1 -1
  65. data/generated/google/apis/appstate_v1/service.rb +18 -30
  66. data/generated/google/apis/bigquery_v2.rb +1 -1
  67. data/generated/google/apis/bigquery_v2/classes.rb +67 -9
  68. data/generated/google/apis/bigquery_v2/representations.rb +22 -0
  69. data/generated/google/apis/bigquery_v2/service.rb +69 -115
  70. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  71. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -2
  72. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +2 -2
  73. data/generated/google/apis/blogger_v2/service.rb +30 -50
  74. data/generated/google/apis/blogger_v3/service.rb +102 -170
  75. data/generated/google/apis/books_v1.rb +1 -1
  76. data/generated/google/apis/books_v1/service.rb +156 -260
  77. data/generated/google/apis/calendar_v3.rb +1 -1
  78. data/generated/google/apis/calendar_v3/service.rb +114 -190
  79. data/generated/google/apis/chat_v1.rb +1 -1
  80. data/generated/google/apis/chat_v1/classes.rb +6 -0
  81. data/generated/google/apis/chat_v1/representations.rb +1 -0
  82. data/generated/google/apis/civicinfo_v2/service.rb +18 -30
  83. data/generated/google/apis/classroom_v1.rb +1 -1
  84. data/generated/google/apis/classroom_v1/classes.rb +0 -69
  85. data/generated/google/apis/classroom_v1/representations.rb +0 -31
  86. data/generated/google/apis/classroom_v1/service.rb +0 -88
  87. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  88. data/generated/google/apis/cloudbilling_v1/classes.rb +0 -1
  89. data/generated/google/apis/cloudbilling_v1/service.rb +2 -1
  90. data/generated/google/apis/cloudfunctions_v1.rb +3 -4
  91. data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
  92. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  93. data/generated/google/apis/cloudfunctions_v1/service.rb +3 -4
  94. data/generated/google/apis/cloudfunctions_v1beta2.rb +3 -4
  95. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +14 -0
  96. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +2 -0
  97. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +3 -4
  98. data/generated/google/apis/cloudiot_v1.rb +1 -1
  99. data/generated/google/apis/cloudiot_v1/classes.rb +29 -7
  100. data/generated/google/apis/cloudiot_v1/service.rb +398 -1
  101. data/generated/google/apis/cloudkms_v1.rb +2 -2
  102. data/generated/google/apis/cloudkms_v1/classes.rb +29 -7
  103. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  105. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +30 -8
  106. data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -3
  107. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  108. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +29 -7
  109. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +29 -7
  111. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +29 -7
  113. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  114. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +39 -10
  115. data/generated/google/apis/cloudtasks_v2beta2/service.rb +9 -11
  116. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  117. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  118. data/generated/google/apis/{dlp_v2beta1.rb → composer_v1beta1.rb} +9 -11
  119. data/generated/google/apis/composer_v1beta1/classes.rb +643 -0
  120. data/generated/google/apis/composer_v1beta1/representations.rb +195 -0
  121. data/generated/google/apis/composer_v1beta1/service.rb +462 -0
  122. data/generated/google/apis/compute_alpha.rb +1 -1
  123. data/generated/google/apis/compute_alpha/classes.rb +3939 -2239
  124. data/generated/google/apis/compute_alpha/representations.rb +1063 -335
  125. data/generated/google/apis/compute_alpha/service.rb +3532 -3368
  126. data/generated/google/apis/compute_beta.rb +1 -1
  127. data/generated/google/apis/compute_beta/classes.rb +150 -53
  128. data/generated/google/apis/compute_beta/representations.rb +23 -0
  129. data/generated/google/apis/compute_beta/service.rb +1269 -2077
  130. data/generated/google/apis/compute_v1.rb +1 -1
  131. data/generated/google/apis/compute_v1/classes.rb +46 -43
  132. data/generated/google/apis/compute_v1/service.rb +1022 -1666
  133. data/generated/google/apis/container_v1.rb +2 -2
  134. data/generated/google/apis/container_v1/classes.rb +20 -15
  135. data/generated/google/apis/container_v1/representations.rb +1 -0
  136. data/generated/google/apis/container_v1/service.rb +33 -31
  137. data/generated/google/apis/container_v1beta1.rb +2 -2
  138. data/generated/google/apis/container_v1beta1/classes.rb +186 -14
  139. data/generated/google/apis/container_v1beta1/representations.rb +77 -0
  140. data/generated/google/apis/container_v1beta1/service.rb +111 -31
  141. data/generated/google/apis/content_v2.rb +1 -1
  142. data/generated/google/apis/content_v2/classes.rb +173 -8
  143. data/generated/google/apis/content_v2/representations.rb +71 -0
  144. data/generated/google/apis/content_v2/service.rb +246 -410
  145. data/generated/google/apis/content_v2sandbox.rb +1 -1
  146. data/generated/google/apis/content_v2sandbox/classes.rb +75 -8
  147. data/generated/google/apis/content_v2sandbox/representations.rb +33 -0
  148. data/generated/google/apis/content_v2sandbox/service.rb +63 -105
  149. data/generated/google/apis/customsearch_v1.rb +1 -1
  150. data/generated/google/apis/customsearch_v1/service.rb +9 -15
  151. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  152. data/generated/google/apis/dataflow_v1b3/classes.rb +15 -0
  153. data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
  154. data/generated/google/apis/dataproc_v1.rb +2 -2
  155. data/generated/google/apis/dataproc_v1/classes.rb +6 -6
  156. data/generated/google/apis/dataproc_v1/service.rb +1 -1
  157. data/generated/google/apis/dataproc_v1beta2.rb +2 -2
  158. data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -13
  159. data/generated/google/apis/dataproc_v1beta2/representations.rb +12 -0
  160. data/generated/google/apis/dataproc_v1beta2/service.rb +1 -1
  161. data/generated/google/apis/datastore_v1.rb +2 -2
  162. data/generated/google/apis/datastore_v1/service.rb +1 -1
  163. data/generated/google/apis/datastore_v1beta1.rb +2 -2
  164. data/generated/google/apis/datastore_v1beta1/service.rb +1 -1
  165. data/generated/google/apis/datastore_v1beta3.rb +2 -2
  166. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  167. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  168. data/generated/google/apis/deploymentmanager_alpha/classes.rb +60 -5
  169. data/generated/google/apis/deploymentmanager_alpha/representations.rb +17 -0
  170. data/generated/google/apis/deploymentmanager_alpha/service.rb +118 -194
  171. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  172. data/generated/google/apis/deploymentmanager_v2/classes.rb +60 -5
  173. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -0
  174. data/generated/google/apis/deploymentmanager_v2/service.rb +61 -99
  175. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  176. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +60 -5
  177. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +17 -0
  178. data/generated/google/apis/deploymentmanager_v2beta/service.rb +103 -169
  179. data/generated/google/apis/dfareporting_v2_8/service.rb +618 -1030
  180. data/generated/google/apis/dfareporting_v3_0/service.rb +615 -1025
  181. data/generated/google/apis/dialogflow_v2.rb +1 -1
  182. data/generated/google/apis/dialogflow_v2/classes.rb +94 -24
  183. data/generated/google/apis/dialogflow_v2/representations.rb +13 -0
  184. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  185. data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -24
  186. data/generated/google/apis/dialogflow_v2beta1/representations.rb +13 -0
  187. data/generated/google/apis/discovery_v1/service.rb +9 -15
  188. data/generated/google/apis/dlp_v2.rb +1 -1
  189. data/generated/google/apis/dlp_v2/classes.rb +116 -1572
  190. data/generated/google/apis/dlp_v2/representations.rb +673 -1405
  191. data/generated/google/apis/dlp_v2/service.rb +24 -24
  192. data/generated/google/apis/dns_v1.rb +1 -1
  193. data/generated/google/apis/dns_v1/classes.rb +7 -0
  194. data/generated/google/apis/dns_v1/representations.rb +1 -0
  195. data/generated/google/apis/dns_v1/service.rb +49 -81
  196. data/generated/google/apis/dns_v1beta2.rb +1 -1
  197. data/generated/google/apis/dns_v1beta2/classes.rb +7 -0
  198. data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
  199. data/generated/google/apis/dns_v1beta2/service.rb +49 -81
  200. data/generated/google/apis/dns_v2beta1.rb +1 -1
  201. data/generated/google/apis/dns_v2beta1/classes.rb +7 -0
  202. data/generated/google/apis/dns_v2beta1/representations.rb +1 -0
  203. data/generated/google/apis/dns_v2beta1/service.rb +49 -81
  204. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +30 -50
  205. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  206. data/generated/google/apis/doubleclicksearch_v2/service.rb +33 -55
  207. data/generated/google/apis/drive_v2.rb +1 -1
  208. data/generated/google/apis/drive_v2/service.rb +205 -341
  209. data/generated/google/apis/drive_v3.rb +1 -1
  210. data/generated/google/apis/drive_v3/service.rb +120 -200
  211. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  212. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  213. data/generated/google/apis/firestore_v1beta1.rb +2 -2
  214. data/generated/google/apis/firestore_v1beta1/service.rb +1 -1
  215. data/generated/google/apis/fitness_v1/service.rb +45 -75
  216. data/generated/google/apis/fusiontables_v1.rb +1 -1
  217. data/generated/google/apis/fusiontables_v1/service.rb +99 -165
  218. data/generated/google/apis/fusiontables_v2/service.rb +105 -175
  219. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  220. data/generated/google/apis/games_configuration_v1configuration/service.rb +42 -70
  221. data/generated/google/apis/games_management_v1management.rb +1 -1
  222. data/generated/google/apis/games_management_v1management/service.rb +84 -140
  223. data/generated/google/apis/games_v1.rb +1 -1
  224. data/generated/google/apis/games_v1/service.rb +162 -270
  225. data/generated/google/apis/genomics_v1.rb +1 -1
  226. data/generated/google/apis/genomics_v1/classes.rb +41 -7
  227. data/generated/google/apis/genomics_v1/representations.rb +1 -0
  228. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  229. data/generated/google/apis/genomics_v1alpha2/classes.rb +12 -0
  230. data/generated/google/apis/genomics_v1alpha2/representations.rb +1 -0
  231. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  232. data/generated/google/apis/genomics_v2alpha1/classes.rb +70 -0
  233. data/generated/google/apis/genomics_v2alpha1/representations.rb +20 -0
  234. data/generated/google/apis/gmail_v1/service.rb +189 -315
  235. data/generated/google/apis/groupsmigration_v1/service.rb +6 -10
  236. data/generated/google/apis/groupssettings_v1/service.rb +12 -20
  237. data/generated/google/apis/iam_v1.rb +2 -2
  238. data/generated/google/apis/iam_v1/classes.rb +29 -7
  239. data/generated/google/apis/iam_v1/service.rb +1 -1
  240. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  241. data/generated/google/apis/identitytoolkit_v3/service.rb +63 -105
  242. data/generated/google/apis/jobs_v2.rb +38 -0
  243. data/generated/google/apis/jobs_v2/classes.rb +3378 -0
  244. data/generated/google/apis/jobs_v2/representations.rb +1067 -0
  245. data/generated/google/apis/jobs_v2/service.rb +754 -0
  246. data/generated/google/apis/licensing_v1/service.rb +24 -40
  247. data/generated/google/apis/logging_v2.rb +1 -1
  248. data/generated/google/apis/logging_v2/classes.rb +55 -5
  249. data/generated/google/apis/logging_v2/representations.rb +16 -0
  250. data/generated/google/apis/logging_v2/service.rb +6 -4
  251. data/generated/google/apis/logging_v2beta1.rb +1 -1
  252. data/generated/google/apis/logging_v2beta1/classes.rb +55 -5
  253. data/generated/google/apis/logging_v2beta1/representations.rb +16 -0
  254. data/generated/google/apis/logging_v2beta1/service.rb +6 -4
  255. data/generated/google/apis/mirror_v1.rb +1 -1
  256. data/generated/google/apis/mirror_v1/service.rb +75 -125
  257. data/generated/google/apis/ml_v1.rb +1 -1
  258. data/generated/google/apis/ml_v1/classes.rb +65 -28
  259. data/generated/google/apis/ml_v1/representations.rb +1 -0
  260. data/generated/google/apis/ml_v1/service.rb +2 -2
  261. data/generated/google/apis/oauth2_v1.rb +1 -1
  262. data/generated/google/apis/oauth2_v1/service.rb +27 -45
  263. data/generated/google/apis/oauth2_v2.rb +1 -1
  264. data/generated/google/apis/oauth2_v2/service.rb +15 -25
  265. data/generated/google/apis/oslogin_v1.rb +1 -1
  266. data/generated/google/apis/oslogin_v1/classes.rb +6 -0
  267. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  268. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  269. data/generated/google/apis/oslogin_v1alpha/classes.rb +7 -1
  270. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  271. data/generated/google/apis/oslogin_v1alpha/service.rb +4 -1
  272. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  273. data/generated/google/apis/oslogin_v1beta/classes.rb +6 -0
  274. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  275. data/generated/google/apis/pagespeedonline_v1.rb +1 -1
  276. data/generated/google/apis/pagespeedonline_v1/service.rb +6 -10
  277. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  278. data/generated/google/apis/pagespeedonline_v2/service.rb +6 -10
  279. data/generated/google/apis/pagespeedonline_v4/service.rb +6 -10
  280. data/generated/google/apis/photoslibrary_v1.rb +49 -0
  281. data/generated/google/apis/photoslibrary_v1/classes.rb +1330 -0
  282. data/generated/google/apis/photoslibrary_v1/representations.rb +625 -0
  283. data/generated/google/apis/photoslibrary_v1/service.rb +399 -0
  284. data/generated/google/apis/playcustomapp_v1/service.rb +6 -10
  285. data/generated/google/apis/plus_domains_v1.rb +1 -1
  286. data/generated/google/apis/plus_domains_v1/service.rb +63 -105
  287. data/generated/google/apis/plus_v1.rb +1 -1
  288. data/generated/google/apis/plus_v1/service.rb +30 -50
  289. data/generated/google/apis/pubsub_v1.rb +2 -2
  290. data/generated/google/apis/pubsub_v1/classes.rb +29 -7
  291. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  292. data/generated/google/apis/pubsub_v1beta1a.rb +2 -2
  293. data/generated/google/apis/pubsub_v1beta1a/service.rb +1 -1
  294. data/generated/google/apis/pubsub_v1beta2.rb +2 -2
  295. data/generated/google/apis/pubsub_v1beta2/classes.rb +29 -7
  296. data/generated/google/apis/pubsub_v1beta2/service.rb +1 -1
  297. data/generated/google/apis/{dlp_v2beta2.rb → redis_v1beta1.rb} +10 -11
  298. data/generated/google/apis/redis_v1beta1/classes.rb +681 -0
  299. data/generated/google/apis/redis_v1beta1/representations.rb +240 -0
  300. data/generated/google/apis/redis_v1beta1/service.rb +426 -0
  301. data/generated/google/apis/replicapool_v1beta1/service.rb +33 -55
  302. data/generated/google/apis/replicapool_v1beta2/service.rb +39 -65
  303. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +33 -55
  304. data/generated/google/apis/reseller_v1/service.rb +54 -90
  305. data/generated/google/apis/resourceviews_v1beta1/service.rb +45 -75
  306. data/generated/google/apis/resourceviews_v1beta2/service.rb +36 -60
  307. data/generated/google/apis/runtimeconfig_v1.rb +2 -2
  308. data/generated/google/apis/runtimeconfig_v1/service.rb +1 -1
  309. data/generated/google/apis/runtimeconfig_v1beta1.rb +2 -2
  310. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +28 -6
  311. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
  312. data/generated/google/apis/script_v1.rb +8 -2
  313. data/generated/google/apis/script_v1/classes.rb +3 -3
  314. data/generated/google/apis/script_v1/service.rb +8 -2
  315. data/generated/google/apis/servicebroker_v1.rb +36 -0
  316. data/generated/google/apis/servicebroker_v1/classes.rb +240 -0
  317. data/generated/google/apis/servicebroker_v1/representations.rb +96 -0
  318. data/generated/google/apis/servicebroker_v1/service.rb +168 -0
  319. data/generated/google/apis/servicebroker_v1alpha1.rb +36 -0
  320. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +939 -0
  321. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +348 -0
  322. data/generated/google/apis/servicebroker_v1alpha1/service.rb +728 -0
  323. data/generated/google/apis/servicebroker_v1beta1.rb +36 -0
  324. data/generated/google/apis/servicebroker_v1beta1/classes.rb +1046 -0
  325. data/generated/google/apis/servicebroker_v1beta1/representations.rb +393 -0
  326. data/generated/google/apis/servicebroker_v1beta1/service.rb +917 -0
  327. data/generated/google/apis/servicecontrol_v1.rb +2 -2
  328. data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
  329. data/generated/google/apis/servicecontrol_v1/service.rb +1 -1
  330. data/generated/google/apis/servicemanagement_v1.rb +2 -2
  331. data/generated/google/apis/servicemanagement_v1/classes.rb +29 -7
  332. data/generated/google/apis/servicemanagement_v1/service.rb +1 -1
  333. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  334. data/generated/google/apis/serviceusage_v1beta1/classes.rb +299 -0
  335. data/generated/google/apis/serviceusage_v1beta1/representations.rb +101 -0
  336. data/generated/google/apis/sheets_v4.rb +1 -1
  337. data/generated/google/apis/sheets_v4/classes.rb +421 -0
  338. data/generated/google/apis/sheets_v4/representations.rb +120 -0
  339. data/generated/google/apis/site_verification_v1/service.rb +24 -40
  340. data/generated/google/apis/slides_v1.rb +1 -1
  341. data/generated/google/apis/slides_v1/classes.rb +6 -2
  342. data/generated/google/apis/spanner_v1.rb +1 -1
  343. data/generated/google/apis/spanner_v1/classes.rb +39 -12
  344. data/generated/google/apis/spanner_v1/service.rb +2 -2
  345. data/generated/google/apis/spectrum_v1explorer.rb +1 -1
  346. data/generated/google/apis/spectrum_v1explorer/service.rb +21 -35
  347. data/generated/google/apis/speech_v1.rb +1 -1
  348. data/generated/google/apis/speech_v1/classes.rb +12 -0
  349. data/generated/google/apis/speech_v1/representations.rb +1 -0
  350. data/generated/google/apis/sqladmin_v1beta3.rb +1 -1
  351. data/generated/google/apis/sqladmin_v1beta3/service.rb +75 -125
  352. data/generated/google/apis/sqladmin_v1beta4/service.rb +126 -210
  353. data/generated/google/apis/storage_v1.rb +1 -1
  354. data/generated/google/apis/storage_v1/classes.rb +3 -6
  355. data/generated/google/apis/storage_v1/service.rb +144 -240
  356. data/generated/google/apis/storage_v1beta1.rb +1 -1
  357. data/generated/google/apis/storage_v1beta1/service.rb +75 -125
  358. data/generated/google/apis/storage_v1beta2.rb +1 -1
  359. data/generated/google/apis/storage_v1beta2/service.rb +105 -175
  360. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  361. data/generated/google/apis/storagetransfer_v1/classes.rb +4 -3
  362. data/generated/google/apis/surveys_v2.rb +1 -1
  363. data/generated/google/apis/surveys_v2/classes.rb +19 -122
  364. data/generated/google/apis/surveys_v2/representations.rb +0 -38
  365. data/generated/google/apis/surveys_v2/service.rb +27 -157
  366. data/generated/google/apis/tagmanager_v1/service.rb +153 -255
  367. data/generated/google/apis/tagmanager_v2/service.rb +222 -370
  368. data/generated/google/apis/tasks_v1/service.rb +45 -75
  369. data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
  370. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  371. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  372. data/generated/google/apis/toolresults_v1beta3/service.rb +75 -125
  373. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  374. data/generated/google/apis/urlshortener_v1/service.rb +12 -20
  375. data/generated/google/apis/vault_v1.rb +2 -2
  376. data/generated/google/apis/vault_v1/service.rb +1 -1
  377. data/generated/google/apis/videointelligence_v1.rb +34 -0
  378. data/generated/google/apis/videointelligence_v1/classes.rb +2149 -0
  379. data/generated/google/apis/videointelligence_v1/representations.rb +972 -0
  380. data/generated/google/apis/videointelligence_v1/service.rb +246 -0
  381. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  382. data/generated/google/apis/videointelligence_v1beta1/classes.rb +18 -18
  383. data/generated/google/apis/{taskqueue_v1beta2.rb → videointelligence_v1beta2.rb} +10 -13
  384. data/generated/google/apis/videointelligence_v1beta2/classes.rb +2092 -0
  385. data/generated/google/apis/videointelligence_v1beta2/representations.rb +933 -0
  386. data/generated/google/apis/videointelligence_v1beta2/service.rb +92 -0
  387. data/generated/google/apis/vision_v1.rb +1 -1
  388. data/generated/google/apis/vision_v1/classes.rb +1441 -62
  389. data/generated/google/apis/vision_v1/representations.rb +582 -0
  390. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  391. data/generated/google/apis/vision_v1p1beta1/classes.rb +1441 -62
  392. data/generated/google/apis/vision_v1p1beta1/representations.rb +582 -0
  393. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  394. data/generated/google/apis/vision_v1p2beta1/classes.rb +63 -3
  395. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  396. data/generated/google/apis/webfonts_v1/service.rb +6 -10
  397. data/generated/google/apis/webmasters_v3/service.rb +42 -70
  398. data/generated/google/apis/websecurityscanner_v1alpha.rb +34 -0
  399. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +760 -0
  400. data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +354 -0
  401. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +548 -0
  402. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  403. data/generated/google/apis/youtube_analytics_v1/service.rb +27 -45
  404. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  405. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +27 -45
  406. data/generated/google/apis/youtube_analytics_v2.rb +46 -0
  407. data/generated/google/apis/youtube_analytics_v2/classes.rb +532 -0
  408. data/generated/google/apis/youtube_analytics_v2/representations.rb +232 -0
  409. data/generated/google/apis/youtube_analytics_v2/service.rb +478 -0
  410. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  411. data/generated/google/apis/youtube_partner_v1/service.rb +225 -375
  412. data/generated/google/apis/youtube_v3.rb +1 -1
  413. data/generated/google/apis/youtube_v3/classes.rb +0 -168
  414. data/generated/google/apis/youtube_v3/representations.rb +0 -62
  415. data/generated/google/apis/youtube_v3/service.rb +216 -415
  416. data/lib/google/apis/generator/helpers.rb +3 -1
  417. data/lib/google/apis/version.rb +1 -1
  418. metadata +50 -38
  419. data/generated/google/apis/dlp_v2beta1/classes.rb +0 -3820
  420. data/generated/google/apis/dlp_v2beta1/representations.rb +0 -1879
  421. data/generated/google/apis/dlp_v2beta1/service.rb +0 -603
  422. data/generated/google/apis/dlp_v2beta2/classes.rb +0 -6386
  423. data/generated/google/apis/dlp_v2beta2/representations.rb +0 -3085
  424. data/generated/google/apis/dlp_v2beta2/service.rb +0 -1332
  425. data/generated/google/apis/prediction_v1_2.rb +0 -44
  426. data/generated/google/apis/prediction_v1_2/classes.rb +0 -237
  427. data/generated/google/apis/prediction_v1_2/representations.rb +0 -133
  428. data/generated/google/apis/prediction_v1_2/service.rb +0 -287
  429. data/generated/google/apis/prediction_v1_3.rb +0 -44
  430. data/generated/google/apis/prediction_v1_3/classes.rb +0 -286
  431. data/generated/google/apis/prediction_v1_3/representations.rb +0 -139
  432. data/generated/google/apis/prediction_v1_3/service.rb +0 -284
  433. data/generated/google/apis/prediction_v1_4.rb +0 -44
  434. data/generated/google/apis/prediction_v1_4/classes.rb +0 -336
  435. data/generated/google/apis/prediction_v1_4/representations.rb +0 -158
  436. data/generated/google/apis/prediction_v1_4/service.rb +0 -284
  437. data/generated/google/apis/prediction_v1_5.rb +0 -44
  438. data/generated/google/apis/prediction_v1_5/classes.rb +0 -708
  439. data/generated/google/apis/prediction_v1_5/representations.rb +0 -352
  440. data/generated/google/apis/prediction_v1_5/service.rb +0 -357
  441. data/generated/google/apis/prediction_v1_6.rb +0 -47
  442. data/generated/google/apis/prediction_v1_6/classes.rb +0 -751
  443. data/generated/google/apis/prediction_v1_6/representations.rb +0 -369
  444. data/generated/google/apis/prediction_v1_6/service.rb +0 -381
  445. data/generated/google/apis/taskqueue_v1beta1.rb +0 -37
  446. data/generated/google/apis/taskqueue_v1beta1/classes.rb +0 -242
  447. data/generated/google/apis/taskqueue_v1beta1/representations.rb +0 -124
  448. data/generated/google/apis/taskqueue_v1beta1/service.rb +0 -269
  449. data/generated/google/apis/taskqueue_v1beta2/classes.rb +0 -254
  450. data/generated/google/apis/taskqueue_v1beta2/representations.rb +0 -126
  451. data/generated/google/apis/taskqueue_v1beta2/service.rb +0 -409
@@ -0,0 +1,36 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/servicebroker_v1beta1/service.rb'
16
+ require 'google/apis/servicebroker_v1beta1/classes.rb'
17
+ require 'google/apis/servicebroker_v1beta1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Service Broker API
22
+ #
23
+ # The Google Cloud Platform Service Broker API provides Google hosted
24
+ # implementation of the Open Service Broker API
25
+ # (https://www.openservicebrokerapi.org/).
26
+ #
27
+ # @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
28
+ module ServicebrokerV1beta1
29
+ VERSION = 'V1beta1'
30
+ REVISION = '20180427'
31
+
32
+ # View and manage your data across Google Cloud Platform services
33
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,1046 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module ServicebrokerV1beta1
24
+
25
+ # Describes the binding.
26
+ class GoogleCloudServicebrokerV1beta1Binding
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # A JSON object that contains data for platform resources associated with
30
+ # the binding to be created.
31
+ # Corresponds to the JSON property `bind_resource`
32
+ # @return [Hash<String,Object>]
33
+ attr_accessor :bind_resource
34
+
35
+ # The id of the binding. Must be unique within GCP project.
36
+ # Maximum length is 64, GUID recommended.
37
+ # Required.
38
+ # Corresponds to the JSON property `binding_id`
39
+ # @return [String]
40
+ attr_accessor :binding_id
41
+
42
+ # Output only.
43
+ # Timestamp for when the binding was created.
44
+ # Corresponds to the JSON property `createTime`
45
+ # @return [String]
46
+ attr_accessor :create_time
47
+
48
+ # Configuration options for the service binding.
49
+ # Corresponds to the JSON property `parameters`
50
+ # @return [Hash<String,Object>]
51
+ attr_accessor :parameters
52
+
53
+ # The ID of the plan. See `Service` and `Plan` resources for details.
54
+ # Maximum length is 64, GUID recommended.
55
+ # Required.
56
+ # Corresponds to the JSON property `plan_id`
57
+ # @return [String]
58
+ attr_accessor :plan_id
59
+
60
+ # The id of the service. Must be a valid identifier of a service
61
+ # contained in the list from a `ListServices()` call.
62
+ # Maximum length is 64, GUID recommended.
63
+ # Required.
64
+ # Corresponds to the JSON property `service_id`
65
+ # @return [String]
66
+ attr_accessor :service_id
67
+
68
+ def initialize(**args)
69
+ update!(**args)
70
+ end
71
+
72
+ # Update properties of this object
73
+ def update!(**args)
74
+ @bind_resource = args[:bind_resource] if args.key?(:bind_resource)
75
+ @binding_id = args[:binding_id] if args.key?(:binding_id)
76
+ @create_time = args[:create_time] if args.key?(:create_time)
77
+ @parameters = args[:parameters] if args.key?(:parameters)
78
+ @plan_id = args[:plan_id] if args.key?(:plan_id)
79
+ @service_id = args[:service_id] if args.key?(:service_id)
80
+ end
81
+ end
82
+
83
+ # Broker represents a consumable collection of Service Registry catalogs
84
+ # exposed as an OSB Broker.
85
+ class GoogleCloudServicebrokerV1beta1Broker
86
+ include Google::Apis::Core::Hashable
87
+
88
+ # Output only.
89
+ # Timestamp for when the broker was created.
90
+ # Corresponds to the JSON property `createTime`
91
+ # @return [String]
92
+ attr_accessor :create_time
93
+
94
+ # Name of the broker in the format:
95
+ # <projects>/<project-id>/brokers/<broker>.
96
+ # This allows for multiple brokers per project which can be used to
97
+ # enable having custom brokers per GKE cluster, for example.
98
+ # Corresponds to the JSON property `name`
99
+ # @return [String]
100
+ attr_accessor :name
101
+
102
+ # User friendly title of the broker.
103
+ # Limited to 1024 characters. Requests with longer titles will be rejected.
104
+ # Corresponds to the JSON property `title`
105
+ # @return [String]
106
+ attr_accessor :title
107
+
108
+ # Output only.
109
+ # URL of the broker OSB-compliant endpoint, for example:
110
+ # https://servicebroker.googleapis.com/projects/<project>/brokers/<broker>
111
+ # Corresponds to the JSON property `url`
112
+ # @return [String]
113
+ attr_accessor :url
114
+
115
+ def initialize(**args)
116
+ update!(**args)
117
+ end
118
+
119
+ # Update properties of this object
120
+ def update!(**args)
121
+ @create_time = args[:create_time] if args.key?(:create_time)
122
+ @name = args[:name] if args.key?(:name)
123
+ @title = args[:title] if args.key?(:title)
124
+ @url = args[:url] if args.key?(:url)
125
+ end
126
+ end
127
+
128
+ # Response for the `CreateBinding()` method.
129
+ class GoogleCloudServicebrokerV1beta1CreateBindingResponse
130
+ include Google::Apis::Core::Hashable
131
+
132
+ # Credentials to use the binding.
133
+ # Corresponds to the JSON property `credentials`
134
+ # @return [Hash<String,Object>]
135
+ attr_accessor :credentials
136
+
137
+ # Used to communicate description of the response. Usually for non-standard
138
+ # error codes.
139
+ # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
140
+ # service-broker-errors
141
+ # Corresponds to the JSON property `description`
142
+ # @return [String]
143
+ attr_accessor :description
144
+
145
+ # If broker executes operation asynchronously, this is the operation ID that
146
+ # can be polled to check the completion status of said operation.
147
+ # This broker always executes all create/delete operations asynchronously.
148
+ # Corresponds to the JSON property `operation`
149
+ # @return [String]
150
+ attr_accessor :operation
151
+
152
+ # A URL to which the platform may proxy requests for the address sent with
153
+ # bind_resource.route
154
+ # Corresponds to the JSON property `route_service_url`
155
+ # @return [String]
156
+ attr_accessor :route_service_url
157
+
158
+ # From where to read system logs.
159
+ # Corresponds to the JSON property `syslog_drain_url`
160
+ # @return [String]
161
+ attr_accessor :syslog_drain_url
162
+
163
+ # An array of configuration for mounting volumes.
164
+ # Corresponds to the JSON property `volume_mounts`
165
+ # @return [Array<Hash<String,Object>>]
166
+ attr_accessor :volume_mounts
167
+
168
+ def initialize(**args)
169
+ update!(**args)
170
+ end
171
+
172
+ # Update properties of this object
173
+ def update!(**args)
174
+ @credentials = args[:credentials] if args.key?(:credentials)
175
+ @description = args[:description] if args.key?(:description)
176
+ @operation = args[:operation] if args.key?(:operation)
177
+ @route_service_url = args[:route_service_url] if args.key?(:route_service_url)
178
+ @syslog_drain_url = args[:syslog_drain_url] if args.key?(:syslog_drain_url)
179
+ @volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
180
+ end
181
+ end
182
+
183
+ # Response for the `CreateServiceInstance()` method.
184
+ class GoogleCloudServicebrokerV1beta1CreateServiceInstanceResponse
185
+ include Google::Apis::Core::Hashable
186
+
187
+ # Used to communicate description of the response. Usually for non-standard
188
+ # error codes.
189
+ # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
190
+ # service-broker-errors
191
+ # Corresponds to the JSON property `description`
192
+ # @return [String]
193
+ attr_accessor :description
194
+
195
+ # If broker executes operation asynchronously, this is the operation ID that
196
+ # can be polled to check the completion status of said operation.
197
+ # This broker always will return a non-empty operation on success.
198
+ # Corresponds to the JSON property `operation`
199
+ # @return [String]
200
+ attr_accessor :operation
201
+
202
+ def initialize(**args)
203
+ update!(**args)
204
+ end
205
+
206
+ # Update properties of this object
207
+ def update!(**args)
208
+ @description = args[:description] if args.key?(:description)
209
+ @operation = args[:operation] if args.key?(:operation)
210
+ end
211
+ end
212
+
213
+ # Message containing information required to activate Dashboard SSO feature.
214
+ class GoogleCloudServicebrokerV1beta1DashboardClient
215
+ include Google::Apis::Core::Hashable
216
+
217
+ # The id of the Oauth client that the dashboard will use.
218
+ # Corresponds to the JSON property `id`
219
+ # @return [String]
220
+ attr_accessor :id
221
+
222
+ # A URI for the service dashboard.
223
+ # Validated by the OAuth token server when the dashboard requests a token.
224
+ # Corresponds to the JSON property `redirect_uri`
225
+ # @return [String]
226
+ attr_accessor :redirect_uri
227
+
228
+ # A secret for the dashboard client.
229
+ # Corresponds to the JSON property `secret`
230
+ # @return [String]
231
+ attr_accessor :secret
232
+
233
+ def initialize(**args)
234
+ update!(**args)
235
+ end
236
+
237
+ # Update properties of this object
238
+ def update!(**args)
239
+ @id = args[:id] if args.key?(:id)
240
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
241
+ @secret = args[:secret] if args.key?(:secret)
242
+ end
243
+ end
244
+
245
+ # Response for the `DeleteBinding()` method.
246
+ class GoogleCloudServicebrokerV1beta1DeleteBindingResponse
247
+ include Google::Apis::Core::Hashable
248
+
249
+ # Used to communicate description of the response. Usually for non-standard
250
+ # error codes.
251
+ # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
252
+ # service-broker-errors
253
+ # Corresponds to the JSON property `description`
254
+ # @return [String]
255
+ attr_accessor :description
256
+
257
+ # If broker executes operation asynchronously, this is the operation ID that
258
+ # can be polled to check the completion status of said operation.
259
+ # Corresponds to the JSON property `operation`
260
+ # @return [String]
261
+ attr_accessor :operation
262
+
263
+ def initialize(**args)
264
+ update!(**args)
265
+ end
266
+
267
+ # Update properties of this object
268
+ def update!(**args)
269
+ @description = args[:description] if args.key?(:description)
270
+ @operation = args[:operation] if args.key?(:operation)
271
+ end
272
+ end
273
+
274
+ # Response for the `DeleteServiceInstance()` method.
275
+ class GoogleCloudServicebrokerV1beta1DeleteServiceInstanceResponse
276
+ include Google::Apis::Core::Hashable
277
+
278
+ # Used to communicate description of the response. Usually for non-standard
279
+ # error codes.
280
+ # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
281
+ # service-broker-errors
282
+ # Corresponds to the JSON property `description`
283
+ # @return [String]
284
+ attr_accessor :description
285
+
286
+ # If broker executes operation asynchronously, this is the operation ID that
287
+ # can be polled to check the completion status of said operation.
288
+ # Corresponds to the JSON property `operation`
289
+ # @return [String]
290
+ attr_accessor :operation
291
+
292
+ def initialize(**args)
293
+ update!(**args)
294
+ end
295
+
296
+ # Update properties of this object
297
+ def update!(**args)
298
+ @description = args[:description] if args.key?(:description)
299
+ @operation = args[:operation] if args.key?(:operation)
300
+ end
301
+ end
302
+
303
+ # Response for the `GetBinding()` method.
304
+ class GoogleCloudServicebrokerV1beta1GetBindingResponse
305
+ include Google::Apis::Core::Hashable
306
+
307
+ # Credentials to use the binding.
308
+ # Corresponds to the JSON property `credentials`
309
+ # @return [Hash<String,Object>]
310
+ attr_accessor :credentials
311
+
312
+ # Used to communicate description of the response. Usually for non-standard
313
+ # error codes.
314
+ # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
315
+ # service-broker-errors
316
+ # Corresponds to the JSON property `description`
317
+ # @return [String]
318
+ attr_accessor :description
319
+
320
+ # A URL to which the platform may proxy requests for the address sent with
321
+ # bind_resource.route
322
+ # Corresponds to the JSON property `route_service_url`
323
+ # @return [String]
324
+ attr_accessor :route_service_url
325
+
326
+ # From where to read system logs.
327
+ # Corresponds to the JSON property `syslog_drain_url`
328
+ # @return [String]
329
+ attr_accessor :syslog_drain_url
330
+
331
+ # An array of configurations for mounting volumes.
332
+ # Corresponds to the JSON property `volume_mounts`
333
+ # @return [Array<Hash<String,Object>>]
334
+ attr_accessor :volume_mounts
335
+
336
+ def initialize(**args)
337
+ update!(**args)
338
+ end
339
+
340
+ # Update properties of this object
341
+ def update!(**args)
342
+ @credentials = args[:credentials] if args.key?(:credentials)
343
+ @description = args[:description] if args.key?(:description)
344
+ @route_service_url = args[:route_service_url] if args.key?(:route_service_url)
345
+ @syslog_drain_url = args[:syslog_drain_url] if args.key?(:syslog_drain_url)
346
+ @volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
347
+ end
348
+ end
349
+
350
+ # The response for the `ListBindings()` method.
351
+ class GoogleCloudServicebrokerV1beta1ListBindingsResponse
352
+ include Google::Apis::Core::Hashable
353
+
354
+ # The list of bindings in the instance.
355
+ # Corresponds to the JSON property `bindings`
356
+ # @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Binding>]
357
+ attr_accessor :bindings
358
+
359
+ # Used to communicate description of the response. Usually for non-standard
360
+ # error codes.
361
+ # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
362
+ # service-broker-errors
363
+ # Corresponds to the JSON property `description`
364
+ # @return [String]
365
+ attr_accessor :description
366
+
367
+ # This token allows you to get the next page of results for list requests.
368
+ # If the number of results is larger than `pageSize`, use the `nextPageToken`
369
+ # as a value for the query parameter `pageToken` in the next list request.
370
+ # Subsequent list requests will have their own `nextPageToken` to continue
371
+ # paging through the results
372
+ # Corresponds to the JSON property `nextPageToken`
373
+ # @return [String]
374
+ attr_accessor :next_page_token
375
+
376
+ def initialize(**args)
377
+ update!(**args)
378
+ end
379
+
380
+ # Update properties of this object
381
+ def update!(**args)
382
+ @bindings = args[:bindings] if args.key?(:bindings)
383
+ @description = args[:description] if args.key?(:description)
384
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
385
+ end
386
+ end
387
+
388
+ # The response for the `ListBrokers()` method.
389
+ class GoogleCloudServicebrokerV1beta1ListBrokersResponse
390
+ include Google::Apis::Core::Hashable
391
+
392
+ # The list of brokers in the container.
393
+ # Corresponds to the JSON property `brokers`
394
+ # @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Broker>]
395
+ attr_accessor :brokers
396
+
397
+ # This token allows you to get the next page of results for list requests.
398
+ # If the number of results is larger than `pageSize`, use the `nextPageToken`
399
+ # as a value for the query parameter `pageToken` in the next list request.
400
+ # Subsequent list requests will have their own `nextPageToken` to continue
401
+ # paging through the results
402
+ # Corresponds to the JSON property `nextPageToken`
403
+ # @return [String]
404
+ attr_accessor :next_page_token
405
+
406
+ def initialize(**args)
407
+ update!(**args)
408
+ end
409
+
410
+ # Update properties of this object
411
+ def update!(**args)
412
+ @brokers = args[:brokers] if args.key?(:brokers)
413
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
414
+ end
415
+ end
416
+
417
+ # Response message for the `ListCatalog()` method.
418
+ class GoogleCloudServicebrokerV1beta1ListCatalogResponse
419
+ include Google::Apis::Core::Hashable
420
+
421
+ # Used to communicate description of the response. Usually for non-standard
422
+ # error codes.
423
+ # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
424
+ # service-broker-errors
425
+ # Corresponds to the JSON property `description`
426
+ # @return [String]
427
+ attr_accessor :description
428
+
429
+ # This token allows you to get the next page of results for list requests.
430
+ # If the number of results is larger than `pageSize`, use the `nextPageToken`
431
+ # as a value for the query parameter `pageToken` in the next list request.
432
+ # Subsequent list requests will have their own `nextPageToken` to continue
433
+ # paging through the results
434
+ # Corresponds to the JSON property `nextPageToken`
435
+ # @return [String]
436
+ attr_accessor :next_page_token
437
+
438
+ # The services available for the requested GCP project.
439
+ # Corresponds to the JSON property `services`
440
+ # @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Service>]
441
+ attr_accessor :services
442
+
443
+ def initialize(**args)
444
+ update!(**args)
445
+ end
446
+
447
+ # Update properties of this object
448
+ def update!(**args)
449
+ @description = args[:description] if args.key?(:description)
450
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
451
+ @services = args[:services] if args.key?(:services)
452
+ end
453
+ end
454
+
455
+ # The response for the `ListServiceInstances()` method.
456
+ class GoogleCloudServicebrokerV1beta1ListServiceInstancesResponse
457
+ include Google::Apis::Core::Hashable
458
+
459
+ # Used to communicate description of the response. Usually for non-standard
460
+ # error codes.
461
+ # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
462
+ # service-broker-errors
463
+ # Corresponds to the JSON property `description`
464
+ # @return [String]
465
+ attr_accessor :description
466
+
467
+ # The list of instances in the broker.
468
+ # Corresponds to the JSON property `instances`
469
+ # @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance>]
470
+ attr_accessor :instances
471
+
472
+ # This token allows you to get the next page of results for list requests.
473
+ # If the number of results is larger than `pageSize`, use the `nextPageToken`
474
+ # as a value for the query parameter `pageToken` in the next list request.
475
+ # Subsequent list requests will have their own `nextPageToken` to continue
476
+ # paging through the results
477
+ # Corresponds to the JSON property `nextPageToken`
478
+ # @return [String]
479
+ attr_accessor :next_page_token
480
+
481
+ def initialize(**args)
482
+ update!(**args)
483
+ end
484
+
485
+ # Update properties of this object
486
+ def update!(**args)
487
+ @description = args[:description] if args.key?(:description)
488
+ @instances = args[:instances] if args.key?(:instances)
489
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
490
+ end
491
+ end
492
+
493
+ # Describes a long running operation, which conforms to OpenService API.
494
+ class GoogleCloudServicebrokerV1beta1Operation
495
+ include Google::Apis::Core::Hashable
496
+
497
+ # Optional description of the Operation state.
498
+ # Corresponds to the JSON property `description`
499
+ # @return [String]
500
+ attr_accessor :description
501
+
502
+ # The state of the operation.
503
+ # Valid values are: "in progress", "succeeded", and "failed".
504
+ # Corresponds to the JSON property `state`
505
+ # @return [String]
506
+ attr_accessor :state
507
+
508
+ def initialize(**args)
509
+ update!(**args)
510
+ end
511
+
512
+ # Update properties of this object
513
+ def update!(**args)
514
+ @description = args[:description] if args.key?(:description)
515
+ @state = args[:state] if args.key?(:state)
516
+ end
517
+ end
518
+
519
+ # Plan message describes a Service Plan.
520
+ class GoogleCloudServicebrokerV1beta1Plan
521
+ include Google::Apis::Core::Hashable
522
+
523
+ # Specifies whether instances of the service can be bound to applications.
524
+ # If not specified, `Service.bindable` will be presumed.
525
+ # Corresponds to the JSON property `bindable`
526
+ # @return [Boolean]
527
+ attr_accessor :bindable
528
+ alias_method :bindable?, :bindable
529
+
530
+ # Textual description of the plan. Optional.
531
+ # Corresponds to the JSON property `description`
532
+ # @return [String]
533
+ attr_accessor :description
534
+
535
+ # Whether the service is free.
536
+ # Corresponds to the JSON property `free`
537
+ # @return [Boolean]
538
+ attr_accessor :free
539
+ alias_method :free?, :free
540
+
541
+ # ID is a globally unique identifier used to uniquely identify the plan.
542
+ # User must make no presumption about the format of this field.
543
+ # Corresponds to the JSON property `id`
544
+ # @return [String]
545
+ attr_accessor :id
546
+
547
+ # A list of metadata for a service offering.
548
+ # Metadata is an arbitrary JSON object.
549
+ # Corresponds to the JSON property `metadata`
550
+ # @return [Hash<String,Object>]
551
+ attr_accessor :metadata
552
+
553
+ # User friendly name of the plan.
554
+ # The name must be globally unique within GCP project.
555
+ # Note, which is different from ("This must be globally unique within a
556
+ # platform marketplace").
557
+ # Corresponds to the JSON property `name`
558
+ # @return [String]
559
+ attr_accessor :name
560
+
561
+ # Schema definitions for service instances and bindings for the plan.
562
+ # Corresponds to the JSON property `schemas`
563
+ # @return [Hash<String,Object>]
564
+ attr_accessor :schemas
565
+
566
+ def initialize(**args)
567
+ update!(**args)
568
+ end
569
+
570
+ # Update properties of this object
571
+ def update!(**args)
572
+ @bindable = args[:bindable] if args.key?(:bindable)
573
+ @description = args[:description] if args.key?(:description)
574
+ @free = args[:free] if args.key?(:free)
575
+ @id = args[:id] if args.key?(:id)
576
+ @metadata = args[:metadata] if args.key?(:metadata)
577
+ @name = args[:name] if args.key?(:name)
578
+ @schemas = args[:schemas] if args.key?(:schemas)
579
+ end
580
+ end
581
+
582
+ # The resource model mostly follows the Open Service Broker API, as
583
+ # described here:
584
+ # https://github.com/openservicebrokerapi/servicebroker/blob/master/_spec.md
585
+ # Though due to Google Specifics it has additional optional fields.
586
+ class GoogleCloudServicebrokerV1beta1Service
587
+ include Google::Apis::Core::Hashable
588
+
589
+ # Specifies whether instances of the service can be bound to applications.
590
+ # Required.
591
+ # Corresponds to the JSON property `bindable`
592
+ # @return [Boolean]
593
+ attr_accessor :bindable
594
+ alias_method :bindable?, :bindable
595
+
596
+ # Whether the service provides an endpoint to get service bindings.
597
+ # Corresponds to the JSON property `binding_retrievable`
598
+ # @return [Boolean]
599
+ attr_accessor :binding_retrievable
600
+ alias_method :binding_retrievable?, :binding_retrievable
601
+
602
+ # Whether the service provides an endpoint to get service bindings.
603
+ # Corresponds to the JSON property `bindings_retrievable`
604
+ # @return [Boolean]
605
+ attr_accessor :bindings_retrievable
606
+ alias_method :bindings_retrievable?, :bindings_retrievable
607
+
608
+ # Message containing information required to activate Dashboard SSO feature.
609
+ # Corresponds to the JSON property `dashboard_client`
610
+ # @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DashboardClient]
611
+ attr_accessor :dashboard_client
612
+
613
+ # Textual description of the service. Required.
614
+ # Corresponds to the JSON property `description`
615
+ # @return [String]
616
+ attr_accessor :description
617
+
618
+ # ID is a globally unique identifier used to uniquely identify the service.
619
+ # ID is an opaque string.
620
+ # Corresponds to the JSON property `id`
621
+ # @return [String]
622
+ attr_accessor :id
623
+
624
+ # Whether the service provides an endpoint to get service instances.
625
+ # Corresponds to the JSON property `instances_retrievable`
626
+ # @return [Boolean]
627
+ attr_accessor :instances_retrievable
628
+ alias_method :instances_retrievable?, :instances_retrievable
629
+
630
+ # A list of metadata for a service offering.
631
+ # Metadata is an arbitrary JSON object.
632
+ # Corresponds to the JSON property `metadata`
633
+ # @return [Hash<String,Object>]
634
+ attr_accessor :metadata
635
+
636
+ # User friendly service name.
637
+ # Name must match [a-z0-9]+ regexp.
638
+ # The name must be globally unique within GCP project.
639
+ # Note, which is different from ("This must be globally unique within a
640
+ # platform marketplace").
641
+ # Required.
642
+ # Corresponds to the JSON property `name`
643
+ # @return [String]
644
+ attr_accessor :name
645
+
646
+ # Whether the service supports upgrade/downgrade for some plans.
647
+ # Corresponds to the JSON property `plan_updateable`
648
+ # @return [Boolean]
649
+ attr_accessor :plan_updateable
650
+ alias_method :plan_updateable?, :plan_updateable
651
+
652
+ # A list of plans for this service.
653
+ # At least one plan is required.
654
+ # Corresponds to the JSON property `plans`
655
+ # @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Plan>]
656
+ attr_accessor :plans
657
+
658
+ # Tags provide a flexible mechanism to expose a classification, attribute, or
659
+ # base technology of a service.
660
+ # Corresponds to the JSON property `tags`
661
+ # @return [Array<String>]
662
+ attr_accessor :tags
663
+
664
+ def initialize(**args)
665
+ update!(**args)
666
+ end
667
+
668
+ # Update properties of this object
669
+ def update!(**args)
670
+ @bindable = args[:bindable] if args.key?(:bindable)
671
+ @binding_retrievable = args[:binding_retrievable] if args.key?(:binding_retrievable)
672
+ @bindings_retrievable = args[:bindings_retrievable] if args.key?(:bindings_retrievable)
673
+ @dashboard_client = args[:dashboard_client] if args.key?(:dashboard_client)
674
+ @description = args[:description] if args.key?(:description)
675
+ @id = args[:id] if args.key?(:id)
676
+ @instances_retrievable = args[:instances_retrievable] if args.key?(:instances_retrievable)
677
+ @metadata = args[:metadata] if args.key?(:metadata)
678
+ @name = args[:name] if args.key?(:name)
679
+ @plan_updateable = args[:plan_updateable] if args.key?(:plan_updateable)
680
+ @plans = args[:plans] if args.key?(:plans)
681
+ @tags = args[:tags] if args.key?(:tags)
682
+ end
683
+ end
684
+
685
+ # Message describing inputs to Provision and Update Service instance requests.
686
+ class GoogleCloudServicebrokerV1beta1ServiceInstance
687
+ include Google::Apis::Core::Hashable
688
+
689
+ # Platform specific contextual information under which the service instance
690
+ # is to be provisioned. This replaces organization_guid and space_guid.
691
+ # But can also contain anything.
692
+ # Currently only used for logging context information.
693
+ # Corresponds to the JSON property `context`
694
+ # @return [Hash<String,Object>]
695
+ attr_accessor :context
696
+
697
+ # Output only.
698
+ # Timestamp for when the instance was created.
699
+ # Corresponds to the JSON property `createTime`
700
+ # @return [String]
701
+ attr_accessor :create_time
702
+
703
+ # To return errors when GetInstance call is done via HTTP to be unified with
704
+ # other methods.
705
+ # Corresponds to the JSON property `description`
706
+ # @return [String]
707
+ attr_accessor :description
708
+
709
+ # The id of the service instance. Must be unique within GCP project.
710
+ # Maximum length is 64, GUID recommended.
711
+ # Required.
712
+ # Corresponds to the JSON property `instance_id`
713
+ # @return [String]
714
+ attr_accessor :instance_id
715
+
716
+ # The platform GUID for the organization under which the service is to be
717
+ # provisioned.
718
+ # Required.
719
+ # Corresponds to the JSON property `organization_guid`
720
+ # @return [String]
721
+ attr_accessor :organization_guid
722
+
723
+ # Configuration options for the service instance.
724
+ # Parameters is JSON object serialized to string.
725
+ # Corresponds to the JSON property `parameters`
726
+ # @return [Hash<String,Object>]
727
+ attr_accessor :parameters
728
+
729
+ # The ID of the plan. See `Service` and `Plan` resources for details.
730
+ # Maximum length is 64, GUID recommended.
731
+ # Required.
732
+ # Corresponds to the JSON property `plan_id`
733
+ # @return [String]
734
+ attr_accessor :plan_id
735
+
736
+ # Used only in UpdateServiceInstance request to optionally specify previous
737
+ # fields.
738
+ # Corresponds to the JSON property `previous_values`
739
+ # @return [Hash<String,Object>]
740
+ attr_accessor :previous_values
741
+
742
+ # Output only.
743
+ # The resource name of the instance, e.g.
744
+ # projects/project_id/brokers/broker_id/service_instances/instance_id
745
+ # Corresponds to the JSON property `resourceName`
746
+ # @return [String]
747
+ attr_accessor :resource_name
748
+
749
+ # The id of the service. Must be a valid identifier of a service
750
+ # contained in the list from a `ListServices()` call.
751
+ # Maximum length is 64, GUID recommended.
752
+ # Required.
753
+ # Corresponds to the JSON property `service_id`
754
+ # @return [String]
755
+ attr_accessor :service_id
756
+
757
+ # The identifier for the project space within the platform organization.
758
+ # Required.
759
+ # Corresponds to the JSON property `space_guid`
760
+ # @return [String]
761
+ attr_accessor :space_guid
762
+
763
+ def initialize(**args)
764
+ update!(**args)
765
+ end
766
+
767
+ # Update properties of this object
768
+ def update!(**args)
769
+ @context = args[:context] if args.key?(:context)
770
+ @create_time = args[:create_time] if args.key?(:create_time)
771
+ @description = args[:description] if args.key?(:description)
772
+ @instance_id = args[:instance_id] if args.key?(:instance_id)
773
+ @organization_guid = args[:organization_guid] if args.key?(:organization_guid)
774
+ @parameters = args[:parameters] if args.key?(:parameters)
775
+ @plan_id = args[:plan_id] if args.key?(:plan_id)
776
+ @previous_values = args[:previous_values] if args.key?(:previous_values)
777
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
778
+ @service_id = args[:service_id] if args.key?(:service_id)
779
+ @space_guid = args[:space_guid] if args.key?(:space_guid)
780
+ end
781
+ end
782
+
783
+ # Response for the `UpdateServiceInstance()` method.
784
+ class GoogleCloudServicebrokerV1beta1UpdateServiceInstanceResponse
785
+ include Google::Apis::Core::Hashable
786
+
787
+ # Used to communicate description of the response. Usually for non-standard
788
+ # error codes.
789
+ # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
790
+ # service-broker-errors
791
+ # Corresponds to the JSON property `description`
792
+ # @return [String]
793
+ attr_accessor :description
794
+
795
+ # If broker executes operation asynchronously, this is the operation ID that
796
+ # can be polled to check the completion status of said operation.
797
+ # Corresponds to the JSON property `operation`
798
+ # @return [String]
799
+ attr_accessor :operation
800
+
801
+ def initialize(**args)
802
+ update!(**args)
803
+ end
804
+
805
+ # Update properties of this object
806
+ def update!(**args)
807
+ @description = args[:description] if args.key?(:description)
808
+ @operation = args[:operation] if args.key?(:operation)
809
+ end
810
+ end
811
+
812
+ # Associates `members` with a `role`.
813
+ class GoogleIamV1Binding
814
+ include Google::Apis::Core::Hashable
815
+
816
+ # Specifies the identities requesting access for a Cloud Platform resource.
817
+ # `members` can have the following values:
818
+ # * `allUsers`: A special identifier that represents anyone who is
819
+ # on the internet; with or without a Google account.
820
+ # * `allAuthenticatedUsers`: A special identifier that represents anyone
821
+ # who is authenticated with a Google account or a service account.
822
+ # * `user:`emailid``: An email address that represents a specific Google
823
+ # account. For example, `alice@gmail.com` .
824
+ # * `serviceAccount:`emailid``: An email address that represents a service
825
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`.
826
+ # * `group:`emailid``: An email address that represents a Google group.
827
+ # For example, `admins@example.com`.
828
+ # * `domain:`domain``: A Google Apps domain name that represents all the
829
+ # users of that domain. For example, `google.com` or `example.com`.
830
+ # Corresponds to the JSON property `members`
831
+ # @return [Array<String>]
832
+ attr_accessor :members
833
+
834
+ # Role that is assigned to `members`.
835
+ # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
836
+ # Required
837
+ # Corresponds to the JSON property `role`
838
+ # @return [String]
839
+ attr_accessor :role
840
+
841
+ def initialize(**args)
842
+ update!(**args)
843
+ end
844
+
845
+ # Update properties of this object
846
+ def update!(**args)
847
+ @members = args[:members] if args.key?(:members)
848
+ @role = args[:role] if args.key?(:role)
849
+ end
850
+ end
851
+
852
+ # Defines an Identity and Access Management (IAM) policy. It is used to
853
+ # specify access control policies for Cloud Platform resources.
854
+ # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
855
+ # `members` to a `role`, where the members can be user accounts, Google groups,
856
+ # Google domains, and service accounts. A `role` is a named list of permissions
857
+ # defined by IAM.
858
+ # **JSON Example**
859
+ # `
860
+ # "bindings": [
861
+ # `
862
+ # "role": "roles/owner",
863
+ # "members": [
864
+ # "user:mike@example.com",
865
+ # "group:admins@example.com",
866
+ # "domain:google.com",
867
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
868
+ # ]
869
+ # `,
870
+ # `
871
+ # "role": "roles/viewer",
872
+ # "members": ["user:sean@example.com"]
873
+ # `
874
+ # ]
875
+ # `
876
+ # **YAML Example**
877
+ # bindings:
878
+ # - members:
879
+ # - user:mike@example.com
880
+ # - group:admins@example.com
881
+ # - domain:google.com
882
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
883
+ # role: roles/owner
884
+ # - members:
885
+ # - user:sean@example.com
886
+ # role: roles/viewer
887
+ # For a description of IAM and its features, see the
888
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
889
+ class GoogleIamV1Policy
890
+ include Google::Apis::Core::Hashable
891
+
892
+ # Associates a list of `members` to a `role`.
893
+ # `bindings` with no members will result in an error.
894
+ # Corresponds to the JSON property `bindings`
895
+ # @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleIamV1Binding>]
896
+ attr_accessor :bindings
897
+
898
+ # `etag` is used for optimistic concurrency control as a way to help
899
+ # prevent simultaneous updates of a policy from overwriting each other.
900
+ # It is strongly suggested that systems make use of the `etag` in the
901
+ # read-modify-write cycle to perform policy updates in order to avoid race
902
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
903
+ # systems are expected to put that etag in the request to `setIamPolicy` to
904
+ # ensure that their change will be applied to the same version of the policy.
905
+ # If no `etag` is provided in the call to `setIamPolicy`, then the existing
906
+ # policy is overwritten blindly.
907
+ # Corresponds to the JSON property `etag`
908
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
909
+ # @return [String]
910
+ attr_accessor :etag
911
+
912
+ # Deprecated.
913
+ # Corresponds to the JSON property `version`
914
+ # @return [Fixnum]
915
+ attr_accessor :version
916
+
917
+ def initialize(**args)
918
+ update!(**args)
919
+ end
920
+
921
+ # Update properties of this object
922
+ def update!(**args)
923
+ @bindings = args[:bindings] if args.key?(:bindings)
924
+ @etag = args[:etag] if args.key?(:etag)
925
+ @version = args[:version] if args.key?(:version)
926
+ end
927
+ end
928
+
929
+ # Request message for `SetIamPolicy` method.
930
+ class GoogleIamV1SetIamPolicyRequest
931
+ include Google::Apis::Core::Hashable
932
+
933
+ # Defines an Identity and Access Management (IAM) policy. It is used to
934
+ # specify access control policies for Cloud Platform resources.
935
+ # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
936
+ # `members` to a `role`, where the members can be user accounts, Google groups,
937
+ # Google domains, and service accounts. A `role` is a named list of permissions
938
+ # defined by IAM.
939
+ # **JSON Example**
940
+ # `
941
+ # "bindings": [
942
+ # `
943
+ # "role": "roles/owner",
944
+ # "members": [
945
+ # "user:mike@example.com",
946
+ # "group:admins@example.com",
947
+ # "domain:google.com",
948
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
949
+ # ]
950
+ # `,
951
+ # `
952
+ # "role": "roles/viewer",
953
+ # "members": ["user:sean@example.com"]
954
+ # `
955
+ # ]
956
+ # `
957
+ # **YAML Example**
958
+ # bindings:
959
+ # - members:
960
+ # - user:mike@example.com
961
+ # - group:admins@example.com
962
+ # - domain:google.com
963
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
964
+ # role: roles/owner
965
+ # - members:
966
+ # - user:sean@example.com
967
+ # role: roles/viewer
968
+ # For a description of IAM and its features, see the
969
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
970
+ # Corresponds to the JSON property `policy`
971
+ # @return [Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy]
972
+ attr_accessor :policy
973
+
974
+ def initialize(**args)
975
+ update!(**args)
976
+ end
977
+
978
+ # Update properties of this object
979
+ def update!(**args)
980
+ @policy = args[:policy] if args.key?(:policy)
981
+ end
982
+ end
983
+
984
+ # Request message for `TestIamPermissions` method.
985
+ class GoogleIamV1TestIamPermissionsRequest
986
+ include Google::Apis::Core::Hashable
987
+
988
+ # The set of permissions to check for the `resource`. Permissions with
989
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
990
+ # information see
991
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
992
+ # Corresponds to the JSON property `permissions`
993
+ # @return [Array<String>]
994
+ attr_accessor :permissions
995
+
996
+ def initialize(**args)
997
+ update!(**args)
998
+ end
999
+
1000
+ # Update properties of this object
1001
+ def update!(**args)
1002
+ @permissions = args[:permissions] if args.key?(:permissions)
1003
+ end
1004
+ end
1005
+
1006
+ # Response message for `TestIamPermissions` method.
1007
+ class GoogleIamV1TestIamPermissionsResponse
1008
+ include Google::Apis::Core::Hashable
1009
+
1010
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
1011
+ # allowed.
1012
+ # Corresponds to the JSON property `permissions`
1013
+ # @return [Array<String>]
1014
+ attr_accessor :permissions
1015
+
1016
+ def initialize(**args)
1017
+ update!(**args)
1018
+ end
1019
+
1020
+ # Update properties of this object
1021
+ def update!(**args)
1022
+ @permissions = args[:permissions] if args.key?(:permissions)
1023
+ end
1024
+ end
1025
+
1026
+ # A generic empty message that you can re-use to avoid defining duplicated
1027
+ # empty messages in your APIs. A typical example is to use it as the request
1028
+ # or the response type of an API method. For instance:
1029
+ # service Foo `
1030
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1031
+ # `
1032
+ # The JSON representation for `Empty` is empty JSON object ````.
1033
+ class GoogleProtobufEmpty
1034
+ include Google::Apis::Core::Hashable
1035
+
1036
+ def initialize(**args)
1037
+ update!(**args)
1038
+ end
1039
+
1040
+ # Update properties of this object
1041
+ def update!(**args)
1042
+ end
1043
+ end
1044
+ end
1045
+ end
1046
+ end