google-api-client 0.13.2 → 0.13.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (524) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +149 -0
  3. data/bin/generate-api +6 -2
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
  12. data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
  13. data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
  14. data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
  15. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
  16. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
  22. data/generated/google/apis/adexchangeseller_v1.rb +37 -0
  23. data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
  24. data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
  25. data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
  26. data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
  27. data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
  28. data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
  29. data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
  30. data/generated/google/apis/adexperiencereport_v1.rb +35 -0
  31. data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
  32. data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
  33. data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
  34. data/generated/google/apis/admin_directory_v1.rb +1 -1
  35. data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
  36. data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
  37. data/generated/google/apis/admin_directory_v1/service.rb +39 -0
  38. data/generated/google/apis/adsense_v1_4.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  40. data/generated/google/apis/analytics_v2_4.rb +37 -0
  41. data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
  42. data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
  43. data/generated/google/apis/analytics_v2_4/service.rb +345 -0
  44. data/generated/google/apis/analytics_v3.rb +1 -1
  45. data/generated/google/apis/analytics_v3/classes.rb +15 -2
  46. data/generated/google/apis/analytics_v3/representations.rb +3 -0
  47. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  48. data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
  49. data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
  52. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
  53. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
  54. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  55. data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
  56. data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
  57. data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
  58. data/generated/google/apis/androidmanagement_v1.rb +35 -0
  59. data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
  60. data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
  61. data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
  62. data/generated/google/apis/androidpublisher_v1.rb +34 -0
  63. data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
  64. data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
  65. data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
  66. data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
  67. data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
  68. data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
  69. data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
  70. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  71. data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
  72. data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
  73. data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
  74. data/generated/google/apis/appengine_v1.rb +4 -4
  75. data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
  76. data/generated/google/apis/appengine_v1/representations.rb +351 -335
  77. data/generated/google/apis/appengine_v1/service.rb +255 -239
  78. data/generated/google/apis/appengine_v1alpha.rb +41 -0
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
  80. data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
  81. data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
  82. data/generated/google/apis/appengine_v1beta.rb +41 -0
  83. data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
  84. data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
  85. data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
  86. data/generated/google/apis/appengine_v1beta4.rb +41 -0
  87. data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
  88. data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
  89. data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
  90. data/generated/google/apis/appengine_v1beta5.rb +41 -0
  91. data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
  92. data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
  93. data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
  94. data/generated/google/apis/appsactivity_v1.rb +1 -1
  95. data/generated/google/apis/appstate_v1.rb +1 -1
  96. data/generated/google/apis/bigquery_v2.rb +1 -1
  97. data/generated/google/apis/bigquery_v2/classes.rb +106 -18
  98. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  99. data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
  103. data/generated/google/apis/blogger_v2.rb +34 -0
  104. data/generated/google/apis/blogger_v2/classes.rb +947 -0
  105. data/generated/google/apis/blogger_v2/representations.rb +465 -0
  106. data/generated/google/apis/blogger_v2/service.rb +424 -0
  107. data/generated/google/apis/calendar_v3.rb +1 -1
  108. data/generated/google/apis/calendar_v3/classes.rb +4 -207
  109. data/generated/google/apis/calendar_v3/representations.rb +0 -97
  110. data/generated/google/apis/calendar_v3/service.rb +8 -4
  111. data/generated/google/apis/classroom_v1.rb +27 -27
  112. data/generated/google/apis/classroom_v1/classes.rb +1037 -926
  113. data/generated/google/apis/classroom_v1/representations.rb +294 -244
  114. data/generated/google/apis/classroom_v1/service.rb +1114 -1109
  115. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  116. data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
  117. data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
  118. data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
  119. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  120. data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
  121. data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
  122. data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
  123. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  124. data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
  125. data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
  126. data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
  127. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  128. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
  129. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
  130. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
  131. data/generated/google/apis/cloudfunctions_v1.rb +4 -1
  132. data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
  133. data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
  135. data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
  136. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
  137. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
  138. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
  139. data/generated/google/apis/cloudkms_v1.rb +1 -1
  140. data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
  141. data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
  142. data/generated/google/apis/cloudkms_v1/service.rb +320 -320
  143. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  145. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
  146. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  147. data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
  148. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  149. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
  150. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
  151. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
  152. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
  153. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
  154. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
  155. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
  156. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  157. data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
  158. data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
  159. data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
  160. data/generated/google/apis/cloudtrace_v2.rb +43 -0
  161. data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
  162. data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
  163. data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
  164. data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
  165. data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
  166. data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
  167. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
  168. data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
  169. data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
  170. data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
  171. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
  172. data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
  173. data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
  174. data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
  175. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
  176. data/generated/google/apis/compute_alpha.rb +49 -0
  177. data/generated/google/apis/compute_alpha/classes.rb +23796 -0
  178. data/generated/google/apis/compute_alpha/representations.rb +9391 -0
  179. data/generated/google/apis/compute_alpha/service.rb +24188 -0
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_beta/classes.rb +1597 -235
  182. data/generated/google/apis/compute_beta/representations.rb +477 -0
  183. data/generated/google/apis/compute_beta/service.rb +2875 -1677
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/compute_v1/classes.rb +319 -197
  186. data/generated/google/apis/compute_v1/representations.rb +51 -0
  187. data/generated/google/apis/compute_v1/service.rb +2057 -172
  188. data/generated/google/apis/consumersurveys_v2.rb +40 -0
  189. data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
  190. data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
  191. data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
  192. data/generated/google/apis/container_v1.rb +1 -1
  193. data/generated/google/apis/container_v1/classes.rb +1072 -936
  194. data/generated/google/apis/container_v1/representations.rb +266 -202
  195. data/generated/google/apis/container_v1/service.rb +243 -243
  196. data/generated/google/apis/container_v1beta1.rb +35 -0
  197. data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
  198. data/generated/google/apis/container_v1beta1/representations.rb +662 -0
  199. data/generated/google/apis/container_v1beta1/service.rb +1875 -0
  200. data/generated/google/apis/content_v2.rb +1 -1
  201. data/generated/google/apis/content_v2/classes.rb +72 -3
  202. data/generated/google/apis/content_v2/representations.rb +23 -0
  203. data/generated/google/apis/content_v2/service.rb +23 -18
  204. data/generated/google/apis/content_v2sandbox.rb +35 -0
  205. data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
  206. data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
  207. data/generated/google/apis/content_v2sandbox/service.rb +709 -0
  208. data/generated/google/apis/dataflow_v1b3.rb +5 -5
  209. data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
  210. data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
  211. data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
  212. data/generated/google/apis/dataproc_v1.rb +1 -1
  213. data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
  214. data/generated/google/apis/dataproc_v1/representations.rb +227 -227
  215. data/generated/google/apis/dataproc_v1/service.rb +254 -254
  216. data/generated/google/apis/dataproc_v1beta2.rb +34 -0
  217. data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
  218. data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
  220. data/generated/google/apis/datastore_v1.rb +4 -4
  221. data/generated/google/apis/datastore_v1/classes.rb +1311 -773
  222. data/generated/google/apis/datastore_v1/representations.rb +351 -148
  223. data/generated/google/apis/datastore_v1/service.rb +206 -55
  224. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  225. data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
  226. data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
  227. data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
  228. data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
  229. data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
  230. data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
  231. data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
  232. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  233. data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
  234. data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
  235. data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
  236. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
  237. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
  238. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
  239. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  240. data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
  241. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
  242. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  243. data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
  244. data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
  245. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
  246. data/generated/google/apis/dlp_v2beta1.rb +36 -0
  247. data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
  248. data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
  249. data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
  250. data/generated/google/apis/dns_v1.rb +1 -1
  251. data/generated/google/apis/dns_v2beta1.rb +1 -1
  252. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  253. data/generated/google/apis/drive_v2.rb +1 -1
  254. data/generated/google/apis/drive_v3.rb +1 -1
  255. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  256. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
  257. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
  258. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  259. data/generated/google/apis/firebaserules_v1.rb +1 -1
  260. data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
  261. data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
  262. data/generated/google/apis/firebaserules_v1/service.rb +113 -113
  263. data/generated/google/apis/fitness_v1.rb +1 -1
  264. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  265. data/generated/google/apis/fusiontables_v1.rb +37 -0
  266. data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
  267. data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
  268. data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  270. data/generated/google/apis/games_management_v1management.rb +1 -1
  271. data/generated/google/apis/games_v1.rb +1 -1
  272. data/generated/google/apis/genomics_v1.rb +8 -8
  273. data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
  274. data/generated/google/apis/genomics_v1/representations.rb +482 -482
  275. data/generated/google/apis/genomics_v1/service.rb +966 -966
  276. data/generated/google/apis/genomics_v1alpha2.rb +40 -0
  277. data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
  278. data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
  279. data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
  280. data/generated/google/apis/gmail_v1.rb +1 -1
  281. data/generated/google/apis/iam_v1.rb +1 -1
  282. data/generated/google/apis/iam_v1/classes.rb +664 -395
  283. data/generated/google/apis/iam_v1/representations.rb +194 -81
  284. data/generated/google/apis/iam_v1/service.rb +657 -92
  285. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
  287. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  288. data/generated/google/apis/kgsearch_v1/service.rb +8 -8
  289. data/generated/google/apis/language_v1.rb +4 -1
  290. data/generated/google/apis/language_v1/classes.rb +393 -393
  291. data/generated/google/apis/language_v1/representations.rb +95 -95
  292. data/generated/google/apis/language_v1/service.rb +42 -42
  293. data/generated/google/apis/language_v1beta1.rb +4 -1
  294. data/generated/google/apis/language_v1beta1/classes.rb +457 -457
  295. data/generated/google/apis/language_v1beta1/representations.rb +114 -114
  296. data/generated/google/apis/language_v1beta1/service.rb +48 -48
  297. data/generated/google/apis/language_v1beta2.rb +39 -0
  298. data/generated/google/apis/language_v1beta2/classes.rb +824 -0
  299. data/generated/google/apis/language_v1beta2/representations.rb +373 -0
  300. data/generated/google/apis/language_v1beta2/service.rb +217 -0
  301. data/generated/google/apis/logging_v2.rb +9 -9
  302. data/generated/google/apis/logging_v2/classes.rb +840 -834
  303. data/generated/google/apis/logging_v2/representations.rb +168 -167
  304. data/generated/google/apis/logging_v2/service.rb +667 -463
  305. data/generated/google/apis/logging_v2beta1.rb +9 -9
  306. data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
  307. data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
  308. data/generated/google/apis/logging_v2beta1/service.rb +253 -255
  309. data/generated/google/apis/manufacturers_v1.rb +1 -1
  310. data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
  311. data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
  312. data/generated/google/apis/manufacturers_v1/service.rb +8 -7
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +1487 -1676
  315. data/generated/google/apis/ml_v1/representations.rb +229 -299
  316. data/generated/google/apis/ml_v1/service.rb +359 -253
  317. data/generated/google/apis/ml_v1beta1.rb +34 -0
  318. data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
  319. data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
  320. data/generated/google/apis/ml_v1beta1/service.rb +975 -0
  321. data/generated/google/apis/monitoring_v3.rb +6 -6
  322. data/generated/google/apis/monitoring_v3/classes.rb +834 -834
  323. data/generated/google/apis/monitoring_v3/representations.rb +168 -168
  324. data/generated/google/apis/monitoring_v3/service.rb +330 -330
  325. data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
  326. data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
  327. data/generated/google/apis/mybusiness_v3/service.rb +241 -241
  328. data/generated/google/apis/oauth2_v1.rb +43 -0
  329. data/generated/google/apis/oauth2_v1/classes.rb +321 -0
  330. data/generated/google/apis/oauth2_v1/representations.rb +135 -0
  331. data/generated/google/apis/oauth2_v1/service.rb +337 -0
  332. data/generated/google/apis/oauth2_v2.rb +1 -1
  333. data/generated/google/apis/oslogin_v1alpha.rb +37 -0
  334. data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
  335. data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
  336. data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
  337. data/generated/google/apis/pagespeedonline_v1.rb +32 -0
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
  341. data/generated/google/apis/partners_v2.rb +1 -1
  342. data/generated/google/apis/partners_v2/classes.rb +1512 -1512
  343. data/generated/google/apis/partners_v2/representations.rb +368 -368
  344. data/generated/google/apis/partners_v2/service.rb +596 -596
  345. data/generated/google/apis/people_v1.rb +15 -15
  346. data/generated/google/apis/people_v1/classes.rb +1384 -1383
  347. data/generated/google/apis/people_v1/representations.rb +311 -311
  348. data/generated/google/apis/people_v1/service.rb +208 -202
  349. data/generated/google/apis/playcustomapp_v1.rb +34 -0
  350. data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
  351. data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
  352. data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
  353. data/generated/google/apis/playmoviespartner_v1.rb +34 -0
  354. data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
  355. data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
  356. data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
  357. data/generated/google/apis/plus_domains_v1.rb +1 -1
  358. data/generated/google/apis/plus_v1.rb +1 -1
  359. data/generated/google/apis/prediction_v1_2.rb +44 -0
  360. data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
  361. data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
  362. data/generated/google/apis/prediction_v1_2/service.rb +287 -0
  363. data/generated/google/apis/prediction_v1_3.rb +44 -0
  364. data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
  365. data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
  366. data/generated/google/apis/prediction_v1_3/service.rb +284 -0
  367. data/generated/google/apis/prediction_v1_4.rb +44 -0
  368. data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
  369. data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
  370. data/generated/google/apis/prediction_v1_4/service.rb +284 -0
  371. data/generated/google/apis/prediction_v1_5.rb +44 -0
  372. data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
  373. data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
  374. data/generated/google/apis/prediction_v1_5/service.rb +357 -0
  375. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  376. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
  377. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
  378. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
  379. data/generated/google/apis/pubsub_v1.rb +4 -4
  380. data/generated/google/apis/pubsub_v1/classes.rb +352 -352
  381. data/generated/google/apis/pubsub_v1/representations.rb +77 -77
  382. data/generated/google/apis/pubsub_v1/service.rb +346 -346
  383. data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
  384. data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
  385. data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
  386. data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
  387. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  388. data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
  389. data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
  390. data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
  391. data/generated/google/apis/replicapool_v1beta1.rb +50 -0
  392. data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
  393. data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
  394. data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
  395. data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
  396. data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
  397. data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
  398. data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
  399. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  400. data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
  401. data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
  402. data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
  403. data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
  404. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
  405. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
  406. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
  407. data/generated/google/apis/safebrowsing_v4.rb +32 -0
  408. data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
  409. data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
  410. data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
  411. data/generated/google/apis/script_v1.rb +19 -19
  412. data/generated/google/apis/script_v1/classes.rb +99 -157
  413. data/generated/google/apis/script_v1/representations.rb +17 -47
  414. data/generated/google/apis/script_v1/service.rb +12 -12
  415. data/generated/google/apis/searchconsole_v1.rb +1 -1
  416. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  417. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  418. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  419. data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
  420. data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
  421. data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
  422. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  423. data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
  424. data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
  425. data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
  426. data/generated/google/apis/serviceuser_v1.rb +5 -5
  427. data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
  428. data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
  429. data/generated/google/apis/serviceuser_v1/service.rb +43 -43
  430. data/generated/google/apis/sheets_v4.rb +7 -7
  431. data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
  432. data/generated/google/apis/sheets_v4/representations.rb +931 -930
  433. data/generated/google/apis/sheets_v4/service.rb +244 -244
  434. data/generated/google/apis/slides_v1.rb +10 -10
  435. data/generated/google/apis/slides_v1/classes.rb +2915 -2915
  436. data/generated/google/apis/slides_v1/representations.rb +698 -698
  437. data/generated/google/apis/slides_v1/service.rb +35 -35
  438. data/generated/google/apis/sourcerepo_v1.rb +3 -3
  439. data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
  440. data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
  441. data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
  442. data/generated/google/apis/spanner_v1.rb +4 -4
  443. data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
  444. data/generated/google/apis/spanner_v1/representations.rb +338 -323
  445. data/generated/google/apis/spanner_v1/service.rb +689 -689
  446. data/generated/google/apis/spectrum_v1explorer.rb +31 -0
  447. data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
  448. data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
  449. data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
  450. data/generated/google/apis/speech_v1.rb +34 -0
  451. data/generated/google/apis/speech_v1/classes.rb +572 -0
  452. data/generated/google/apis/speech_v1/representations.rb +236 -0
  453. data/generated/google/apis/speech_v1/service.rb +277 -0
  454. data/generated/google/apis/speech_v1beta1.rb +1 -1
  455. data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
  456. data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
  457. data/generated/google/apis/speech_v1beta1/service.rb +46 -46
  458. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  459. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
  460. data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
  461. data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
  462. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  463. data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
  464. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  465. data/generated/google/apis/storage_v1.rb +1 -1
  466. data/generated/google/apis/storage_v1/classes.rb +7 -6
  467. data/generated/google/apis/storage_v1/service.rb +51 -29
  468. data/generated/google/apis/storage_v1beta1.rb +40 -0
  469. data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
  470. data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
  471. data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
  472. data/generated/google/apis/storage_v1beta2.rb +40 -0
  473. data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
  474. data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
  475. data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
  476. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  477. data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
  478. data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
  479. data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
  480. data/generated/google/apis/streetviewpublish_v1.rb +36 -0
  481. data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
  482. data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
  483. data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
  484. data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
  485. data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
  486. data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
  487. data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
  488. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  489. data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
  490. data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
  491. data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
  492. data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
  493. data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
  494. data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
  495. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
  496. data/generated/google/apis/translate_v2/classes.rb +111 -111
  497. data/generated/google/apis/translate_v2/representations.rb +49 -49
  498. data/generated/google/apis/translate_v2/service.rb +94 -94
  499. data/generated/google/apis/vault_v1.rb +31 -0
  500. data/generated/google/apis/vault_v1/classes.rb +554 -0
  501. data/generated/google/apis/vault_v1/representations.rb +318 -0
  502. data/generated/google/apis/vault_v1/service.rb +677 -0
  503. data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
  504. data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
  505. data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
  506. data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
  507. data/generated/google/apis/vision_v1.rb +4 -4
  508. data/generated/google/apis/vision_v1/classes.rb +1176 -1178
  509. data/generated/google/apis/vision_v1/representations.rb +235 -235
  510. data/generated/google/apis/webmasters_v3.rb +1 -1
  511. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  512. data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
  513. data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
  514. data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
  515. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
  516. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  517. data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
  518. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
  519. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  520. data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
  521. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  522. data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
  523. data/lib/google/apis/version.rb +1 -1
  524. metadata +246 -2
@@ -0,0 +1,40 @@
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/runtimeconfig_v1beta1/service.rb'
16
+ require 'google/apis/runtimeconfig_v1beta1/classes.rb'
17
+ require 'google/apis/runtimeconfig_v1beta1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Google Cloud Runtime Configuration API
22
+ #
23
+ # The Runtime Configurator allows you to dynamically configure and expose
24
+ # variables through Google Cloud Platform. In addition, you can also set
25
+ # Watchers and Waiters that will watch for changes to your data and return based
26
+ # on certain conditions.
27
+ #
28
+ # @see https://cloud.google.com/deployment-manager/runtime-configurator/
29
+ module RuntimeconfigV1beta1
30
+ VERSION = 'V1beta1'
31
+ REVISION = '20170808'
32
+
33
+ # View and manage your data across Google Cloud Platform services
34
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
+
36
+ # Manage your Google Cloud Platform services' runtime configuration
37
+ AUTH_CLOUDRUNTIMECONFIG = 'https://www.googleapis.com/auth/cloudruntimeconfig'
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,805 @@
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 RuntimeconfigV1beta1
24
+
25
+ # Associates `members` with a `role`.
26
+ class Binding
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Specifies the identities requesting access for a Cloud Platform resource.
30
+ # `members` can have the following values:
31
+ # * `allUsers`: A special identifier that represents anyone who is
32
+ # on the internet; with or without a Google account.
33
+ # * `allAuthenticatedUsers`: A special identifier that represents anyone
34
+ # who is authenticated with a Google account or a service account.
35
+ # * `user:`emailid``: An email address that represents a specific Google
36
+ # account. For example, `alice@gmail.com` or `joe@example.com`.
37
+ # * `serviceAccount:`emailid``: An email address that represents a service
38
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`.
39
+ # * `group:`emailid``: An email address that represents a Google group.
40
+ # For example, `admins@example.com`.
41
+ # * `domain:`domain``: A Google Apps domain name that represents all the
42
+ # users of that domain. For example, `google.com` or `example.com`.
43
+ # Corresponds to the JSON property `members`
44
+ # @return [Array<String>]
45
+ attr_accessor :members
46
+
47
+ # Role that is assigned to `members`.
48
+ # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
49
+ # Required
50
+ # Corresponds to the JSON property `role`
51
+ # @return [String]
52
+ attr_accessor :role
53
+
54
+ def initialize(**args)
55
+ update!(**args)
56
+ end
57
+
58
+ # Update properties of this object
59
+ def update!(**args)
60
+ @members = args[:members] if args.key?(:members)
61
+ @role = args[:role] if args.key?(:role)
62
+ end
63
+ end
64
+
65
+ # A Cardinality condition for the Waiter resource. A cardinality condition is
66
+ # met when the number of variables under a specified path prefix reaches a
67
+ # predefined number. For example, if you set a Cardinality condition where
68
+ # the `path` is set to `/foo` and the number of paths is set to 2, the
69
+ # following variables would meet the condition in a RuntimeConfig resource:
70
+ # + `/foo/variable1 = "value1"`
71
+ # + `/foo/variable2 = "value2"`
72
+ # + `/bar/variable3 = "value3"`
73
+ # It would not would not satisify the same condition with the `number` set to
74
+ # 3, however, because there is only 2 paths that start with `/foo`.
75
+ # Cardinality conditions are recursive; all subtrees under the specific
76
+ # path prefix are counted.
77
+ class Cardinality
78
+ include Google::Apis::Core::Hashable
79
+
80
+ # The number variables under the `path` that must exist to meet this
81
+ # condition. Defaults to 1 if not specified.
82
+ # Corresponds to the JSON property `number`
83
+ # @return [Fixnum]
84
+ attr_accessor :number
85
+
86
+ # The root of the variable subtree to monitor. For example, `/foo`.
87
+ # Corresponds to the JSON property `path`
88
+ # @return [String]
89
+ attr_accessor :path
90
+
91
+ def initialize(**args)
92
+ update!(**args)
93
+ end
94
+
95
+ # Update properties of this object
96
+ def update!(**args)
97
+ @number = args[:number] if args.key?(:number)
98
+ @path = args[:path] if args.key?(:path)
99
+ end
100
+ end
101
+
102
+ # A generic empty message that you can re-use to avoid defining duplicated
103
+ # empty messages in your APIs. A typical example is to use it as the request
104
+ # or the response type of an API method. For instance:
105
+ # service Foo `
106
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
107
+ # `
108
+ # The JSON representation for `Empty` is empty JSON object ````.
109
+ class Empty
110
+ include Google::Apis::Core::Hashable
111
+
112
+ def initialize(**args)
113
+ update!(**args)
114
+ end
115
+
116
+ # Update properties of this object
117
+ def update!(**args)
118
+ end
119
+ end
120
+
121
+ # The condition that a Waiter resource is waiting for.
122
+ class EndCondition
123
+ include Google::Apis::Core::Hashable
124
+
125
+ # A Cardinality condition for the Waiter resource. A cardinality condition is
126
+ # met when the number of variables under a specified path prefix reaches a
127
+ # predefined number. For example, if you set a Cardinality condition where
128
+ # the `path` is set to `/foo` and the number of paths is set to 2, the
129
+ # following variables would meet the condition in a RuntimeConfig resource:
130
+ # + `/foo/variable1 = "value1"`
131
+ # + `/foo/variable2 = "value2"`
132
+ # + `/bar/variable3 = "value3"`
133
+ # It would not would not satisify the same condition with the `number` set to
134
+ # 3, however, because there is only 2 paths that start with `/foo`.
135
+ # Cardinality conditions are recursive; all subtrees under the specific
136
+ # path prefix are counted.
137
+ # Corresponds to the JSON property `cardinality`
138
+ # @return [Google::Apis::RuntimeconfigV1beta1::Cardinality]
139
+ attr_accessor :cardinality
140
+
141
+ def initialize(**args)
142
+ update!(**args)
143
+ end
144
+
145
+ # Update properties of this object
146
+ def update!(**args)
147
+ @cardinality = args[:cardinality] if args.key?(:cardinality)
148
+ end
149
+ end
150
+
151
+ # `ListConfigs()` returns the following response. The order of returned
152
+ # objects is arbitrary; that is, it is not ordered in any particular way.
153
+ class ListConfigsResponse
154
+ include Google::Apis::Core::Hashable
155
+
156
+ # A list of the configurations in the project. The order of returned
157
+ # objects is arbitrary; that is, it is not ordered in any particular way.
158
+ # Corresponds to the JSON property `configs`
159
+ # @return [Array<Google::Apis::RuntimeconfigV1beta1::RuntimeConfig>]
160
+ attr_accessor :configs
161
+
162
+ # This token allows you to get the next page of results for list requests.
163
+ # If the number of results is larger than `pageSize`, use the `nextPageToken`
164
+ # as a value for the query parameter `pageToken` in the next list request.
165
+ # Subsequent list requests will have their own `nextPageToken` to continue
166
+ # paging through the results
167
+ # Corresponds to the JSON property `nextPageToken`
168
+ # @return [String]
169
+ attr_accessor :next_page_token
170
+
171
+ def initialize(**args)
172
+ update!(**args)
173
+ end
174
+
175
+ # Update properties of this object
176
+ def update!(**args)
177
+ @configs = args[:configs] if args.key?(:configs)
178
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
179
+ end
180
+ end
181
+
182
+ # Response for the `ListVariables()` method.
183
+ class ListVariablesResponse
184
+ include Google::Apis::Core::Hashable
185
+
186
+ # This token allows you to get the next page of results for list requests.
187
+ # If the number of results is larger than `pageSize`, use the `nextPageToken`
188
+ # as a value for the query parameter `pageToken` in the next list request.
189
+ # Subsequent list requests will have their own `nextPageToken` to continue
190
+ # paging through the results
191
+ # Corresponds to the JSON property `nextPageToken`
192
+ # @return [String]
193
+ attr_accessor :next_page_token
194
+
195
+ # A list of variables and their values. The order of returned variable
196
+ # objects is arbitrary.
197
+ # Corresponds to the JSON property `variables`
198
+ # @return [Array<Google::Apis::RuntimeconfigV1beta1::Variable>]
199
+ attr_accessor :variables
200
+
201
+ def initialize(**args)
202
+ update!(**args)
203
+ end
204
+
205
+ # Update properties of this object
206
+ def update!(**args)
207
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
208
+ @variables = args[:variables] if args.key?(:variables)
209
+ end
210
+ end
211
+
212
+ # Response for the `ListWaiters()` method.
213
+ # Order of returned waiter objects is arbitrary.
214
+ class ListWaitersResponse
215
+ include Google::Apis::Core::Hashable
216
+
217
+ # This token allows you to get the next page of results for list requests.
218
+ # If the number of results is larger than `pageSize`, use the `nextPageToken`
219
+ # as a value for the query parameter `pageToken` in the next list request.
220
+ # Subsequent list requests will have their own `nextPageToken` to continue
221
+ # paging through the results
222
+ # Corresponds to the JSON property `nextPageToken`
223
+ # @return [String]
224
+ attr_accessor :next_page_token
225
+
226
+ # Found waiters in the project.
227
+ # Corresponds to the JSON property `waiters`
228
+ # @return [Array<Google::Apis::RuntimeconfigV1beta1::Waiter>]
229
+ attr_accessor :waiters
230
+
231
+ def initialize(**args)
232
+ update!(**args)
233
+ end
234
+
235
+ # Update properties of this object
236
+ def update!(**args)
237
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
238
+ @waiters = args[:waiters] if args.key?(:waiters)
239
+ end
240
+ end
241
+
242
+ # This resource represents a long-running operation that is the result of a
243
+ # network API call.
244
+ class Operation
245
+ include Google::Apis::Core::Hashable
246
+
247
+ # If the value is `false`, it means the operation is still in progress.
248
+ # If true, the operation is completed, and either `error` or `response` is
249
+ # available.
250
+ # Corresponds to the JSON property `done`
251
+ # @return [Boolean]
252
+ attr_accessor :done
253
+ alias_method :done?, :done
254
+
255
+ # The `Status` type defines a logical error model that is suitable for different
256
+ # programming environments, including REST APIs and RPC APIs. It is used by
257
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
258
+ # - Simple to use and understand for most users
259
+ # - Flexible enough to meet unexpected needs
260
+ # # Overview
261
+ # The `Status` message contains three pieces of data: error code, error message,
262
+ # and error details. The error code should be an enum value of
263
+ # google.rpc.Code, but it may accept additional error codes if needed. The
264
+ # error message should be a developer-facing English message that helps
265
+ # developers *understand* and *resolve* the error. If a localized user-facing
266
+ # error message is needed, put the localized message in the error details or
267
+ # localize it in the client. The optional error details may contain arbitrary
268
+ # information about the error. There is a predefined set of error detail types
269
+ # in the package `google.rpc` that can be used for common error conditions.
270
+ # # Language mapping
271
+ # The `Status` message is the logical representation of the error model, but it
272
+ # is not necessarily the actual wire format. When the `Status` message is
273
+ # exposed in different client libraries and different wire protocols, it can be
274
+ # mapped differently. For example, it will likely be mapped to some exceptions
275
+ # in Java, but more likely mapped to some error codes in C.
276
+ # # Other uses
277
+ # The error model and the `Status` message can be used in a variety of
278
+ # environments, either with or without APIs, to provide a
279
+ # consistent developer experience across different environments.
280
+ # Example uses of this error model include:
281
+ # - Partial errors. If a service needs to return partial errors to the client,
282
+ # it may embed the `Status` in the normal response to indicate the partial
283
+ # errors.
284
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
285
+ # have a `Status` message for error reporting.
286
+ # - Batch operations. If a client uses batch request and batch response, the
287
+ # `Status` message should be used directly inside batch response, one for
288
+ # each error sub-response.
289
+ # - Asynchronous operations. If an API call embeds asynchronous operation
290
+ # results in its response, the status of those operations should be
291
+ # represented directly using the `Status` message.
292
+ # - Logging. If some API errors are stored in logs, the message `Status` could
293
+ # be used directly after any stripping needed for security/privacy reasons.
294
+ # Corresponds to the JSON property `error`
295
+ # @return [Google::Apis::RuntimeconfigV1beta1::Status]
296
+ attr_accessor :error
297
+
298
+ # Service-specific metadata associated with the operation. It typically
299
+ # contains progress information and common metadata such as create time.
300
+ # Some services might not provide such metadata. Any method that returns a
301
+ # long-running operation should document the metadata type, if any.
302
+ # Corresponds to the JSON property `metadata`
303
+ # @return [Hash<String,Object>]
304
+ attr_accessor :metadata
305
+
306
+ # The server-assigned name, which is only unique within the same service that
307
+ # originally returns it. If you use the default HTTP mapping, the
308
+ # `name` should have the format of `operations/some/unique/name`.
309
+ # Corresponds to the JSON property `name`
310
+ # @return [String]
311
+ attr_accessor :name
312
+
313
+ # The normal response of the operation in case of success. If the original
314
+ # method returns no data on success, such as `Delete`, the response is
315
+ # `google.protobuf.Empty`. If the original method is standard
316
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
317
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
318
+ # is the original method name. For example, if the original method name
319
+ # is `TakeSnapshot()`, the inferred response type is
320
+ # `TakeSnapshotResponse`.
321
+ # Corresponds to the JSON property `response`
322
+ # @return [Hash<String,Object>]
323
+ attr_accessor :response
324
+
325
+ def initialize(**args)
326
+ update!(**args)
327
+ end
328
+
329
+ # Update properties of this object
330
+ def update!(**args)
331
+ @done = args[:done] if args.key?(:done)
332
+ @error = args[:error] if args.key?(:error)
333
+ @metadata = args[:metadata] if args.key?(:metadata)
334
+ @name = args[:name] if args.key?(:name)
335
+ @response = args[:response] if args.key?(:response)
336
+ end
337
+ end
338
+
339
+ # Defines an Identity and Access Management (IAM) policy. It is used to
340
+ # specify access control policies for Cloud Platform resources.
341
+ # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
342
+ # `members` to a `role`, where the members can be user accounts, Google groups,
343
+ # Google domains, and service accounts. A `role` is a named list of permissions
344
+ # defined by IAM.
345
+ # **Example**
346
+ # `
347
+ # "bindings": [
348
+ # `
349
+ # "role": "roles/owner",
350
+ # "members": [
351
+ # "user:mike@example.com",
352
+ # "group:admins@example.com",
353
+ # "domain:google.com",
354
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
355
+ # ]
356
+ # `,
357
+ # `
358
+ # "role": "roles/viewer",
359
+ # "members": ["user:sean@example.com"]
360
+ # `
361
+ # ]
362
+ # `
363
+ # For a description of IAM and its features, see the
364
+ # [IAM developer's guide](https://cloud.google.com/iam).
365
+ class Policy
366
+ include Google::Apis::Core::Hashable
367
+
368
+ # Associates a list of `members` to a `role`.
369
+ # `bindings` with no members will result in an error.
370
+ # Corresponds to the JSON property `bindings`
371
+ # @return [Array<Google::Apis::RuntimeconfigV1beta1::Binding>]
372
+ attr_accessor :bindings
373
+
374
+ # `etag` is used for optimistic concurrency control as a way to help
375
+ # prevent simultaneous updates of a policy from overwriting each other.
376
+ # It is strongly suggested that systems make use of the `etag` in the
377
+ # read-modify-write cycle to perform policy updates in order to avoid race
378
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
379
+ # systems are expected to put that etag in the request to `setIamPolicy` to
380
+ # ensure that their change will be applied to the same version of the policy.
381
+ # If no `etag` is provided in the call to `setIamPolicy`, then the existing
382
+ # policy is overwritten blindly.
383
+ # Corresponds to the JSON property `etag`
384
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
385
+ # @return [String]
386
+ attr_accessor :etag
387
+
388
+ # Version of the `Policy`. The default version is 0.
389
+ # Corresponds to the JSON property `version`
390
+ # @return [Fixnum]
391
+ attr_accessor :version
392
+
393
+ def initialize(**args)
394
+ update!(**args)
395
+ end
396
+
397
+ # Update properties of this object
398
+ def update!(**args)
399
+ @bindings = args[:bindings] if args.key?(:bindings)
400
+ @etag = args[:etag] if args.key?(:etag)
401
+ @version = args[:version] if args.key?(:version)
402
+ end
403
+ end
404
+
405
+ # A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig
406
+ # service. A RuntimeConfig resource consists of metadata and a hierarchy of
407
+ # variables.
408
+ class RuntimeConfig
409
+ include Google::Apis::Core::Hashable
410
+
411
+ # An optional description of the RuntimeConfig object.
412
+ # Corresponds to the JSON property `description`
413
+ # @return [String]
414
+ attr_accessor :description
415
+
416
+ # The resource name of a runtime config. The name must have the format:
417
+ # projects/[PROJECT_ID]/configs/[CONFIG_NAME]
418
+ # The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an
419
+ # arbitrary name that matches RFC 1035 segment specification. The length of
420
+ # `[CONFIG_NAME]` must be less than 64 bytes.
421
+ # You pick the RuntimeConfig resource name, but the server will validate that
422
+ # the name adheres to this format. After you create the resource, you cannot
423
+ # change the resource's name.
424
+ # Corresponds to the JSON property `name`
425
+ # @return [String]
426
+ attr_accessor :name
427
+
428
+ def initialize(**args)
429
+ update!(**args)
430
+ end
431
+
432
+ # Update properties of this object
433
+ def update!(**args)
434
+ @description = args[:description] if args.key?(:description)
435
+ @name = args[:name] if args.key?(:name)
436
+ end
437
+ end
438
+
439
+ # Request message for `SetIamPolicy` method.
440
+ class SetIamPolicyRequest
441
+ include Google::Apis::Core::Hashable
442
+
443
+ # Defines an Identity and Access Management (IAM) policy. It is used to
444
+ # specify access control policies for Cloud Platform resources.
445
+ # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
446
+ # `members` to a `role`, where the members can be user accounts, Google groups,
447
+ # Google domains, and service accounts. A `role` is a named list of permissions
448
+ # defined by IAM.
449
+ # **Example**
450
+ # `
451
+ # "bindings": [
452
+ # `
453
+ # "role": "roles/owner",
454
+ # "members": [
455
+ # "user:mike@example.com",
456
+ # "group:admins@example.com",
457
+ # "domain:google.com",
458
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
459
+ # ]
460
+ # `,
461
+ # `
462
+ # "role": "roles/viewer",
463
+ # "members": ["user:sean@example.com"]
464
+ # `
465
+ # ]
466
+ # `
467
+ # For a description of IAM and its features, see the
468
+ # [IAM developer's guide](https://cloud.google.com/iam).
469
+ # Corresponds to the JSON property `policy`
470
+ # @return [Google::Apis::RuntimeconfigV1beta1::Policy]
471
+ attr_accessor :policy
472
+
473
+ def initialize(**args)
474
+ update!(**args)
475
+ end
476
+
477
+ # Update properties of this object
478
+ def update!(**args)
479
+ @policy = args[:policy] if args.key?(:policy)
480
+ end
481
+ end
482
+
483
+ # The `Status` type defines a logical error model that is suitable for different
484
+ # programming environments, including REST APIs and RPC APIs. It is used by
485
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
486
+ # - Simple to use and understand for most users
487
+ # - Flexible enough to meet unexpected needs
488
+ # # Overview
489
+ # The `Status` message contains three pieces of data: error code, error message,
490
+ # and error details. The error code should be an enum value of
491
+ # google.rpc.Code, but it may accept additional error codes if needed. The
492
+ # error message should be a developer-facing English message that helps
493
+ # developers *understand* and *resolve* the error. If a localized user-facing
494
+ # error message is needed, put the localized message in the error details or
495
+ # localize it in the client. The optional error details may contain arbitrary
496
+ # information about the error. There is a predefined set of error detail types
497
+ # in the package `google.rpc` that can be used for common error conditions.
498
+ # # Language mapping
499
+ # The `Status` message is the logical representation of the error model, but it
500
+ # is not necessarily the actual wire format. When the `Status` message is
501
+ # exposed in different client libraries and different wire protocols, it can be
502
+ # mapped differently. For example, it will likely be mapped to some exceptions
503
+ # in Java, but more likely mapped to some error codes in C.
504
+ # # Other uses
505
+ # The error model and the `Status` message can be used in a variety of
506
+ # environments, either with or without APIs, to provide a
507
+ # consistent developer experience across different environments.
508
+ # Example uses of this error model include:
509
+ # - Partial errors. If a service needs to return partial errors to the client,
510
+ # it may embed the `Status` in the normal response to indicate the partial
511
+ # errors.
512
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
513
+ # have a `Status` message for error reporting.
514
+ # - Batch operations. If a client uses batch request and batch response, the
515
+ # `Status` message should be used directly inside batch response, one for
516
+ # each error sub-response.
517
+ # - Asynchronous operations. If an API call embeds asynchronous operation
518
+ # results in its response, the status of those operations should be
519
+ # represented directly using the `Status` message.
520
+ # - Logging. If some API errors are stored in logs, the message `Status` could
521
+ # be used directly after any stripping needed for security/privacy reasons.
522
+ class Status
523
+ include Google::Apis::Core::Hashable
524
+
525
+ # The status code, which should be an enum value of google.rpc.Code.
526
+ # Corresponds to the JSON property `code`
527
+ # @return [Fixnum]
528
+ attr_accessor :code
529
+
530
+ # A list of messages that carry the error details. There is a common set of
531
+ # message types for APIs to use.
532
+ # Corresponds to the JSON property `details`
533
+ # @return [Array<Hash<String,Object>>]
534
+ attr_accessor :details
535
+
536
+ # A developer-facing error message, which should be in English. Any
537
+ # user-facing error message should be localized and sent in the
538
+ # google.rpc.Status.details field, or localized by the client.
539
+ # Corresponds to the JSON property `message`
540
+ # @return [String]
541
+ attr_accessor :message
542
+
543
+ def initialize(**args)
544
+ update!(**args)
545
+ end
546
+
547
+ # Update properties of this object
548
+ def update!(**args)
549
+ @code = args[:code] if args.key?(:code)
550
+ @details = args[:details] if args.key?(:details)
551
+ @message = args[:message] if args.key?(:message)
552
+ end
553
+ end
554
+
555
+ # Request message for `TestIamPermissions` method.
556
+ class TestIamPermissionsRequest
557
+ include Google::Apis::Core::Hashable
558
+
559
+ # The set of permissions to check for the `resource`. Permissions with
560
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
561
+ # information see
562
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
563
+ # Corresponds to the JSON property `permissions`
564
+ # @return [Array<String>]
565
+ attr_accessor :permissions
566
+
567
+ def initialize(**args)
568
+ update!(**args)
569
+ end
570
+
571
+ # Update properties of this object
572
+ def update!(**args)
573
+ @permissions = args[:permissions] if args.key?(:permissions)
574
+ end
575
+ end
576
+
577
+ # Response message for `TestIamPermissions` method.
578
+ class TestIamPermissionsResponse
579
+ include Google::Apis::Core::Hashable
580
+
581
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
582
+ # allowed.
583
+ # Corresponds to the JSON property `permissions`
584
+ # @return [Array<String>]
585
+ attr_accessor :permissions
586
+
587
+ def initialize(**args)
588
+ update!(**args)
589
+ end
590
+
591
+ # Update properties of this object
592
+ def update!(**args)
593
+ @permissions = args[:permissions] if args.key?(:permissions)
594
+ end
595
+ end
596
+
597
+ # Describes a single variable within a RuntimeConfig resource.
598
+ # The name denotes the hierarchical variable name. For example,
599
+ # `ports/serving_port` is a valid variable name. The variable value is an
600
+ # opaque string and only leaf variables can have values (that is, variables
601
+ # that do not have any child variables).
602
+ class Variable
603
+ include Google::Apis::Core::Hashable
604
+
605
+ # The name of the variable resource, in the format:
606
+ # projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]
607
+ # The `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a
608
+ # valid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system
609
+ # file path naming.
610
+ # The `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and
611
+ # dashes. Slashes are used as path element separators and are not part of the
612
+ # `[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one
613
+ # non-slash character. Multiple slashes are coalesced into single slash
614
+ # character. Each path segment should follow RFC 1035 segment specification.
615
+ # The length of a `[VARIABLE_NAME]` must be less than 256 bytes.
616
+ # Once you create a variable, you cannot change the variable name.
617
+ # Corresponds to the JSON property `name`
618
+ # @return [String]
619
+ attr_accessor :name
620
+
621
+ # [Ouput only] The current state of the variable. The variable state indicates
622
+ # the outcome of the `variables().watch` call and is visible through the
623
+ # `get` and `list` calls.
624
+ # Corresponds to the JSON property `state`
625
+ # @return [String]
626
+ attr_accessor :state
627
+
628
+ # The string value of the variable. The length of the value must be less
629
+ # than 4096 bytes. Empty values are also accepted. For example,
630
+ # `text: "my text value"`. The string must be valid UTF-8.
631
+ # Corresponds to the JSON property `text`
632
+ # @return [String]
633
+ attr_accessor :text
634
+
635
+ # [Output Only] The time of the last variable update.
636
+ # Corresponds to the JSON property `updateTime`
637
+ # @return [String]
638
+ attr_accessor :update_time
639
+
640
+ # The binary value of the variable. The length of the value must be less
641
+ # than 4096 bytes. Empty values are also accepted. The value must be
642
+ # base64 encoded. Only one of `value` or `text` can be set.
643
+ # Corresponds to the JSON property `value`
644
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
645
+ # @return [String]
646
+ attr_accessor :value
647
+
648
+ def initialize(**args)
649
+ update!(**args)
650
+ end
651
+
652
+ # Update properties of this object
653
+ def update!(**args)
654
+ @name = args[:name] if args.key?(:name)
655
+ @state = args[:state] if args.key?(:state)
656
+ @text = args[:text] if args.key?(:text)
657
+ @update_time = args[:update_time] if args.key?(:update_time)
658
+ @value = args[:value] if args.key?(:value)
659
+ end
660
+ end
661
+
662
+ # A Waiter resource waits for some end condition within a RuntimeConfig resource
663
+ # to be met before it returns. For example, assume you have a distributed
664
+ # system where each node writes to a Variable resource indidicating the node's
665
+ # readiness as part of the startup process.
666
+ # You then configure a Waiter resource with the success condition set to wait
667
+ # until some number of nodes have checked in. Afterwards, your application
668
+ # runs some arbitrary code after the condition has been met and the waiter
669
+ # returns successfully.
670
+ # Once created, a Waiter resource is immutable.
671
+ # To learn more about using waiters, read the
672
+ # [Creating a Waiter](/deployment-manager/runtime-configurator/creating-a-waiter)
673
+ # documentation.
674
+ class Waiter
675
+ include Google::Apis::Core::Hashable
676
+
677
+ # [Output Only] The instant at which this Waiter resource was created. Adding
678
+ # the value of `timeout` to this instant yields the timeout deadline for the
679
+ # waiter.
680
+ # Corresponds to the JSON property `createTime`
681
+ # @return [String]
682
+ attr_accessor :create_time
683
+
684
+ # [Output Only] If the value is `false`, it means the waiter is still waiting
685
+ # for one of its conditions to be met.
686
+ # If true, the waiter has finished. If the waiter finished due to a timeout
687
+ # or failure, `error` will be set.
688
+ # Corresponds to the JSON property `done`
689
+ # @return [Boolean]
690
+ attr_accessor :done
691
+ alias_method :done?, :done
692
+
693
+ # The `Status` type defines a logical error model that is suitable for different
694
+ # programming environments, including REST APIs and RPC APIs. It is used by
695
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
696
+ # - Simple to use and understand for most users
697
+ # - Flexible enough to meet unexpected needs
698
+ # # Overview
699
+ # The `Status` message contains three pieces of data: error code, error message,
700
+ # and error details. The error code should be an enum value of
701
+ # google.rpc.Code, but it may accept additional error codes if needed. The
702
+ # error message should be a developer-facing English message that helps
703
+ # developers *understand* and *resolve* the error. If a localized user-facing
704
+ # error message is needed, put the localized message in the error details or
705
+ # localize it in the client. The optional error details may contain arbitrary
706
+ # information about the error. There is a predefined set of error detail types
707
+ # in the package `google.rpc` that can be used for common error conditions.
708
+ # # Language mapping
709
+ # The `Status` message is the logical representation of the error model, but it
710
+ # is not necessarily the actual wire format. When the `Status` message is
711
+ # exposed in different client libraries and different wire protocols, it can be
712
+ # mapped differently. For example, it will likely be mapped to some exceptions
713
+ # in Java, but more likely mapped to some error codes in C.
714
+ # # Other uses
715
+ # The error model and the `Status` message can be used in a variety of
716
+ # environments, either with or without APIs, to provide a
717
+ # consistent developer experience across different environments.
718
+ # Example uses of this error model include:
719
+ # - Partial errors. If a service needs to return partial errors to the client,
720
+ # it may embed the `Status` in the normal response to indicate the partial
721
+ # errors.
722
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
723
+ # have a `Status` message for error reporting.
724
+ # - Batch operations. If a client uses batch request and batch response, the
725
+ # `Status` message should be used directly inside batch response, one for
726
+ # each error sub-response.
727
+ # - Asynchronous operations. If an API call embeds asynchronous operation
728
+ # results in its response, the status of those operations should be
729
+ # represented directly using the `Status` message.
730
+ # - Logging. If some API errors are stored in logs, the message `Status` could
731
+ # be used directly after any stripping needed for security/privacy reasons.
732
+ # Corresponds to the JSON property `error`
733
+ # @return [Google::Apis::RuntimeconfigV1beta1::Status]
734
+ attr_accessor :error
735
+
736
+ # The condition that a Waiter resource is waiting for.
737
+ # Corresponds to the JSON property `failure`
738
+ # @return [Google::Apis::RuntimeconfigV1beta1::EndCondition]
739
+ attr_accessor :failure
740
+
741
+ # The name of the Waiter resource, in the format:
742
+ # projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]
743
+ # The `[PROJECT_ID]` must be a valid Google Cloud project ID,
744
+ # the `[CONFIG_NAME]` must be a valid RuntimeConfig resource, the
745
+ # `[WAITER_NAME]` must match RFC 1035 segment specification, and the length
746
+ # of `[WAITER_NAME]` must be less than 64 bytes.
747
+ # After you create a Waiter resource, you cannot change the resource name.
748
+ # Corresponds to the JSON property `name`
749
+ # @return [String]
750
+ attr_accessor :name
751
+
752
+ # The condition that a Waiter resource is waiting for.
753
+ # Corresponds to the JSON property `success`
754
+ # @return [Google::Apis::RuntimeconfigV1beta1::EndCondition]
755
+ attr_accessor :success
756
+
757
+ # [Required] Specifies the timeout of the waiter in seconds, beginning from
758
+ # the instant that `waiters().create` method is called. If this time elapses
759
+ # before the success or failure conditions are met, the waiter fails and sets
760
+ # the `error` code to `DEADLINE_EXCEEDED`.
761
+ # Corresponds to the JSON property `timeout`
762
+ # @return [String]
763
+ attr_accessor :timeout
764
+
765
+ def initialize(**args)
766
+ update!(**args)
767
+ end
768
+
769
+ # Update properties of this object
770
+ def update!(**args)
771
+ @create_time = args[:create_time] if args.key?(:create_time)
772
+ @done = args[:done] if args.key?(:done)
773
+ @error = args[:error] if args.key?(:error)
774
+ @failure = args[:failure] if args.key?(:failure)
775
+ @name = args[:name] if args.key?(:name)
776
+ @success = args[:success] if args.key?(:success)
777
+ @timeout = args[:timeout] if args.key?(:timeout)
778
+ end
779
+ end
780
+
781
+ # Request for the `WatchVariable()` method.
782
+ class WatchVariableRequest
783
+ include Google::Apis::Core::Hashable
784
+
785
+ # If specified, checks the current timestamp of the variable and if the
786
+ # current timestamp is newer than `newerThan` timestamp, the method returns
787
+ # immediately.
788
+ # If not specified or the variable has an older timestamp, the watcher waits
789
+ # for a the value to change before returning.
790
+ # Corresponds to the JSON property `newerThan`
791
+ # @return [String]
792
+ attr_accessor :newer_than
793
+
794
+ def initialize(**args)
795
+ update!(**args)
796
+ end
797
+
798
+ # Update properties of this object
799
+ def update!(**args)
800
+ @newer_than = args[:newer_than] if args.key?(:newer_than)
801
+ end
802
+ end
803
+ end
804
+ end
805
+ end