google-api-client 0.20.1 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (451) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +140 -0
  3. data/README.md +3 -12
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +1 -0
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +11 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  10. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +24 -40
  12. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +66 -110
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +117 -195
  15. data/generated/google/apis/adexchangeseller_v1.rb +1 -1
  16. data/generated/google/apis/adexchangeseller_v1/service.rb +36 -60
  17. data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
  18. data/generated/google/apis/adexchangeseller_v1_1/service.rb +54 -90
  19. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  20. data/generated/google/apis/adexchangeseller_v2_0/service.rb +45 -75
  21. data/generated/google/apis/adexperiencereport_v1.rb +2 -2
  22. data/generated/google/apis/adexperiencereport_v1/classes.rb +1 -0
  23. data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
  24. data/generated/google/apis/admin_datatransfer_v1/service.rb +18 -30
  25. data/generated/google/apis/admin_directory_v1.rb +3 -3
  26. data/generated/google/apis/admin_directory_v1/classes.rb +18 -0
  27. data/generated/google/apis/admin_directory_v1/representations.rb +3 -0
  28. data/generated/google/apis/admin_directory_v1/service.rb +363 -577
  29. data/generated/google/apis/admin_reports_v1.rb +1 -1
  30. data/generated/google/apis/admin_reports_v1/service.rb +21 -35
  31. data/generated/google/apis/adsense_v1_4.rb +1 -1
  32. data/generated/google/apis/adsense_v1_4/service.rb +117 -195
  33. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  34. data/generated/google/apis/adsensehost_v4_1/service.rb +81 -135
  35. data/generated/google/apis/analytics_v2_4.rb +1 -1
  36. data/generated/google/apis/analytics_v2_4/service.rb +21 -35
  37. data/generated/google/apis/analytics_v3.rb +1 -1
  38. data/generated/google/apis/analytics_v3/classes.rb +32 -60
  39. data/generated/google/apis/analytics_v3/representations.rb +8 -12
  40. data/generated/google/apis/analytics_v3/service.rb +261 -435
  41. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  42. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -1
  43. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  44. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -12
  45. data/generated/google/apis/androidenterprise_v1/service.rb +254 -425
  46. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  47. data/generated/google/apis/androidmanagement_v1/classes.rb +38 -6
  48. data/generated/google/apis/androidmanagement_v1/representations.rb +18 -0
  49. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  50. data/generated/google/apis/androidpublisher_v1/service.rb +9 -15
  51. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  52. data/generated/google/apis/androidpublisher_v1_1/service.rb +12 -20
  53. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  54. data/generated/google/apis/androidpublisher_v2/classes.rb +102 -1
  55. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -0
  56. data/generated/google/apis/androidpublisher_v2/service.rb +255 -286
  57. data/generated/google/apis/androidpublisher_v3.rb +34 -0
  58. data/generated/google/apis/androidpublisher_v3/classes.rb +1899 -0
  59. data/generated/google/apis/androidpublisher_v3/representations.rb +882 -0
  60. data/generated/google/apis/androidpublisher_v3/service.rb +2208 -0
  61. data/generated/google/apis/appsactivity_v1.rb +1 -1
  62. data/generated/google/apis/appsactivity_v1/service.rb +6 -10
  63. data/generated/google/apis/appsmarket_v2/service.rb +12 -20
  64. data/generated/google/apis/appstate_v1.rb +1 -1
  65. data/generated/google/apis/appstate_v1/service.rb +18 -30
  66. data/generated/google/apis/bigquery_v2.rb +1 -1
  67. data/generated/google/apis/bigquery_v2/classes.rb +67 -9
  68. data/generated/google/apis/bigquery_v2/representations.rb +22 -0
  69. data/generated/google/apis/bigquery_v2/service.rb +69 -115
  70. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  71. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -2
  72. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +2 -2
  73. data/generated/google/apis/blogger_v2/service.rb +30 -50
  74. data/generated/google/apis/blogger_v3/service.rb +102 -170
  75. data/generated/google/apis/books_v1.rb +1 -1
  76. data/generated/google/apis/books_v1/service.rb +156 -260
  77. data/generated/google/apis/calendar_v3.rb +1 -1
  78. data/generated/google/apis/calendar_v3/service.rb +114 -190
  79. data/generated/google/apis/chat_v1.rb +1 -1
  80. data/generated/google/apis/chat_v1/classes.rb +6 -0
  81. data/generated/google/apis/chat_v1/representations.rb +1 -0
  82. data/generated/google/apis/civicinfo_v2/service.rb +18 -30
  83. data/generated/google/apis/classroom_v1.rb +1 -1
  84. data/generated/google/apis/classroom_v1/classes.rb +0 -69
  85. data/generated/google/apis/classroom_v1/representations.rb +0 -31
  86. data/generated/google/apis/classroom_v1/service.rb +0 -88
  87. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  88. data/generated/google/apis/cloudbilling_v1/classes.rb +0 -1
  89. data/generated/google/apis/cloudbilling_v1/service.rb +2 -1
  90. data/generated/google/apis/cloudfunctions_v1.rb +3 -4
  91. data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
  92. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  93. data/generated/google/apis/cloudfunctions_v1/service.rb +3 -4
  94. data/generated/google/apis/cloudfunctions_v1beta2.rb +3 -4
  95. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +14 -0
  96. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +2 -0
  97. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +3 -4
  98. data/generated/google/apis/cloudiot_v1.rb +1 -1
  99. data/generated/google/apis/cloudiot_v1/classes.rb +29 -7
  100. data/generated/google/apis/cloudiot_v1/service.rb +398 -1
  101. data/generated/google/apis/cloudkms_v1.rb +2 -2
  102. data/generated/google/apis/cloudkms_v1/classes.rb +29 -7
  103. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  105. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +30 -8
  106. data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -3
  107. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  108. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +29 -7
  109. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +29 -7
  111. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +29 -7
  113. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  114. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +39 -10
  115. data/generated/google/apis/cloudtasks_v2beta2/service.rb +9 -11
  116. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  117. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  118. data/generated/google/apis/{dlp_v2beta1.rb → composer_v1beta1.rb} +9 -11
  119. data/generated/google/apis/composer_v1beta1/classes.rb +643 -0
  120. data/generated/google/apis/composer_v1beta1/representations.rb +195 -0
  121. data/generated/google/apis/composer_v1beta1/service.rb +462 -0
  122. data/generated/google/apis/compute_alpha.rb +1 -1
  123. data/generated/google/apis/compute_alpha/classes.rb +3939 -2239
  124. data/generated/google/apis/compute_alpha/representations.rb +1063 -335
  125. data/generated/google/apis/compute_alpha/service.rb +3532 -3368
  126. data/generated/google/apis/compute_beta.rb +1 -1
  127. data/generated/google/apis/compute_beta/classes.rb +150 -53
  128. data/generated/google/apis/compute_beta/representations.rb +23 -0
  129. data/generated/google/apis/compute_beta/service.rb +1269 -2077
  130. data/generated/google/apis/compute_v1.rb +1 -1
  131. data/generated/google/apis/compute_v1/classes.rb +46 -43
  132. data/generated/google/apis/compute_v1/service.rb +1022 -1666
  133. data/generated/google/apis/container_v1.rb +2 -2
  134. data/generated/google/apis/container_v1/classes.rb +20 -15
  135. data/generated/google/apis/container_v1/representations.rb +1 -0
  136. data/generated/google/apis/container_v1/service.rb +33 -31
  137. data/generated/google/apis/container_v1beta1.rb +2 -2
  138. data/generated/google/apis/container_v1beta1/classes.rb +186 -14
  139. data/generated/google/apis/container_v1beta1/representations.rb +77 -0
  140. data/generated/google/apis/container_v1beta1/service.rb +111 -31
  141. data/generated/google/apis/content_v2.rb +1 -1
  142. data/generated/google/apis/content_v2/classes.rb +173 -8
  143. data/generated/google/apis/content_v2/representations.rb +71 -0
  144. data/generated/google/apis/content_v2/service.rb +246 -410
  145. data/generated/google/apis/content_v2sandbox.rb +1 -1
  146. data/generated/google/apis/content_v2sandbox/classes.rb +75 -8
  147. data/generated/google/apis/content_v2sandbox/representations.rb +33 -0
  148. data/generated/google/apis/content_v2sandbox/service.rb +63 -105
  149. data/generated/google/apis/customsearch_v1.rb +1 -1
  150. data/generated/google/apis/customsearch_v1/service.rb +9 -15
  151. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  152. data/generated/google/apis/dataflow_v1b3/classes.rb +15 -0
  153. data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
  154. data/generated/google/apis/dataproc_v1.rb +2 -2
  155. data/generated/google/apis/dataproc_v1/classes.rb +6 -6
  156. data/generated/google/apis/dataproc_v1/service.rb +1 -1
  157. data/generated/google/apis/dataproc_v1beta2.rb +2 -2
  158. data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -13
  159. data/generated/google/apis/dataproc_v1beta2/representations.rb +12 -0
  160. data/generated/google/apis/dataproc_v1beta2/service.rb +1 -1
  161. data/generated/google/apis/datastore_v1.rb +2 -2
  162. data/generated/google/apis/datastore_v1/service.rb +1 -1
  163. data/generated/google/apis/datastore_v1beta1.rb +2 -2
  164. data/generated/google/apis/datastore_v1beta1/service.rb +1 -1
  165. data/generated/google/apis/datastore_v1beta3.rb +2 -2
  166. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  167. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  168. data/generated/google/apis/deploymentmanager_alpha/classes.rb +60 -5
  169. data/generated/google/apis/deploymentmanager_alpha/representations.rb +17 -0
  170. data/generated/google/apis/deploymentmanager_alpha/service.rb +118 -194
  171. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  172. data/generated/google/apis/deploymentmanager_v2/classes.rb +60 -5
  173. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -0
  174. data/generated/google/apis/deploymentmanager_v2/service.rb +61 -99
  175. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  176. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +60 -5
  177. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +17 -0
  178. data/generated/google/apis/deploymentmanager_v2beta/service.rb +103 -169
  179. data/generated/google/apis/dfareporting_v2_8/service.rb +618 -1030
  180. data/generated/google/apis/dfareporting_v3_0/service.rb +615 -1025
  181. data/generated/google/apis/dialogflow_v2.rb +1 -1
  182. data/generated/google/apis/dialogflow_v2/classes.rb +94 -24
  183. data/generated/google/apis/dialogflow_v2/representations.rb +13 -0
  184. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  185. data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -24
  186. data/generated/google/apis/dialogflow_v2beta1/representations.rb +13 -0
  187. data/generated/google/apis/discovery_v1/service.rb +9 -15
  188. data/generated/google/apis/dlp_v2.rb +1 -1
  189. data/generated/google/apis/dlp_v2/classes.rb +116 -1572
  190. data/generated/google/apis/dlp_v2/representations.rb +673 -1405
  191. data/generated/google/apis/dlp_v2/service.rb +24 -24
  192. data/generated/google/apis/dns_v1.rb +1 -1
  193. data/generated/google/apis/dns_v1/classes.rb +7 -0
  194. data/generated/google/apis/dns_v1/representations.rb +1 -0
  195. data/generated/google/apis/dns_v1/service.rb +49 -81
  196. data/generated/google/apis/dns_v1beta2.rb +1 -1
  197. data/generated/google/apis/dns_v1beta2/classes.rb +7 -0
  198. data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
  199. data/generated/google/apis/dns_v1beta2/service.rb +49 -81
  200. data/generated/google/apis/dns_v2beta1.rb +1 -1
  201. data/generated/google/apis/dns_v2beta1/classes.rb +7 -0
  202. data/generated/google/apis/dns_v2beta1/representations.rb +1 -0
  203. data/generated/google/apis/dns_v2beta1/service.rb +49 -81
  204. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +30 -50
  205. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  206. data/generated/google/apis/doubleclicksearch_v2/service.rb +33 -55
  207. data/generated/google/apis/drive_v2.rb +1 -1
  208. data/generated/google/apis/drive_v2/service.rb +205 -341
  209. data/generated/google/apis/drive_v3.rb +1 -1
  210. data/generated/google/apis/drive_v3/service.rb +120 -200
  211. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  212. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  213. data/generated/google/apis/firestore_v1beta1.rb +2 -2
  214. data/generated/google/apis/firestore_v1beta1/service.rb +1 -1
  215. data/generated/google/apis/fitness_v1/service.rb +45 -75
  216. data/generated/google/apis/fusiontables_v1.rb +1 -1
  217. data/generated/google/apis/fusiontables_v1/service.rb +99 -165
  218. data/generated/google/apis/fusiontables_v2/service.rb +105 -175
  219. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  220. data/generated/google/apis/games_configuration_v1configuration/service.rb +42 -70
  221. data/generated/google/apis/games_management_v1management.rb +1 -1
  222. data/generated/google/apis/games_management_v1management/service.rb +84 -140
  223. data/generated/google/apis/games_v1.rb +1 -1
  224. data/generated/google/apis/games_v1/service.rb +162 -270
  225. data/generated/google/apis/genomics_v1.rb +1 -1
  226. data/generated/google/apis/genomics_v1/classes.rb +41 -7
  227. data/generated/google/apis/genomics_v1/representations.rb +1 -0
  228. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  229. data/generated/google/apis/genomics_v1alpha2/classes.rb +12 -0
  230. data/generated/google/apis/genomics_v1alpha2/representations.rb +1 -0
  231. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  232. data/generated/google/apis/genomics_v2alpha1/classes.rb +70 -0
  233. data/generated/google/apis/genomics_v2alpha1/representations.rb +20 -0
  234. data/generated/google/apis/gmail_v1/service.rb +189 -315
  235. data/generated/google/apis/groupsmigration_v1/service.rb +6 -10
  236. data/generated/google/apis/groupssettings_v1/service.rb +12 -20
  237. data/generated/google/apis/iam_v1.rb +2 -2
  238. data/generated/google/apis/iam_v1/classes.rb +29 -7
  239. data/generated/google/apis/iam_v1/service.rb +1 -1
  240. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  241. data/generated/google/apis/identitytoolkit_v3/service.rb +63 -105
  242. data/generated/google/apis/jobs_v2.rb +38 -0
  243. data/generated/google/apis/jobs_v2/classes.rb +3378 -0
  244. data/generated/google/apis/jobs_v2/representations.rb +1067 -0
  245. data/generated/google/apis/jobs_v2/service.rb +754 -0
  246. data/generated/google/apis/licensing_v1/service.rb +24 -40
  247. data/generated/google/apis/logging_v2.rb +1 -1
  248. data/generated/google/apis/logging_v2/classes.rb +55 -5
  249. data/generated/google/apis/logging_v2/representations.rb +16 -0
  250. data/generated/google/apis/logging_v2/service.rb +6 -4
  251. data/generated/google/apis/logging_v2beta1.rb +1 -1
  252. data/generated/google/apis/logging_v2beta1/classes.rb +55 -5
  253. data/generated/google/apis/logging_v2beta1/representations.rb +16 -0
  254. data/generated/google/apis/logging_v2beta1/service.rb +6 -4
  255. data/generated/google/apis/mirror_v1.rb +1 -1
  256. data/generated/google/apis/mirror_v1/service.rb +75 -125
  257. data/generated/google/apis/ml_v1.rb +1 -1
  258. data/generated/google/apis/ml_v1/classes.rb +65 -28
  259. data/generated/google/apis/ml_v1/representations.rb +1 -0
  260. data/generated/google/apis/ml_v1/service.rb +2 -2
  261. data/generated/google/apis/oauth2_v1.rb +1 -1
  262. data/generated/google/apis/oauth2_v1/service.rb +27 -45
  263. data/generated/google/apis/oauth2_v2.rb +1 -1
  264. data/generated/google/apis/oauth2_v2/service.rb +15 -25
  265. data/generated/google/apis/oslogin_v1.rb +1 -1
  266. data/generated/google/apis/oslogin_v1/classes.rb +6 -0
  267. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  268. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  269. data/generated/google/apis/oslogin_v1alpha/classes.rb +7 -1
  270. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  271. data/generated/google/apis/oslogin_v1alpha/service.rb +4 -1
  272. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  273. data/generated/google/apis/oslogin_v1beta/classes.rb +6 -0
  274. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  275. data/generated/google/apis/pagespeedonline_v1.rb +1 -1
  276. data/generated/google/apis/pagespeedonline_v1/service.rb +6 -10
  277. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  278. data/generated/google/apis/pagespeedonline_v2/service.rb +6 -10
  279. data/generated/google/apis/pagespeedonline_v4/service.rb +6 -10
  280. data/generated/google/apis/photoslibrary_v1.rb +49 -0
  281. data/generated/google/apis/photoslibrary_v1/classes.rb +1330 -0
  282. data/generated/google/apis/photoslibrary_v1/representations.rb +625 -0
  283. data/generated/google/apis/photoslibrary_v1/service.rb +399 -0
  284. data/generated/google/apis/playcustomapp_v1/service.rb +6 -10
  285. data/generated/google/apis/plus_domains_v1.rb +1 -1
  286. data/generated/google/apis/plus_domains_v1/service.rb +63 -105
  287. data/generated/google/apis/plus_v1.rb +1 -1
  288. data/generated/google/apis/plus_v1/service.rb +30 -50
  289. data/generated/google/apis/pubsub_v1.rb +2 -2
  290. data/generated/google/apis/pubsub_v1/classes.rb +29 -7
  291. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  292. data/generated/google/apis/pubsub_v1beta1a.rb +2 -2
  293. data/generated/google/apis/pubsub_v1beta1a/service.rb +1 -1
  294. data/generated/google/apis/pubsub_v1beta2.rb +2 -2
  295. data/generated/google/apis/pubsub_v1beta2/classes.rb +29 -7
  296. data/generated/google/apis/pubsub_v1beta2/service.rb +1 -1
  297. data/generated/google/apis/{dlp_v2beta2.rb → redis_v1beta1.rb} +10 -11
  298. data/generated/google/apis/redis_v1beta1/classes.rb +681 -0
  299. data/generated/google/apis/redis_v1beta1/representations.rb +240 -0
  300. data/generated/google/apis/redis_v1beta1/service.rb +426 -0
  301. data/generated/google/apis/replicapool_v1beta1/service.rb +33 -55
  302. data/generated/google/apis/replicapool_v1beta2/service.rb +39 -65
  303. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +33 -55
  304. data/generated/google/apis/reseller_v1/service.rb +54 -90
  305. data/generated/google/apis/resourceviews_v1beta1/service.rb +45 -75
  306. data/generated/google/apis/resourceviews_v1beta2/service.rb +36 -60
  307. data/generated/google/apis/runtimeconfig_v1.rb +2 -2
  308. data/generated/google/apis/runtimeconfig_v1/service.rb +1 -1
  309. data/generated/google/apis/runtimeconfig_v1beta1.rb +2 -2
  310. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +28 -6
  311. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
  312. data/generated/google/apis/script_v1.rb +8 -2
  313. data/generated/google/apis/script_v1/classes.rb +3 -3
  314. data/generated/google/apis/script_v1/service.rb +8 -2
  315. data/generated/google/apis/servicebroker_v1.rb +36 -0
  316. data/generated/google/apis/servicebroker_v1/classes.rb +240 -0
  317. data/generated/google/apis/servicebroker_v1/representations.rb +96 -0
  318. data/generated/google/apis/servicebroker_v1/service.rb +168 -0
  319. data/generated/google/apis/servicebroker_v1alpha1.rb +36 -0
  320. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +939 -0
  321. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +348 -0
  322. data/generated/google/apis/servicebroker_v1alpha1/service.rb +728 -0
  323. data/generated/google/apis/servicebroker_v1beta1.rb +36 -0
  324. data/generated/google/apis/servicebroker_v1beta1/classes.rb +1046 -0
  325. data/generated/google/apis/servicebroker_v1beta1/representations.rb +393 -0
  326. data/generated/google/apis/servicebroker_v1beta1/service.rb +917 -0
  327. data/generated/google/apis/servicecontrol_v1.rb +2 -2
  328. data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
  329. data/generated/google/apis/servicecontrol_v1/service.rb +1 -1
  330. data/generated/google/apis/servicemanagement_v1.rb +2 -2
  331. data/generated/google/apis/servicemanagement_v1/classes.rb +29 -7
  332. data/generated/google/apis/servicemanagement_v1/service.rb +1 -1
  333. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  334. data/generated/google/apis/serviceusage_v1beta1/classes.rb +299 -0
  335. data/generated/google/apis/serviceusage_v1beta1/representations.rb +101 -0
  336. data/generated/google/apis/sheets_v4.rb +1 -1
  337. data/generated/google/apis/sheets_v4/classes.rb +421 -0
  338. data/generated/google/apis/sheets_v4/representations.rb +120 -0
  339. data/generated/google/apis/site_verification_v1/service.rb +24 -40
  340. data/generated/google/apis/slides_v1.rb +1 -1
  341. data/generated/google/apis/slides_v1/classes.rb +6 -2
  342. data/generated/google/apis/spanner_v1.rb +1 -1
  343. data/generated/google/apis/spanner_v1/classes.rb +39 -12
  344. data/generated/google/apis/spanner_v1/service.rb +2 -2
  345. data/generated/google/apis/spectrum_v1explorer.rb +1 -1
  346. data/generated/google/apis/spectrum_v1explorer/service.rb +21 -35
  347. data/generated/google/apis/speech_v1.rb +1 -1
  348. data/generated/google/apis/speech_v1/classes.rb +12 -0
  349. data/generated/google/apis/speech_v1/representations.rb +1 -0
  350. data/generated/google/apis/sqladmin_v1beta3.rb +1 -1
  351. data/generated/google/apis/sqladmin_v1beta3/service.rb +75 -125
  352. data/generated/google/apis/sqladmin_v1beta4/service.rb +126 -210
  353. data/generated/google/apis/storage_v1.rb +1 -1
  354. data/generated/google/apis/storage_v1/classes.rb +3 -6
  355. data/generated/google/apis/storage_v1/service.rb +144 -240
  356. data/generated/google/apis/storage_v1beta1.rb +1 -1
  357. data/generated/google/apis/storage_v1beta1/service.rb +75 -125
  358. data/generated/google/apis/storage_v1beta2.rb +1 -1
  359. data/generated/google/apis/storage_v1beta2/service.rb +105 -175
  360. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  361. data/generated/google/apis/storagetransfer_v1/classes.rb +4 -3
  362. data/generated/google/apis/surveys_v2.rb +1 -1
  363. data/generated/google/apis/surveys_v2/classes.rb +19 -122
  364. data/generated/google/apis/surveys_v2/representations.rb +0 -38
  365. data/generated/google/apis/surveys_v2/service.rb +27 -157
  366. data/generated/google/apis/tagmanager_v1/service.rb +153 -255
  367. data/generated/google/apis/tagmanager_v2/service.rb +222 -370
  368. data/generated/google/apis/tasks_v1/service.rb +45 -75
  369. data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
  370. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  371. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  372. data/generated/google/apis/toolresults_v1beta3/service.rb +75 -125
  373. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  374. data/generated/google/apis/urlshortener_v1/service.rb +12 -20
  375. data/generated/google/apis/vault_v1.rb +2 -2
  376. data/generated/google/apis/vault_v1/service.rb +1 -1
  377. data/generated/google/apis/videointelligence_v1.rb +34 -0
  378. data/generated/google/apis/videointelligence_v1/classes.rb +2149 -0
  379. data/generated/google/apis/videointelligence_v1/representations.rb +972 -0
  380. data/generated/google/apis/videointelligence_v1/service.rb +246 -0
  381. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  382. data/generated/google/apis/videointelligence_v1beta1/classes.rb +18 -18
  383. data/generated/google/apis/{taskqueue_v1beta2.rb → videointelligence_v1beta2.rb} +10 -13
  384. data/generated/google/apis/videointelligence_v1beta2/classes.rb +2092 -0
  385. data/generated/google/apis/videointelligence_v1beta2/representations.rb +933 -0
  386. data/generated/google/apis/videointelligence_v1beta2/service.rb +92 -0
  387. data/generated/google/apis/vision_v1.rb +1 -1
  388. data/generated/google/apis/vision_v1/classes.rb +1441 -62
  389. data/generated/google/apis/vision_v1/representations.rb +582 -0
  390. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  391. data/generated/google/apis/vision_v1p1beta1/classes.rb +1441 -62
  392. data/generated/google/apis/vision_v1p1beta1/representations.rb +582 -0
  393. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  394. data/generated/google/apis/vision_v1p2beta1/classes.rb +63 -3
  395. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  396. data/generated/google/apis/webfonts_v1/service.rb +6 -10
  397. data/generated/google/apis/webmasters_v3/service.rb +42 -70
  398. data/generated/google/apis/websecurityscanner_v1alpha.rb +34 -0
  399. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +760 -0
  400. data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +354 -0
  401. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +548 -0
  402. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  403. data/generated/google/apis/youtube_analytics_v1/service.rb +27 -45
  404. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  405. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +27 -45
  406. data/generated/google/apis/youtube_analytics_v2.rb +46 -0
  407. data/generated/google/apis/youtube_analytics_v2/classes.rb +532 -0
  408. data/generated/google/apis/youtube_analytics_v2/representations.rb +232 -0
  409. data/generated/google/apis/youtube_analytics_v2/service.rb +478 -0
  410. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  411. data/generated/google/apis/youtube_partner_v1/service.rb +225 -375
  412. data/generated/google/apis/youtube_v3.rb +1 -1
  413. data/generated/google/apis/youtube_v3/classes.rb +0 -168
  414. data/generated/google/apis/youtube_v3/representations.rb +0 -62
  415. data/generated/google/apis/youtube_v3/service.rb +216 -415
  416. data/lib/google/apis/generator/helpers.rb +3 -1
  417. data/lib/google/apis/version.rb +1 -1
  418. metadata +50 -38
  419. data/generated/google/apis/dlp_v2beta1/classes.rb +0 -3820
  420. data/generated/google/apis/dlp_v2beta1/representations.rb +0 -1879
  421. data/generated/google/apis/dlp_v2beta1/service.rb +0 -603
  422. data/generated/google/apis/dlp_v2beta2/classes.rb +0 -6386
  423. data/generated/google/apis/dlp_v2beta2/representations.rb +0 -3085
  424. data/generated/google/apis/dlp_v2beta2/service.rb +0 -1332
  425. data/generated/google/apis/prediction_v1_2.rb +0 -44
  426. data/generated/google/apis/prediction_v1_2/classes.rb +0 -237
  427. data/generated/google/apis/prediction_v1_2/representations.rb +0 -133
  428. data/generated/google/apis/prediction_v1_2/service.rb +0 -287
  429. data/generated/google/apis/prediction_v1_3.rb +0 -44
  430. data/generated/google/apis/prediction_v1_3/classes.rb +0 -286
  431. data/generated/google/apis/prediction_v1_3/representations.rb +0 -139
  432. data/generated/google/apis/prediction_v1_3/service.rb +0 -284
  433. data/generated/google/apis/prediction_v1_4.rb +0 -44
  434. data/generated/google/apis/prediction_v1_4/classes.rb +0 -336
  435. data/generated/google/apis/prediction_v1_4/representations.rb +0 -158
  436. data/generated/google/apis/prediction_v1_4/service.rb +0 -284
  437. data/generated/google/apis/prediction_v1_5.rb +0 -44
  438. data/generated/google/apis/prediction_v1_5/classes.rb +0 -708
  439. data/generated/google/apis/prediction_v1_5/representations.rb +0 -352
  440. data/generated/google/apis/prediction_v1_5/service.rb +0 -357
  441. data/generated/google/apis/prediction_v1_6.rb +0 -47
  442. data/generated/google/apis/prediction_v1_6/classes.rb +0 -751
  443. data/generated/google/apis/prediction_v1_6/representations.rb +0 -369
  444. data/generated/google/apis/prediction_v1_6/service.rb +0 -381
  445. data/generated/google/apis/taskqueue_v1beta1.rb +0 -37
  446. data/generated/google/apis/taskqueue_v1beta1/classes.rb +0 -242
  447. data/generated/google/apis/taskqueue_v1beta1/representations.rb +0 -124
  448. data/generated/google/apis/taskqueue_v1beta1/service.rb +0 -269
  449. data/generated/google/apis/taskqueue_v1beta2/classes.rb +0 -254
  450. data/generated/google/apis/taskqueue_v1beta2/representations.rb +0 -126
  451. data/generated/google/apis/taskqueue_v1beta2/service.rb +0 -409
@@ -0,0 +1,681 @@
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 RedisV1beta1
24
+
25
+ # Represents the metadata of the long-running operation.
26
+ class GoogleCloudCommonOperationMetadata
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # [Output only] API version used to start the operation.
30
+ # Corresponds to the JSON property `apiVersion`
31
+ # @return [String]
32
+ attr_accessor :api_version
33
+
34
+ # [Output only] Identifies whether the user has requested cancellation
35
+ # of the operation. Operations that have successfully been cancelled
36
+ # have Operation.error value with a google.rpc.Status.code of 1,
37
+ # corresponding to `Code.CANCELLED`.
38
+ # Corresponds to the JSON property `cancelRequested`
39
+ # @return [Boolean]
40
+ attr_accessor :cancel_requested
41
+ alias_method :cancel_requested?, :cancel_requested
42
+
43
+ # [Output only] The time the operation was created.
44
+ # Corresponds to the JSON property `createTime`
45
+ # @return [String]
46
+ attr_accessor :create_time
47
+
48
+ # [Output only] The time the operation finished running.
49
+ # Corresponds to the JSON property `endTime`
50
+ # @return [String]
51
+ attr_accessor :end_time
52
+
53
+ # [Output only] Human-readable status of the operation, if any.
54
+ # Corresponds to the JSON property `statusDetail`
55
+ # @return [String]
56
+ attr_accessor :status_detail
57
+
58
+ # [Output only] Server-defined resource path for the target of the operation.
59
+ # Corresponds to the JSON property `target`
60
+ # @return [String]
61
+ attr_accessor :target
62
+
63
+ # [Output only] Name of the verb executed by the operation.
64
+ # Corresponds to the JSON property `verb`
65
+ # @return [String]
66
+ attr_accessor :verb
67
+
68
+ def initialize(**args)
69
+ update!(**args)
70
+ end
71
+
72
+ # Update properties of this object
73
+ def update!(**args)
74
+ @api_version = args[:api_version] if args.key?(:api_version)
75
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
76
+ @create_time = args[:create_time] if args.key?(:create_time)
77
+ @end_time = args[:end_time] if args.key?(:end_time)
78
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
79
+ @target = args[:target] if args.key?(:target)
80
+ @verb = args[:verb] if args.key?(:verb)
81
+ end
82
+ end
83
+
84
+ # This location metadata represents additional configuration options for a
85
+ # given location where a Redis instance may be created. All fields are output
86
+ # only. It is returned as content of the
87
+ # `google.cloud.location.Location.metadata` field.
88
+ class GoogleCloudRedisV1beta1LocationMetadata
89
+ include Google::Apis::Core::Hashable
90
+
91
+ # Output only. The set of available zones in the location. The map is keyed
92
+ # by the lowercase ID of each zone, as defined by GCE. These keys can be
93
+ # specified in `location_id` or `alternative_location_id` fields when
94
+ # creating a Redis instance.
95
+ # Corresponds to the JSON property `availableZones`
96
+ # @return [Hash<String,Google::Apis::RedisV1beta1::GoogleCloudRedisV1beta1ZoneMetadata>]
97
+ attr_accessor :available_zones
98
+
99
+ def initialize(**args)
100
+ update!(**args)
101
+ end
102
+
103
+ # Update properties of this object
104
+ def update!(**args)
105
+ @available_zones = args[:available_zones] if args.key?(:available_zones)
106
+ end
107
+ end
108
+
109
+ # Defines specific information for a particular zone. Currently empty and
110
+ # reserved for future use only.
111
+ class GoogleCloudRedisV1beta1ZoneMetadata
112
+ include Google::Apis::Core::Hashable
113
+
114
+ def initialize(**args)
115
+ update!(**args)
116
+ end
117
+
118
+ # Update properties of this object
119
+ def update!(**args)
120
+ end
121
+ end
122
+
123
+ # A Google Cloud Redis instance.
124
+ class Instance
125
+ include Google::Apis::Core::Hashable
126
+
127
+ # Optional. Only applicable to STANDARD_HA tier which protects the instance
128
+ # against zonal failures by provisioning it across two zones. If provided, it
129
+ # must be a different zone from the one provided in [location_id].
130
+ # Corresponds to the JSON property `alternativeLocationId`
131
+ # @return [String]
132
+ attr_accessor :alternative_location_id
133
+
134
+ # Optional. The full name of the Google Compute Engine
135
+ # [network](/compute/docs/networks-and-firewalls#networks) to which the
136
+ # instance is connected. If left unspecified, the `default` network
137
+ # will be used.
138
+ # Corresponds to the JSON property `authorizedNetwork`
139
+ # @return [String]
140
+ attr_accessor :authorized_network
141
+
142
+ # Output only. The time the instance was created.
143
+ # Corresponds to the JSON property `createTime`
144
+ # @return [String]
145
+ attr_accessor :create_time
146
+
147
+ # Output only. The current zone where the Redis endpoint is placed. In
148
+ # single zone deployments, this will always be the same as [location_id]
149
+ # provided by the user at creation time. In cross-zone instances (only
150
+ # applicable in STANDARD_HA tier), this can be either [location_id] or
151
+ # [alternative_location_id] and can change on a failover event.
152
+ # Corresponds to the JSON property `currentLocationId`
153
+ # @return [String]
154
+ attr_accessor :current_location_id
155
+
156
+ # An arbitrary and optional user-provided name for the instance.
157
+ # Corresponds to the JSON property `displayName`
158
+ # @return [String]
159
+ attr_accessor :display_name
160
+
161
+ # Output only. Hostname or IP address of the exposed Redis endpoint used by
162
+ # clients to connect to the service.
163
+ # Corresponds to the JSON property `host`
164
+ # @return [String]
165
+ attr_accessor :host
166
+
167
+ # Resource labels to represent user provided metadata
168
+ # Corresponds to the JSON property `labels`
169
+ # @return [Hash<String,String>]
170
+ attr_accessor :labels
171
+
172
+ # Optional. The zone where the instance will be provisioned. If not provided,
173
+ # the service will choose a zone for the instance. For STANDARD_HA tier,
174
+ # instances will be created across two zones for protection against zonal
175
+ # failures. if [alternative_location_id] is also provided, it must be
176
+ # different from [location_id].
177
+ # Corresponds to the JSON property `locationId`
178
+ # @return [String]
179
+ attr_accessor :location_id
180
+
181
+ # Required. Redis memory size in GB, up to 200GB.
182
+ # Corresponds to the JSON property `memorySizeGb`
183
+ # @return [Fixnum]
184
+ attr_accessor :memory_size_gb
185
+
186
+ # Required. Unique name of the resource in this scope including project and
187
+ # location using the form:
188
+ # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
189
+ # Note: Redis instances are managed and addressed at regional level so
190
+ # location_id here refers to a GCP region; however, users get to choose which
191
+ # specific zone (or collection of zones for cross-zone instances) an instance
192
+ # should be provisioned in. Refer to [location_id] and
193
+ # [alternative_location_id] fields for more details.
194
+ # Corresponds to the JSON property `name`
195
+ # @return [String]
196
+ attr_accessor :name
197
+
198
+ # Output only. The port number of the exposed Redis endpoint.
199
+ # Corresponds to the JSON property `port`
200
+ # @return [Fixnum]
201
+ attr_accessor :port
202
+
203
+ # Optional. Redis configuration parameters, according to
204
+ # http://redis.io/topics/config. Currently, the only supported parameters
205
+ # are:
206
+ # * maxmemory-policy
207
+ # * notify-keyspace-events
208
+ # Corresponds to the JSON property `redisConfigs`
209
+ # @return [Hash<String,String>]
210
+ attr_accessor :redis_configs
211
+
212
+ # Optional. The version of Redis software.
213
+ # If not provided, latest supported version will be used. Updating the
214
+ # version will perform an upgrade/downgrade to the new version. Currently,
215
+ # the supported values are `REDIS_3_2` for Redis 3.2.
216
+ # Corresponds to the JSON property `redisVersion`
217
+ # @return [String]
218
+ attr_accessor :redis_version
219
+
220
+ # Optional. The CIDR range of internal addresses that are reserved for this
221
+ # instance. If not provided, the service will choose an unused /29 block,
222
+ # for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
223
+ # and non-overlapping with existing subnets in a network.
224
+ # Corresponds to the JSON property `reservedIpRange`
225
+ # @return [String]
226
+ attr_accessor :reserved_ip_range
227
+
228
+ # Output only. The current state of this instance.
229
+ # Corresponds to the JSON property `state`
230
+ # @return [String]
231
+ attr_accessor :state
232
+
233
+ # Output only. Additional information about the current status of this
234
+ # instance, if available.
235
+ # Corresponds to the JSON property `statusMessage`
236
+ # @return [String]
237
+ attr_accessor :status_message
238
+
239
+ # Required. The service tier of the instance.
240
+ # Corresponds to the JSON property `tier`
241
+ # @return [String]
242
+ attr_accessor :tier
243
+
244
+ def initialize(**args)
245
+ update!(**args)
246
+ end
247
+
248
+ # Update properties of this object
249
+ def update!(**args)
250
+ @alternative_location_id = args[:alternative_location_id] if args.key?(:alternative_location_id)
251
+ @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
252
+ @create_time = args[:create_time] if args.key?(:create_time)
253
+ @current_location_id = args[:current_location_id] if args.key?(:current_location_id)
254
+ @display_name = args[:display_name] if args.key?(:display_name)
255
+ @host = args[:host] if args.key?(:host)
256
+ @labels = args[:labels] if args.key?(:labels)
257
+ @location_id = args[:location_id] if args.key?(:location_id)
258
+ @memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
259
+ @name = args[:name] if args.key?(:name)
260
+ @port = args[:port] if args.key?(:port)
261
+ @redis_configs = args[:redis_configs] if args.key?(:redis_configs)
262
+ @redis_version = args[:redis_version] if args.key?(:redis_version)
263
+ @reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
264
+ @state = args[:state] if args.key?(:state)
265
+ @status_message = args[:status_message] if args.key?(:status_message)
266
+ @tier = args[:tier] if args.key?(:tier)
267
+ end
268
+ end
269
+
270
+ # Response for ListInstances.
271
+ class ListInstancesResponse
272
+ include Google::Apis::Core::Hashable
273
+
274
+ # A list of Redis instances in the project in the specified location,
275
+ # or across all locations.
276
+ # If the `location_id` in the parent field of the request is "-", all regions
277
+ # available to the project are queried, and the results aggregated.
278
+ # If in such an aggregated query a location is unavailable, a dummy Redis
279
+ # entry is included in the response with the "name" field set to a value of
280
+ # the form projects/`project_id`/locations/`location_id`/instances/- and the
281
+ # "status" field set to ERROR and "status_message" field set to "location not
282
+ # available for ListInstances".
283
+ # Corresponds to the JSON property `instances`
284
+ # @return [Array<Google::Apis::RedisV1beta1::Instance>]
285
+ attr_accessor :instances
286
+
287
+ # Token to retrieve the next page of results, or empty if there are no more
288
+ # results in the list.
289
+ # Corresponds to the JSON property `nextPageToken`
290
+ # @return [String]
291
+ attr_accessor :next_page_token
292
+
293
+ def initialize(**args)
294
+ update!(**args)
295
+ end
296
+
297
+ # Update properties of this object
298
+ def update!(**args)
299
+ @instances = args[:instances] if args.key?(:instances)
300
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
301
+ end
302
+ end
303
+
304
+ # The response message for Locations.ListLocations.
305
+ class ListLocationsResponse
306
+ include Google::Apis::Core::Hashable
307
+
308
+ # A list of locations that matches the specified filter in the request.
309
+ # Corresponds to the JSON property `locations`
310
+ # @return [Array<Google::Apis::RedisV1beta1::Location>]
311
+ attr_accessor :locations
312
+
313
+ # The standard List next-page token.
314
+ # Corresponds to the JSON property `nextPageToken`
315
+ # @return [String]
316
+ attr_accessor :next_page_token
317
+
318
+ def initialize(**args)
319
+ update!(**args)
320
+ end
321
+
322
+ # Update properties of this object
323
+ def update!(**args)
324
+ @locations = args[:locations] if args.key?(:locations)
325
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
326
+ end
327
+ end
328
+
329
+ # The response message for Operations.ListOperations.
330
+ class ListOperationsResponse
331
+ include Google::Apis::Core::Hashable
332
+
333
+ # The standard List next-page token.
334
+ # Corresponds to the JSON property `nextPageToken`
335
+ # @return [String]
336
+ attr_accessor :next_page_token
337
+
338
+ # A list of operations that matches the specified filter in the request.
339
+ # Corresponds to the JSON property `operations`
340
+ # @return [Array<Google::Apis::RedisV1beta1::Operation>]
341
+ attr_accessor :operations
342
+
343
+ def initialize(**args)
344
+ update!(**args)
345
+ end
346
+
347
+ # Update properties of this object
348
+ def update!(**args)
349
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
350
+ @operations = args[:operations] if args.key?(:operations)
351
+ end
352
+ end
353
+
354
+ # A resource that represents Google Cloud Platform location.
355
+ class Location
356
+ include Google::Apis::Core::Hashable
357
+
358
+ # The friendly name for this location, typically a nearby city name.
359
+ # For example, "Tokyo".
360
+ # Corresponds to the JSON property `displayName`
361
+ # @return [String]
362
+ attr_accessor :display_name
363
+
364
+ # Cross-service attributes for the location. For example
365
+ # `"cloud.googleapis.com/region": "us-east1"`
366
+ # Corresponds to the JSON property `labels`
367
+ # @return [Hash<String,String>]
368
+ attr_accessor :labels
369
+
370
+ # The canonical id for this location. For example: `"us-east1"`.
371
+ # Corresponds to the JSON property `locationId`
372
+ # @return [String]
373
+ attr_accessor :location_id
374
+
375
+ # Service-specific metadata. For example the available capacity at the given
376
+ # location.
377
+ # Corresponds to the JSON property `metadata`
378
+ # @return [Hash<String,Object>]
379
+ attr_accessor :metadata
380
+
381
+ # Resource name for the location, which may vary between implementations.
382
+ # For example: `"projects/example-project/locations/us-east1"`
383
+ # Corresponds to the JSON property `name`
384
+ # @return [String]
385
+ attr_accessor :name
386
+
387
+ def initialize(**args)
388
+ update!(**args)
389
+ end
390
+
391
+ # Update properties of this object
392
+ def update!(**args)
393
+ @display_name = args[:display_name] if args.key?(:display_name)
394
+ @labels = args[:labels] if args.key?(:labels)
395
+ @location_id = args[:location_id] if args.key?(:location_id)
396
+ @metadata = args[:metadata] if args.key?(:metadata)
397
+ @name = args[:name] if args.key?(:name)
398
+ end
399
+ end
400
+
401
+ # This location metadata represents additional configuration options for a
402
+ # given location where a Redis instance may be created. All fields are output
403
+ # only. It is returned as content of the
404
+ # `google.cloud.location.Location.metadata` field.
405
+ class LocationMetadata
406
+ include Google::Apis::Core::Hashable
407
+
408
+ # Output only. The set of available zones in the location. The map is keyed
409
+ # by the lowercase ID of each zone, as defined by GCE. These keys can be
410
+ # specified in `location_id` or `alternative_location_id` fields when
411
+ # creating a Redis instance.
412
+ # Corresponds to the JSON property `availableZones`
413
+ # @return [Hash<String,Google::Apis::RedisV1beta1::ZoneMetadata>]
414
+ attr_accessor :available_zones
415
+
416
+ def initialize(**args)
417
+ update!(**args)
418
+ end
419
+
420
+ # Update properties of this object
421
+ def update!(**args)
422
+ @available_zones = args[:available_zones] if args.key?(:available_zones)
423
+ end
424
+ end
425
+
426
+ # This resource represents a long-running operation that is the result of a
427
+ # network API call.
428
+ class Operation
429
+ include Google::Apis::Core::Hashable
430
+
431
+ # If the value is `false`, it means the operation is still in progress.
432
+ # If `true`, the operation is completed, and either `error` or `response` is
433
+ # available.
434
+ # Corresponds to the JSON property `done`
435
+ # @return [Boolean]
436
+ attr_accessor :done
437
+ alias_method :done?, :done
438
+
439
+ # The `Status` type defines a logical error model that is suitable for different
440
+ # programming environments, including REST APIs and RPC APIs. It is used by
441
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
442
+ # - Simple to use and understand for most users
443
+ # - Flexible enough to meet unexpected needs
444
+ # # Overview
445
+ # The `Status` message contains three pieces of data: error code, error message,
446
+ # and error details. The error code should be an enum value of
447
+ # google.rpc.Code, but it may accept additional error codes if needed. The
448
+ # error message should be a developer-facing English message that helps
449
+ # developers *understand* and *resolve* the error. If a localized user-facing
450
+ # error message is needed, put the localized message in the error details or
451
+ # localize it in the client. The optional error details may contain arbitrary
452
+ # information about the error. There is a predefined set of error detail types
453
+ # in the package `google.rpc` that can be used for common error conditions.
454
+ # # Language mapping
455
+ # The `Status` message is the logical representation of the error model, but it
456
+ # is not necessarily the actual wire format. When the `Status` message is
457
+ # exposed in different client libraries and different wire protocols, it can be
458
+ # mapped differently. For example, it will likely be mapped to some exceptions
459
+ # in Java, but more likely mapped to some error codes in C.
460
+ # # Other uses
461
+ # The error model and the `Status` message can be used in a variety of
462
+ # environments, either with or without APIs, to provide a
463
+ # consistent developer experience across different environments.
464
+ # Example uses of this error model include:
465
+ # - Partial errors. If a service needs to return partial errors to the client,
466
+ # it may embed the `Status` in the normal response to indicate the partial
467
+ # errors.
468
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
469
+ # have a `Status` message for error reporting.
470
+ # - Batch operations. If a client uses batch request and batch response, the
471
+ # `Status` message should be used directly inside batch response, one for
472
+ # each error sub-response.
473
+ # - Asynchronous operations. If an API call embeds asynchronous operation
474
+ # results in its response, the status of those operations should be
475
+ # represented directly using the `Status` message.
476
+ # - Logging. If some API errors are stored in logs, the message `Status` could
477
+ # be used directly after any stripping needed for security/privacy reasons.
478
+ # Corresponds to the JSON property `error`
479
+ # @return [Google::Apis::RedisV1beta1::Status]
480
+ attr_accessor :error
481
+
482
+ # Service-specific metadata associated with the operation. It typically
483
+ # contains progress information and common metadata such as create time.
484
+ # Some services might not provide such metadata. Any method that returns a
485
+ # long-running operation should document the metadata type, if any.
486
+ # Corresponds to the JSON property `metadata`
487
+ # @return [Hash<String,Object>]
488
+ attr_accessor :metadata
489
+
490
+ # The server-assigned name, which is only unique within the same service that
491
+ # originally returns it. If you use the default HTTP mapping, the
492
+ # `name` should have the format of `operations/some/unique/name`.
493
+ # Corresponds to the JSON property `name`
494
+ # @return [String]
495
+ attr_accessor :name
496
+
497
+ # The normal response of the operation in case of success. If the original
498
+ # method returns no data on success, such as `Delete`, the response is
499
+ # `google.protobuf.Empty`. If the original method is standard
500
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
501
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
502
+ # is the original method name. For example, if the original method name
503
+ # is `TakeSnapshot()`, the inferred response type is
504
+ # `TakeSnapshotResponse`.
505
+ # Corresponds to the JSON property `response`
506
+ # @return [Hash<String,Object>]
507
+ attr_accessor :response
508
+
509
+ def initialize(**args)
510
+ update!(**args)
511
+ end
512
+
513
+ # Update properties of this object
514
+ def update!(**args)
515
+ @done = args[:done] if args.key?(:done)
516
+ @error = args[:error] if args.key?(:error)
517
+ @metadata = args[:metadata] if args.key?(:metadata)
518
+ @name = args[:name] if args.key?(:name)
519
+ @response = args[:response] if args.key?(:response)
520
+ end
521
+ end
522
+
523
+ # This operation metadata represents the state of operations that may have
524
+ # happened or are happening on the instance. All fields are output only. It is
525
+ # returned as content of the `google.longrunning.Operation.metadata` field. The
526
+ # `google.longrunning.Operation.name` field will be of the form
527
+ # `projects/`project_id`/locations/`location_id`/operations/`operation_id`` and
528
+ # the name for a `ListOperations` request will be of the form
529
+ # `projects/`project_id`/locations/`location_id``
530
+ # On a ListOperations request where `location_id` is "-", all regions
531
+ # available to the `project_id` are queried and the results aggregated. If a
532
+ # location is not available, a dummy `google.longrunning.Operation` entry will
533
+ # be included in the `operations` field of the response, with the `name` field
534
+ # set to a value of the form
535
+ # `projects/`project_id`/locations/`location_id`/operations/-` and the `done`
536
+ # field will be set and the `result.error` field set with the `code` field set
537
+ # to `google.rpc.Code.DEADLINE_EXCEEDED` and the `message` field set to
538
+ # `location unavailable for ListOperations`. The Operation metadata` field
539
+ # will not be set for such a dummy operation.
540
+ class OperationMetadata
541
+ include Google::Apis::Core::Hashable
542
+
543
+ # Output only. The time the operation was created.
544
+ # Corresponds to the JSON property `createTime`
545
+ # @return [String]
546
+ attr_accessor :create_time
547
+
548
+ # Output only. Detailed operation progress, if available.
549
+ # Corresponds to the JSON property `detail`
550
+ # @return [String]
551
+ attr_accessor :detail
552
+
553
+ # Output only. The time the operation was completed.
554
+ # Corresponds to the JSON property `endTime`
555
+ # @return [String]
556
+ attr_accessor :end_time
557
+
558
+ # Output only. The operation type.
559
+ # Corresponds to the JSON property `operationType`
560
+ # @return [String]
561
+ attr_accessor :operation_type
562
+
563
+ # Output only. The time the operation was started.
564
+ # Corresponds to the JSON property `startTime`
565
+ # @return [String]
566
+ attr_accessor :start_time
567
+
568
+ # Output only. The current state of the operation.
569
+ # Corresponds to the JSON property `state`
570
+ # @return [String]
571
+ attr_accessor :state
572
+
573
+ # Output only. Server-defined resource path for the target of the operation.
574
+ # Corresponds to the JSON property `target`
575
+ # @return [String]
576
+ attr_accessor :target
577
+
578
+ def initialize(**args)
579
+ update!(**args)
580
+ end
581
+
582
+ # Update properties of this object
583
+ def update!(**args)
584
+ @create_time = args[:create_time] if args.key?(:create_time)
585
+ @detail = args[:detail] if args.key?(:detail)
586
+ @end_time = args[:end_time] if args.key?(:end_time)
587
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
588
+ @start_time = args[:start_time] if args.key?(:start_time)
589
+ @state = args[:state] if args.key?(:state)
590
+ @target = args[:target] if args.key?(:target)
591
+ end
592
+ end
593
+
594
+ # The `Status` type defines a logical error model that is suitable for different
595
+ # programming environments, including REST APIs and RPC APIs. It is used by
596
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
597
+ # - Simple to use and understand for most users
598
+ # - Flexible enough to meet unexpected needs
599
+ # # Overview
600
+ # The `Status` message contains three pieces of data: error code, error message,
601
+ # and error details. The error code should be an enum value of
602
+ # google.rpc.Code, but it may accept additional error codes if needed. The
603
+ # error message should be a developer-facing English message that helps
604
+ # developers *understand* and *resolve* the error. If a localized user-facing
605
+ # error message is needed, put the localized message in the error details or
606
+ # localize it in the client. The optional error details may contain arbitrary
607
+ # information about the error. There is a predefined set of error detail types
608
+ # in the package `google.rpc` that can be used for common error conditions.
609
+ # # Language mapping
610
+ # The `Status` message is the logical representation of the error model, but it
611
+ # is not necessarily the actual wire format. When the `Status` message is
612
+ # exposed in different client libraries and different wire protocols, it can be
613
+ # mapped differently. For example, it will likely be mapped to some exceptions
614
+ # in Java, but more likely mapped to some error codes in C.
615
+ # # Other uses
616
+ # The error model and the `Status` message can be used in a variety of
617
+ # environments, either with or without APIs, to provide a
618
+ # consistent developer experience across different environments.
619
+ # Example uses of this error model include:
620
+ # - Partial errors. If a service needs to return partial errors to the client,
621
+ # it may embed the `Status` in the normal response to indicate the partial
622
+ # errors.
623
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
624
+ # have a `Status` message for error reporting.
625
+ # - Batch operations. If a client uses batch request and batch response, the
626
+ # `Status` message should be used directly inside batch response, one for
627
+ # each error sub-response.
628
+ # - Asynchronous operations. If an API call embeds asynchronous operation
629
+ # results in its response, the status of those operations should be
630
+ # represented directly using the `Status` message.
631
+ # - Logging. If some API errors are stored in logs, the message `Status` could
632
+ # be used directly after any stripping needed for security/privacy reasons.
633
+ class Status
634
+ include Google::Apis::Core::Hashable
635
+
636
+ # The status code, which should be an enum value of google.rpc.Code.
637
+ # Corresponds to the JSON property `code`
638
+ # @return [Fixnum]
639
+ attr_accessor :code
640
+
641
+ # A list of messages that carry the error details. There is a common set of
642
+ # message types for APIs to use.
643
+ # Corresponds to the JSON property `details`
644
+ # @return [Array<Hash<String,Object>>]
645
+ attr_accessor :details
646
+
647
+ # A developer-facing error message, which should be in English. Any
648
+ # user-facing error message should be localized and sent in the
649
+ # google.rpc.Status.details field, or localized by the client.
650
+ # Corresponds to the JSON property `message`
651
+ # @return [String]
652
+ attr_accessor :message
653
+
654
+ def initialize(**args)
655
+ update!(**args)
656
+ end
657
+
658
+ # Update properties of this object
659
+ def update!(**args)
660
+ @code = args[:code] if args.key?(:code)
661
+ @details = args[:details] if args.key?(:details)
662
+ @message = args[:message] if args.key?(:message)
663
+ end
664
+ end
665
+
666
+ # Defines specific information for a particular zone. Currently empty and
667
+ # reserved for future use only.
668
+ class ZoneMetadata
669
+ include Google::Apis::Core::Hashable
670
+
671
+ def initialize(**args)
672
+ update!(**args)
673
+ end
674
+
675
+ # Update properties of this object
676
+ def update!(**args)
677
+ end
678
+ end
679
+ end
680
+ end
681
+ end