google-api-client 0.36.4 → 0.37.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (481) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/CHANGELOG.md +184 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  7. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  9. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  10. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1/classes.rb +113 -0
  12. data/generated/google/apis/accesscontextmanager_v1/representations.rb +32 -0
  13. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +151 -0
  15. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  16. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  17. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  18. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  19. data/generated/google/apis/admob_v1/classes.rb +951 -0
  20. data/generated/google/apis/admob_v1/representations.rb +378 -0
  21. data/generated/google/apis/admob_v1/service.rb +196 -0
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +252 -0
  24. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +7 -1
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  30. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  31. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  32. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -2
  33. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  34. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -94
  36. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -50
  37. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  38. data/generated/google/apis/androidpublisher_v3/classes.rb +134 -94
  39. data/generated/google/apis/androidpublisher_v3/representations.rb +63 -50
  40. data/generated/google/apis/androidpublisher_v3/service.rb +158 -0
  41. data/generated/google/apis/appengine_v1beta.rb +1 -1
  42. data/generated/google/apis/appengine_v1beta/classes.rb +0 -38
  43. data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
  44. data/generated/google/apis/appsactivity_v1.rb +1 -1
  45. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +49 -15
  47. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  48. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  49. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  50. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  51. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -22
  52. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  53. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  54. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -22
  55. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -13
  56. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  57. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +5 -99
  58. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -45
  59. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +1 -70
  60. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  61. data/generated/google/apis/bigtableadmin_v2/classes.rb +49 -15
  62. data/generated/google/apis/bigtableadmin_v2/service.rb +76 -4
  63. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  64. data/generated/google/apis/binaryauthorization_v1/classes.rb +49 -15
  65. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  66. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +49 -15
  67. data/generated/google/apis/chat_v1.rb +1 -1
  68. data/generated/google/apis/classroom_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1.rb +2 -2
  70. data/generated/google/apis/cloudasset_v1/classes.rb +103 -20
  71. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  72. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  74. data/generated/google/apis/cloudasset_v1beta1/classes.rb +49 -15
  75. data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
  76. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  77. data/generated/google/apis/cloudbilling_v1/classes.rb +51 -16
  78. data/generated/google/apis/cloudbilling_v1/service.rb +8 -6
  79. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  81. data/generated/google/apis/{servicebroker_v1beta1.rb → cloudbuild_v1alpha2.rb} +9 -11
  82. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1124 -0
  83. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +429 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +232 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  87. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  88. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -12
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +63 -15
  91. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  92. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  93. data/generated/google/apis/cloudidentity_v1/classes.rb +560 -0
  94. data/generated/google/apis/cloudidentity_v1/representations.rb +226 -0
  95. data/generated/google/apis/cloudidentity_v1/service.rb +20 -13
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +765 -72
  98. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +289 -0
  99. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -79
  100. data/generated/google/apis/cloudiot_v1.rb +1 -1
  101. data/generated/google/apis/cloudiot_v1/classes.rb +49 -15
  102. data/generated/google/apis/cloudkms_v1.rb +1 -1
  103. data/generated/google/apis/cloudkms_v1/classes.rb +64 -21
  104. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  105. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  107. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +49 -15
  108. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +49 -15
  111. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -3
  112. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  113. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +49 -15
  114. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +49 -15
  116. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +49 -15
  118. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  119. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  120. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  121. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -0
  122. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  123. data/generated/google/apis/cloudshell_v1.rb +1 -1
  124. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  125. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  126. data/generated/google/apis/cloudtasks_v2/classes.rb +49 -15
  127. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +49 -15
  129. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  130. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +49 -15
  131. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  132. data/generated/google/apis/cloudtrace_v1/service.rb +6 -0
  133. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  134. data/generated/google/apis/cloudtrace_v2/service.rb +4 -0
  135. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  136. data/generated/google/apis/composer_v1.rb +1 -1
  137. data/generated/google/apis/composer_v1/classes.rb +2 -0
  138. data/generated/google/apis/composer_v1beta1.rb +1 -1
  139. data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
  140. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  141. data/generated/google/apis/compute_alpha.rb +1 -1
  142. data/generated/google/apis/compute_alpha/classes.rb +429 -237
  143. data/generated/google/apis/compute_alpha/representations.rb +42 -3
  144. data/generated/google/apis/compute_alpha/service.rb +99 -32
  145. data/generated/google/apis/compute_beta.rb +1 -1
  146. data/generated/google/apis/compute_beta/classes.rb +1054 -235
  147. data/generated/google/apis/compute_beta/representations.rb +266 -0
  148. data/generated/google/apis/compute_beta/service.rb +5821 -4671
  149. data/generated/google/apis/compute_v1.rb +1 -1
  150. data/generated/google/apis/compute_v1/classes.rb +1118 -314
  151. data/generated/google/apis/compute_v1/representations.rb +313 -0
  152. data/generated/google/apis/compute_v1/service.rb +612 -24
  153. data/generated/google/apis/container_v1.rb +1 -1
  154. data/generated/google/apis/container_v1/classes.rb +247 -3
  155. data/generated/google/apis/container_v1/representations.rb +74 -0
  156. data/generated/google/apis/container_v1/service.rb +8 -0
  157. data/generated/google/apis/container_v1beta1.rb +1 -1
  158. data/generated/google/apis/container_v1beta1/classes.rb +284 -80
  159. data/generated/google/apis/container_v1beta1/representations.rb +85 -0
  160. data/generated/google/apis/container_v1beta1/service.rb +129 -121
  161. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  162. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +49 -15
  163. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  164. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +49 -15
  165. data/generated/google/apis/content_v2.rb +1 -1
  166. data/generated/google/apis/content_v2/classes.rb +97 -0
  167. data/generated/google/apis/content_v2/representations.rb +47 -0
  168. data/generated/google/apis/content_v2/service.rb +33 -0
  169. data/generated/google/apis/content_v2_1.rb +1 -1
  170. data/generated/google/apis/content_v2_1/classes.rb +191 -0
  171. data/generated/google/apis/content_v2_1/representations.rb +94 -0
  172. data/generated/google/apis/content_v2_1/service.rb +77 -0
  173. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  174. data/generated/google/apis/datacatalog_v1beta1/classes.rb +157 -24
  175. data/generated/google/apis/datacatalog_v1beta1/representations.rb +33 -0
  176. data/generated/google/apis/datacatalog_v1beta1/service.rb +151 -66
  177. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  178. data/generated/google/apis/dataflow_v1b3/classes.rb +120 -2
  179. data/generated/google/apis/dataflow_v1b3/representations.rb +63 -0
  180. data/generated/google/apis/dataflow_v1b3/service.rb +38 -0
  181. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  182. data/generated/google/apis/datafusion_v1beta1/classes.rb +134 -387
  183. data/generated/google/apis/datafusion_v1beta1/representations.rb +1 -132
  184. data/generated/google/apis/datafusion_v1beta1/service.rb +5 -1
  185. data/generated/google/apis/dataproc_v1.rb +1 -1
  186. data/generated/google/apis/dataproc_v1/classes.rb +156 -122
  187. data/generated/google/apis/dataproc_v1/service.rb +16 -14
  188. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  189. data/generated/google/apis/dataproc_v1beta2/classes.rb +155 -121
  190. data/generated/google/apis/dataproc_v1beta2/service.rb +28 -26
  191. data/generated/google/apis/dialogflow_v2.rb +1 -1
  192. data/generated/google/apis/dialogflow_v2/classes.rb +506 -9
  193. data/generated/google/apis/dialogflow_v2/representations.rb +191 -0
  194. data/generated/google/apis/dialogflow_v2/service.rb +477 -0
  195. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  196. data/generated/google/apis/dialogflow_v2beta1/classes.rb +404 -9
  197. data/generated/google/apis/dialogflow_v2beta1/representations.rb +160 -0
  198. data/generated/google/apis/dialogflow_v2beta1/service.rb +919 -45
  199. data/generated/google/apis/dlp_v2.rb +1 -1
  200. data/generated/google/apis/dlp_v2/classes.rb +101 -92
  201. data/generated/google/apis/dlp_v2/service.rb +56 -56
  202. data/generated/google/apis/docs_v1.rb +1 -1
  203. data/generated/google/apis/docs_v1/classes.rb +275 -18
  204. data/generated/google/apis/docs_v1/representations.rb +75 -0
  205. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  206. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +34 -0
  207. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +16 -0
  208. data/generated/google/apis/drive_v2.rb +1 -1
  209. data/generated/google/apis/drive_v2/classes.rb +1 -2
  210. data/generated/google/apis/drive_v2/service.rb +0 -92
  211. data/generated/google/apis/driveactivity_v2.rb +1 -1
  212. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  213. data/generated/google/apis/fcm_v1.rb +1 -1
  214. data/generated/google/apis/file_v1.rb +1 -1
  215. data/generated/google/apis/file_v1beta1.rb +1 -1
  216. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  217. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  218. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  219. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  220. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +161 -0
  221. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +64 -0
  222. data/generated/google/apis/firebasehosting_v1beta1/service.rb +67 -0
  223. data/generated/google/apis/firebaserules_v1.rb +1 -1
  224. data/generated/google/apis/firebaserules_v1/classes.rb +12 -0
  225. data/generated/google/apis/firebaserules_v1/representations.rb +2 -0
  226. data/generated/google/apis/firestore_v1.rb +1 -1
  227. data/generated/google/apis/firestore_v1/classes.rb +4 -2
  228. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  229. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -2
  230. data/generated/google/apis/fitness_v1.rb +1 -1
  231. data/generated/google/apis/fitness_v1/classes.rb +8 -4
  232. data/generated/google/apis/fitness_v1/service.rb +26 -8
  233. data/generated/google/apis/genomics_v1.rb +1 -1
  234. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  235. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  236. data/generated/google/apis/gmail_v1.rb +13 -1
  237. data/generated/google/apis/gmail_v1/service.rb +1 -1
  238. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  239. data/generated/google/apis/healthcare_v1beta1/classes.rb +113 -35
  240. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -0
  241. data/generated/google/apis/healthcare_v1beta1/service.rb +68 -36
  242. data/generated/google/apis/homegraph_v1.rb +1 -1
  243. data/generated/google/apis/iam_v1.rb +1 -1
  244. data/generated/google/apis/iam_v1/classes.rb +93 -23
  245. data/generated/google/apis/iap_v1.rb +1 -1
  246. data/generated/google/apis/iap_v1/classes.rb +66 -17
  247. data/generated/google/apis/iap_v1/representations.rb +1 -0
  248. data/generated/google/apis/iap_v1/service.rb +31 -33
  249. data/generated/google/apis/iap_v1beta1.rb +1 -1
  250. data/generated/google/apis/iap_v1beta1/classes.rb +49 -15
  251. data/generated/google/apis/jobs_v3.rb +1 -1
  252. data/generated/google/apis/jobs_v3/classes.rb +1 -0
  253. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  254. data/generated/google/apis/jobs_v3p1beta1/classes.rb +8 -2
  255. data/generated/google/apis/kgsearch_v1.rb +1 -1
  256. data/generated/google/apis/language_v1.rb +1 -1
  257. data/generated/google/apis/language_v1beta1.rb +1 -1
  258. data/generated/google/apis/language_v1beta2.rb +1 -1
  259. data/generated/google/apis/libraryagent_v1.rb +1 -1
  260. data/generated/google/apis/logging_v2.rb +1 -1
  261. data/generated/google/apis/logging_v2/classes.rb +106 -4
  262. data/generated/google/apis/logging_v2/representations.rb +16 -0
  263. data/generated/google/apis/logging_v2/service.rb +184 -0
  264. data/generated/google/apis/manufacturers_v1.rb +1 -1
  265. data/generated/google/apis/ml_v1.rb +4 -1
  266. data/generated/google/apis/ml_v1/classes.rb +131 -26
  267. data/generated/google/apis/ml_v1/representations.rb +15 -0
  268. data/generated/google/apis/ml_v1/service.rb +2 -7
  269. data/generated/google/apis/monitoring_v1.rb +1 -1
  270. data/generated/google/apis/monitoring_v1/classes.rb +144 -109
  271. data/generated/google/apis/monitoring_v1/representations.rb +0 -18
  272. data/generated/google/apis/monitoring_v1/service.rb +11 -10
  273. data/generated/google/apis/monitoring_v3.rb +1 -1
  274. data/generated/google/apis/monitoring_v3/classes.rb +211 -99
  275. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  276. data/generated/google/apis/monitoring_v3/service.rb +178 -153
  277. data/generated/google/apis/{servicebroker_v1alpha1.rb → osconfig_v1beta.rb} +10 -11
  278. data/generated/google/apis/osconfig_v1beta/classes.rb +2357 -0
  279. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  280. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  281. data/generated/google/apis/oslogin_v1.rb +1 -2
  282. data/generated/google/apis/oslogin_v1/service.rb +0 -1
  283. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  284. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  285. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  286. data/generated/google/apis/oslogin_v1beta/service.rb +0 -1
  287. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  288. data/generated/google/apis/pagespeedonline_v5/classes.rb +529 -498
  289. data/generated/google/apis/pagespeedonline_v5/representations.rb +225 -221
  290. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  291. data/generated/google/apis/people_v1.rb +1 -1
  292. data/generated/google/apis/people_v1/classes.rb +14 -13
  293. data/generated/google/apis/people_v1/service.rb +12 -16
  294. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  295. data/generated/google/apis/policytroubleshooter_v1/classes.rb +71 -19
  296. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  297. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +71 -19
  298. data/generated/google/apis/poly_v1.rb +1 -1
  299. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  300. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +39 -0
  301. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +27 -0
  302. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +66 -0
  303. data/generated/google/apis/pubsub_v1.rb +1 -1
  304. data/generated/google/apis/pubsub_v1/classes.rb +119 -15
  305. data/generated/google/apis/pubsub_v1/representations.rb +17 -0
  306. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  307. data/generated/google/apis/pubsub_v1beta2/classes.rb +49 -15
  308. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  309. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -5
  310. data/generated/google/apis/recommender_v1beta1/service.rb +13 -11
  311. data/generated/google/apis/redis_v1.rb +1 -1
  312. data/generated/google/apis/redis_v1/classes.rb +10 -3
  313. data/generated/google/apis/redis_v1/representations.rb +1 -0
  314. data/generated/google/apis/redis_v1beta1.rb +1 -1
  315. data/generated/google/apis/redis_v1beta1/classes.rb +29 -3
  316. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  317. data/generated/google/apis/redis_v1beta1/service.rb +36 -0
  318. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  319. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  320. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  321. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  322. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  323. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  324. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  325. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  326. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  327. data/generated/google/apis/run_v1.rb +1 -1
  328. data/generated/google/apis/run_v1/classes.rb +49 -15
  329. data/generated/google/apis/run_v1/service.rb +0 -30
  330. data/generated/google/apis/run_v1alpha1.rb +1 -1
  331. data/generated/google/apis/run_v1alpha1/classes.rb +278 -572
  332. data/generated/google/apis/run_v1alpha1/representations.rb +82 -223
  333. data/generated/google/apis/run_v1alpha1/service.rb +272 -682
  334. data/generated/google/apis/run_v1beta1.rb +4 -1
  335. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  336. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  337. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +49 -15
  338. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  339. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  340. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  341. data/generated/google/apis/sasportal_v1alpha1/classes.rb +39 -0
  342. data/generated/google/apis/sasportal_v1alpha1/representations.rb +27 -0
  343. data/generated/google/apis/sasportal_v1alpha1/service.rb +66 -0
  344. data/generated/google/apis/script_v1.rb +1 -1
  345. data/generated/google/apis/searchconsole_v1.rb +1 -1
  346. data/generated/google/apis/secretmanager_v1beta1.rb +3 -2
  347. data/generated/google/apis/secretmanager_v1beta1/classes.rb +49 -15
  348. data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -1
  349. data/generated/google/apis/securitycenter_v1.rb +1 -1
  350. data/generated/google/apis/securitycenter_v1/classes.rb +449 -15
  351. data/generated/google/apis/securitycenter_v1/representations.rb +138 -0
  352. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  353. data/generated/google/apis/securitycenter_v1beta1/classes.rb +442 -15
  354. data/generated/google/apis/securitycenter_v1beta1/representations.rb +138 -0
  355. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  356. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +393 -0
  357. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +138 -0
  358. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  359. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +1999 -0
  360. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +699 -0
  361. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1315 -0
  362. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  363. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +101 -5
  364. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +19 -0
  365. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  366. data/generated/google/apis/servicecontrol_v1/classes.rb +238 -0
  367. data/generated/google/apis/servicecontrol_v1/representations.rb +86 -0
  368. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  369. data/generated/google/apis/servicemanagement_v1/classes.rb +156 -20
  370. data/generated/google/apis/servicemanagement_v1/representations.rb +18 -0
  371. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  372. data/generated/google/apis/servicenetworking_v1/classes.rb +101 -5
  373. data/generated/google/apis/servicenetworking_v1/representations.rb +19 -0
  374. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  375. data/generated/google/apis/servicenetworking_v1beta/classes.rb +101 -5
  376. data/generated/google/apis/servicenetworking_v1beta/representations.rb +19 -0
  377. data/generated/google/apis/serviceusage_v1.rb +1 -1
  378. data/generated/google/apis/serviceusage_v1/classes.rb +101 -5
  379. data/generated/google/apis/serviceusage_v1/representations.rb +19 -0
  380. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  381. data/generated/google/apis/serviceusage_v1beta1/classes.rb +101 -5
  382. data/generated/google/apis/serviceusage_v1beta1/representations.rb +19 -0
  383. data/generated/google/apis/sheets_v4.rb +1 -1
  384. data/generated/google/apis/sheets_v4/classes.rb +195 -31
  385. data/generated/google/apis/sheets_v4/representations.rb +56 -0
  386. data/generated/google/apis/sheets_v4/service.rb +9 -11
  387. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  388. data/generated/google/apis/sourcerepo_v1/classes.rb +172 -65
  389. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  390. data/generated/google/apis/spanner_v1.rb +1 -1
  391. data/generated/google/apis/spanner_v1/classes.rb +49 -15
  392. data/generated/google/apis/spanner_v1/service.rb +1 -1
  393. data/generated/google/apis/speech_v1.rb +1 -1
  394. data/generated/google/apis/speech_v1/classes.rb +1 -8
  395. data/generated/google/apis/speech_v1/representations.rb +0 -1
  396. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  397. data/generated/google/apis/speech_v1p1beta1/classes.rb +3 -8
  398. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -1
  399. data/generated/google/apis/sql_v1beta4.rb +1 -1
  400. data/generated/google/apis/sql_v1beta4/classes.rb +130 -2
  401. data/generated/google/apis/sql_v1beta4/representations.rb +52 -0
  402. data/generated/google/apis/sql_v1beta4/service.rb +190 -9
  403. data/generated/google/apis/storage_v1.rb +1 -1
  404. data/generated/google/apis/storage_v1/classes.rb +16 -7
  405. data/generated/google/apis/storage_v1/service.rb +1 -1
  406. data/generated/google/apis/storage_v1beta2.rb +1 -1
  407. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  408. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  409. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -4
  410. data/generated/google/apis/storagetransfer_v1/service.rb +0 -30
  411. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  412. data/generated/google/apis/tagmanager_v1.rb +1 -1
  413. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  414. data/generated/google/apis/tagmanager_v2.rb +1 -1
  415. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  416. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  417. data/generated/google/apis/tasks_v1.rb +1 -1
  418. data/generated/google/apis/tasks_v1/service.rb +4 -1
  419. data/generated/google/apis/toolresults_v1.rb +1 -1
  420. data/generated/google/apis/tpu_v1.rb +1 -1
  421. data/generated/google/apis/tpu_v1/classes.rb +0 -1
  422. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  423. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -1
  424. data/generated/google/apis/translate_v3.rb +37 -0
  425. data/generated/google/apis/translate_v3/classes.rb +943 -0
  426. data/generated/google/apis/translate_v3/representations.rb +439 -0
  427. data/generated/google/apis/translate_v3/service.rb +781 -0
  428. data/generated/google/apis/videointelligence_v1.rb +1 -1
  429. data/generated/google/apis/videointelligence_v1/classes.rb +97 -0
  430. data/generated/google/apis/videointelligence_v1/representations.rb +51 -0
  431. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  432. data/generated/google/apis/videointelligence_v1beta2/classes.rb +97 -0
  433. data/generated/google/apis/videointelligence_v1beta2/representations.rb +51 -0
  434. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  435. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +97 -0
  436. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +51 -0
  437. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  438. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +97 -0
  439. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +51 -0
  440. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  441. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +184 -0
  442. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +85 -0
  443. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  444. data/generated/google/apis/websecurityscanner_v1/classes.rb +63 -0
  445. data/generated/google/apis/websecurityscanner_v1/representations.rb +31 -0
  446. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  447. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  448. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +63 -0
  449. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +31 -0
  450. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  451. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  452. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  453. data/generated/google/apis/youtube_v3.rb +1 -1
  454. data/generated/google/apis/youtube_v3/classes.rb +61 -9
  455. data/generated/google/apis/youtube_v3/representations.rb +8 -1
  456. data/generated/google/apis/youtube_v3/service.rb +8 -2
  457. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  458. data/lib/google/apis/core/base_service.rb +1 -1
  459. data/lib/google/apis/core/http_command.rb +1 -2
  460. data/lib/google/apis/version.rb +1 -1
  461. metadata +27 -27
  462. data/generated/google/apis/analytics_v2_4.rb +0 -37
  463. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  464. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  465. data/generated/google/apis/plus_domains_v1.rb +0 -55
  466. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  467. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  468. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  469. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  470. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  471. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  472. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  473. data/generated/google/apis/servicebroker_v1/classes.rb +0 -368
  474. data/generated/google/apis/servicebroker_v1/representations.rb +0 -114
  475. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  476. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1072
  477. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +0 -367
  478. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  479. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1208
  480. data/generated/google/apis/servicebroker_v1beta1/representations.rb +0 -416
  481. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
@@ -1,1208 +0,0 @@
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. Timestamp for when the binding was created.
43
- # Corresponds to the JSON property `createTime`
44
- # @return [String]
45
- attr_accessor :create_time
46
-
47
- # Output only. String containing the Deployment Manager deployment name that was
48
- # created
49
- # for this binding,
50
- # Corresponds to the JSON property `deploymentName`
51
- # @return [String]
52
- attr_accessor :deployment_name
53
-
54
- # Configuration options for the service binding.
55
- # Corresponds to the JSON property `parameters`
56
- # @return [Hash<String,Object>]
57
- attr_accessor :parameters
58
-
59
- # The ID of the plan. See `Service` and `Plan` resources for details.
60
- # Maximum length is 64, GUID recommended.
61
- # Required.
62
- # Corresponds to the JSON property `plan_id`
63
- # @return [String]
64
- attr_accessor :plan_id
65
-
66
- # Output only. The resource name of the binding, e.g.
67
- # projects/project_id/brokers/broker_id/service_instances/instance_id/bindings/
68
- # binding_id.
69
- # Corresponds to the JSON property `resourceName`
70
- # @return [String]
71
- attr_accessor :resource_name
72
-
73
- # The id of the service. Must be a valid identifier of a service
74
- # contained in the list from a `ListServices()` call.
75
- # Maximum length is 64, GUID recommended.
76
- # Required.
77
- # Corresponds to the JSON property `service_id`
78
- # @return [String]
79
- attr_accessor :service_id
80
-
81
- def initialize(**args)
82
- update!(**args)
83
- end
84
-
85
- # Update properties of this object
86
- def update!(**args)
87
- @bind_resource = args[:bind_resource] if args.key?(:bind_resource)
88
- @binding_id = args[:binding_id] if args.key?(:binding_id)
89
- @create_time = args[:create_time] if args.key?(:create_time)
90
- @deployment_name = args[:deployment_name] if args.key?(:deployment_name)
91
- @parameters = args[:parameters] if args.key?(:parameters)
92
- @plan_id = args[:plan_id] if args.key?(:plan_id)
93
- @resource_name = args[:resource_name] if args.key?(:resource_name)
94
- @service_id = args[:service_id] if args.key?(:service_id)
95
- end
96
- end
97
-
98
- # Broker represents a consumable collection of Service Registry catalogs
99
- # exposed as an OSB Broker.
100
- class GoogleCloudServicebrokerV1beta1Broker
101
- include Google::Apis::Core::Hashable
102
-
103
- # Output only. Timestamp for when the broker was created.
104
- # Corresponds to the JSON property `createTime`
105
- # @return [String]
106
- attr_accessor :create_time
107
-
108
- # Name of the broker in the format:
109
- # <projects>/<project-id>/brokers/<broker>.
110
- # This allows for multiple brokers per project which can be used to
111
- # enable having custom brokers per GKE cluster, for example.
112
- # Corresponds to the JSON property `name`
113
- # @return [String]
114
- attr_accessor :name
115
-
116
- # User friendly title of the broker.
117
- # Limited to 1024 characters. Requests with longer titles will be rejected.
118
- # Corresponds to the JSON property `title`
119
- # @return [String]
120
- attr_accessor :title
121
-
122
- # Output only. URL of the broker OSB-compliant endpoint, for example:
123
- # https://servicebroker.googleapis.com/projects/<project>/brokers/<broker>
124
- # Corresponds to the JSON property `url`
125
- # @return [String]
126
- attr_accessor :url
127
-
128
- def initialize(**args)
129
- update!(**args)
130
- end
131
-
132
- # Update properties of this object
133
- def update!(**args)
134
- @create_time = args[:create_time] if args.key?(:create_time)
135
- @name = args[:name] if args.key?(:name)
136
- @title = args[:title] if args.key?(:title)
137
- @url = args[:url] if args.key?(:url)
138
- end
139
- end
140
-
141
- # Response for the `CreateBinding()` method.
142
- class GoogleCloudServicebrokerV1beta1CreateBindingResponse
143
- include Google::Apis::Core::Hashable
144
-
145
- # Credentials to use the binding.
146
- # Corresponds to the JSON property `credentials`
147
- # @return [Hash<String,Object>]
148
- attr_accessor :credentials
149
-
150
- # Used to communicate description of the response. Usually for non-standard
151
- # error codes.
152
- # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
153
- # service-broker-errors
154
- # Corresponds to the JSON property `description`
155
- # @return [String]
156
- attr_accessor :description
157
-
158
- # If broker executes operation asynchronously, this is the operation ID that
159
- # can be polled to check the completion status of said operation.
160
- # This broker always executes all create/delete operations asynchronously.
161
- # Corresponds to the JSON property `operation`
162
- # @return [String]
163
- attr_accessor :operation
164
-
165
- # A URL to which the platform may proxy requests for the address sent with
166
- # bind_resource.route
167
- # Corresponds to the JSON property `route_service_url`
168
- # @return [String]
169
- attr_accessor :route_service_url
170
-
171
- # From where to read system logs.
172
- # Corresponds to the JSON property `syslog_drain_url`
173
- # @return [String]
174
- attr_accessor :syslog_drain_url
175
-
176
- # An array of configuration for mounting volumes.
177
- # Corresponds to the JSON property `volume_mounts`
178
- # @return [Array<Hash<String,Object>>]
179
- attr_accessor :volume_mounts
180
-
181
- def initialize(**args)
182
- update!(**args)
183
- end
184
-
185
- # Update properties of this object
186
- def update!(**args)
187
- @credentials = args[:credentials] if args.key?(:credentials)
188
- @description = args[:description] if args.key?(:description)
189
- @operation = args[:operation] if args.key?(:operation)
190
- @route_service_url = args[:route_service_url] if args.key?(:route_service_url)
191
- @syslog_drain_url = args[:syslog_drain_url] if args.key?(:syslog_drain_url)
192
- @volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
193
- end
194
- end
195
-
196
- # Response for the `CreateServiceInstance()` method.
197
- class GoogleCloudServicebrokerV1beta1CreateServiceInstanceResponse
198
- include Google::Apis::Core::Hashable
199
-
200
- # Used to communicate description of the response. Usually for non-standard
201
- # error codes.
202
- # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
203
- # service-broker-errors
204
- # Corresponds to the JSON property `description`
205
- # @return [String]
206
- attr_accessor :description
207
-
208
- # If broker executes operation asynchronously, this is the operation ID that
209
- # can be polled to check the completion status of said operation.
210
- # This broker always will return a non-empty operation on success.
211
- # Corresponds to the JSON property `operation`
212
- # @return [String]
213
- attr_accessor :operation
214
-
215
- def initialize(**args)
216
- update!(**args)
217
- end
218
-
219
- # Update properties of this object
220
- def update!(**args)
221
- @description = args[:description] if args.key?(:description)
222
- @operation = args[:operation] if args.key?(:operation)
223
- end
224
- end
225
-
226
- # Message containing information required to activate Dashboard SSO feature.
227
- class GoogleCloudServicebrokerV1beta1DashboardClient
228
- include Google::Apis::Core::Hashable
229
-
230
- # The id of the Oauth client that the dashboard will use.
231
- # Corresponds to the JSON property `id`
232
- # @return [String]
233
- attr_accessor :id
234
-
235
- # A URI for the service dashboard.
236
- # Validated by the OAuth token server when the dashboard requests a token.
237
- # Corresponds to the JSON property `redirect_uri`
238
- # @return [String]
239
- attr_accessor :redirect_uri
240
-
241
- # A secret for the dashboard client.
242
- # Corresponds to the JSON property `secret`
243
- # @return [String]
244
- attr_accessor :secret
245
-
246
- def initialize(**args)
247
- update!(**args)
248
- end
249
-
250
- # Update properties of this object
251
- def update!(**args)
252
- @id = args[:id] if args.key?(:id)
253
- @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
254
- @secret = args[:secret] if args.key?(:secret)
255
- end
256
- end
257
-
258
- # Response for the `DeleteBinding()` method.
259
- class GoogleCloudServicebrokerV1beta1DeleteBindingResponse
260
- include Google::Apis::Core::Hashable
261
-
262
- # Used to communicate description of the response. Usually for non-standard
263
- # error codes.
264
- # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
265
- # service-broker-errors
266
- # Corresponds to the JSON property `description`
267
- # @return [String]
268
- attr_accessor :description
269
-
270
- # If broker executes operation asynchronously, this is the operation ID that
271
- # can be polled to check the completion status of said operation.
272
- # Corresponds to the JSON property `operation`
273
- # @return [String]
274
- attr_accessor :operation
275
-
276
- def initialize(**args)
277
- update!(**args)
278
- end
279
-
280
- # Update properties of this object
281
- def update!(**args)
282
- @description = args[:description] if args.key?(:description)
283
- @operation = args[:operation] if args.key?(:operation)
284
- end
285
- end
286
-
287
- # Response for the `DeleteServiceInstance()` method.
288
- class GoogleCloudServicebrokerV1beta1DeleteServiceInstanceResponse
289
- include Google::Apis::Core::Hashable
290
-
291
- # Used to communicate description of the response. Usually for non-standard
292
- # error codes.
293
- # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
294
- # service-broker-errors
295
- # Corresponds to the JSON property `description`
296
- # @return [String]
297
- attr_accessor :description
298
-
299
- # If broker executes operation asynchronously, this is the operation ID that
300
- # can be polled to check the completion status of said operation.
301
- # Corresponds to the JSON property `operation`
302
- # @return [String]
303
- attr_accessor :operation
304
-
305
- def initialize(**args)
306
- update!(**args)
307
- end
308
-
309
- # Update properties of this object
310
- def update!(**args)
311
- @description = args[:description] if args.key?(:description)
312
- @operation = args[:operation] if args.key?(:operation)
313
- end
314
- end
315
-
316
- # Response for the `GetBinding()` method.
317
- class GoogleCloudServicebrokerV1beta1GetBindingResponse
318
- include Google::Apis::Core::Hashable
319
-
320
- # Credentials to use the binding.
321
- # Corresponds to the JSON property `credentials`
322
- # @return [Hash<String,Object>]
323
- attr_accessor :credentials
324
-
325
- # String containing the Deployment Manager deployment name that was created
326
- # for this binding,
327
- # Corresponds to the JSON property `deploymentName`
328
- # @return [String]
329
- attr_accessor :deployment_name
330
-
331
- # Used to communicate description of the response. Usually for non-standard
332
- # error codes.
333
- # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
334
- # service-broker-errors
335
- # Corresponds to the JSON property `description`
336
- # @return [String]
337
- attr_accessor :description
338
-
339
- # Output only. The resource name of the binding, e.g.
340
- # projects/project_id/brokers/broker_id/service_instances/instance_id/bindings/
341
- # binding_id.
342
- # Corresponds to the JSON property `resourceName`
343
- # @return [String]
344
- attr_accessor :resource_name
345
-
346
- # A URL to which the platform may proxy requests for the address sent with
347
- # bind_resource.route
348
- # Corresponds to the JSON property `route_service_url`
349
- # @return [String]
350
- attr_accessor :route_service_url
351
-
352
- # From where to read system logs.
353
- # Corresponds to the JSON property `syslog_drain_url`
354
- # @return [String]
355
- attr_accessor :syslog_drain_url
356
-
357
- # An array of configurations for mounting volumes.
358
- # Corresponds to the JSON property `volume_mounts`
359
- # @return [Array<Hash<String,Object>>]
360
- attr_accessor :volume_mounts
361
-
362
- def initialize(**args)
363
- update!(**args)
364
- end
365
-
366
- # Update properties of this object
367
- def update!(**args)
368
- @credentials = args[:credentials] if args.key?(:credentials)
369
- @deployment_name = args[:deployment_name] if args.key?(:deployment_name)
370
- @description = args[:description] if args.key?(:description)
371
- @resource_name = args[:resource_name] if args.key?(:resource_name)
372
- @route_service_url = args[:route_service_url] if args.key?(:route_service_url)
373
- @syslog_drain_url = args[:syslog_drain_url] if args.key?(:syslog_drain_url)
374
- @volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
375
- end
376
- end
377
-
378
- # The response for the `ListBindings()` method.
379
- class GoogleCloudServicebrokerV1beta1ListBindingsResponse
380
- include Google::Apis::Core::Hashable
381
-
382
- # The list of bindings in the instance.
383
- # Corresponds to the JSON property `bindings`
384
- # @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Binding>]
385
- attr_accessor :bindings
386
-
387
- # Used to communicate description of the response. Usually for non-standard
388
- # error codes.
389
- # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
390
- # service-broker-errors
391
- # Corresponds to the JSON property `description`
392
- # @return [String]
393
- attr_accessor :description
394
-
395
- # This token allows you to get the next page of results for list requests.
396
- # If the number of results is larger than `pageSize`, use the `nextPageToken`
397
- # as a value for the query parameter `pageToken` in the next list request.
398
- # Subsequent list requests will have their own `nextPageToken` to continue
399
- # paging through the results
400
- # Corresponds to the JSON property `nextPageToken`
401
- # @return [String]
402
- attr_accessor :next_page_token
403
-
404
- def initialize(**args)
405
- update!(**args)
406
- end
407
-
408
- # Update properties of this object
409
- def update!(**args)
410
- @bindings = args[:bindings] if args.key?(:bindings)
411
- @description = args[:description] if args.key?(:description)
412
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
413
- end
414
- end
415
-
416
- # The response for the `ListBrokers()` method.
417
- class GoogleCloudServicebrokerV1beta1ListBrokersResponse
418
- include Google::Apis::Core::Hashable
419
-
420
- # The list of brokers in the container.
421
- # Corresponds to the JSON property `brokers`
422
- # @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Broker>]
423
- attr_accessor :brokers
424
-
425
- # This token allows you to get the next page of results for list requests.
426
- # If the number of results is larger than `pageSize`, use the `nextPageToken`
427
- # as a value for the query parameter `pageToken` in the next list request.
428
- # Subsequent list requests will have their own `nextPageToken` to continue
429
- # paging through the results
430
- # Corresponds to the JSON property `nextPageToken`
431
- # @return [String]
432
- attr_accessor :next_page_token
433
-
434
- def initialize(**args)
435
- update!(**args)
436
- end
437
-
438
- # Update properties of this object
439
- def update!(**args)
440
- @brokers = args[:brokers] if args.key?(:brokers)
441
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
442
- end
443
- end
444
-
445
- # Response message for the `ListCatalog()` method.
446
- class GoogleCloudServicebrokerV1beta1ListCatalogResponse
447
- include Google::Apis::Core::Hashable
448
-
449
- # Used to communicate description of the response. Usually for non-standard
450
- # error codes.
451
- # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
452
- # service-broker-errors
453
- # Corresponds to the JSON property `description`
454
- # @return [String]
455
- attr_accessor :description
456
-
457
- # This token allows you to get the next page of results for list requests.
458
- # If the number of results is larger than `pageSize`, use the `nextPageToken`
459
- # as a value for the query parameter `pageToken` in the next list request.
460
- # Subsequent list requests will have their own `nextPageToken` to continue
461
- # paging through the results
462
- # Corresponds to the JSON property `nextPageToken`
463
- # @return [String]
464
- attr_accessor :next_page_token
465
-
466
- # The services available for the requested GCP project.
467
- # Corresponds to the JSON property `services`
468
- # @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Service>]
469
- attr_accessor :services
470
-
471
- def initialize(**args)
472
- update!(**args)
473
- end
474
-
475
- # Update properties of this object
476
- def update!(**args)
477
- @description = args[:description] if args.key?(:description)
478
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
479
- @services = args[:services] if args.key?(:services)
480
- end
481
- end
482
-
483
- # The response for the `ListServiceInstances()` method.
484
- class GoogleCloudServicebrokerV1beta1ListServiceInstancesResponse
485
- include Google::Apis::Core::Hashable
486
-
487
- # Used to communicate description of the response. Usually for non-standard
488
- # error codes.
489
- # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
490
- # service-broker-errors
491
- # Corresponds to the JSON property `description`
492
- # @return [String]
493
- attr_accessor :description
494
-
495
- # The list of instances in the broker.
496
- # Corresponds to the JSON property `instances`
497
- # @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance>]
498
- attr_accessor :instances
499
-
500
- # This token allows you to get the next page of results for list requests.
501
- # If the number of results is larger than `pageSize`, use the `nextPageToken`
502
- # as a value for the query parameter `pageToken` in the next list request.
503
- # Subsequent list requests will have their own `nextPageToken` to continue
504
- # paging through the results
505
- # Corresponds to the JSON property `nextPageToken`
506
- # @return [String]
507
- attr_accessor :next_page_token
508
-
509
- def initialize(**args)
510
- update!(**args)
511
- end
512
-
513
- # Update properties of this object
514
- def update!(**args)
515
- @description = args[:description] if args.key?(:description)
516
- @instances = args[:instances] if args.key?(:instances)
517
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
518
- end
519
- end
520
-
521
- # Describes a long running operation, which conforms to OpenService API.
522
- class GoogleCloudServicebrokerV1beta1Operation
523
- include Google::Apis::Core::Hashable
524
-
525
- # Optional description of the Operation state.
526
- # Corresponds to the JSON property `description`
527
- # @return [String]
528
- attr_accessor :description
529
-
530
- # The state of the operation.
531
- # Valid values are: "in progress", "succeeded", and "failed".
532
- # Corresponds to the JSON property `state`
533
- # @return [String]
534
- attr_accessor :state
535
-
536
- def initialize(**args)
537
- update!(**args)
538
- end
539
-
540
- # Update properties of this object
541
- def update!(**args)
542
- @description = args[:description] if args.key?(:description)
543
- @state = args[:state] if args.key?(:state)
544
- end
545
- end
546
-
547
- # Plan message describes a Service Plan.
548
- class GoogleCloudServicebrokerV1beta1Plan
549
- include Google::Apis::Core::Hashable
550
-
551
- # Specifies whether instances of the service can be bound to applications.
552
- # If not specified, `Service.bindable` will be presumed.
553
- # Corresponds to the JSON property `bindable`
554
- # @return [Boolean]
555
- attr_accessor :bindable
556
- alias_method :bindable?, :bindable
557
-
558
- # Textual description of the plan. Optional.
559
- # Corresponds to the JSON property `description`
560
- # @return [String]
561
- attr_accessor :description
562
-
563
- # Whether the service is free.
564
- # Corresponds to the JSON property `free`
565
- # @return [Boolean]
566
- attr_accessor :free
567
- alias_method :free?, :free
568
-
569
- # ID is a globally unique identifier used to uniquely identify the plan.
570
- # User must make no presumption about the format of this field.
571
- # Corresponds to the JSON property `id`
572
- # @return [String]
573
- attr_accessor :id
574
-
575
- # A list of metadata for a service offering.
576
- # Metadata is an arbitrary JSON object.
577
- # Corresponds to the JSON property `metadata`
578
- # @return [Hash<String,Object>]
579
- attr_accessor :metadata
580
-
581
- # User friendly name of the plan.
582
- # The name must be globally unique within GCP project.
583
- # Note, which is different from ("This must be globally unique within a
584
- # platform marketplace").
585
- # Corresponds to the JSON property `name`
586
- # @return [String]
587
- attr_accessor :name
588
-
589
- # Schema definitions for service instances and bindings for the plan.
590
- # Corresponds to the JSON property `schemas`
591
- # @return [Hash<String,Object>]
592
- attr_accessor :schemas
593
-
594
- def initialize(**args)
595
- update!(**args)
596
- end
597
-
598
- # Update properties of this object
599
- def update!(**args)
600
- @bindable = args[:bindable] if args.key?(:bindable)
601
- @description = args[:description] if args.key?(:description)
602
- @free = args[:free] if args.key?(:free)
603
- @id = args[:id] if args.key?(:id)
604
- @metadata = args[:metadata] if args.key?(:metadata)
605
- @name = args[:name] if args.key?(:name)
606
- @schemas = args[:schemas] if args.key?(:schemas)
607
- end
608
- end
609
-
610
- # The resource model mostly follows the Open Service Broker API, as
611
- # described here:
612
- # https://github.com/openservicebrokerapi/servicebroker/blob/master/_spec.md
613
- # Though due to Google Specifics it has additional optional fields.
614
- class GoogleCloudServicebrokerV1beta1Service
615
- include Google::Apis::Core::Hashable
616
-
617
- # Specifies whether instances of the service can be bound to applications.
618
- # Required.
619
- # Corresponds to the JSON property `bindable`
620
- # @return [Boolean]
621
- attr_accessor :bindable
622
- alias_method :bindable?, :bindable
623
-
624
- # Whether the service provides an endpoint to get service bindings.
625
- # Corresponds to the JSON property `binding_retrievable`
626
- # @return [Boolean]
627
- attr_accessor :binding_retrievable
628
- alias_method :binding_retrievable?, :binding_retrievable
629
-
630
- # Whether the service provides an endpoint to get service bindings.
631
- # Corresponds to the JSON property `bindings_retrievable`
632
- # @return [Boolean]
633
- attr_accessor :bindings_retrievable
634
- alias_method :bindings_retrievable?, :bindings_retrievable
635
-
636
- # Message containing information required to activate Dashboard SSO feature.
637
- # Corresponds to the JSON property `dashboard_client`
638
- # @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DashboardClient]
639
- attr_accessor :dashboard_client
640
-
641
- # Textual description of the service. Required.
642
- # Corresponds to the JSON property `description`
643
- # @return [String]
644
- attr_accessor :description
645
-
646
- # ID is a globally unique identifier used to uniquely identify the service.
647
- # ID is an opaque string.
648
- # Corresponds to the JSON property `id`
649
- # @return [String]
650
- attr_accessor :id
651
-
652
- # Whether the service provides an endpoint to get service instances.
653
- # Corresponds to the JSON property `instances_retrievable`
654
- # @return [Boolean]
655
- attr_accessor :instances_retrievable
656
- alias_method :instances_retrievable?, :instances_retrievable
657
-
658
- # A list of metadata for a service offering.
659
- # Metadata is an arbitrary JSON object.
660
- # Corresponds to the JSON property `metadata`
661
- # @return [Hash<String,Object>]
662
- attr_accessor :metadata
663
-
664
- # User friendly service name.
665
- # Name must match [a-z0-9]+ regexp.
666
- # The name must be globally unique within GCP project.
667
- # Note, which is different from ("This must be globally unique within a
668
- # platform marketplace").
669
- # Required.
670
- # Corresponds to the JSON property `name`
671
- # @return [String]
672
- attr_accessor :name
673
-
674
- # Whether the service supports upgrade/downgrade for some plans.
675
- # Corresponds to the JSON property `plan_updateable`
676
- # @return [Boolean]
677
- attr_accessor :plan_updateable
678
- alias_method :plan_updateable?, :plan_updateable
679
-
680
- # A list of plans for this service.
681
- # At least one plan is required.
682
- # Corresponds to the JSON property `plans`
683
- # @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Plan>]
684
- attr_accessor :plans
685
-
686
- # Tags provide a flexible mechanism to expose a classification, attribute, or
687
- # base technology of a service.
688
- # Corresponds to the JSON property `tags`
689
- # @return [Array<String>]
690
- attr_accessor :tags
691
-
692
- def initialize(**args)
693
- update!(**args)
694
- end
695
-
696
- # Update properties of this object
697
- def update!(**args)
698
- @bindable = args[:bindable] if args.key?(:bindable)
699
- @binding_retrievable = args[:binding_retrievable] if args.key?(:binding_retrievable)
700
- @bindings_retrievable = args[:bindings_retrievable] if args.key?(:bindings_retrievable)
701
- @dashboard_client = args[:dashboard_client] if args.key?(:dashboard_client)
702
- @description = args[:description] if args.key?(:description)
703
- @id = args[:id] if args.key?(:id)
704
- @instances_retrievable = args[:instances_retrievable] if args.key?(:instances_retrievable)
705
- @metadata = args[:metadata] if args.key?(:metadata)
706
- @name = args[:name] if args.key?(:name)
707
- @plan_updateable = args[:plan_updateable] if args.key?(:plan_updateable)
708
- @plans = args[:plans] if args.key?(:plans)
709
- @tags = args[:tags] if args.key?(:tags)
710
- end
711
- end
712
-
713
- # Message describing inputs to Provision and Update Service instance requests.
714
- class GoogleCloudServicebrokerV1beta1ServiceInstance
715
- include Google::Apis::Core::Hashable
716
-
717
- # Platform specific contextual information under which the service instance
718
- # is to be provisioned. This replaces organization_guid and space_guid.
719
- # But can also contain anything.
720
- # Currently only used for logging context information.
721
- # Corresponds to the JSON property `context`
722
- # @return [Hash<String,Object>]
723
- attr_accessor :context
724
-
725
- # Output only. Timestamp for when the instance was created.
726
- # Corresponds to the JSON property `createTime`
727
- # @return [String]
728
- attr_accessor :create_time
729
-
730
- # Output only. String containing the Deployment Manager deployment name that was
731
- # created
732
- # for this instance,
733
- # Corresponds to the JSON property `deploymentName`
734
- # @return [String]
735
- attr_accessor :deployment_name
736
-
737
- # To return errors when GetInstance call is done via HTTP to be unified with
738
- # other methods.
739
- # Corresponds to the JSON property `description`
740
- # @return [String]
741
- attr_accessor :description
742
-
743
- # The id of the service instance. Must be unique within GCP project.
744
- # Maximum length is 64, GUID recommended.
745
- # Required.
746
- # Corresponds to the JSON property `instance_id`
747
- # @return [String]
748
- attr_accessor :instance_id
749
-
750
- # The platform GUID for the organization under which the service is to be
751
- # provisioned.
752
- # Required.
753
- # Corresponds to the JSON property `organization_guid`
754
- # @return [String]
755
- attr_accessor :organization_guid
756
-
757
- # Configuration options for the service instance.
758
- # Parameters is JSON object serialized to string.
759
- # Corresponds to the JSON property `parameters`
760
- # @return [Hash<String,Object>]
761
- attr_accessor :parameters
762
-
763
- # The ID of the plan. See `Service` and `Plan` resources for details.
764
- # Maximum length is 64, GUID recommended.
765
- # Required.
766
- # Corresponds to the JSON property `plan_id`
767
- # @return [String]
768
- attr_accessor :plan_id
769
-
770
- # Used only in UpdateServiceInstance request to optionally specify previous
771
- # fields.
772
- # Corresponds to the JSON property `previous_values`
773
- # @return [Hash<String,Object>]
774
- attr_accessor :previous_values
775
-
776
- # Output only. The resource name of the instance, e.g.
777
- # projects/project_id/brokers/broker_id/service_instances/instance_id
778
- # Corresponds to the JSON property `resourceName`
779
- # @return [String]
780
- attr_accessor :resource_name
781
-
782
- # The id of the service. Must be a valid identifier of a service
783
- # contained in the list from a `ListServices()` call.
784
- # Maximum length is 64, GUID recommended.
785
- # Required.
786
- # Corresponds to the JSON property `service_id`
787
- # @return [String]
788
- attr_accessor :service_id
789
-
790
- # The identifier for the project space within the platform organization.
791
- # Required.
792
- # Corresponds to the JSON property `space_guid`
793
- # @return [String]
794
- attr_accessor :space_guid
795
-
796
- def initialize(**args)
797
- update!(**args)
798
- end
799
-
800
- # Update properties of this object
801
- def update!(**args)
802
- @context = args[:context] if args.key?(:context)
803
- @create_time = args[:create_time] if args.key?(:create_time)
804
- @deployment_name = args[:deployment_name] if args.key?(:deployment_name)
805
- @description = args[:description] if args.key?(:description)
806
- @instance_id = args[:instance_id] if args.key?(:instance_id)
807
- @organization_guid = args[:organization_guid] if args.key?(:organization_guid)
808
- @parameters = args[:parameters] if args.key?(:parameters)
809
- @plan_id = args[:plan_id] if args.key?(:plan_id)
810
- @previous_values = args[:previous_values] if args.key?(:previous_values)
811
- @resource_name = args[:resource_name] if args.key?(:resource_name)
812
- @service_id = args[:service_id] if args.key?(:service_id)
813
- @space_guid = args[:space_guid] if args.key?(:space_guid)
814
- end
815
- end
816
-
817
- # Response for the `UpdateServiceInstance()` method.
818
- class GoogleCloudServicebrokerV1beta1UpdateServiceInstanceResponse
819
- include Google::Apis::Core::Hashable
820
-
821
- # Used to communicate description of the response. Usually for non-standard
822
- # error codes.
823
- # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
824
- # service-broker-errors
825
- # Corresponds to the JSON property `description`
826
- # @return [String]
827
- attr_accessor :description
828
-
829
- # If broker executes operation asynchronously, this is the operation ID that
830
- # can be polled to check the completion status of said operation.
831
- # Corresponds to the JSON property `operation`
832
- # @return [String]
833
- attr_accessor :operation
834
-
835
- def initialize(**args)
836
- update!(**args)
837
- end
838
-
839
- # Update properties of this object
840
- def update!(**args)
841
- @description = args[:description] if args.key?(:description)
842
- @operation = args[:operation] if args.key?(:operation)
843
- end
844
- end
845
-
846
- # Associates `members` with a `role`.
847
- class GoogleIamV1Binding
848
- include Google::Apis::Core::Hashable
849
-
850
- # Represents an expression text. Example:
851
- # title: "User account presence"
852
- # description: "Determines whether the request has a user account"
853
- # expression: "size(request.user) > 0"
854
- # Corresponds to the JSON property `condition`
855
- # @return [Google::Apis::ServicebrokerV1beta1::GoogleTypeExpr]
856
- attr_accessor :condition
857
-
858
- # Specifies the identities requesting access for a Cloud Platform resource.
859
- # `members` can have the following values:
860
- # * `allUsers`: A special identifier that represents anyone who is
861
- # on the internet; with or without a Google account.
862
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
863
- # who is authenticated with a Google account or a service account.
864
- # * `user:`emailid``: An email address that represents a specific Google
865
- # account. For example, `alice@example.com` .
866
- # * `serviceAccount:`emailid``: An email address that represents a service
867
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
868
- # * `group:`emailid``: An email address that represents a Google group.
869
- # For example, `admins@example.com`.
870
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
871
- # identifier) representing a user that has been recently deleted. For
872
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
873
- # recovered, this value reverts to `user:`emailid`` and the recovered user
874
- # retains the role in the binding.
875
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
876
- # unique identifier) representing a service account that has been recently
877
- # deleted. For example,
878
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
879
- # If the service account is undeleted, this value reverts to
880
- # `serviceAccount:`emailid`` and the undeleted service account retains the
881
- # role in the binding.
882
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
883
- # identifier) representing a Google group that has been recently
884
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
885
- # the group is recovered, this value reverts to `group:`emailid`` and the
886
- # recovered group retains the role in the binding.
887
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
888
- # users of that domain. For example, `google.com` or `example.com`.
889
- # Corresponds to the JSON property `members`
890
- # @return [Array<String>]
891
- attr_accessor :members
892
-
893
- # Role that is assigned to `members`.
894
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
895
- # Corresponds to the JSON property `role`
896
- # @return [String]
897
- attr_accessor :role
898
-
899
- def initialize(**args)
900
- update!(**args)
901
- end
902
-
903
- # Update properties of this object
904
- def update!(**args)
905
- @condition = args[:condition] if args.key?(:condition)
906
- @members = args[:members] if args.key?(:members)
907
- @role = args[:role] if args.key?(:role)
908
- end
909
- end
910
-
911
- # An Identity and Access Management (IAM) policy, which specifies access
912
- # controls for Google Cloud resources.
913
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
914
- # `members` to a single `role`. Members can be user accounts, service accounts,
915
- # Google groups, and domains (such as G Suite). A `role` is a named list of
916
- # permissions; each `role` can be an IAM predefined role or a user-created
917
- # custom role.
918
- # Optionally, a `binding` can specify a `condition`, which is a logical
919
- # expression that allows access to a resource only if the expression evaluates
920
- # to `true`. A condition can add constraints based on attributes of the
921
- # request, the resource, or both.
922
- # **JSON example:**
923
- # `
924
- # "bindings": [
925
- # `
926
- # "role": "roles/resourcemanager.organizationAdmin",
927
- # "members": [
928
- # "user:mike@example.com",
929
- # "group:admins@example.com",
930
- # "domain:google.com",
931
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
932
- # ]
933
- # `,
934
- # `
935
- # "role": "roles/resourcemanager.organizationViewer",
936
- # "members": ["user:eve@example.com"],
937
- # "condition": `
938
- # "title": "expirable access",
939
- # "description": "Does not grant access after Sep 2020",
940
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
941
- # ",
942
- # `
943
- # `
944
- # ],
945
- # "etag": "BwWWja0YfJA=",
946
- # "version": 3
947
- # `
948
- # **YAML example:**
949
- # bindings:
950
- # - members:
951
- # - user:mike@example.com
952
- # - group:admins@example.com
953
- # - domain:google.com
954
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
955
- # role: roles/resourcemanager.organizationAdmin
956
- # - members:
957
- # - user:eve@example.com
958
- # role: roles/resourcemanager.organizationViewer
959
- # condition:
960
- # title: expirable access
961
- # description: Does not grant access after Sep 2020
962
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
963
- # - etag: BwWWja0YfJA=
964
- # - version: 3
965
- # For a description of IAM and its features, see the
966
- # [IAM documentation](https://cloud.google.com/iam/docs/).
967
- class GoogleIamV1Policy
968
- include Google::Apis::Core::Hashable
969
-
970
- # Associates a list of `members` to a `role`. Optionally, may specify a
971
- # `condition` that determines how and when the `bindings` are applied. Each
972
- # of the `bindings` must contain at least one member.
973
- # Corresponds to the JSON property `bindings`
974
- # @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleIamV1Binding>]
975
- attr_accessor :bindings
976
-
977
- # `etag` is used for optimistic concurrency control as a way to help
978
- # prevent simultaneous updates of a policy from overwriting each other.
979
- # It is strongly suggested that systems make use of the `etag` in the
980
- # read-modify-write cycle to perform policy updates in order to avoid race
981
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
982
- # systems are expected to put that etag in the request to `setIamPolicy` to
983
- # ensure that their change will be applied to the same version of the policy.
984
- # **Important:** If you use IAM Conditions, you must include the `etag` field
985
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
986
- # you to overwrite a version `3` policy with a version `1` policy, and all of
987
- # the conditions in the version `3` policy are lost.
988
- # Corresponds to the JSON property `etag`
989
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
990
- # @return [String]
991
- attr_accessor :etag
992
-
993
- # Specifies the format of the policy.
994
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
995
- # are rejected.
996
- # Any operation that affects conditional role bindings must specify version
997
- # `3`. This requirement applies to the following operations:
998
- # * Getting a policy that includes a conditional role binding
999
- # * Adding a conditional role binding to a policy
1000
- # * Changing a conditional role binding in a policy
1001
- # * Removing any role binding, with or without a condition, from a policy
1002
- # that includes conditions
1003
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1004
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1005
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1006
- # the conditions in the version `3` policy are lost.
1007
- # If a policy does not include any conditions, operations on that policy may
1008
- # specify any valid version or leave the field unset.
1009
- # Corresponds to the JSON property `version`
1010
- # @return [Fixnum]
1011
- attr_accessor :version
1012
-
1013
- def initialize(**args)
1014
- update!(**args)
1015
- end
1016
-
1017
- # Update properties of this object
1018
- def update!(**args)
1019
- @bindings = args[:bindings] if args.key?(:bindings)
1020
- @etag = args[:etag] if args.key?(:etag)
1021
- @version = args[:version] if args.key?(:version)
1022
- end
1023
- end
1024
-
1025
- # Request message for `SetIamPolicy` method.
1026
- class GoogleIamV1SetIamPolicyRequest
1027
- include Google::Apis::Core::Hashable
1028
-
1029
- # An Identity and Access Management (IAM) policy, which specifies access
1030
- # controls for Google Cloud resources.
1031
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1032
- # `members` to a single `role`. Members can be user accounts, service accounts,
1033
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1034
- # permissions; each `role` can be an IAM predefined role or a user-created
1035
- # custom role.
1036
- # Optionally, a `binding` can specify a `condition`, which is a logical
1037
- # expression that allows access to a resource only if the expression evaluates
1038
- # to `true`. A condition can add constraints based on attributes of the
1039
- # request, the resource, or both.
1040
- # **JSON example:**
1041
- # `
1042
- # "bindings": [
1043
- # `
1044
- # "role": "roles/resourcemanager.organizationAdmin",
1045
- # "members": [
1046
- # "user:mike@example.com",
1047
- # "group:admins@example.com",
1048
- # "domain:google.com",
1049
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1050
- # ]
1051
- # `,
1052
- # `
1053
- # "role": "roles/resourcemanager.organizationViewer",
1054
- # "members": ["user:eve@example.com"],
1055
- # "condition": `
1056
- # "title": "expirable access",
1057
- # "description": "Does not grant access after Sep 2020",
1058
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1059
- # ",
1060
- # `
1061
- # `
1062
- # ],
1063
- # "etag": "BwWWja0YfJA=",
1064
- # "version": 3
1065
- # `
1066
- # **YAML example:**
1067
- # bindings:
1068
- # - members:
1069
- # - user:mike@example.com
1070
- # - group:admins@example.com
1071
- # - domain:google.com
1072
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1073
- # role: roles/resourcemanager.organizationAdmin
1074
- # - members:
1075
- # - user:eve@example.com
1076
- # role: roles/resourcemanager.organizationViewer
1077
- # condition:
1078
- # title: expirable access
1079
- # description: Does not grant access after Sep 2020
1080
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1081
- # - etag: BwWWja0YfJA=
1082
- # - version: 3
1083
- # For a description of IAM and its features, see the
1084
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1085
- # Corresponds to the JSON property `policy`
1086
- # @return [Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy]
1087
- attr_accessor :policy
1088
-
1089
- def initialize(**args)
1090
- update!(**args)
1091
- end
1092
-
1093
- # Update properties of this object
1094
- def update!(**args)
1095
- @policy = args[:policy] if args.key?(:policy)
1096
- end
1097
- end
1098
-
1099
- # Request message for `TestIamPermissions` method.
1100
- class GoogleIamV1TestIamPermissionsRequest
1101
- include Google::Apis::Core::Hashable
1102
-
1103
- # The set of permissions to check for the `resource`. Permissions with
1104
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
1105
- # information see
1106
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
1107
- # Corresponds to the JSON property `permissions`
1108
- # @return [Array<String>]
1109
- attr_accessor :permissions
1110
-
1111
- def initialize(**args)
1112
- update!(**args)
1113
- end
1114
-
1115
- # Update properties of this object
1116
- def update!(**args)
1117
- @permissions = args[:permissions] if args.key?(:permissions)
1118
- end
1119
- end
1120
-
1121
- # Response message for `TestIamPermissions` method.
1122
- class GoogleIamV1TestIamPermissionsResponse
1123
- include Google::Apis::Core::Hashable
1124
-
1125
- # A subset of `TestPermissionsRequest.permissions` that the caller is
1126
- # allowed.
1127
- # Corresponds to the JSON property `permissions`
1128
- # @return [Array<String>]
1129
- attr_accessor :permissions
1130
-
1131
- def initialize(**args)
1132
- update!(**args)
1133
- end
1134
-
1135
- # Update properties of this object
1136
- def update!(**args)
1137
- @permissions = args[:permissions] if args.key?(:permissions)
1138
- end
1139
- end
1140
-
1141
- # A generic empty message that you can re-use to avoid defining duplicated
1142
- # empty messages in your APIs. A typical example is to use it as the request
1143
- # or the response type of an API method. For instance:
1144
- # service Foo `
1145
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1146
- # `
1147
- # The JSON representation for `Empty` is empty JSON object ````.
1148
- class GoogleProtobufEmpty
1149
- include Google::Apis::Core::Hashable
1150
-
1151
- def initialize(**args)
1152
- update!(**args)
1153
- end
1154
-
1155
- # Update properties of this object
1156
- def update!(**args)
1157
- end
1158
- end
1159
-
1160
- # Represents an expression text. Example:
1161
- # title: "User account presence"
1162
- # description: "Determines whether the request has a user account"
1163
- # expression: "size(request.user) > 0"
1164
- class GoogleTypeExpr
1165
- include Google::Apis::Core::Hashable
1166
-
1167
- # An optional description of the expression. This is a longer text which
1168
- # describes the expression, e.g. when hovered over it in a UI.
1169
- # Corresponds to the JSON property `description`
1170
- # @return [String]
1171
- attr_accessor :description
1172
-
1173
- # Textual representation of an expression in
1174
- # Common Expression Language syntax.
1175
- # The application context of the containing message determines which
1176
- # well-known feature set of CEL is supported.
1177
- # Corresponds to the JSON property `expression`
1178
- # @return [String]
1179
- attr_accessor :expression
1180
-
1181
- # An optional string indicating the location of the expression for error
1182
- # reporting, e.g. a file name and a position in the file.
1183
- # Corresponds to the JSON property `location`
1184
- # @return [String]
1185
- attr_accessor :location
1186
-
1187
- # An optional title for the expression, i.e. a short string describing
1188
- # its purpose. This can be used e.g. in UIs which allow to enter the
1189
- # expression.
1190
- # Corresponds to the JSON property `title`
1191
- # @return [String]
1192
- attr_accessor :title
1193
-
1194
- def initialize(**args)
1195
- update!(**args)
1196
- end
1197
-
1198
- # Update properties of this object
1199
- def update!(**args)
1200
- @description = args[:description] if args.key?(:description)
1201
- @expression = args[:expression] if args.key?(:expression)
1202
- @location = args[:location] if args.key?(:location)
1203
- @title = args[:title] if args.key?(:title)
1204
- end
1205
- end
1206
- end
1207
- end
1208
- end