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
@@ -1,399 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module CloudprivatecatalogproducerV1beta1
24
-
25
- class GoogleCloudPrivatecatalogproducerV1beta1Association
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
- class GoogleCloudPrivatecatalogproducerV1beta1Catalog
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
- class GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
- class GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
- class GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
- class GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
- class GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- include Google::Apis::Core::JsonObjectSupport
71
- end
72
-
73
- class GoogleCloudPrivatecatalogproducerV1beta1Product
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
- class GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest
80
- class Representation < Google::Apis::Core::JsonRepresentation; end
81
-
82
- include Google::Apis::Core::JsonObjectSupport
83
- end
84
-
85
- class GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest
86
- class Representation < Google::Apis::Core::JsonRepresentation; end
87
-
88
- include Google::Apis::Core::JsonObjectSupport
89
- end
90
-
91
- class GoogleCloudPrivatecatalogproducerV1beta1Version
92
- class Representation < Google::Apis::Core::JsonRepresentation; end
93
-
94
- include Google::Apis::Core::JsonObjectSupport
95
- end
96
-
97
- class GoogleIamV1AuditConfig
98
- class Representation < Google::Apis::Core::JsonRepresentation; end
99
-
100
- include Google::Apis::Core::JsonObjectSupport
101
- end
102
-
103
- class GoogleIamV1AuditLogConfig
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
107
- end
108
-
109
- class GoogleIamV1Binding
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
- class GoogleIamV1Policy
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
117
-
118
- include Google::Apis::Core::JsonObjectSupport
119
- end
120
-
121
- class GoogleIamV1SetIamPolicyRequest
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
- class GoogleIamV1TestIamPermissionsRequest
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
131
- end
132
-
133
- class GoogleIamV1TestIamPermissionsResponse
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
-
136
- include Google::Apis::Core::JsonObjectSupport
137
- end
138
-
139
- class GoogleLongrunningCancelOperationRequest
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
141
-
142
- include Google::Apis::Core::JsonObjectSupport
143
- end
144
-
145
- class GoogleLongrunningListOperationsResponse
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
- class GoogleLongrunningOperation
152
- class Representation < Google::Apis::Core::JsonRepresentation; end
153
-
154
- include Google::Apis::Core::JsonObjectSupport
155
- end
156
-
157
- class GoogleProtobufEmpty
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
- class GoogleRpcStatus
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
- class GoogleTypeExpr
170
- class Representation < Google::Apis::Core::JsonRepresentation; end
171
-
172
- include Google::Apis::Core::JsonObjectSupport
173
- end
174
-
175
- class GoogleCloudPrivatecatalogproducerV1beta1Association
176
- # @private
177
- class Representation < Google::Apis::Core::JsonRepresentation
178
- property :create_time, as: 'createTime'
179
- property :name, as: 'name'
180
- property :resource, as: 'resource'
181
- end
182
- end
183
-
184
- class GoogleCloudPrivatecatalogproducerV1beta1Catalog
185
- # @private
186
- class Representation < Google::Apis::Core::JsonRepresentation
187
- property :create_time, as: 'createTime'
188
- property :description, as: 'description'
189
- property :display_name, as: 'displayName'
190
- property :name, as: 'name'
191
- property :parent, as: 'parent'
192
- property :update_time, as: 'updateTime'
193
- end
194
- end
195
-
196
- class GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest
197
- # @private
198
- class Representation < Google::Apis::Core::JsonRepresentation
199
- property :destination_product_name, as: 'destinationProductName'
200
- end
201
- end
202
-
203
- class GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest
204
- # @private
205
- class Representation < Google::Apis::Core::JsonRepresentation
206
- property :association, as: 'association', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association::Representation
207
-
208
- end
209
- end
210
-
211
- class GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse
212
- # @private
213
- class Representation < Google::Apis::Core::JsonRepresentation
214
- collection :associations, as: 'associations', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association::Representation
215
-
216
- property :next_page_token, as: 'nextPageToken'
217
- end
218
- end
219
-
220
- class GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse
221
- # @private
222
- class Representation < Google::Apis::Core::JsonRepresentation
223
- collection :catalogs, as: 'catalogs', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
224
-
225
- property :next_page_token, as: 'nextPageToken'
226
- end
227
- end
228
-
229
- class GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse
230
- # @private
231
- class Representation < Google::Apis::Core::JsonRepresentation
232
- property :next_page_token, as: 'nextPageToken'
233
- collection :products, as: 'products', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product::Representation
234
-
235
- end
236
- end
237
-
238
- class GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse
239
- # @private
240
- class Representation < Google::Apis::Core::JsonRepresentation
241
- property :next_page_token, as: 'nextPageToken'
242
- collection :versions, as: 'versions', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version::Representation
243
-
244
- end
245
- end
246
-
247
- class GoogleCloudPrivatecatalogproducerV1beta1Product
248
- # @private
249
- class Representation < Google::Apis::Core::JsonRepresentation
250
- property :asset_type, as: 'assetType'
251
- property :create_time, as: 'createTime'
252
- hash :display_metadata, as: 'displayMetadata'
253
- property :icon_uri, as: 'iconUri'
254
- property :name, as: 'name'
255
- property :update_time, as: 'updateTime'
256
- end
257
- end
258
-
259
- class GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest
260
- # @private
261
- class Representation < Google::Apis::Core::JsonRepresentation
262
- end
263
- end
264
-
265
- class GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest
266
- # @private
267
- class Representation < Google::Apis::Core::JsonRepresentation
268
- property :icon, :base64 => true, as: 'icon'
269
- end
270
- end
271
-
272
- class GoogleCloudPrivatecatalogproducerV1beta1Version
273
- # @private
274
- class Representation < Google::Apis::Core::JsonRepresentation
275
- hash :asset, as: 'asset'
276
- property :create_time, as: 'createTime'
277
- property :description, as: 'description'
278
- property :name, as: 'name'
279
- hash :original_asset, as: 'originalAsset'
280
- property :update_time, as: 'updateTime'
281
- end
282
- end
283
-
284
- class GoogleIamV1AuditConfig
285
- # @private
286
- class Representation < Google::Apis::Core::JsonRepresentation
287
- collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1AuditLogConfig, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1AuditLogConfig::Representation
288
-
289
- property :service, as: 'service'
290
- end
291
- end
292
-
293
- class GoogleIamV1AuditLogConfig
294
- # @private
295
- class Representation < Google::Apis::Core::JsonRepresentation
296
- collection :exempted_members, as: 'exemptedMembers'
297
- property :log_type, as: 'logType'
298
- end
299
- end
300
-
301
- class GoogleIamV1Binding
302
- # @private
303
- class Representation < Google::Apis::Core::JsonRepresentation
304
- property :condition, as: 'condition', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleTypeExpr, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleTypeExpr::Representation
305
-
306
- collection :members, as: 'members'
307
- property :role, as: 'role'
308
- end
309
- end
310
-
311
- class GoogleIamV1Policy
312
- # @private
313
- class Representation < Google::Apis::Core::JsonRepresentation
314
- collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1AuditConfig, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1AuditConfig::Representation
315
-
316
- collection :bindings, as: 'bindings', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Binding, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Binding::Representation
317
-
318
- property :etag, :base64 => true, as: 'etag'
319
- property :version, as: 'version'
320
- end
321
- end
322
-
323
- class GoogleIamV1SetIamPolicyRequest
324
- # @private
325
- class Representation < Google::Apis::Core::JsonRepresentation
326
- property :policy, as: 'policy', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy::Representation
327
-
328
- property :update_mask, as: 'updateMask'
329
- end
330
- end
331
-
332
- class GoogleIamV1TestIamPermissionsRequest
333
- # @private
334
- class Representation < Google::Apis::Core::JsonRepresentation
335
- collection :permissions, as: 'permissions'
336
- end
337
- end
338
-
339
- class GoogleIamV1TestIamPermissionsResponse
340
- # @private
341
- class Representation < Google::Apis::Core::JsonRepresentation
342
- collection :permissions, as: 'permissions'
343
- end
344
- end
345
-
346
- class GoogleLongrunningCancelOperationRequest
347
- # @private
348
- class Representation < Google::Apis::Core::JsonRepresentation
349
- end
350
- end
351
-
352
- class GoogleLongrunningListOperationsResponse
353
- # @private
354
- class Representation < Google::Apis::Core::JsonRepresentation
355
- property :next_page_token, as: 'nextPageToken'
356
- collection :operations, as: 'operations', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation::Representation
357
-
358
- end
359
- end
360
-
361
- class GoogleLongrunningOperation
362
- # @private
363
- class Representation < Google::Apis::Core::JsonRepresentation
364
- property :done, as: 'done'
365
- property :error, as: 'error', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleRpcStatus, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleRpcStatus::Representation
366
-
367
- hash :metadata, as: 'metadata'
368
- property :name, as: 'name'
369
- hash :response, as: 'response'
370
- end
371
- end
372
-
373
- class GoogleProtobufEmpty
374
- # @private
375
- class Representation < Google::Apis::Core::JsonRepresentation
376
- end
377
- end
378
-
379
- class GoogleRpcStatus
380
- # @private
381
- class Representation < Google::Apis::Core::JsonRepresentation
382
- property :code, as: 'code'
383
- collection :details, as: 'details'
384
- property :message, as: 'message'
385
- end
386
- end
387
-
388
- class GoogleTypeExpr
389
- # @private
390
- class Representation < Google::Apis::Core::JsonRepresentation
391
- property :description, as: 'description'
392
- property :expression, as: 'expression'
393
- property :location, as: 'location'
394
- property :title, as: 'title'
395
- end
396
- end
397
- end
398
- end
399
- end
@@ -1,1081 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require '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 CloudprivatecatalogproducerV1beta1
23
- # Cloud Private Catalog Producer API
24
- #
25
- # Enables cloud users to manage and share enterprise catalogs intheir
26
- # organizations.
27
- #
28
- # @example
29
- # require 'google/apis/cloudprivatecatalogproducer_v1beta1'
30
- #
31
- # Cloudprivatecatalogproducer = Google::Apis::CloudprivatecatalogproducerV1beta1 # Alias the module
32
- # service = Cloudprivatecatalogproducer::CloudPrivateCatalogProducerService.new
33
- #
34
- # @see https://cloud.google.com/private-catalog/
35
- class CloudPrivateCatalogProducerService < Google::Apis::Core::BaseService
36
- # @return [String]
37
- # API key. Your API key identifies your project and provides you with API access,
38
- # quota, and reports. Required unless you provide an OAuth 2.0 token.
39
- attr_accessor :key
40
-
41
- # @return [String]
42
- # Available to use for quota purposes for server-side applications. Can be any
43
- # arbitrary string assigned to a user, but should not exceed 40 characters.
44
- attr_accessor :quota_user
45
-
46
- def initialize
47
- super('https://cloudprivatecatalogproducer.googleapis.com/', '')
48
- @batch_path = 'batch'
49
- end
50
-
51
- # Creates a new Catalog resource.
52
- # @param [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog] google_cloud_privatecatalogproducer_v1beta1_catalog_object
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::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation] parsed result object
63
- # @yieldparam err [StandardError] error object if request failed
64
- #
65
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation]
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 create_catalog(google_cloud_privatecatalogproducer_v1beta1_catalog_object = nil, fields: nil, quota_user: nil, options: nil, &block)
71
- command = make_simple_command(:post, 'v1beta1/catalogs', options)
72
- command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
73
- command.request_object = google_cloud_privatecatalogproducer_v1beta1_catalog_object
74
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation::Representation
75
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation
76
- command.query['fields'] = fields unless fields.nil?
77
- command.query['quotaUser'] = quota_user unless quota_user.nil?
78
- execute_or_queue_command(command, &block)
79
- end
80
-
81
- # Soft deletes an existing Catalog and all resources under it.
82
- # The catalog can only be deleted if there is no associations under it or
83
- # DeleteCatalogRequest.force is true. The delete operation
84
- # can be recovered by the PrivateCatalogProducer.UndeleteCatalog
85
- # method.
86
- # @param [String] name
87
- # The resource name of the catalog.
88
- # @param [Boolean] force
89
- # Forces deletion of the `Catalog` and its `Association` resources.
90
- # If the `Catalog` is still associated with other resources and
91
- # force is not set to true, then the operation fails.
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::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog] parsed result object
102
- # @yieldparam err [StandardError] error object if request failed
103
- #
104
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog]
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 delete_catalog(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
110
- command = make_simple_command(:delete, 'v1beta1/{+name}', options)
111
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
112
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog
113
- command.params['name'] = name unless name.nil?
114
- command.query['force'] = force unless force.nil?
115
- command.query['fields'] = fields unless fields.nil?
116
- command.query['quotaUser'] = quota_user unless quota_user.nil?
117
- execute_or_queue_command(command, &block)
118
- end
119
-
120
- # Returns the requested Catalog resource.
121
- # @param [String] name
122
- # The resource name of the catalog.
123
- # @param [String] fields
124
- # Selector specifying which fields to include in a partial response.
125
- # @param [String] quota_user
126
- # Available to use for quota purposes for server-side applications. Can be any
127
- # arbitrary string assigned to a user, but should not exceed 40 characters.
128
- # @param [Google::Apis::RequestOptions] options
129
- # Request-specific options
130
- #
131
- # @yield [result, err] Result & error if block supplied
132
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog] parsed result object
133
- # @yieldparam err [StandardError] error object if request failed
134
- #
135
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog]
136
- #
137
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
138
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
139
- # @raise [Google::Apis::AuthorizationError] Authorization is required
140
- def get_catalog(name, fields: nil, quota_user: nil, options: nil, &block)
141
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
142
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
143
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog
144
- command.params['name'] = name unless name.nil?
145
- command.query['fields'] = fields unless fields.nil?
146
- command.query['quotaUser'] = quota_user unless quota_user.nil?
147
- execute_or_queue_command(command, &block)
148
- end
149
-
150
- # Gets IAM policy for the specified Catalog.
151
- # @param [String] resource
152
- # REQUIRED: The resource for which the policy is being requested.
153
- # See the operation documentation for the appropriate value for this field.
154
- # @param [Fixnum] options_requested_policy_version
155
- # Optional. The policy format version to be returned.
156
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
157
- # rejected.
158
- # Requests for policies with any conditional bindings must specify version 3.
159
- # Policies without any conditional bindings may specify any valid value or
160
- # leave the field unset.
161
- # @param [String] fields
162
- # Selector specifying which fields to include in a partial response.
163
- # @param [String] quota_user
164
- # Available to use for quota purposes for server-side applications. Can be any
165
- # arbitrary string assigned to a user, but should not exceed 40 characters.
166
- # @param [Google::Apis::RequestOptions] options
167
- # Request-specific options
168
- #
169
- # @yield [result, err] Result & error if block supplied
170
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy] parsed result object
171
- # @yieldparam err [StandardError] error object if request failed
172
- #
173
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy]
174
- #
175
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
176
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
177
- # @raise [Google::Apis::AuthorizationError] Authorization is required
178
- def get_catalog_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
179
- command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
180
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy::Representation
181
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy
182
- command.params['resource'] = resource unless resource.nil?
183
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
184
- command.query['fields'] = fields unless fields.nil?
185
- command.query['quotaUser'] = quota_user unless quota_user.nil?
186
- execute_or_queue_command(command, &block)
187
- end
188
-
189
- # Lists Catalog resources that the producer has access to, within the
190
- # scope of the parent resource.
191
- # @param [Fixnum] page_size
192
- # The maximum number of catalogs to return.
193
- # @param [String] page_token
194
- # A pagination token returned from a previous call to ListCatalogs
195
- # that indicates where this listing should continue from.
196
- # This field is optional.
197
- # @param [String] parent
198
- # The resource name of the parent resource.
199
- # @param [String] fields
200
- # Selector specifying which fields to include in a partial response.
201
- # @param [String] quota_user
202
- # Available to use for quota purposes for server-side applications. Can be any
203
- # arbitrary string assigned to a user, but should not exceed 40 characters.
204
- # @param [Google::Apis::RequestOptions] options
205
- # Request-specific options
206
- #
207
- # @yield [result, err] Result & error if block supplied
208
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse] parsed result object
209
- # @yieldparam err [StandardError] error object if request failed
210
- #
211
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse]
212
- #
213
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
214
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
215
- # @raise [Google::Apis::AuthorizationError] Authorization is required
216
- def list_catalogs(page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
217
- command = make_simple_command(:get, 'v1beta1/catalogs', options)
218
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse::Representation
219
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse
220
- command.query['pageSize'] = page_size unless page_size.nil?
221
- command.query['pageToken'] = page_token unless page_token.nil?
222
- command.query['parent'] = parent unless parent.nil?
223
- command.query['fields'] = fields unless fields.nil?
224
- command.query['quotaUser'] = quota_user unless quota_user.nil?
225
- execute_or_queue_command(command, &block)
226
- end
227
-
228
- # Updates a specific Catalog resource.
229
- # @param [String] name
230
- # Output only. The resource name of the catalog, in the format
231
- # `catalogs/`catalog_id`'.
232
- # A unique identifier for the catalog, which is generated
233
- # by catalog service.
234
- # @param [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog] google_cloud_privatecatalogproducer_v1beta1_catalog_object
235
- # @param [String] update_mask
236
- # Field mask that controls which fields of the catalog should be updated.
237
- # @param [String] fields
238
- # Selector specifying which fields to include in a partial response.
239
- # @param [String] quota_user
240
- # Available to use for quota purposes for server-side applications. Can be any
241
- # arbitrary string assigned to a user, but should not exceed 40 characters.
242
- # @param [Google::Apis::RequestOptions] options
243
- # Request-specific options
244
- #
245
- # @yield [result, err] Result & error if block supplied
246
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog] parsed result object
247
- # @yieldparam err [StandardError] error object if request failed
248
- #
249
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog]
250
- #
251
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
252
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
253
- # @raise [Google::Apis::AuthorizationError] Authorization is required
254
- def patch_catalog(name, google_cloud_privatecatalogproducer_v1beta1_catalog_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
255
- command = make_simple_command(:patch, 'v1beta1/{+name}', options)
256
- command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
257
- command.request_object = google_cloud_privatecatalogproducer_v1beta1_catalog_object
258
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
259
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog
260
- command.params['name'] = name unless name.nil?
261
- command.query['updateMask'] = update_mask unless update_mask.nil?
262
- command.query['fields'] = fields unless fields.nil?
263
- command.query['quotaUser'] = quota_user unless quota_user.nil?
264
- execute_or_queue_command(command, &block)
265
- end
266
-
267
- # Sets the IAM policy for the specified Catalog.
268
- # @param [String] resource
269
- # REQUIRED: The resource for which the policy is being specified.
270
- # See the operation documentation for the appropriate value for this field.
271
- # @param [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
272
- # @param [String] fields
273
- # Selector specifying which fields to include in a partial response.
274
- # @param [String] quota_user
275
- # Available to use for quota purposes for server-side applications. Can be any
276
- # arbitrary string assigned to a user, but should not exceed 40 characters.
277
- # @param [Google::Apis::RequestOptions] options
278
- # Request-specific options
279
- #
280
- # @yield [result, err] Result & error if block supplied
281
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy] parsed result object
282
- # @yieldparam err [StandardError] error object if request failed
283
- #
284
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy]
285
- #
286
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
287
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
288
- # @raise [Google::Apis::AuthorizationError] Authorization is required
289
- def set_catalog_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
290
- command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
291
- command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
292
- command.request_object = google_iam_v1_set_iam_policy_request_object
293
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy::Representation
294
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy
295
- command.params['resource'] = resource unless resource.nil?
296
- command.query['fields'] = fields unless fields.nil?
297
- command.query['quotaUser'] = quota_user unless quota_user.nil?
298
- execute_or_queue_command(command, &block)
299
- end
300
-
301
- # Tests the IAM permissions for the specified Catalog.
302
- # @param [String] resource
303
- # REQUIRED: The resource for which the policy detail is being requested.
304
- # See the operation documentation for the appropriate value for this field.
305
- # @param [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
306
- # @param [String] fields
307
- # Selector specifying which fields to include in a partial response.
308
- # @param [String] quota_user
309
- # Available to use for quota purposes for server-side applications. Can be any
310
- # arbitrary string assigned to a user, but should not exceed 40 characters.
311
- # @param [Google::Apis::RequestOptions] options
312
- # Request-specific options
313
- #
314
- # @yield [result, err] Result & error if block supplied
315
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
316
- # @yieldparam err [StandardError] error object if request failed
317
- #
318
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1TestIamPermissionsResponse]
319
- #
320
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
321
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
322
- # @raise [Google::Apis::AuthorizationError] Authorization is required
323
- def test_catalog_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
324
- command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
325
- command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation
326
- command.request_object = google_iam_v1_test_iam_permissions_request_object
327
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
328
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1TestIamPermissionsResponse
329
- command.params['resource'] = resource unless resource.nil?
330
- command.query['fields'] = fields unless fields.nil?
331
- command.query['quotaUser'] = quota_user unless quota_user.nil?
332
- execute_or_queue_command(command, &block)
333
- end
334
-
335
- # Undeletes a deleted Catalog and all resources under it.
336
- # @param [String] name
337
- # The resource name of the catalog.
338
- # @param [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest] google_cloud_privatecatalogproducer_v1beta1_undelete_catalog_request_object
339
- # @param [String] fields
340
- # Selector specifying which fields to include in a partial response.
341
- # @param [String] quota_user
342
- # Available to use for quota purposes for server-side applications. Can be any
343
- # arbitrary string assigned to a user, but should not exceed 40 characters.
344
- # @param [Google::Apis::RequestOptions] options
345
- # Request-specific options
346
- #
347
- # @yield [result, err] Result & error if block supplied
348
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog] parsed result object
349
- # @yieldparam err [StandardError] error object if request failed
350
- #
351
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog]
352
- #
353
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
354
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
355
- # @raise [Google::Apis::AuthorizationError] Authorization is required
356
- def undelete_catalog(name, google_cloud_privatecatalogproducer_v1beta1_undelete_catalog_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
357
- command = make_simple_command(:post, 'v1beta1/{+name}:undelete', options)
358
- command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest::Representation
359
- command.request_object = google_cloud_privatecatalogproducer_v1beta1_undelete_catalog_request_object
360
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
361
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog
362
- command.params['name'] = name unless name.nil?
363
- command.query['fields'] = fields unless fields.nil?
364
- command.query['quotaUser'] = quota_user unless quota_user.nil?
365
- execute_or_queue_command(command, &block)
366
- end
367
-
368
- # Creates an Association instance under a given Catalog.
369
- # @param [String] parent
370
- # The `Catalog` resource's name.
371
- # @param [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest] google_cloud_privatecatalogproducer_v1beta1_create_association_request_object
372
- # @param [String] fields
373
- # Selector specifying which fields to include in a partial response.
374
- # @param [String] quota_user
375
- # Available to use for quota purposes for server-side applications. Can be any
376
- # arbitrary string assigned to a user, but should not exceed 40 characters.
377
- # @param [Google::Apis::RequestOptions] options
378
- # Request-specific options
379
- #
380
- # @yield [result, err] Result & error if block supplied
381
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association] parsed result object
382
- # @yieldparam err [StandardError] error object if request failed
383
- #
384
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association]
385
- #
386
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
387
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
388
- # @raise [Google::Apis::AuthorizationError] Authorization is required
389
- def create_catalog_association(parent, google_cloud_privatecatalogproducer_v1beta1_create_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
390
- command = make_simple_command(:post, 'v1beta1/{+parent}/associations', options)
391
- command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest::Representation
392
- command.request_object = google_cloud_privatecatalogproducer_v1beta1_create_association_request_object
393
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association::Representation
394
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association
395
- command.params['parent'] = parent unless parent.nil?
396
- command.query['fields'] = fields unless fields.nil?
397
- command.query['quotaUser'] = quota_user unless quota_user.nil?
398
- execute_or_queue_command(command, &block)
399
- end
400
-
401
- # Deletes the given Association.
402
- # @param [String] name
403
- # The resource name of the `Association` to delete.
404
- # @param [String] fields
405
- # Selector specifying which fields to include in a partial response.
406
- # @param [String] quota_user
407
- # Available to use for quota purposes for server-side applications. Can be any
408
- # arbitrary string assigned to a user, but should not exceed 40 characters.
409
- # @param [Google::Apis::RequestOptions] options
410
- # Request-specific options
411
- #
412
- # @yield [result, err] Result & error if block supplied
413
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty] parsed result object
414
- # @yieldparam err [StandardError] error object if request failed
415
- #
416
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty]
417
- #
418
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
419
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
420
- # @raise [Google::Apis::AuthorizationError] Authorization is required
421
- def delete_catalog_association(name, fields: nil, quota_user: nil, options: nil, &block)
422
- command = make_simple_command(:delete, 'v1beta1/{+name}', options)
423
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty::Representation
424
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty
425
- command.params['name'] = name unless name.nil?
426
- command.query['fields'] = fields unless fields.nil?
427
- command.query['quotaUser'] = quota_user unless quota_user.nil?
428
- execute_or_queue_command(command, &block)
429
- end
430
-
431
- # Returns the requested Association resource.
432
- # @param [String] name
433
- # The resource name of the `Association` to retrieve.
434
- # @param [String] fields
435
- # Selector specifying which fields to include in a partial response.
436
- # @param [String] quota_user
437
- # Available to use for quota purposes for server-side applications. Can be any
438
- # arbitrary string assigned to a user, but should not exceed 40 characters.
439
- # @param [Google::Apis::RequestOptions] options
440
- # Request-specific options
441
- #
442
- # @yield [result, err] Result & error if block supplied
443
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association] parsed result object
444
- # @yieldparam err [StandardError] error object if request failed
445
- #
446
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association]
447
- #
448
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
449
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
450
- # @raise [Google::Apis::AuthorizationError] Authorization is required
451
- def get_catalog_association(name, fields: nil, quota_user: nil, options: nil, &block)
452
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
453
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association::Representation
454
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association
455
- command.params['name'] = name unless name.nil?
456
- command.query['fields'] = fields unless fields.nil?
457
- command.query['quotaUser'] = quota_user unless quota_user.nil?
458
- execute_or_queue_command(command, &block)
459
- end
460
-
461
- # Lists all Association resources under a catalog.
462
- # @param [String] parent
463
- # The resource name of the `Catalog` whose `Associations` are
464
- # being retrieved. In the format `catalogs/<catalog>`.
465
- # @param [Fixnum] page_size
466
- # The maximum number of catalog associations to return.
467
- # @param [String] page_token
468
- # A pagination token returned from the previous call to
469
- # `ListAssociations`.
470
- # @param [String] fields
471
- # Selector specifying which fields to include in a partial response.
472
- # @param [String] quota_user
473
- # Available to use for quota purposes for server-side applications. Can be any
474
- # arbitrary string assigned to a user, but should not exceed 40 characters.
475
- # @param [Google::Apis::RequestOptions] options
476
- # Request-specific options
477
- #
478
- # @yield [result, err] Result & error if block supplied
479
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse] parsed result object
480
- # @yieldparam err [StandardError] error object if request failed
481
- #
482
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse]
483
- #
484
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
485
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
486
- # @raise [Google::Apis::AuthorizationError] Authorization is required
487
- def list_catalog_associations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
488
- command = make_simple_command(:get, 'v1beta1/{+parent}/associations', options)
489
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse::Representation
490
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse
491
- command.params['parent'] = parent unless parent.nil?
492
- command.query['pageSize'] = page_size unless page_size.nil?
493
- command.query['pageToken'] = page_token unless page_token.nil?
494
- command.query['fields'] = fields unless fields.nil?
495
- command.query['quotaUser'] = quota_user unless quota_user.nil?
496
- execute_or_queue_command(command, &block)
497
- end
498
-
499
- # Copies a Product under another Catalog.
500
- # @param [String] name
501
- # The resource name of the current product that is copied from.
502
- # @param [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest] google_cloud_privatecatalogproducer_v1beta1_copy_product_request_object
503
- # @param [String] fields
504
- # Selector specifying which fields to include in a partial response.
505
- # @param [String] quota_user
506
- # Available to use for quota purposes for server-side applications. Can be any
507
- # arbitrary string assigned to a user, but should not exceed 40 characters.
508
- # @param [Google::Apis::RequestOptions] options
509
- # Request-specific options
510
- #
511
- # @yield [result, err] Result & error if block supplied
512
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation] parsed result object
513
- # @yieldparam err [StandardError] error object if request failed
514
- #
515
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation]
516
- #
517
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
518
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
519
- # @raise [Google::Apis::AuthorizationError] Authorization is required
520
- def copy_catalog_product(name, google_cloud_privatecatalogproducer_v1beta1_copy_product_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
521
- command = make_simple_command(:post, 'v1beta1/{+name}:copy', options)
522
- command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest::Representation
523
- command.request_object = google_cloud_privatecatalogproducer_v1beta1_copy_product_request_object
524
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation::Representation
525
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation
526
- command.params['name'] = name unless name.nil?
527
- command.query['fields'] = fields unless fields.nil?
528
- command.query['quotaUser'] = quota_user unless quota_user.nil?
529
- execute_or_queue_command(command, &block)
530
- end
531
-
532
- # Creates a Product instance under a given Catalog.
533
- # @param [String] parent
534
- # The catalog name of the new product's parent.
535
- # @param [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product] google_cloud_privatecatalogproducer_v1beta1_product_object
536
- # @param [String] fields
537
- # Selector specifying which fields to include in a partial response.
538
- # @param [String] quota_user
539
- # Available to use for quota purposes for server-side applications. Can be any
540
- # arbitrary string assigned to a user, but should not exceed 40 characters.
541
- # @param [Google::Apis::RequestOptions] options
542
- # Request-specific options
543
- #
544
- # @yield [result, err] Result & error if block supplied
545
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product] parsed result object
546
- # @yieldparam err [StandardError] error object if request failed
547
- #
548
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product]
549
- #
550
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
551
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
552
- # @raise [Google::Apis::AuthorizationError] Authorization is required
553
- def create_catalog_product(parent, google_cloud_privatecatalogproducer_v1beta1_product_object = nil, fields: nil, quota_user: nil, options: nil, &block)
554
- command = make_simple_command(:post, 'v1beta1/{+parent}/products', options)
555
- command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product::Representation
556
- command.request_object = google_cloud_privatecatalogproducer_v1beta1_product_object
557
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product::Representation
558
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product
559
- command.params['parent'] = parent unless parent.nil?
560
- command.query['fields'] = fields unless fields.nil?
561
- command.query['quotaUser'] = quota_user unless quota_user.nil?
562
- execute_or_queue_command(command, &block)
563
- end
564
-
565
- # Hard deletes a Product.
566
- # @param [String] name
567
- # The resource name of the product.
568
- # @param [String] fields
569
- # Selector specifying which fields to include in a partial response.
570
- # @param [String] quota_user
571
- # Available to use for quota purposes for server-side applications. Can be any
572
- # arbitrary string assigned to a user, but should not exceed 40 characters.
573
- # @param [Google::Apis::RequestOptions] options
574
- # Request-specific options
575
- #
576
- # @yield [result, err] Result & error if block supplied
577
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty] parsed result object
578
- # @yieldparam err [StandardError] error object if request failed
579
- #
580
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty]
581
- #
582
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
583
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
584
- # @raise [Google::Apis::AuthorizationError] Authorization is required
585
- def delete_catalog_product(name, fields: nil, quota_user: nil, options: nil, &block)
586
- command = make_simple_command(:delete, 'v1beta1/{+name}', options)
587
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty::Representation
588
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty
589
- command.params['name'] = name unless name.nil?
590
- command.query['fields'] = fields unless fields.nil?
591
- command.query['quotaUser'] = quota_user unless quota_user.nil?
592
- execute_or_queue_command(command, &block)
593
- end
594
-
595
- # Returns the requested Product resource.
596
- # @param [String] name
597
- # The resource name of the product.
598
- # @param [String] fields
599
- # Selector specifying which fields to include in a partial response.
600
- # @param [String] quota_user
601
- # Available to use for quota purposes for server-side applications. Can be any
602
- # arbitrary string assigned to a user, but should not exceed 40 characters.
603
- # @param [Google::Apis::RequestOptions] options
604
- # Request-specific options
605
- #
606
- # @yield [result, err] Result & error if block supplied
607
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product] parsed result object
608
- # @yieldparam err [StandardError] error object if request failed
609
- #
610
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product]
611
- #
612
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
613
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
614
- # @raise [Google::Apis::AuthorizationError] Authorization is required
615
- def get_catalog_product(name, fields: nil, quota_user: nil, options: nil, &block)
616
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
617
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product::Representation
618
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product
619
- command.params['name'] = name unless name.nil?
620
- command.query['fields'] = fields unless fields.nil?
621
- command.query['quotaUser'] = quota_user unless quota_user.nil?
622
- execute_or_queue_command(command, &block)
623
- end
624
-
625
- # Lists Product resources that the producer has access to, within the
626
- # scope of the parent catalog.
627
- # @param [String] parent
628
- # The resource name of the parent resource.
629
- # @param [String] filter
630
- # A filter expression used to restrict the returned results based
631
- # upon properties of the product.
632
- # @param [Fixnum] page_size
633
- # The maximum number of products to return.
634
- # @param [String] page_token
635
- # A pagination token returned from a previous call to ListProducts
636
- # that indicates where this listing should continue from.
637
- # This field is optional.
638
- # @param [String] fields
639
- # Selector specifying which fields to include in a partial response.
640
- # @param [String] quota_user
641
- # Available to use for quota purposes for server-side applications. Can be any
642
- # arbitrary string assigned to a user, but should not exceed 40 characters.
643
- # @param [Google::Apis::RequestOptions] options
644
- # Request-specific options
645
- #
646
- # @yield [result, err] Result & error if block supplied
647
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse] parsed result object
648
- # @yieldparam err [StandardError] error object if request failed
649
- #
650
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse]
651
- #
652
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
653
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
654
- # @raise [Google::Apis::AuthorizationError] Authorization is required
655
- def list_catalog_products(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
656
- command = make_simple_command(:get, 'v1beta1/{+parent}/products', options)
657
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse::Representation
658
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse
659
- command.params['parent'] = parent unless parent.nil?
660
- command.query['filter'] = filter unless filter.nil?
661
- command.query['pageSize'] = page_size unless page_size.nil?
662
- command.query['pageToken'] = page_token unless page_token.nil?
663
- command.query['fields'] = fields unless fields.nil?
664
- command.query['quotaUser'] = quota_user unless quota_user.nil?
665
- execute_or_queue_command(command, &block)
666
- end
667
-
668
- # Updates a specific Product resource.
669
- # @param [String] name
670
- # Required. The resource name of the product in the format
671
- # `catalogs/`catalog_id`/products/a-z*[a-z0-9]'.
672
- # A unique identifier for the product under a catalog, which cannot
673
- # be changed after the product is created. The final
674
- # segment of the name must between 1 and 256 characters in length.
675
- # @param [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product] google_cloud_privatecatalogproducer_v1beta1_product_object
676
- # @param [String] update_mask
677
- # Field mask that controls which fields of the product should be updated.
678
- # @param [String] fields
679
- # Selector specifying which fields to include in a partial response.
680
- # @param [String] quota_user
681
- # Available to use for quota purposes for server-side applications. Can be any
682
- # arbitrary string assigned to a user, but should not exceed 40 characters.
683
- # @param [Google::Apis::RequestOptions] options
684
- # Request-specific options
685
- #
686
- # @yield [result, err] Result & error if block supplied
687
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product] parsed result object
688
- # @yieldparam err [StandardError] error object if request failed
689
- #
690
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product]
691
- #
692
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
693
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
694
- # @raise [Google::Apis::AuthorizationError] Authorization is required
695
- def patch_catalog_product(name, google_cloud_privatecatalogproducer_v1beta1_product_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
696
- command = make_simple_command(:patch, 'v1beta1/{+name}', options)
697
- command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product::Representation
698
- command.request_object = google_cloud_privatecatalogproducer_v1beta1_product_object
699
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product::Representation
700
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product
701
- command.params['name'] = name unless name.nil?
702
- command.query['updateMask'] = update_mask unless update_mask.nil?
703
- command.query['fields'] = fields unless fields.nil?
704
- command.query['quotaUser'] = quota_user unless quota_user.nil?
705
- execute_or_queue_command(command, &block)
706
- end
707
-
708
- # Creates an Icon instance under a given Product.
709
- # If Product only has a default icon, a new Icon
710
- # instance is created and associated with the given Product.
711
- # If Product already has a non-default icon, the action creates
712
- # a new Icon instance, associates the newly created
713
- # Icon with the given Product and deletes the old icon.
714
- # @param [String] product
715
- # The resource name of the product.
716
- # @param [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest] google_cloud_privatecatalogproducer_v1beta1_upload_icon_request_object
717
- # @param [String] fields
718
- # Selector specifying which fields to include in a partial response.
719
- # @param [String] quota_user
720
- # Available to use for quota purposes for server-side applications. Can be any
721
- # arbitrary string assigned to a user, but should not exceed 40 characters.
722
- # @param [Google::Apis::RequestOptions] options
723
- # Request-specific options
724
- #
725
- # @yield [result, err] Result & error if block supplied
726
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty] parsed result object
727
- # @yieldparam err [StandardError] error object if request failed
728
- #
729
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty]
730
- #
731
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
732
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
733
- # @raise [Google::Apis::AuthorizationError] Authorization is required
734
- def upload_catalog_product_icon(product, google_cloud_privatecatalogproducer_v1beta1_upload_icon_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
735
- command = make_simple_command(:post, 'v1beta1/{+product}/icons:upload', options)
736
- command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest::Representation
737
- command.request_object = google_cloud_privatecatalogproducer_v1beta1_upload_icon_request_object
738
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty::Representation
739
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty
740
- command.params['product'] = product unless product.nil?
741
- command.query['fields'] = fields unless fields.nil?
742
- command.query['quotaUser'] = quota_user unless quota_user.nil?
743
- execute_or_queue_command(command, &block)
744
- end
745
-
746
- # Creates a Version instance under a given Product.
747
- # @param [String] parent
748
- # The product name of the new version's parent.
749
- # @param [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version] google_cloud_privatecatalogproducer_v1beta1_version_object
750
- # @param [String] fields
751
- # Selector specifying which fields to include in a partial response.
752
- # @param [String] quota_user
753
- # Available to use for quota purposes for server-side applications. Can be any
754
- # arbitrary string assigned to a user, but should not exceed 40 characters.
755
- # @param [Google::Apis::RequestOptions] options
756
- # Request-specific options
757
- #
758
- # @yield [result, err] Result & error if block supplied
759
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation] parsed result object
760
- # @yieldparam err [StandardError] error object if request failed
761
- #
762
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation]
763
- #
764
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
765
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
766
- # @raise [Google::Apis::AuthorizationError] Authorization is required
767
- def create_catalog_product_version(parent, google_cloud_privatecatalogproducer_v1beta1_version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
768
- command = make_simple_command(:post, 'v1beta1/{+parent}/versions', options)
769
- command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version::Representation
770
- command.request_object = google_cloud_privatecatalogproducer_v1beta1_version_object
771
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation::Representation
772
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation
773
- command.params['parent'] = parent unless parent.nil?
774
- command.query['fields'] = fields unless fields.nil?
775
- command.query['quotaUser'] = quota_user unless quota_user.nil?
776
- execute_or_queue_command(command, &block)
777
- end
778
-
779
- # Hard deletes a Version.
780
- # @param [String] name
781
- # The resource name of the version.
782
- # @param [String] fields
783
- # Selector specifying which fields to include in a partial response.
784
- # @param [String] quota_user
785
- # Available to use for quota purposes for server-side applications. Can be any
786
- # arbitrary string assigned to a user, but should not exceed 40 characters.
787
- # @param [Google::Apis::RequestOptions] options
788
- # Request-specific options
789
- #
790
- # @yield [result, err] Result & error if block supplied
791
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty] parsed result object
792
- # @yieldparam err [StandardError] error object if request failed
793
- #
794
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty]
795
- #
796
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
797
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
798
- # @raise [Google::Apis::AuthorizationError] Authorization is required
799
- def delete_catalog_product_version(name, fields: nil, quota_user: nil, options: nil, &block)
800
- command = make_simple_command(:delete, 'v1beta1/{+name}', options)
801
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty::Representation
802
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty
803
- command.params['name'] = name unless name.nil?
804
- command.query['fields'] = fields unless fields.nil?
805
- command.query['quotaUser'] = quota_user unless quota_user.nil?
806
- execute_or_queue_command(command, &block)
807
- end
808
-
809
- # Returns the requested Version resource.
810
- # @param [String] name
811
- # The resource name of the version.
812
- # @param [String] fields
813
- # Selector specifying which fields to include in a partial response.
814
- # @param [String] quota_user
815
- # Available to use for quota purposes for server-side applications. Can be any
816
- # arbitrary string assigned to a user, but should not exceed 40 characters.
817
- # @param [Google::Apis::RequestOptions] options
818
- # Request-specific options
819
- #
820
- # @yield [result, err] Result & error if block supplied
821
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version] parsed result object
822
- # @yieldparam err [StandardError] error object if request failed
823
- #
824
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version]
825
- #
826
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
827
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
828
- # @raise [Google::Apis::AuthorizationError] Authorization is required
829
- def get_catalog_product_version(name, fields: nil, quota_user: nil, options: nil, &block)
830
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
831
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version::Representation
832
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version
833
- command.params['name'] = name unless name.nil?
834
- command.query['fields'] = fields unless fields.nil?
835
- command.query['quotaUser'] = quota_user unless quota_user.nil?
836
- execute_or_queue_command(command, &block)
837
- end
838
-
839
- # Lists Version resources that the producer has access to, within the
840
- # scope of the parent Product.
841
- # @param [String] parent
842
- # The resource name of the parent resource.
843
- # @param [Fixnum] page_size
844
- # The maximum number of versions to return.
845
- # @param [String] page_token
846
- # A pagination token returned from a previous call to ListVersions
847
- # that indicates where this listing should continue from.
848
- # This field is optional.
849
- # @param [String] fields
850
- # Selector specifying which fields to include in a partial response.
851
- # @param [String] quota_user
852
- # Available to use for quota purposes for server-side applications. Can be any
853
- # arbitrary string assigned to a user, but should not exceed 40 characters.
854
- # @param [Google::Apis::RequestOptions] options
855
- # Request-specific options
856
- #
857
- # @yield [result, err] Result & error if block supplied
858
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse] parsed result object
859
- # @yieldparam err [StandardError] error object if request failed
860
- #
861
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse]
862
- #
863
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
864
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
865
- # @raise [Google::Apis::AuthorizationError] Authorization is required
866
- def list_catalog_product_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
867
- command = make_simple_command(:get, 'v1beta1/{+parent}/versions', options)
868
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse::Representation
869
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse
870
- command.params['parent'] = parent unless parent.nil?
871
- command.query['pageSize'] = page_size unless page_size.nil?
872
- command.query['pageToken'] = page_token unless page_token.nil?
873
- command.query['fields'] = fields unless fields.nil?
874
- command.query['quotaUser'] = quota_user unless quota_user.nil?
875
- execute_or_queue_command(command, &block)
876
- end
877
-
878
- # Updates a specific Version resource.
879
- # @param [String] name
880
- # Required. The resource name of the version, in the format
881
- # `catalogs/`catalog_id`/products/`product_id`/versions/a-z*[a-z0-9]'.
882
- # A unique identifier for the version under a product, which can't
883
- # be changed after the version is created. The final segment of the name must
884
- # between 1 and 63 characters in length.
885
- # @param [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version] google_cloud_privatecatalogproducer_v1beta1_version_object
886
- # @param [String] update_mask
887
- # Field mask that controls which fields of the version should be updated.
888
- # @param [String] fields
889
- # Selector specifying which fields to include in a partial response.
890
- # @param [String] quota_user
891
- # Available to use for quota purposes for server-side applications. Can be any
892
- # arbitrary string assigned to a user, but should not exceed 40 characters.
893
- # @param [Google::Apis::RequestOptions] options
894
- # Request-specific options
895
- #
896
- # @yield [result, err] Result & error if block supplied
897
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version] parsed result object
898
- # @yieldparam err [StandardError] error object if request failed
899
- #
900
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version]
901
- #
902
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
903
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
904
- # @raise [Google::Apis::AuthorizationError] Authorization is required
905
- def patch_catalog_product_version(name, google_cloud_privatecatalogproducer_v1beta1_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
906
- command = make_simple_command(:patch, 'v1beta1/{+name}', options)
907
- command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version::Representation
908
- command.request_object = google_cloud_privatecatalogproducer_v1beta1_version_object
909
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version::Representation
910
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version
911
- command.params['name'] = name unless name.nil?
912
- command.query['updateMask'] = update_mask unless update_mask.nil?
913
- command.query['fields'] = fields unless fields.nil?
914
- command.query['quotaUser'] = quota_user unless quota_user.nil?
915
- execute_or_queue_command(command, &block)
916
- end
917
-
918
- # Starts asynchronous cancellation on a long-running operation. The server
919
- # makes a best effort to cancel the operation, but success is not
920
- # guaranteed. If the server doesn't support this method, it returns
921
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
922
- # Operations.GetOperation or
923
- # other methods to check whether the cancellation succeeded or whether the
924
- # operation completed despite cancellation. On successful cancellation,
925
- # the operation is not deleted; instead, it becomes an operation with
926
- # an Operation.error value with a google.rpc.Status.code of 1,
927
- # corresponding to `Code.CANCELLED`.
928
- # @param [String] name
929
- # The name of the operation resource to be cancelled.
930
- # @param [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
931
- # @param [String] fields
932
- # Selector specifying which fields to include in a partial response.
933
- # @param [String] quota_user
934
- # Available to use for quota purposes for server-side applications. Can be any
935
- # arbitrary string assigned to a user, but should not exceed 40 characters.
936
- # @param [Google::Apis::RequestOptions] options
937
- # Request-specific options
938
- #
939
- # @yield [result, err] Result & error if block supplied
940
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty] parsed result object
941
- # @yieldparam err [StandardError] error object if request failed
942
- #
943
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty]
944
- #
945
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
946
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
947
- # @raise [Google::Apis::AuthorizationError] Authorization is required
948
- def cancel_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
949
- command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
950
- command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningCancelOperationRequest::Representation
951
- command.request_object = google_longrunning_cancel_operation_request_object
952
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty::Representation
953
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty
954
- command.params['name'] = name unless name.nil?
955
- command.query['fields'] = fields unless fields.nil?
956
- command.query['quotaUser'] = quota_user unless quota_user.nil?
957
- execute_or_queue_command(command, &block)
958
- end
959
-
960
- # Deletes a long-running operation. This method indicates that the client is
961
- # no longer interested in the operation result. It does not cancel the
962
- # operation. If the server doesn't support this method, it returns
963
- # `google.rpc.Code.UNIMPLEMENTED`.
964
- # @param [String] name
965
- # The name of the operation resource to be deleted.
966
- # @param [String] fields
967
- # Selector specifying which fields to include in a partial response.
968
- # @param [String] quota_user
969
- # Available to use for quota purposes for server-side applications. Can be any
970
- # arbitrary string assigned to a user, but should not exceed 40 characters.
971
- # @param [Google::Apis::RequestOptions] options
972
- # Request-specific options
973
- #
974
- # @yield [result, err] Result & error if block supplied
975
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty] parsed result object
976
- # @yieldparam err [StandardError] error object if request failed
977
- #
978
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty]
979
- #
980
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
981
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
982
- # @raise [Google::Apis::AuthorizationError] Authorization is required
983
- def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
984
- command = make_simple_command(:delete, 'v1beta1/{+name}', options)
985
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty::Representation
986
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty
987
- command.params['name'] = name unless name.nil?
988
- command.query['fields'] = fields unless fields.nil?
989
- command.query['quotaUser'] = quota_user unless quota_user.nil?
990
- execute_or_queue_command(command, &block)
991
- end
992
-
993
- # Gets the latest state of a long-running operation. Clients can use this
994
- # method to poll the operation result at intervals as recommended by the API
995
- # service.
996
- # @param [String] name
997
- # The name of the operation resource.
998
- # @param [String] fields
999
- # Selector specifying which fields to include in a partial response.
1000
- # @param [String] quota_user
1001
- # Available to use for quota purposes for server-side applications. Can be any
1002
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1003
- # @param [Google::Apis::RequestOptions] options
1004
- # Request-specific options
1005
- #
1006
- # @yield [result, err] Result & error if block supplied
1007
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation] parsed result object
1008
- # @yieldparam err [StandardError] error object if request failed
1009
- #
1010
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation]
1011
- #
1012
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1013
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1014
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1015
- def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1016
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
1017
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation::Representation
1018
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation
1019
- command.params['name'] = name unless name.nil?
1020
- command.query['fields'] = fields unless fields.nil?
1021
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1022
- execute_or_queue_command(command, &block)
1023
- end
1024
-
1025
- # Lists operations that match the specified filter in the request. If the
1026
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
1027
- # NOTE: the `name` binding allows API services to override the binding
1028
- # to use different resource name schemes, such as `users/*/operations`. To
1029
- # override the binding, API services can add a binding such as
1030
- # `"/v1/`name=users/*`/operations"` to their service configuration.
1031
- # For backwards compatibility, the default name includes the operations
1032
- # collection id, however overriding users must ensure the name binding
1033
- # is the parent resource, without the operations collection id.
1034
- # @param [String] filter
1035
- # The standard list filter.
1036
- # @param [String] name
1037
- # The name of the operation's parent resource.
1038
- # @param [Fixnum] page_size
1039
- # The standard list page size.
1040
- # @param [String] page_token
1041
- # The standard list page token.
1042
- # @param [String] fields
1043
- # Selector specifying which fields to include in a partial response.
1044
- # @param [String] quota_user
1045
- # Available to use for quota purposes for server-side applications. Can be any
1046
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1047
- # @param [Google::Apis::RequestOptions] options
1048
- # Request-specific options
1049
- #
1050
- # @yield [result, err] Result & error if block supplied
1051
- # @yieldparam result [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
1052
- # @yieldparam err [StandardError] error object if request failed
1053
- #
1054
- # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningListOperationsResponse]
1055
- #
1056
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1057
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1058
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1059
- def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1060
- command = make_simple_command(:get, 'v1beta1/operations', options)
1061
- command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningListOperationsResponse::Representation
1062
- command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningListOperationsResponse
1063
- command.query['filter'] = filter unless filter.nil?
1064
- command.query['name'] = name unless name.nil?
1065
- command.query['pageSize'] = page_size unless page_size.nil?
1066
- command.query['pageToken'] = page_token unless page_token.nil?
1067
- command.query['fields'] = fields unless fields.nil?
1068
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1069
- execute_or_queue_command(command, &block)
1070
- end
1071
-
1072
- protected
1073
-
1074
- def apply_command_defaults(command)
1075
- command.query['key'] = key unless key.nil?
1076
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1077
- end
1078
- end
1079
- end
1080
- end
1081
- end