google-api-client 0.37.3 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (440) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +146 -0
  3. data/api_list_config.yaml +2 -0
  4. data/api_names.yaml +2 -0
  5. data/bin/generate-api +9 -1
  6. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
  9. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  18. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  19. data/generated/google/apis/adsense_v1_4.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
  28. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  29. data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  32. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta.rb +1 -1
  37. data/generated/google/apis/bigquery_v2.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +224 -5
  39. data/generated/google/apis/bigquery_v2/representations.rb +65 -0
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
  43. data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
  44. data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
  47. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
  48. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
  49. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  50. data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
  51. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
  53. data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
  54. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  55. data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
  56. data/generated/google/apis/blogger_v2.rb +5 -4
  57. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  58. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  59. data/generated/google/apis/blogger_v2/service.rb +79 -134
  60. data/generated/google/apis/blogger_v3.rb +4 -3
  61. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  62. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  63. data/generated/google/apis/blogger_v3/service.rb +183 -463
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +1 -14
  66. data/generated/google/apis/chat_v1.rb +1 -1
  67. data/generated/google/apis/chat_v1/classes.rb +1 -1
  68. data/generated/google/apis/cloudasset_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
  70. data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
  71. data/generated/google/apis/cloudasset_v1/service.rb +2 -2
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
  74. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
  75. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
  76. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  77. data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
  78. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  79. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
  81. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  87. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  88. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
  89. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
  90. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  91. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
  92. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
  93. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
  94. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
  98. data/generated/google/apis/cloudshell_v1.rb +1 -1
  99. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  102. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  103. data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
  104. data/generated/google/apis/cloudtrace_v2.rb +3 -3
  105. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  106. data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
  107. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
  108. data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
  109. data/generated/google/apis/composer_v1.rb +1 -1
  110. data/generated/google/apis/composer_v1/classes.rb +178 -0
  111. data/generated/google/apis/composer_v1/representations.rb +54 -0
  112. data/generated/google/apis/composer_v1beta1.rb +1 -1
  113. data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
  114. data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
  115. data/generated/google/apis/compute_alpha.rb +1 -1
  116. data/generated/google/apis/compute_alpha/classes.rb +1320 -307
  117. data/generated/google/apis/compute_alpha/representations.rb +284 -18
  118. data/generated/google/apis/compute_alpha/service.rb +4914 -3211
  119. data/generated/google/apis/compute_beta.rb +1 -1
  120. data/generated/google/apis/compute_beta/classes.rb +819 -236
  121. data/generated/google/apis/compute_beta/representations.rb +245 -16
  122. data/generated/google/apis/compute_beta/service.rb +3369 -2227
  123. data/generated/google/apis/compute_v1.rb +1 -1
  124. data/generated/google/apis/compute_v1/classes.rb +837 -133
  125. data/generated/google/apis/compute_v1/representations.rb +307 -0
  126. data/generated/google/apis/compute_v1/service.rb +3155 -2026
  127. data/generated/google/apis/container_v1.rb +1 -1
  128. data/generated/google/apis/container_v1/classes.rb +42 -22
  129. data/generated/google/apis/container_v1/service.rb +2 -2
  130. data/generated/google/apis/container_v1beta1.rb +1 -1
  131. data/generated/google/apis/container_v1beta1/classes.rb +116 -136
  132. data/generated/google/apis/container_v1beta1/representations.rb +23 -51
  133. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  134. data/generated/google/apis/content_v2.rb +1 -1
  135. data/generated/google/apis/content_v2/classes.rb +1030 -113
  136. data/generated/google/apis/content_v2_1.rb +1 -1
  137. data/generated/google/apis/content_v2_1/classes.rb +987 -138
  138. data/generated/google/apis/content_v2_1/representations.rb +87 -0
  139. data/generated/google/apis/content_v2_1/service.rb +73 -0
  140. data/generated/google/apis/customsearch_v1.rb +3 -3
  141. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  142. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  143. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  144. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  145. data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
  146. data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
  147. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  148. data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
  149. data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
  150. data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
  151. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  152. data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
  153. data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
  154. data/generated/google/apis/dataproc_v1.rb +1 -1
  155. data/generated/google/apis/dataproc_v1/classes.rb +76 -7
  156. data/generated/google/apis/dataproc_v1/representations.rb +21 -0
  157. data/generated/google/apis/dataproc_v1/service.rb +72 -15
  158. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  159. data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
  160. data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
  161. data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
  167. data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
  168. data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
  169. data/generated/google/apis/dialogflow_v2.rb +1 -1
  170. data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
  171. data/generated/google/apis/dialogflow_v2/service.rb +49 -49
  172. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
  175. data/generated/google/apis/dlp_v2.rb +1 -1
  176. data/generated/google/apis/dlp_v2/classes.rb +80 -14
  177. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  178. data/generated/google/apis/dlp_v2/service.rb +3 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  180. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
  181. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  182. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  183. data/generated/google/apis/drive_v2.rb +1 -1
  184. data/generated/google/apis/drive_v2/classes.rb +54 -2
  185. data/generated/google/apis/drive_v2/representations.rb +18 -0
  186. data/generated/google/apis/drive_v2/service.rb +81 -9
  187. data/generated/google/apis/drive_v3.rb +1 -1
  188. data/generated/google/apis/drive_v3/classes.rb +54 -2
  189. data/generated/google/apis/drive_v3/representations.rb +18 -0
  190. data/generated/google/apis/drive_v3/service.rb +37 -4
  191. data/generated/google/apis/file_v1.rb +1 -1
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +2 -2
  194. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  195. data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
  196. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  197. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
  198. data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
  199. data/generated/google/apis/firestore_v1.rb +1 -1
  200. data/generated/google/apis/firestore_v1/classes.rb +11 -2
  201. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  202. data/generated/google/apis/firestore_v1/service.rb +2 -2
  203. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  204. data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
  205. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  206. data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
  207. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  208. data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
  209. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  210. data/generated/google/apis/games_management_v1management.rb +1 -1
  211. data/generated/google/apis/games_management_v1management/classes.rb +7 -0
  212. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  213. data/generated/google/apis/games_v1.rb +1 -1
  214. data/generated/google/apis/games_v1/classes.rb +13 -0
  215. data/generated/google/apis/games_v1/representations.rb +2 -0
  216. data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
  217. data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
  218. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  219. data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
  220. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  221. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  222. data/generated/google/apis/gmail_v1.rb +3 -2
  223. data/generated/google/apis/gmail_v1/classes.rb +258 -199
  224. data/generated/google/apis/gmail_v1/service.rb +552 -744
  225. data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
  226. data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
  227. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  228. data/generated/google/apis/healthcare_v1/service.rb +3470 -0
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +67 -63
  235. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  236. data/generated/google/apis/iap_v1.rb +1 -1
  237. data/generated/google/apis/iap_v1/classes.rb +190 -0
  238. data/generated/google/apis/iap_v1/representations.rb +66 -0
  239. data/generated/google/apis/jobs_v2.rb +1 -1
  240. data/generated/google/apis/language_v1.rb +1 -1
  241. data/generated/google/apis/language_v1/classes.rb +6 -6
  242. data/generated/google/apis/language_v1beta1.rb +1 -1
  243. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  244. data/generated/google/apis/language_v1beta2.rb +1 -1
  245. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  246. data/generated/google/apis/logging_v2.rb +3 -3
  247. data/generated/google/apis/logging_v2/classes.rb +3 -4
  248. data/generated/google/apis/logging_v2/service.rb +2 -2
  249. data/generated/google/apis/managedidentities_v1.rb +1 -1
  250. data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
  251. data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
  252. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  253. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
  254. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
  255. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  256. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
  257. data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
  258. data/generated/google/apis/manufacturers_v1.rb +1 -1
  259. data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
  260. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  261. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  262. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
  263. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  264. data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
  265. data/generated/google/apis/ml_v1.rb +1 -1
  266. data/generated/google/apis/ml_v1/classes.rb +47 -7
  267. data/generated/google/apis/ml_v1/representations.rb +4 -0
  268. data/generated/google/apis/monitoring_v1.rb +7 -8
  269. data/generated/google/apis/monitoring_v1/classes.rb +54 -15
  270. data/generated/google/apis/monitoring_v1/representations.rb +3 -0
  271. data/generated/google/apis/monitoring_v1/service.rb +7 -8
  272. data/generated/google/apis/monitoring_v3.rb +7 -8
  273. data/generated/google/apis/monitoring_v3/classes.rb +300 -27
  274. data/generated/google/apis/monitoring_v3/representations.rb +128 -0
  275. data/generated/google/apis/monitoring_v3/service.rb +52 -17
  276. data/generated/google/apis/oauth2_v2.rb +4 -4
  277. data/generated/google/apis/oauth2_v2/classes.rb +1 -13
  278. data/generated/google/apis/oauth2_v2/representations.rb +2 -4
  279. data/generated/google/apis/oauth2_v2/service.rb +10 -12
  280. data/generated/google/apis/osconfig_v1.rb +35 -0
  281. data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
  282. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  283. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  284. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  285. data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
  286. data/generated/google/apis/people_v1.rb +1 -1
  287. data/generated/google/apis/people_v1/classes.rb +30 -12
  288. data/generated/google/apis/people_v1/representations.rb +1 -0
  289. data/generated/google/apis/people_v1/service.rb +12 -24
  290. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  291. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
  292. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
  293. data/generated/google/apis/pubsub_v1.rb +1 -1
  294. data/generated/google/apis/pubsub_v1/classes.rb +9 -5
  295. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  296. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  297. data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
  298. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  299. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
  300. data/generated/google/apis/redis_v1.rb +1 -1
  301. data/generated/google/apis/redis_v1/classes.rb +30 -7
  302. data/generated/google/apis/redis_v1/representations.rb +13 -0
  303. data/generated/google/apis/redis_v1/service.rb +36 -0
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
  306. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
  308. data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
  311. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
  312. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  313. data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
  314. data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
  315. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  316. data/generated/google/apis/run_v1.rb +1 -1
  317. data/generated/google/apis/run_v1/classes.rb +6 -13
  318. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  319. data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
  320. data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
  321. data/generated/google/apis/secretmanager_v1.rb +2 -2
  322. data/generated/google/apis/secretmanager_v1/service.rb +4 -1
  323. data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
  324. data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
  325. data/generated/google/apis/securitycenter_v1.rb +4 -4
  326. data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
  327. data/generated/google/apis/securitycenter_v1/service.rb +11 -3
  328. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  329. data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
  330. data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
  331. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  332. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
  333. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  334. data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
  335. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
  336. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
  337. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  338. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
  339. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  340. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
  341. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
  342. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
  343. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  344. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  345. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
  346. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
  347. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
  348. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
  349. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  350. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  351. data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
  352. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  353. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  354. data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
  355. data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
  356. data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
  357. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
  359. data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
  360. data/generated/google/apis/serviceusage_v1.rb +1 -1
  361. data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
  362. data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
  363. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  364. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  365. data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
  366. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
  367. data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
  368. data/generated/google/apis/sheets_v4.rb +1 -1
  369. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  370. data/generated/google/apis/spanner_v1.rb +1 -1
  371. data/generated/google/apis/spanner_v1/classes.rb +463 -1
  372. data/generated/google/apis/spanner_v1/representations.rb +178 -0
  373. data/generated/google/apis/spanner_v1/service.rb +498 -10
  374. data/generated/google/apis/speech_v1.rb +1 -1
  375. data/generated/google/apis/speech_v1/classes.rb +7 -3
  376. data/generated/google/apis/speech_v1/representations.rb +1 -0
  377. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  378. data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
  379. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  380. data/generated/google/apis/speech_v2beta1.rb +1 -1
  381. data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
  382. data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
  383. data/generated/google/apis/sql_v1beta4.rb +1 -1
  384. data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
  385. data/generated/google/apis/sql_v1beta4/service.rb +54 -384
  386. data/generated/google/apis/storage_v1.rb +1 -1
  387. data/generated/google/apis/storage_v1/classes.rb +18 -0
  388. data/generated/google/apis/storage_v1/representations.rb +2 -0
  389. data/generated/google/apis/storage_v1/service.rb +28 -3
  390. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  391. data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
  392. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  393. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  394. data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
  395. data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
  396. data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
  397. data/generated/google/apis/vault_v1.rb +1 -1
  398. data/generated/google/apis/videointelligence_v1.rb +1 -1
  399. data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
  400. data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
  401. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  402. data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
  403. data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
  404. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
  406. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
  407. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
  409. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
  410. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
  412. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
  413. data/generated/google/apis/vision_v1.rb +1 -1
  414. data/generated/google/apis/vision_v1/classes.rb +1 -1
  415. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  416. data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
  417. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  418. data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
  419. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  420. data/generated/google/apis/youtube_v3.rb +4 -1
  421. data/generated/google/apis/youtube_v3/classes.rb +7 -0
  422. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  423. data/lib/google/apis/generator/annotator.rb +1 -1
  424. data/lib/google/apis/version.rb +1 -1
  425. metadata +32 -23
  426. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  427. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
  428. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  429. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
  430. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  431. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  432. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  433. data/generated/google/apis/mirror_v1/service.rb +0 -928
  434. data/generated/google/apis/oauth2_v1.rb +0 -40
  435. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  436. data/generated/google/apis/oauth2_v1/representations.rb +0 -73
  437. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  438. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  439. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  440. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -0,0 +1,1469 @@
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/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module GameservicesV1beta
23
+ # Game Services API
24
+ #
25
+ # Deploy and manage infrastructure for global multiplayer gaming experiences.
26
+ #
27
+ # @example
28
+ # require 'google/apis/gameservices_v1beta'
29
+ #
30
+ # Gameservices = Google::Apis::GameservicesV1beta # Alias the module
31
+ # service = Gameservices::GameServicesService.new
32
+ #
33
+ # @see https://cloud.google.com/solutions/gaming/
34
+ class GameServicesService < Google::Apis::Core::BaseService
35
+ # @return [String]
36
+ # API key. Your API key identifies your project and provides you with API access,
37
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
38
+ attr_accessor :key
39
+
40
+ # @return [String]
41
+ # Available to use for quota purposes for server-side applications. Can be any
42
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
+ attr_accessor :quota_user
44
+
45
+ def initialize
46
+ super('https://gameservices.googleapis.com/', '')
47
+ @batch_path = 'batch'
48
+ end
49
+
50
+ # Gets information about a location.
51
+ # @param [String] name
52
+ # Resource name for the location.
53
+ # @param [String] fields
54
+ # Selector specifying which fields to include in a partial response.
55
+ # @param [String] quota_user
56
+ # Available to use for quota purposes for server-side applications. Can be any
57
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
58
+ # @param [Google::Apis::RequestOptions] options
59
+ # Request-specific options
60
+ #
61
+ # @yield [result, err] Result & error if block supplied
62
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Location] parsed result object
63
+ # @yieldparam err [StandardError] error object if request failed
64
+ #
65
+ # @return [Google::Apis::GameservicesV1beta::Location]
66
+ #
67
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
68
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
69
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
70
+ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
71
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
72
+ command.response_representation = Google::Apis::GameservicesV1beta::Location::Representation
73
+ command.response_class = Google::Apis::GameservicesV1beta::Location
74
+ command.params['name'] = name unless name.nil?
75
+ command.query['fields'] = fields unless fields.nil?
76
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
77
+ execute_or_queue_command(command, &block)
78
+ end
79
+
80
+ # Lists information about the supported locations for this service.
81
+ # @param [String] name
82
+ # The resource that owns the locations collection, if applicable.
83
+ # @param [String] filter
84
+ # The standard list filter.
85
+ # @param [Boolean] include_unrevealed_locations
86
+ # If true, the returned list will include locations which are not yet
87
+ # revealed.
88
+ # @param [Fixnum] page_size
89
+ # The standard list page size.
90
+ # @param [String] page_token
91
+ # The standard list page token.
92
+ # @param [String] fields
93
+ # Selector specifying which fields to include in a partial response.
94
+ # @param [String] quota_user
95
+ # Available to use for quota purposes for server-side applications. Can be any
96
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
97
+ # @param [Google::Apis::RequestOptions] options
98
+ # Request-specific options
99
+ #
100
+ # @yield [result, err] Result & error if block supplied
101
+ # @yieldparam result [Google::Apis::GameservicesV1beta::ListLocationsResponse] parsed result object
102
+ # @yieldparam err [StandardError] error object if request failed
103
+ #
104
+ # @return [Google::Apis::GameservicesV1beta::ListLocationsResponse]
105
+ #
106
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
107
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
108
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
109
+ def list_project_locations(name, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
110
+ command = make_simple_command(:get, 'v1beta/{+name}/locations', options)
111
+ command.response_representation = Google::Apis::GameservicesV1beta::ListLocationsResponse::Representation
112
+ command.response_class = Google::Apis::GameservicesV1beta::ListLocationsResponse
113
+ command.params['name'] = name unless name.nil?
114
+ command.query['filter'] = filter unless filter.nil?
115
+ command.query['includeUnrevealedLocations'] = include_unrevealed_locations unless include_unrevealed_locations.nil?
116
+ command.query['pageSize'] = page_size unless page_size.nil?
117
+ command.query['pageToken'] = page_token unless page_token.nil?
118
+ command.query['fields'] = fields unless fields.nil?
119
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
120
+ execute_or_queue_command(command, &block)
121
+ end
122
+
123
+ # Creates a new Game Server Deployment in a given project and Location.
124
+ # @param [String] parent
125
+ # Required. The parent resource name. Uses the form:
126
+ # `projects/`project`/locations/`location``.
127
+ # @param [Google::Apis::GameservicesV1beta::GameServerDeployment] game_server_deployment_object
128
+ # @param [String] deployment_id
129
+ # Required. The ID of the Game Server Deployment resource to be created.
130
+ # @param [String] fields
131
+ # Selector specifying which fields to include in a partial response.
132
+ # @param [String] quota_user
133
+ # Available to use for quota purposes for server-side applications. Can be any
134
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
135
+ # @param [Google::Apis::RequestOptions] options
136
+ # Request-specific options
137
+ #
138
+ # @yield [result, err] Result & error if block supplied
139
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Operation] parsed result object
140
+ # @yieldparam err [StandardError] error object if request failed
141
+ #
142
+ # @return [Google::Apis::GameservicesV1beta::Operation]
143
+ #
144
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
145
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
146
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
147
+ def create_project_location_game_server_deployment(parent, game_server_deployment_object = nil, deployment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
148
+ command = make_simple_command(:post, 'v1beta/{+parent}/gameServerDeployments', options)
149
+ command.request_representation = Google::Apis::GameservicesV1beta::GameServerDeployment::Representation
150
+ command.request_object = game_server_deployment_object
151
+ command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation
152
+ command.response_class = Google::Apis::GameservicesV1beta::Operation
153
+ command.params['parent'] = parent unless parent.nil?
154
+ command.query['deploymentId'] = deployment_id unless deployment_id.nil?
155
+ command.query['fields'] = fields unless fields.nil?
156
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
157
+ execute_or_queue_command(command, &block)
158
+ end
159
+
160
+ # Deletes a single Game Server Deployment.
161
+ # @param [String] name
162
+ # Required. The name of the Game Server Deployment to delete. Uses the form:
163
+ # `projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
164
+ # @param [String] fields
165
+ # Selector specifying which fields to include in a partial response.
166
+ # @param [String] quota_user
167
+ # Available to use for quota purposes for server-side applications. Can be any
168
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
169
+ # @param [Google::Apis::RequestOptions] options
170
+ # Request-specific options
171
+ #
172
+ # @yield [result, err] Result & error if block supplied
173
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Operation] parsed result object
174
+ # @yieldparam err [StandardError] error object if request failed
175
+ #
176
+ # @return [Google::Apis::GameservicesV1beta::Operation]
177
+ #
178
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
179
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
180
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
181
+ def delete_project_location_game_server_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
182
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
183
+ command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation
184
+ command.response_class = Google::Apis::GameservicesV1beta::Operation
185
+ command.params['name'] = name unless name.nil?
186
+ command.query['fields'] = fields unless fields.nil?
187
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
188
+ execute_or_queue_command(command, &block)
189
+ end
190
+
191
+ # Retrieves information about the current state of the Game Server
192
+ # Ddeployment. Gathers all the Agones fleets and Agones autoscalers,
193
+ # including fleets running an older version of the Game Server Deployment.
194
+ # @param [String] name
195
+ # Required. The name of the Game Server Deployment. Uses the form:
196
+ # `projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
197
+ # @param [Google::Apis::GameservicesV1beta::FetchDeploymentStateRequest] fetch_deployment_state_request_object
198
+ # @param [String] fields
199
+ # Selector specifying which fields to include in a partial response.
200
+ # @param [String] quota_user
201
+ # Available to use for quota purposes for server-side applications. Can be any
202
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
203
+ # @param [Google::Apis::RequestOptions] options
204
+ # Request-specific options
205
+ #
206
+ # @yield [result, err] Result & error if block supplied
207
+ # @yieldparam result [Google::Apis::GameservicesV1beta::FetchDeploymentStateResponse] parsed result object
208
+ # @yieldparam err [StandardError] error object if request failed
209
+ #
210
+ # @return [Google::Apis::GameservicesV1beta::FetchDeploymentStateResponse]
211
+ #
212
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
213
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
214
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
215
+ def fetch_game_server_deployment_deployment_state(name, fetch_deployment_state_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
216
+ command = make_simple_command(:post, 'v1beta/{+name}:fetchDeploymentState', options)
217
+ command.request_representation = Google::Apis::GameservicesV1beta::FetchDeploymentStateRequest::Representation
218
+ command.request_object = fetch_deployment_state_request_object
219
+ command.response_representation = Google::Apis::GameservicesV1beta::FetchDeploymentStateResponse::Representation
220
+ command.response_class = Google::Apis::GameservicesV1beta::FetchDeploymentStateResponse
221
+ command.params['name'] = name unless name.nil?
222
+ command.query['fields'] = fields unless fields.nil?
223
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
224
+ execute_or_queue_command(command, &block)
225
+ end
226
+
227
+ # Gets details of a single Game Server Deployment.
228
+ # @param [String] name
229
+ # Required. The name of the Game Server Deployment to retrieve. Uses the form:
230
+ # `projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
231
+ # @param [String] fields
232
+ # Selector specifying which fields to include in a partial response.
233
+ # @param [String] quota_user
234
+ # Available to use for quota purposes for server-side applications. Can be any
235
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
236
+ # @param [Google::Apis::RequestOptions] options
237
+ # Request-specific options
238
+ #
239
+ # @yield [result, err] Result & error if block supplied
240
+ # @yieldparam result [Google::Apis::GameservicesV1beta::GameServerDeployment] parsed result object
241
+ # @yieldparam err [StandardError] error object if request failed
242
+ #
243
+ # @return [Google::Apis::GameservicesV1beta::GameServerDeployment]
244
+ #
245
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
246
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
247
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
248
+ def get_project_location_game_server_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
249
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
250
+ command.response_representation = Google::Apis::GameservicesV1beta::GameServerDeployment::Representation
251
+ command.response_class = Google::Apis::GameservicesV1beta::GameServerDeployment
252
+ command.params['name'] = name unless name.nil?
253
+ command.query['fields'] = fields unless fields.nil?
254
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
255
+ execute_or_queue_command(command, &block)
256
+ end
257
+
258
+ # Gets the access control policy for a resource.
259
+ # Returns an empty policy if the resource exists and does not have a policy
260
+ # set.
261
+ # @param [String] resource
262
+ # REQUIRED: The resource for which the policy is being requested.
263
+ # See the operation documentation for the appropriate value for this field.
264
+ # @param [Fixnum] options_requested_policy_version
265
+ # Optional. The policy format version to be returned.
266
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
267
+ # rejected.
268
+ # Requests for policies with any conditional bindings must specify version 3.
269
+ # Policies without any conditional bindings may specify any valid value or
270
+ # leave the field unset.
271
+ # @param [String] fields
272
+ # Selector specifying which fields to include in a partial response.
273
+ # @param [String] quota_user
274
+ # Available to use for quota purposes for server-side applications. Can be any
275
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
276
+ # @param [Google::Apis::RequestOptions] options
277
+ # Request-specific options
278
+ #
279
+ # @yield [result, err] Result & error if block supplied
280
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Policy] parsed result object
281
+ # @yieldparam err [StandardError] error object if request failed
282
+ #
283
+ # @return [Google::Apis::GameservicesV1beta::Policy]
284
+ #
285
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
286
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
287
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
288
+ def get_project_location_game_server_deployment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
289
+ command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
290
+ command.response_representation = Google::Apis::GameservicesV1beta::Policy::Representation
291
+ command.response_class = Google::Apis::GameservicesV1beta::Policy
292
+ command.params['resource'] = resource unless resource.nil?
293
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
294
+ command.query['fields'] = fields unless fields.nil?
295
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
296
+ execute_or_queue_command(command, &block)
297
+ end
298
+
299
+ # Gets details a single Game Server Deployment Rollout.
300
+ # @param [String] name
301
+ # Required. The name of the Game Server Deployment to retrieve. Uses the form:
302
+ # `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
303
+ # rollout`.
304
+ # @param [String] fields
305
+ # Selector specifying which fields to include in a partial response.
306
+ # @param [String] quota_user
307
+ # Available to use for quota purposes for server-side applications. Can be any
308
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
309
+ # @param [Google::Apis::RequestOptions] options
310
+ # Request-specific options
311
+ #
312
+ # @yield [result, err] Result & error if block supplied
313
+ # @yieldparam result [Google::Apis::GameservicesV1beta::GameServerDeploymentRollout] parsed result object
314
+ # @yieldparam err [StandardError] error object if request failed
315
+ #
316
+ # @return [Google::Apis::GameservicesV1beta::GameServerDeploymentRollout]
317
+ #
318
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
319
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
320
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
321
+ def get_project_location_game_server_deployment_rollout(name, fields: nil, quota_user: nil, options: nil, &block)
322
+ command = make_simple_command(:get, 'v1beta/{+name}/rollout', options)
323
+ command.response_representation = Google::Apis::GameservicesV1beta::GameServerDeploymentRollout::Representation
324
+ command.response_class = Google::Apis::GameservicesV1beta::GameServerDeploymentRollout
325
+ command.params['name'] = name unless name.nil?
326
+ command.query['fields'] = fields unless fields.nil?
327
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
328
+ execute_or_queue_command(command, &block)
329
+ end
330
+
331
+ # Lists Game Server Deployments in a given project and Location.
332
+ # @param [String] parent
333
+ # Required. The parent resource name. Uses the form:
334
+ # `projects/`project`/locations/`location``.
335
+ # @param [String] filter
336
+ # Optional. The filter to apply to list results.
337
+ # @param [String] order_by
338
+ # Optional. Specifies the ordering of results following syntax at
339
+ # https://cloud.google.com/apis/design/design_patterns#sorting_order.
340
+ # @param [Fixnum] page_size
341
+ # Optional. The maximum number of items to return. If unspecified, server
342
+ # will pick an appropriate default. Server may return fewer items than
343
+ # requested. A caller should only rely on response's
344
+ # next_page_token to
345
+ # determine if there are more GameServerDeployments left to be queried.
346
+ # @param [String] page_token
347
+ # Optional. The next_page_token value returned from a previous List request,
348
+ # if any.
349
+ # @param [String] fields
350
+ # Selector specifying which fields to include in a partial response.
351
+ # @param [String] quota_user
352
+ # Available to use for quota purposes for server-side applications. Can be any
353
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
354
+ # @param [Google::Apis::RequestOptions] options
355
+ # Request-specific options
356
+ #
357
+ # @yield [result, err] Result & error if block supplied
358
+ # @yieldparam result [Google::Apis::GameservicesV1beta::ListGameServerDeploymentsResponse] parsed result object
359
+ # @yieldparam err [StandardError] error object if request failed
360
+ #
361
+ # @return [Google::Apis::GameservicesV1beta::ListGameServerDeploymentsResponse]
362
+ #
363
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
364
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
365
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
366
+ def list_project_location_game_server_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
367
+ command = make_simple_command(:get, 'v1beta/{+parent}/gameServerDeployments', options)
368
+ command.response_representation = Google::Apis::GameservicesV1beta::ListGameServerDeploymentsResponse::Representation
369
+ command.response_class = Google::Apis::GameservicesV1beta::ListGameServerDeploymentsResponse
370
+ command.params['parent'] = parent unless parent.nil?
371
+ command.query['filter'] = filter unless filter.nil?
372
+ command.query['orderBy'] = order_by unless order_by.nil?
373
+ command.query['pageSize'] = page_size unless page_size.nil?
374
+ command.query['pageToken'] = page_token unless page_token.nil?
375
+ command.query['fields'] = fields unless fields.nil?
376
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
377
+ execute_or_queue_command(command, &block)
378
+ end
379
+
380
+ # Patches a Game Server Deployment.
381
+ # @param [String] name
382
+ # The resource name of the Game Server Deployment. Uses the form:
383
+ # `projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
384
+ # For example,
385
+ # `projects/my-project/locations/`location`/gameServerDeployments/my-deployment`.
386
+ # @param [Google::Apis::GameservicesV1beta::GameServerDeployment] game_server_deployment_object
387
+ # @param [String] update_mask
388
+ # Required. Mask of fields to update. At least one path must be supplied in
389
+ # this field. For the `FieldMask` definition, see
390
+ # https:
391
+ # //developers.google.com/protocol-buffers
392
+ # // /docs/reference/google.protobuf#fieldmask
393
+ # @param [String] fields
394
+ # Selector specifying which fields to include in a partial response.
395
+ # @param [String] quota_user
396
+ # Available to use for quota purposes for server-side applications. Can be any
397
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
398
+ # @param [Google::Apis::RequestOptions] options
399
+ # Request-specific options
400
+ #
401
+ # @yield [result, err] Result & error if block supplied
402
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Operation] parsed result object
403
+ # @yieldparam err [StandardError] error object if request failed
404
+ #
405
+ # @return [Google::Apis::GameservicesV1beta::Operation]
406
+ #
407
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
408
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
409
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
410
+ def patch_project_location_game_server_deployment(name, game_server_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
411
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
412
+ command.request_representation = Google::Apis::GameservicesV1beta::GameServerDeployment::Representation
413
+ command.request_object = game_server_deployment_object
414
+ command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation
415
+ command.response_class = Google::Apis::GameservicesV1beta::Operation
416
+ command.params['name'] = name unless name.nil?
417
+ command.query['updateMask'] = update_mask unless update_mask.nil?
418
+ command.query['fields'] = fields unless fields.nil?
419
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
420
+ execute_or_queue_command(command, &block)
421
+ end
422
+
423
+ # Previews the Game Server Deployment Rollout. This API does not mutate the
424
+ # Rollout resource.
425
+ # @param [String] name
426
+ # The resource name of the Game Server Deployment Rollout. Uses the form:
427
+ # `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
428
+ # rollout`.
429
+ # For example,
430
+ # `projects/my-project/locations/`location`/gameServerDeployments/my-deployment/
431
+ # rollout`.
432
+ # @param [Google::Apis::GameservicesV1beta::GameServerDeploymentRollout] game_server_deployment_rollout_object
433
+ # @param [String] preview_time
434
+ # Optional. The target timestamp to compute the preview. Defaults to the
435
+ # immediately
436
+ # after the proposed Rollout completes.
437
+ # @param [String] update_mask
438
+ # Optional. Mask of fields to update. At least one path must be supplied in
439
+ # this field. For the `FieldMask` definition, see
440
+ # https:
441
+ # //developers.google.com/protocol-buffers
442
+ # // /docs/reference/google.protobuf#fieldmask
443
+ # @param [String] fields
444
+ # Selector specifying which fields to include in a partial response.
445
+ # @param [String] quota_user
446
+ # Available to use for quota purposes for server-side applications. Can be any
447
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
448
+ # @param [Google::Apis::RequestOptions] options
449
+ # Request-specific options
450
+ #
451
+ # @yield [result, err] Result & error if block supplied
452
+ # @yieldparam result [Google::Apis::GameservicesV1beta::PreviewGameServerDeploymentRolloutResponse] parsed result object
453
+ # @yieldparam err [StandardError] error object if request failed
454
+ #
455
+ # @return [Google::Apis::GameservicesV1beta::PreviewGameServerDeploymentRolloutResponse]
456
+ #
457
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
458
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
459
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
460
+ def preview_project_location_game_server_deployment_rollout(name, game_server_deployment_rollout_object = nil, preview_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
461
+ command = make_simple_command(:patch, 'v1beta/{+name}/rollout:preview', options)
462
+ command.request_representation = Google::Apis::GameservicesV1beta::GameServerDeploymentRollout::Representation
463
+ command.request_object = game_server_deployment_rollout_object
464
+ command.response_representation = Google::Apis::GameservicesV1beta::PreviewGameServerDeploymentRolloutResponse::Representation
465
+ command.response_class = Google::Apis::GameservicesV1beta::PreviewGameServerDeploymentRolloutResponse
466
+ command.params['name'] = name unless name.nil?
467
+ command.query['previewTime'] = preview_time unless preview_time.nil?
468
+ command.query['updateMask'] = update_mask unless update_mask.nil?
469
+ command.query['fields'] = fields unless fields.nil?
470
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
471
+ execute_or_queue_command(command, &block)
472
+ end
473
+
474
+ # Sets the access control policy on the specified resource. Replaces any
475
+ # existing policy.
476
+ # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
477
+ # @param [String] resource
478
+ # REQUIRED: The resource for which the policy is being specified.
479
+ # See the operation documentation for the appropriate value for this field.
480
+ # @param [Google::Apis::GameservicesV1beta::SetIamPolicyRequest] set_iam_policy_request_object
481
+ # @param [String] fields
482
+ # Selector specifying which fields to include in a partial response.
483
+ # @param [String] quota_user
484
+ # Available to use for quota purposes for server-side applications. Can be any
485
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
486
+ # @param [Google::Apis::RequestOptions] options
487
+ # Request-specific options
488
+ #
489
+ # @yield [result, err] Result & error if block supplied
490
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Policy] parsed result object
491
+ # @yieldparam err [StandardError] error object if request failed
492
+ #
493
+ # @return [Google::Apis::GameservicesV1beta::Policy]
494
+ #
495
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
496
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
497
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
498
+ def set_game_server_deployment_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
499
+ command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
500
+ command.request_representation = Google::Apis::GameservicesV1beta::SetIamPolicyRequest::Representation
501
+ command.request_object = set_iam_policy_request_object
502
+ command.response_representation = Google::Apis::GameservicesV1beta::Policy::Representation
503
+ command.response_class = Google::Apis::GameservicesV1beta::Policy
504
+ command.params['resource'] = resource unless resource.nil?
505
+ command.query['fields'] = fields unless fields.nil?
506
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
507
+ execute_or_queue_command(command, &block)
508
+ end
509
+
510
+ # Returns permissions that a caller has on the specified resource.
511
+ # If the resource does not exist, this will return an empty set of
512
+ # permissions, not a NOT_FOUND error.
513
+ # Note: This operation is designed to be used for building permission-aware
514
+ # UIs and command-line tools, not for authorization checking. This operation
515
+ # may "fail open" without warning.
516
+ # @param [String] resource
517
+ # REQUIRED: The resource for which the policy detail is being requested.
518
+ # See the operation documentation for the appropriate value for this field.
519
+ # @param [Google::Apis::GameservicesV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
520
+ # @param [String] fields
521
+ # Selector specifying which fields to include in a partial response.
522
+ # @param [String] quota_user
523
+ # Available to use for quota purposes for server-side applications. Can be any
524
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
525
+ # @param [Google::Apis::RequestOptions] options
526
+ # Request-specific options
527
+ #
528
+ # @yield [result, err] Result & error if block supplied
529
+ # @yieldparam result [Google::Apis::GameservicesV1beta::TestIamPermissionsResponse] parsed result object
530
+ # @yieldparam err [StandardError] error object if request failed
531
+ #
532
+ # @return [Google::Apis::GameservicesV1beta::TestIamPermissionsResponse]
533
+ #
534
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
535
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
536
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
537
+ def test_game_server_deployment_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
538
+ command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', options)
539
+ command.request_representation = Google::Apis::GameservicesV1beta::TestIamPermissionsRequest::Representation
540
+ command.request_object = test_iam_permissions_request_object
541
+ command.response_representation = Google::Apis::GameservicesV1beta::TestIamPermissionsResponse::Representation
542
+ command.response_class = Google::Apis::GameservicesV1beta::TestIamPermissionsResponse
543
+ command.params['resource'] = resource unless resource.nil?
544
+ command.query['fields'] = fields unless fields.nil?
545
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
546
+ execute_or_queue_command(command, &block)
547
+ end
548
+
549
+ # Patches a single Game Server Deployment Rollout.
550
+ # The method will not return an error if the update does not affect any
551
+ # existing realms. For example - if the default_game_server_config is changed
552
+ # but all existing realms use the override, that is valid. Similarly, if a
553
+ # non existing realm is explicitly called out in game_server_config_overrides
554
+ # field, that will also not result in an error.
555
+ # @param [String] name
556
+ # The resource name of the Game Server Deployment Rollout. Uses the form:
557
+ # `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
558
+ # rollout`.
559
+ # For example,
560
+ # `projects/my-project/locations/`location`/gameServerDeployments/my-deployment/
561
+ # rollout`.
562
+ # @param [Google::Apis::GameservicesV1beta::GameServerDeploymentRollout] game_server_deployment_rollout_object
563
+ # @param [String] update_mask
564
+ # Required. Mask of fields to update. At least one path must be supplied in
565
+ # this field. For the `FieldMask` definition, see
566
+ # https:
567
+ # //developers.google.com/protocol-buffers
568
+ # // /docs/reference/google.protobuf#fieldmask
569
+ # @param [String] fields
570
+ # Selector specifying which fields to include in a partial response.
571
+ # @param [String] quota_user
572
+ # Available to use for quota purposes for server-side applications. Can be any
573
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
574
+ # @param [Google::Apis::RequestOptions] options
575
+ # Request-specific options
576
+ #
577
+ # @yield [result, err] Result & error if block supplied
578
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Operation] parsed result object
579
+ # @yieldparam err [StandardError] error object if request failed
580
+ #
581
+ # @return [Google::Apis::GameservicesV1beta::Operation]
582
+ #
583
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
584
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
585
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
586
+ def update_project_location_game_server_deployment_rollout(name, game_server_deployment_rollout_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
587
+ command = make_simple_command(:patch, 'v1beta/{+name}/rollout', options)
588
+ command.request_representation = Google::Apis::GameservicesV1beta::GameServerDeploymentRollout::Representation
589
+ command.request_object = game_server_deployment_rollout_object
590
+ command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation
591
+ command.response_class = Google::Apis::GameservicesV1beta::Operation
592
+ command.params['name'] = name unless name.nil?
593
+ command.query['updateMask'] = update_mask unless update_mask.nil?
594
+ command.query['fields'] = fields unless fields.nil?
595
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
596
+ execute_or_queue_command(command, &block)
597
+ end
598
+
599
+ # Creates a new Game Server Config in a given project, Location, and Game
600
+ # Server Deployment. Game Server Configs are immutable, and are not applied
601
+ # until referenced in the Game Server Deployment Rollout resource.
602
+ # @param [String] parent
603
+ # Required. The parent resource name. Uses the form:
604
+ # `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/`.
605
+ # @param [Google::Apis::GameservicesV1beta::GameServerConfig] game_server_config_object
606
+ # @param [String] config_id
607
+ # Required. The ID of the Game Server Config resource to be created.
608
+ # @param [String] fields
609
+ # Selector specifying which fields to include in a partial response.
610
+ # @param [String] quota_user
611
+ # Available to use for quota purposes for server-side applications. Can be any
612
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
613
+ # @param [Google::Apis::RequestOptions] options
614
+ # Request-specific options
615
+ #
616
+ # @yield [result, err] Result & error if block supplied
617
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Operation] parsed result object
618
+ # @yieldparam err [StandardError] error object if request failed
619
+ #
620
+ # @return [Google::Apis::GameservicesV1beta::Operation]
621
+ #
622
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
623
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
624
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
625
+ def create_project_location_game_server_deployment_config(parent, game_server_config_object = nil, config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
626
+ command = make_simple_command(:post, 'v1beta/{+parent}/configs', options)
627
+ command.request_representation = Google::Apis::GameservicesV1beta::GameServerConfig::Representation
628
+ command.request_object = game_server_config_object
629
+ command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation
630
+ command.response_class = Google::Apis::GameservicesV1beta::Operation
631
+ command.params['parent'] = parent unless parent.nil?
632
+ command.query['configId'] = config_id unless config_id.nil?
633
+ command.query['fields'] = fields unless fields.nil?
634
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
635
+ execute_or_queue_command(command, &block)
636
+ end
637
+
638
+ # Deletes a single Game Server Config. The deletion will fail if the Game
639
+ # Server Config is referenced in a Game Server Deployment Rollout.
640
+ # @param [String] name
641
+ # Required. The name of the Game Server Config to delete. Uses the form:
642
+ # `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
643
+ # configs/`config``.
644
+ # @param [String] fields
645
+ # Selector specifying which fields to include in a partial response.
646
+ # @param [String] quota_user
647
+ # Available to use for quota purposes for server-side applications. Can be any
648
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
649
+ # @param [Google::Apis::RequestOptions] options
650
+ # Request-specific options
651
+ #
652
+ # @yield [result, err] Result & error if block supplied
653
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Operation] parsed result object
654
+ # @yieldparam err [StandardError] error object if request failed
655
+ #
656
+ # @return [Google::Apis::GameservicesV1beta::Operation]
657
+ #
658
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
659
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
660
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
661
+ def delete_project_location_game_server_deployment_config(name, fields: nil, quota_user: nil, options: nil, &block)
662
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
663
+ command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation
664
+ command.response_class = Google::Apis::GameservicesV1beta::Operation
665
+ command.params['name'] = name unless name.nil?
666
+ command.query['fields'] = fields unless fields.nil?
667
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
668
+ execute_or_queue_command(command, &block)
669
+ end
670
+
671
+ # Gets details of a single Game Server Config.
672
+ # @param [String] name
673
+ # Required. The name of the Game Server Config to retrieve. Uses the form:
674
+ # `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
675
+ # configs/`config``.
676
+ # @param [String] fields
677
+ # Selector specifying which fields to include in a partial response.
678
+ # @param [String] quota_user
679
+ # Available to use for quota purposes for server-side applications. Can be any
680
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
681
+ # @param [Google::Apis::RequestOptions] options
682
+ # Request-specific options
683
+ #
684
+ # @yield [result, err] Result & error if block supplied
685
+ # @yieldparam result [Google::Apis::GameservicesV1beta::GameServerConfig] parsed result object
686
+ # @yieldparam err [StandardError] error object if request failed
687
+ #
688
+ # @return [Google::Apis::GameservicesV1beta::GameServerConfig]
689
+ #
690
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
691
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
692
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
693
+ def get_project_location_game_server_deployment_config(name, fields: nil, quota_user: nil, options: nil, &block)
694
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
695
+ command.response_representation = Google::Apis::GameservicesV1beta::GameServerConfig::Representation
696
+ command.response_class = Google::Apis::GameservicesV1beta::GameServerConfig
697
+ command.params['name'] = name unless name.nil?
698
+ command.query['fields'] = fields unless fields.nil?
699
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
700
+ execute_or_queue_command(command, &block)
701
+ end
702
+
703
+ # Lists Game Server Configs in a given project, Location, and Game Server
704
+ # Deployment.
705
+ # @param [String] parent
706
+ # Required. The parent resource name. Uses the form:
707
+ # `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
708
+ # configs/*`.
709
+ # @param [String] filter
710
+ # Optional. The filter to apply to list results.
711
+ # @param [String] order_by
712
+ # Optional. Specifies the ordering of results following syntax at
713
+ # https://cloud.google.com/apis/design/design_patterns#sorting_order.
714
+ # @param [Fixnum] page_size
715
+ # Optional. The maximum number of items to return. If unspecified, server
716
+ # will pick an appropriate default. Server may return fewer items than
717
+ # requested. A caller should only rely on response's
718
+ # next_page_token to
719
+ # determine if there are more GameServerConfigs left to be queried.
720
+ # @param [String] page_token
721
+ # Optional. The next_page_token value returned from a previous List request, if
722
+ # any.
723
+ # @param [String] fields
724
+ # Selector specifying which fields to include in a partial response.
725
+ # @param [String] quota_user
726
+ # Available to use for quota purposes for server-side applications. Can be any
727
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
728
+ # @param [Google::Apis::RequestOptions] options
729
+ # Request-specific options
730
+ #
731
+ # @yield [result, err] Result & error if block supplied
732
+ # @yieldparam result [Google::Apis::GameservicesV1beta::ListGameServerConfigsResponse] parsed result object
733
+ # @yieldparam err [StandardError] error object if request failed
734
+ #
735
+ # @return [Google::Apis::GameservicesV1beta::ListGameServerConfigsResponse]
736
+ #
737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
740
+ def list_project_location_game_server_deployment_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
741
+ command = make_simple_command(:get, 'v1beta/{+parent}/configs', options)
742
+ command.response_representation = Google::Apis::GameservicesV1beta::ListGameServerConfigsResponse::Representation
743
+ command.response_class = Google::Apis::GameservicesV1beta::ListGameServerConfigsResponse
744
+ command.params['parent'] = parent unless parent.nil?
745
+ command.query['filter'] = filter unless filter.nil?
746
+ command.query['orderBy'] = order_by unless order_by.nil?
747
+ command.query['pageSize'] = page_size unless page_size.nil?
748
+ command.query['pageToken'] = page_token unless page_token.nil?
749
+ command.query['fields'] = fields unless fields.nil?
750
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
751
+ execute_or_queue_command(command, &block)
752
+ end
753
+
754
+ # Starts asynchronous cancellation on a long-running operation. The server
755
+ # makes a best effort to cancel the operation, but success is not
756
+ # guaranteed. If the server doesn't support this method, it returns
757
+ # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
758
+ # Operations.GetOperation or
759
+ # other methods to check whether the cancellation succeeded or whether the
760
+ # operation completed despite cancellation. On successful cancellation,
761
+ # the operation is not deleted; instead, it becomes an operation with
762
+ # an Operation.error value with a google.rpc.Status.code of 1,
763
+ # corresponding to `Code.CANCELLED`.
764
+ # @param [String] name
765
+ # The name of the operation resource to be cancelled.
766
+ # @param [Google::Apis::GameservicesV1beta::CancelOperationRequest] cancel_operation_request_object
767
+ # @param [String] fields
768
+ # Selector specifying which fields to include in a partial response.
769
+ # @param [String] quota_user
770
+ # Available to use for quota purposes for server-side applications. Can be any
771
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
772
+ # @param [Google::Apis::RequestOptions] options
773
+ # Request-specific options
774
+ #
775
+ # @yield [result, err] Result & error if block supplied
776
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Empty] parsed result object
777
+ # @yieldparam err [StandardError] error object if request failed
778
+ #
779
+ # @return [Google::Apis::GameservicesV1beta::Empty]
780
+ #
781
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
782
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
783
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
784
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
785
+ command = make_simple_command(:post, 'v1beta/{+name}:cancel', options)
786
+ command.request_representation = Google::Apis::GameservicesV1beta::CancelOperationRequest::Representation
787
+ command.request_object = cancel_operation_request_object
788
+ command.response_representation = Google::Apis::GameservicesV1beta::Empty::Representation
789
+ command.response_class = Google::Apis::GameservicesV1beta::Empty
790
+ command.params['name'] = name unless name.nil?
791
+ command.query['fields'] = fields unless fields.nil?
792
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
793
+ execute_or_queue_command(command, &block)
794
+ end
795
+
796
+ # Deletes a long-running operation. This method indicates that the client is
797
+ # no longer interested in the operation result. It does not cancel the
798
+ # operation. If the server doesn't support this method, it returns
799
+ # `google.rpc.Code.UNIMPLEMENTED`.
800
+ # @param [String] name
801
+ # The name of the operation resource to be deleted.
802
+ # @param [String] fields
803
+ # Selector specifying which fields to include in a partial response.
804
+ # @param [String] quota_user
805
+ # Available to use for quota purposes for server-side applications. Can be any
806
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
807
+ # @param [Google::Apis::RequestOptions] options
808
+ # Request-specific options
809
+ #
810
+ # @yield [result, err] Result & error if block supplied
811
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Empty] parsed result object
812
+ # @yieldparam err [StandardError] error object if request failed
813
+ #
814
+ # @return [Google::Apis::GameservicesV1beta::Empty]
815
+ #
816
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
817
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
818
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
819
+ def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
820
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
821
+ command.response_representation = Google::Apis::GameservicesV1beta::Empty::Representation
822
+ command.response_class = Google::Apis::GameservicesV1beta::Empty
823
+ command.params['name'] = name unless name.nil?
824
+ command.query['fields'] = fields unless fields.nil?
825
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
826
+ execute_or_queue_command(command, &block)
827
+ end
828
+
829
+ # Gets the latest state of a long-running operation. Clients can use this
830
+ # method to poll the operation result at intervals as recommended by the API
831
+ # service.
832
+ # @param [String] name
833
+ # The name of the operation resource.
834
+ # @param [String] fields
835
+ # Selector specifying which fields to include in a partial response.
836
+ # @param [String] quota_user
837
+ # Available to use for quota purposes for server-side applications. Can be any
838
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
839
+ # @param [Google::Apis::RequestOptions] options
840
+ # Request-specific options
841
+ #
842
+ # @yield [result, err] Result & error if block supplied
843
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Operation] parsed result object
844
+ # @yieldparam err [StandardError] error object if request failed
845
+ #
846
+ # @return [Google::Apis::GameservicesV1beta::Operation]
847
+ #
848
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
849
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
850
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
851
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
852
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
853
+ command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation
854
+ command.response_class = Google::Apis::GameservicesV1beta::Operation
855
+ command.params['name'] = name unless name.nil?
856
+ command.query['fields'] = fields unless fields.nil?
857
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
858
+ execute_or_queue_command(command, &block)
859
+ end
860
+
861
+ # Lists operations that match the specified filter in the request. If the
862
+ # server doesn't support this method, it returns `UNIMPLEMENTED`.
863
+ # NOTE: the `name` binding allows API services to override the binding
864
+ # to use different resource name schemes, such as `users/*/operations`. To
865
+ # override the binding, API services can add a binding such as
866
+ # `"/v1/`name=users/*`/operations"` to their service configuration.
867
+ # For backwards compatibility, the default name includes the operations
868
+ # collection id, however overriding users must ensure the name binding
869
+ # is the parent resource, without the operations collection id.
870
+ # @param [String] name
871
+ # The name of the operation's parent resource.
872
+ # @param [String] filter
873
+ # The standard list filter.
874
+ # @param [Fixnum] page_size
875
+ # The standard list page size.
876
+ # @param [String] page_token
877
+ # The standard list page token.
878
+ # @param [String] fields
879
+ # Selector specifying which fields to include in a partial response.
880
+ # @param [String] quota_user
881
+ # Available to use for quota purposes for server-side applications. Can be any
882
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
883
+ # @param [Google::Apis::RequestOptions] options
884
+ # Request-specific options
885
+ #
886
+ # @yield [result, err] Result & error if block supplied
887
+ # @yieldparam result [Google::Apis::GameservicesV1beta::ListOperationsResponse] parsed result object
888
+ # @yieldparam err [StandardError] error object if request failed
889
+ #
890
+ # @return [Google::Apis::GameservicesV1beta::ListOperationsResponse]
891
+ #
892
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
893
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
894
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
895
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
896
+ command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
897
+ command.response_representation = Google::Apis::GameservicesV1beta::ListOperationsResponse::Representation
898
+ command.response_class = Google::Apis::GameservicesV1beta::ListOperationsResponse
899
+ command.params['name'] = name unless name.nil?
900
+ command.query['filter'] = filter unless filter.nil?
901
+ command.query['pageSize'] = page_size unless page_size.nil?
902
+ command.query['pageToken'] = page_token unless page_token.nil?
903
+ command.query['fields'] = fields unless fields.nil?
904
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
905
+ execute_or_queue_command(command, &block)
906
+ end
907
+
908
+ # Creates a new Realm in a given project and Location.
909
+ # @param [String] parent
910
+ # Required. The parent resource name. Uses the form:
911
+ # `projects/`project`/locations/`location``.
912
+ # @param [Google::Apis::GameservicesV1beta::Realm] realm_object
913
+ # @param [String] realm_id
914
+ # Required. The ID of the Realm resource to be created.
915
+ # @param [String] fields
916
+ # Selector specifying which fields to include in a partial response.
917
+ # @param [String] quota_user
918
+ # Available to use for quota purposes for server-side applications. Can be any
919
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
920
+ # @param [Google::Apis::RequestOptions] options
921
+ # Request-specific options
922
+ #
923
+ # @yield [result, err] Result & error if block supplied
924
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Operation] parsed result object
925
+ # @yieldparam err [StandardError] error object if request failed
926
+ #
927
+ # @return [Google::Apis::GameservicesV1beta::Operation]
928
+ #
929
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
930
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
931
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
932
+ def create_project_location_realm(parent, realm_object = nil, realm_id: nil, fields: nil, quota_user: nil, options: nil, &block)
933
+ command = make_simple_command(:post, 'v1beta/{+parent}/realms', options)
934
+ command.request_representation = Google::Apis::GameservicesV1beta::Realm::Representation
935
+ command.request_object = realm_object
936
+ command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation
937
+ command.response_class = Google::Apis::GameservicesV1beta::Operation
938
+ command.params['parent'] = parent unless parent.nil?
939
+ command.query['realmId'] = realm_id unless realm_id.nil?
940
+ command.query['fields'] = fields unless fields.nil?
941
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
942
+ execute_or_queue_command(command, &block)
943
+ end
944
+
945
+ # Deletes a single Realm.
946
+ # @param [String] name
947
+ # Required. The name of the Realm to delete. Uses the form:
948
+ # `projects/`project`/locations/`location`/realms/`realm``.
949
+ # @param [String] fields
950
+ # Selector specifying which fields to include in a partial response.
951
+ # @param [String] quota_user
952
+ # Available to use for quota purposes for server-side applications. Can be any
953
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
954
+ # @param [Google::Apis::RequestOptions] options
955
+ # Request-specific options
956
+ #
957
+ # @yield [result, err] Result & error if block supplied
958
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Operation] parsed result object
959
+ # @yieldparam err [StandardError] error object if request failed
960
+ #
961
+ # @return [Google::Apis::GameservicesV1beta::Operation]
962
+ #
963
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
964
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
965
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
966
+ def delete_project_location_realm(name, fields: nil, quota_user: nil, options: nil, &block)
967
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
968
+ command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation
969
+ command.response_class = Google::Apis::GameservicesV1beta::Operation
970
+ command.params['name'] = name unless name.nil?
971
+ command.query['fields'] = fields unless fields.nil?
972
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
973
+ execute_or_queue_command(command, &block)
974
+ end
975
+
976
+ # Gets details of a single Realm.
977
+ # @param [String] name
978
+ # Required. The name of the Realm to retrieve. Uses the form:
979
+ # `projects/`project`/locations/`location`/realms/`realm``.
980
+ # @param [String] fields
981
+ # Selector specifying which fields to include in a partial response.
982
+ # @param [String] quota_user
983
+ # Available to use for quota purposes for server-side applications. Can be any
984
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
985
+ # @param [Google::Apis::RequestOptions] options
986
+ # Request-specific options
987
+ #
988
+ # @yield [result, err] Result & error if block supplied
989
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Realm] parsed result object
990
+ # @yieldparam err [StandardError] error object if request failed
991
+ #
992
+ # @return [Google::Apis::GameservicesV1beta::Realm]
993
+ #
994
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
995
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
996
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
997
+ def get_project_location_realm(name, fields: nil, quota_user: nil, options: nil, &block)
998
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
999
+ command.response_representation = Google::Apis::GameservicesV1beta::Realm::Representation
1000
+ command.response_class = Google::Apis::GameservicesV1beta::Realm
1001
+ command.params['name'] = name unless name.nil?
1002
+ command.query['fields'] = fields unless fields.nil?
1003
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1004
+ execute_or_queue_command(command, &block)
1005
+ end
1006
+
1007
+ # Lists Realms in a given project and Location.
1008
+ # @param [String] parent
1009
+ # Required. The parent resource name. Uses the form:
1010
+ # `projects/`project`/locations/`location``.
1011
+ # @param [String] filter
1012
+ # Optional. The filter to apply to list results.
1013
+ # @param [String] order_by
1014
+ # Optional. Specifies the ordering of results following syntax at
1015
+ # https://cloud.google.com/apis/design/design_patterns#sorting_order.
1016
+ # @param [Fixnum] page_size
1017
+ # Optional. The maximum number of items to return. If unspecified, server
1018
+ # will pick an appropriate default. Server may return fewer items than
1019
+ # requested. A caller should only rely on response's
1020
+ # next_page_token to
1021
+ # determine if there are more Realms left to be queried.
1022
+ # @param [String] page_token
1023
+ # Optional. The next_page_token value returned from a previous List request,
1024
+ # if any.
1025
+ # @param [String] fields
1026
+ # Selector specifying which fields to include in a partial response.
1027
+ # @param [String] quota_user
1028
+ # Available to use for quota purposes for server-side applications. Can be any
1029
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1030
+ # @param [Google::Apis::RequestOptions] options
1031
+ # Request-specific options
1032
+ #
1033
+ # @yield [result, err] Result & error if block supplied
1034
+ # @yieldparam result [Google::Apis::GameservicesV1beta::ListRealmsResponse] parsed result object
1035
+ # @yieldparam err [StandardError] error object if request failed
1036
+ #
1037
+ # @return [Google::Apis::GameservicesV1beta::ListRealmsResponse]
1038
+ #
1039
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1040
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1041
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1042
+ def list_project_location_realms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1043
+ command = make_simple_command(:get, 'v1beta/{+parent}/realms', options)
1044
+ command.response_representation = Google::Apis::GameservicesV1beta::ListRealmsResponse::Representation
1045
+ command.response_class = Google::Apis::GameservicesV1beta::ListRealmsResponse
1046
+ command.params['parent'] = parent unless parent.nil?
1047
+ command.query['filter'] = filter unless filter.nil?
1048
+ command.query['orderBy'] = order_by unless order_by.nil?
1049
+ command.query['pageSize'] = page_size unless page_size.nil?
1050
+ command.query['pageToken'] = page_token unless page_token.nil?
1051
+ command.query['fields'] = fields unless fields.nil?
1052
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1053
+ execute_or_queue_command(command, &block)
1054
+ end
1055
+
1056
+ # Patches a single Realm.
1057
+ # @param [String] name
1058
+ # The resource name of the Realm. Uses the form:
1059
+ # `projects/`project`/locations/`location`/realms/`realm``. For
1060
+ # example, `projects/my-project/locations/`location`/realms/my-realm`.
1061
+ # @param [Google::Apis::GameservicesV1beta::Realm] realm_object
1062
+ # @param [String] update_mask
1063
+ # Required. The update mask applies to the resource. For the `FieldMask`
1064
+ # definition, see
1065
+ # https:
1066
+ # //developers.google.com/protocol-buffers
1067
+ # // /docs/reference/google.protobuf#fieldmask
1068
+ # @param [String] fields
1069
+ # Selector specifying which fields to include in a partial response.
1070
+ # @param [String] quota_user
1071
+ # Available to use for quota purposes for server-side applications. Can be any
1072
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1073
+ # @param [Google::Apis::RequestOptions] options
1074
+ # Request-specific options
1075
+ #
1076
+ # @yield [result, err] Result & error if block supplied
1077
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Operation] parsed result object
1078
+ # @yieldparam err [StandardError] error object if request failed
1079
+ #
1080
+ # @return [Google::Apis::GameservicesV1beta::Operation]
1081
+ #
1082
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1083
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1084
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1085
+ def patch_project_location_realm(name, realm_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1086
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
1087
+ command.request_representation = Google::Apis::GameservicesV1beta::Realm::Representation
1088
+ command.request_object = realm_object
1089
+ command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation
1090
+ command.response_class = Google::Apis::GameservicesV1beta::Operation
1091
+ command.params['name'] = name unless name.nil?
1092
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1093
+ command.query['fields'] = fields unless fields.nil?
1094
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1095
+ execute_or_queue_command(command, &block)
1096
+ end
1097
+
1098
+ # Previews patches to a single Realm.
1099
+ # @param [String] name
1100
+ # The resource name of the Realm. Uses the form:
1101
+ # `projects/`project`/locations/`location`/realms/`realm``. For
1102
+ # example, `projects/my-project/locations/`location`/realms/my-realm`.
1103
+ # @param [Google::Apis::GameservicesV1beta::Realm] realm_object
1104
+ # @param [String] preview_time
1105
+ # Optional. The target timestamp to compute the preview.
1106
+ # @param [String] update_mask
1107
+ # Required. The update mask applies to the resource. For the `FieldMask`
1108
+ # definition, see
1109
+ # https:
1110
+ # //developers.google.com/protocol-buffers
1111
+ # // /docs/reference/google.protobuf#fieldmask
1112
+ # @param [String] fields
1113
+ # Selector specifying which fields to include in a partial response.
1114
+ # @param [String] quota_user
1115
+ # Available to use for quota purposes for server-side applications. Can be any
1116
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1117
+ # @param [Google::Apis::RequestOptions] options
1118
+ # Request-specific options
1119
+ #
1120
+ # @yield [result, err] Result & error if block supplied
1121
+ # @yieldparam result [Google::Apis::GameservicesV1beta::PreviewRealmUpdateResponse] parsed result object
1122
+ # @yieldparam err [StandardError] error object if request failed
1123
+ #
1124
+ # @return [Google::Apis::GameservicesV1beta::PreviewRealmUpdateResponse]
1125
+ #
1126
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1127
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1128
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1129
+ def preview_project_location_realm_update(name, realm_object = nil, preview_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1130
+ command = make_simple_command(:patch, 'v1beta/{+name}:previewUpdate', options)
1131
+ command.request_representation = Google::Apis::GameservicesV1beta::Realm::Representation
1132
+ command.request_object = realm_object
1133
+ command.response_representation = Google::Apis::GameservicesV1beta::PreviewRealmUpdateResponse::Representation
1134
+ command.response_class = Google::Apis::GameservicesV1beta::PreviewRealmUpdateResponse
1135
+ command.params['name'] = name unless name.nil?
1136
+ command.query['previewTime'] = preview_time unless preview_time.nil?
1137
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1138
+ command.query['fields'] = fields unless fields.nil?
1139
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1140
+ execute_or_queue_command(command, &block)
1141
+ end
1142
+
1143
+ # Creates a new game server cluster in a given project and location.
1144
+ # @param [String] parent
1145
+ # Required. The parent resource name. Uses the form:
1146
+ # `projects/`project`/locations/`location`/realms/`realm-id``.
1147
+ # @param [Google::Apis::GameservicesV1beta::GameServerCluster] game_server_cluster_object
1148
+ # @param [String] game_server_cluster_id
1149
+ # Required. The ID of the Game Server Cluster resource to be created.
1150
+ # @param [String] fields
1151
+ # Selector specifying which fields to include in a partial response.
1152
+ # @param [String] quota_user
1153
+ # Available to use for quota purposes for server-side applications. Can be any
1154
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1155
+ # @param [Google::Apis::RequestOptions] options
1156
+ # Request-specific options
1157
+ #
1158
+ # @yield [result, err] Result & error if block supplied
1159
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Operation] parsed result object
1160
+ # @yieldparam err [StandardError] error object if request failed
1161
+ #
1162
+ # @return [Google::Apis::GameservicesV1beta::Operation]
1163
+ #
1164
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1165
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1166
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1167
+ def create_project_location_realm_game_server_cluster(parent, game_server_cluster_object = nil, game_server_cluster_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1168
+ command = make_simple_command(:post, 'v1beta/{+parent}/gameServerClusters', options)
1169
+ command.request_representation = Google::Apis::GameservicesV1beta::GameServerCluster::Representation
1170
+ command.request_object = game_server_cluster_object
1171
+ command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation
1172
+ command.response_class = Google::Apis::GameservicesV1beta::Operation
1173
+ command.params['parent'] = parent unless parent.nil?
1174
+ command.query['gameServerClusterId'] = game_server_cluster_id unless game_server_cluster_id.nil?
1175
+ command.query['fields'] = fields unless fields.nil?
1176
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1177
+ execute_or_queue_command(command, &block)
1178
+ end
1179
+
1180
+ # Deletes a single game server cluster.
1181
+ # @param [String] name
1182
+ # Required. The name of the Game Server Cluster to delete. Uses the form:
1183
+ # `projects/`project`/locations/`location`/gameServerClusters/`cluster``.
1184
+ # @param [String] fields
1185
+ # Selector specifying which fields to include in a partial response.
1186
+ # @param [String] quota_user
1187
+ # Available to use for quota purposes for server-side applications. Can be any
1188
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1189
+ # @param [Google::Apis::RequestOptions] options
1190
+ # Request-specific options
1191
+ #
1192
+ # @yield [result, err] Result & error if block supplied
1193
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Operation] parsed result object
1194
+ # @yieldparam err [StandardError] error object if request failed
1195
+ #
1196
+ # @return [Google::Apis::GameservicesV1beta::Operation]
1197
+ #
1198
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1199
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1200
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1201
+ def delete_project_location_realm_game_server_cluster(name, fields: nil, quota_user: nil, options: nil, &block)
1202
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
1203
+ command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation
1204
+ command.response_class = Google::Apis::GameservicesV1beta::Operation
1205
+ command.params['name'] = name unless name.nil?
1206
+ command.query['fields'] = fields unless fields.nil?
1207
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1208
+ execute_or_queue_command(command, &block)
1209
+ end
1210
+
1211
+ # Gets details of a single game server cluster.
1212
+ # @param [String] name
1213
+ # Required. The name of the Game Server Cluster to retrieve. Uses the form:
1214
+ # `projects/`project`/locations/`location`/realms/`realm-id`/gameServerClusters/`
1215
+ # cluster``.
1216
+ # @param [String] fields
1217
+ # Selector specifying which fields to include in a partial response.
1218
+ # @param [String] quota_user
1219
+ # Available to use for quota purposes for server-side applications. Can be any
1220
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1221
+ # @param [Google::Apis::RequestOptions] options
1222
+ # Request-specific options
1223
+ #
1224
+ # @yield [result, err] Result & error if block supplied
1225
+ # @yieldparam result [Google::Apis::GameservicesV1beta::GameServerCluster] parsed result object
1226
+ # @yieldparam err [StandardError] error object if request failed
1227
+ #
1228
+ # @return [Google::Apis::GameservicesV1beta::GameServerCluster]
1229
+ #
1230
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1231
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1232
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1233
+ def get_project_location_realm_game_server_cluster(name, fields: nil, quota_user: nil, options: nil, &block)
1234
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
1235
+ command.response_representation = Google::Apis::GameservicesV1beta::GameServerCluster::Representation
1236
+ command.response_class = Google::Apis::GameservicesV1beta::GameServerCluster
1237
+ command.params['name'] = name unless name.nil?
1238
+ command.query['fields'] = fields unless fields.nil?
1239
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1240
+ execute_or_queue_command(command, &block)
1241
+ end
1242
+
1243
+ # Lists Game Server Clusters in a given project and location.
1244
+ # @param [String] parent
1245
+ # Required. The parent resource name. Uses the form:
1246
+ # "projects/`project`/locations/`location`/realms/`realm`".
1247
+ # @param [String] filter
1248
+ # Optional. The filter to apply to list results.
1249
+ # @param [String] order_by
1250
+ # Optional. Specifies the ordering of results following syntax at
1251
+ # https://cloud.google.com/apis/design/design_patterns#sorting_order.
1252
+ # @param [Fixnum] page_size
1253
+ # Optional. The maximum number of items to return. If unspecified, server
1254
+ # will pick an appropriate default. Server may return fewer items than
1255
+ # requested. A caller should only rely on response's
1256
+ # next_page_token to
1257
+ # determine if there are more GameServerClusters left to be queried.
1258
+ # @param [String] page_token
1259
+ # Optional. The next_page_token value returned from a previous List request, if
1260
+ # any.
1261
+ # @param [String] fields
1262
+ # Selector specifying which fields to include in a partial response.
1263
+ # @param [String] quota_user
1264
+ # Available to use for quota purposes for server-side applications. Can be any
1265
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1266
+ # @param [Google::Apis::RequestOptions] options
1267
+ # Request-specific options
1268
+ #
1269
+ # @yield [result, err] Result & error if block supplied
1270
+ # @yieldparam result [Google::Apis::GameservicesV1beta::ListGameServerClustersResponse] parsed result object
1271
+ # @yieldparam err [StandardError] error object if request failed
1272
+ #
1273
+ # @return [Google::Apis::GameservicesV1beta::ListGameServerClustersResponse]
1274
+ #
1275
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1276
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1277
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1278
+ def list_project_location_realm_game_server_clusters(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1279
+ command = make_simple_command(:get, 'v1beta/{+parent}/gameServerClusters', options)
1280
+ command.response_representation = Google::Apis::GameservicesV1beta::ListGameServerClustersResponse::Representation
1281
+ command.response_class = Google::Apis::GameservicesV1beta::ListGameServerClustersResponse
1282
+ command.params['parent'] = parent unless parent.nil?
1283
+ command.query['filter'] = filter unless filter.nil?
1284
+ command.query['orderBy'] = order_by unless order_by.nil?
1285
+ command.query['pageSize'] = page_size unless page_size.nil?
1286
+ command.query['pageToken'] = page_token unless page_token.nil?
1287
+ command.query['fields'] = fields unless fields.nil?
1288
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1289
+ execute_or_queue_command(command, &block)
1290
+ end
1291
+
1292
+ # Patches a single game server cluster.
1293
+ # @param [String] name
1294
+ # Required. The resource name of the Game Server Cluster. Uses the form:
1295
+ # `projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
1296
+ # cluster``.
1297
+ # For example,
1298
+ # `projects/my-project/locations/`location`/realms/zanzibar/gameServerClusters/
1299
+ # my-onprem-cluster`.
1300
+ # @param [Google::Apis::GameservicesV1beta::GameServerCluster] game_server_cluster_object
1301
+ # @param [String] update_mask
1302
+ # Required. Mask of fields to update. At least one path must be supplied in
1303
+ # this field. For the `FieldMask` definition, see
1304
+ # https:
1305
+ # //developers.google.com/protocol-buffers
1306
+ # // /docs/reference/google.protobuf#fieldmask
1307
+ # @param [String] fields
1308
+ # Selector specifying which fields to include in a partial response.
1309
+ # @param [String] quota_user
1310
+ # Available to use for quota purposes for server-side applications. Can be any
1311
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1312
+ # @param [Google::Apis::RequestOptions] options
1313
+ # Request-specific options
1314
+ #
1315
+ # @yield [result, err] Result & error if block supplied
1316
+ # @yieldparam result [Google::Apis::GameservicesV1beta::Operation] parsed result object
1317
+ # @yieldparam err [StandardError] error object if request failed
1318
+ #
1319
+ # @return [Google::Apis::GameservicesV1beta::Operation]
1320
+ #
1321
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1322
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1323
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1324
+ def patch_project_location_realm_game_server_cluster(name, game_server_cluster_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1325
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
1326
+ command.request_representation = Google::Apis::GameservicesV1beta::GameServerCluster::Representation
1327
+ command.request_object = game_server_cluster_object
1328
+ command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation
1329
+ command.response_class = Google::Apis::GameservicesV1beta::Operation
1330
+ command.params['name'] = name unless name.nil?
1331
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1332
+ command.query['fields'] = fields unless fields.nil?
1333
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1334
+ execute_or_queue_command(command, &block)
1335
+ end
1336
+
1337
+ # Previews creation of a new game server cluster in a given project and
1338
+ # location.
1339
+ # @param [String] parent
1340
+ # Required. The parent resource name. Uses the form:
1341
+ # `projects/`project`/locations/`location`/realms/`realm``.
1342
+ # @param [Google::Apis::GameservicesV1beta::GameServerCluster] game_server_cluster_object
1343
+ # @param [String] game_server_cluster_id
1344
+ # Required. The ID of the Game Server Cluster resource to be created.
1345
+ # @param [String] preview_time
1346
+ # Optional. The target timestamp to compute the preview.
1347
+ # @param [String] fields
1348
+ # Selector specifying which fields to include in a partial response.
1349
+ # @param [String] quota_user
1350
+ # Available to use for quota purposes for server-side applications. Can be any
1351
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1352
+ # @param [Google::Apis::RequestOptions] options
1353
+ # Request-specific options
1354
+ #
1355
+ # @yield [result, err] Result & error if block supplied
1356
+ # @yieldparam result [Google::Apis::GameservicesV1beta::PreviewCreateGameServerClusterResponse] parsed result object
1357
+ # @yieldparam err [StandardError] error object if request failed
1358
+ #
1359
+ # @return [Google::Apis::GameservicesV1beta::PreviewCreateGameServerClusterResponse]
1360
+ #
1361
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1362
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1363
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1364
+ def preview_project_location_realm_game_server_cluster_create(parent, game_server_cluster_object = nil, game_server_cluster_id: nil, preview_time: nil, fields: nil, quota_user: nil, options: nil, &block)
1365
+ command = make_simple_command(:post, 'v1beta/{+parent}/gameServerClusters:previewCreate', options)
1366
+ command.request_representation = Google::Apis::GameservicesV1beta::GameServerCluster::Representation
1367
+ command.request_object = game_server_cluster_object
1368
+ command.response_representation = Google::Apis::GameservicesV1beta::PreviewCreateGameServerClusterResponse::Representation
1369
+ command.response_class = Google::Apis::GameservicesV1beta::PreviewCreateGameServerClusterResponse
1370
+ command.params['parent'] = parent unless parent.nil?
1371
+ command.query['gameServerClusterId'] = game_server_cluster_id unless game_server_cluster_id.nil?
1372
+ command.query['previewTime'] = preview_time unless preview_time.nil?
1373
+ command.query['fields'] = fields unless fields.nil?
1374
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1375
+ execute_or_queue_command(command, &block)
1376
+ end
1377
+
1378
+ # Previews deletion of a single game server cluster.
1379
+ # @param [String] name
1380
+ # Required. The name of the Game Server Cluster to delete. Uses the form:
1381
+ # `projects/`project`/locations/`location`/gameServerClusters/`cluster``.
1382
+ # @param [String] preview_time
1383
+ # Optional. The target timestamp to compute the preview.
1384
+ # @param [String] fields
1385
+ # Selector specifying which fields to include in a partial response.
1386
+ # @param [String] quota_user
1387
+ # Available to use for quota purposes for server-side applications. Can be any
1388
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1389
+ # @param [Google::Apis::RequestOptions] options
1390
+ # Request-specific options
1391
+ #
1392
+ # @yield [result, err] Result & error if block supplied
1393
+ # @yieldparam result [Google::Apis::GameservicesV1beta::PreviewDeleteGameServerClusterResponse] parsed result object
1394
+ # @yieldparam err [StandardError] error object if request failed
1395
+ #
1396
+ # @return [Google::Apis::GameservicesV1beta::PreviewDeleteGameServerClusterResponse]
1397
+ #
1398
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1399
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1400
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1401
+ def preview_project_location_realm_game_server_cluster_delete(name, preview_time: nil, fields: nil, quota_user: nil, options: nil, &block)
1402
+ command = make_simple_command(:delete, 'v1beta/{+name}:previewDelete', options)
1403
+ command.response_representation = Google::Apis::GameservicesV1beta::PreviewDeleteGameServerClusterResponse::Representation
1404
+ command.response_class = Google::Apis::GameservicesV1beta::PreviewDeleteGameServerClusterResponse
1405
+ command.params['name'] = name unless name.nil?
1406
+ command.query['previewTime'] = preview_time unless preview_time.nil?
1407
+ command.query['fields'] = fields unless fields.nil?
1408
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1409
+ execute_or_queue_command(command, &block)
1410
+ end
1411
+
1412
+ # Previews updating a GameServerCluster.
1413
+ # @param [String] name
1414
+ # Required. The resource name of the Game Server Cluster. Uses the form:
1415
+ # `projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
1416
+ # cluster``.
1417
+ # For example,
1418
+ # `projects/my-project/locations/`location`/realms/zanzibar/gameServerClusters/
1419
+ # my-onprem-cluster`.
1420
+ # @param [Google::Apis::GameservicesV1beta::GameServerCluster] game_server_cluster_object
1421
+ # @param [String] preview_time
1422
+ # Optional. The target timestamp to compute the preview.
1423
+ # @param [String] update_mask
1424
+ # Required. Mask of fields to update. At least one path must be supplied in
1425
+ # this field. For the `FieldMask` definition, see
1426
+ # https:
1427
+ # //developers.google.com/protocol-buffers
1428
+ # // /docs/reference/google.protobuf#fieldmask
1429
+ # @param [String] fields
1430
+ # Selector specifying which fields to include in a partial response.
1431
+ # @param [String] quota_user
1432
+ # Available to use for quota purposes for server-side applications. Can be any
1433
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1434
+ # @param [Google::Apis::RequestOptions] options
1435
+ # Request-specific options
1436
+ #
1437
+ # @yield [result, err] Result & error if block supplied
1438
+ # @yieldparam result [Google::Apis::GameservicesV1beta::PreviewUpdateGameServerClusterResponse] parsed result object
1439
+ # @yieldparam err [StandardError] error object if request failed
1440
+ #
1441
+ # @return [Google::Apis::GameservicesV1beta::PreviewUpdateGameServerClusterResponse]
1442
+ #
1443
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1444
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1445
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1446
+ def preview_project_location_realm_game_server_cluster_update(name, game_server_cluster_object = nil, preview_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1447
+ command = make_simple_command(:patch, 'v1beta/{+name}:previewUpdate', options)
1448
+ command.request_representation = Google::Apis::GameservicesV1beta::GameServerCluster::Representation
1449
+ command.request_object = game_server_cluster_object
1450
+ command.response_representation = Google::Apis::GameservicesV1beta::PreviewUpdateGameServerClusterResponse::Representation
1451
+ command.response_class = Google::Apis::GameservicesV1beta::PreviewUpdateGameServerClusterResponse
1452
+ command.params['name'] = name unless name.nil?
1453
+ command.query['previewTime'] = preview_time unless preview_time.nil?
1454
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1455
+ command.query['fields'] = fields unless fields.nil?
1456
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1457
+ execute_or_queue_command(command, &block)
1458
+ end
1459
+
1460
+ protected
1461
+
1462
+ def apply_command_defaults(command)
1463
+ command.query['key'] = key unless key.nil?
1464
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1465
+ end
1466
+ end
1467
+ end
1468
+ end
1469
+ end