google-api-client 0.32.1 → 0.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (491) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -3
  9. data/CHANGELOG.md +327 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/docs/api-keys.md +20 -0
  15. data/docs/auth.md +53 -0
  16. data/docs/client-secrets.md +69 -0
  17. data/docs/getting-started.md +340 -0
  18. data/docs/installation.md +0 -0
  19. data/docs/logging.md +34 -0
  20. data/docs/media-upload.md +25 -0
  21. data/docs/oauth-installed.md +191 -0
  22. data/docs/oauth-server.md +135 -0
  23. data/docs/oauth-web.md +280 -0
  24. data/docs/oauth.md +268 -0
  25. data/docs/pagination.md +29 -0
  26. data/docs/performance.md +25 -0
  27. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  28. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  29. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  30. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  31. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  32. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  33. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
  34. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
  35. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  36. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  37. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  38. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  39. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  40. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  41. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  42. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  43. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  44. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  45. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  46. data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
  47. data/generated/google/apis/admin_directory_v1.rb +4 -1
  48. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  49. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  50. data/generated/google/apis/admin_reports_v1.rb +2 -2
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidpublisher_v3/classes.rb +105 -0
  53. data/generated/google/apis/androidpublisher_v3/representations.rb +51 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/appengine_v1/service.rb +10 -6
  56. data/generated/google/apis/appengine_v1.rb +1 -1
  57. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  58. data/generated/google/apis/appengine_v1beta.rb +1 -1
  59. data/generated/google/apis/appsmarket_v2.rb +1 -1
  60. data/generated/google/apis/bigquery_v2/classes.rb +104 -23
  61. data/generated/google/apis/bigquery_v2/representations.rb +37 -0
  62. data/generated/google/apis/bigquery_v2/service.rb +1 -5
  63. data/generated/google/apis/bigquery_v2.rb +1 -1
  64. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
  65. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
  66. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  67. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
  68. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  69. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
  70. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  71. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  72. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
  73. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
  74. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  75. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  76. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
  77. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
  78. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +116 -78
  79. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  80. data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
  81. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  82. data/generated/google/apis/bigtableadmin_v2/classes.rb +63 -30
  83. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  84. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  85. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
  86. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
  87. data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
  88. data/generated/google/apis/billingbudgets_v1beta1.rb +35 -0
  89. data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
  90. data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
  91. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  92. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
  93. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
  94. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  95. data/generated/google/apis/books_v1/classes.rb +20 -0
  96. data/generated/google/apis/books_v1/representations.rb +3 -0
  97. data/generated/google/apis/books_v1.rb +1 -1
  98. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  99. data/generated/google/apis/calendar_v3/service.rb +18 -30
  100. data/generated/google/apis/calendar_v3.rb +1 -1
  101. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  102. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  103. data/generated/google/apis/civicinfo_v2.rb +1 -1
  104. data/generated/google/apis/cloudasset_v1/classes.rb +89 -55
  105. data/generated/google/apis/cloudasset_v1/service.rb +1 -2
  106. data/generated/google/apis/cloudasset_v1.rb +1 -1
  107. data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -40
  108. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudbilling_v1/classes.rb +82 -36
  110. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  111. data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
  112. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  113. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
  114. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  115. data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
  116. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  117. data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
  118. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  119. data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
  120. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  121. data/generated/google/apis/cloudfunctions_v1/service.rb +10 -4
  122. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  123. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  124. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  125. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  126. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  127. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  128. data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
  129. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  130. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
  131. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
  132. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  133. data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
  134. data/generated/google/apis/cloudiot_v1.rb +1 -1
  135. data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
  136. data/generated/google/apis/cloudkms_v1/service.rb +3 -0
  137. data/generated/google/apis/cloudkms_v1.rb +1 -1
  138. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -40
  139. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  140. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +18 -17
  141. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  142. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
  143. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -13
  145. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  146. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  147. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -13
  148. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  149. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  150. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  151. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  152. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  153. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  154. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -132
  155. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
  156. data/generated/google/apis/cloudsearch_v1/service.rb +47 -9
  157. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  158. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  159. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  160. data/generated/google/apis/cloudshell_v1.rb +1 -1
  161. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -1
  162. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
  163. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  164. data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
  165. data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
  166. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  167. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
  168. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  169. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
  170. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  171. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
  172. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  173. data/generated/google/apis/compute_alpha/classes.rb +594 -164
  174. data/generated/google/apis/compute_alpha/representations.rb +110 -2
  175. data/generated/google/apis/compute_alpha/service.rb +1035 -640
  176. data/generated/google/apis/compute_alpha.rb +1 -1
  177. data/generated/google/apis/compute_beta/classes.rb +1070 -276
  178. data/generated/google/apis/compute_beta/representations.rb +284 -0
  179. data/generated/google/apis/compute_beta/service.rb +1242 -532
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_v1/classes.rb +335 -133
  182. data/generated/google/apis/compute_v1/representations.rb +24 -0
  183. data/generated/google/apis/compute_v1/service.rb +759 -473
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/container_v1/classes.rb +410 -83
  186. data/generated/google/apis/container_v1/representations.rb +134 -0
  187. data/generated/google/apis/container_v1/service.rb +119 -119
  188. data/generated/google/apis/container_v1.rb +1 -1
  189. data/generated/google/apis/container_v1beta1/classes.rb +157 -3
  190. data/generated/google/apis/container_v1beta1/representations.rb +38 -0
  191. data/generated/google/apis/container_v1beta1.rb +1 -1
  192. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
  193. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  194. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
  195. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  196. data/generated/google/apis/content_v2/classes.rb +35 -223
  197. data/generated/google/apis/content_v2/representations.rb +0 -115
  198. data/generated/google/apis/content_v2/service.rb +0 -160
  199. data/generated/google/apis/content_v2.rb +1 -1
  200. data/generated/google/apis/content_v2_1/classes.rb +69 -21
  201. data/generated/google/apis/content_v2_1/representations.rb +3 -0
  202. data/generated/google/apis/content_v2_1.rb +1 -1
  203. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
  204. data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
  205. data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
  206. data/generated/google/apis/{cloudbuild_v1alpha1.rb → datacatalog_v1beta1.rb} +10 -9
  207. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
  208. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
  209. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  210. data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
  211. data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
  212. data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
  213. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  214. data/generated/google/apis/dataproc_v1/classes.rb +119 -11
  215. data/generated/google/apis/dataproc_v1/representations.rb +39 -0
  216. data/generated/google/apis/dataproc_v1/service.rb +14 -7
  217. data/generated/google/apis/dataproc_v1.rb +1 -1
  218. data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -11
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +26 -19
  220. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  221. data/generated/google/apis/datastore_v1/service.rb +85 -1
  222. data/generated/google/apis/datastore_v1.rb +1 -1
  223. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  224. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  225. data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
  226. data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
  227. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  228. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1215 -797
  229. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +593 -395
  230. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +966 -1074
  231. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  232. data/generated/google/apis/dialogflow_v2/classes.rb +509 -8
  233. data/generated/google/apis/dialogflow_v2/representations.rb +222 -0
  234. data/generated/google/apis/dialogflow_v2.rb +1 -1
  235. data/generated/google/apis/dialogflow_v2beta1/classes.rb +530 -8
  236. data/generated/google/apis/dialogflow_v2beta1/representations.rb +224 -0
  237. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  238. data/generated/google/apis/dlp_v2/classes.rb +109 -33
  239. data/generated/google/apis/dlp_v2/representations.rb +23 -3
  240. data/generated/google/apis/dlp_v2/service.rb +1996 -209
  241. data/generated/google/apis/dlp_v2.rb +1 -1
  242. data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
  243. data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
  244. data/generated/google/apis/dns_v1beta2.rb +1 -1
  245. data/generated/google/apis/docs_v1/classes.rb +175 -0
  246. data/generated/google/apis/docs_v1/representations.rb +77 -0
  247. data/generated/google/apis/docs_v1.rb +1 -1
  248. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  249. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
  250. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
  251. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
  252. data/generated/google/apis/{urlshortener_v1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  253. data/generated/google/apis/drive_v2/classes.rb +2 -1
  254. data/generated/google/apis/drive_v2/service.rb +3 -3
  255. data/generated/google/apis/drive_v2.rb +1 -1
  256. data/generated/google/apis/drive_v3/classes.rb +12 -3
  257. data/generated/google/apis/drive_v3.rb +1 -1
  258. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  259. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  260. data/generated/google/apis/fcm_v1.rb +1 -1
  261. data/generated/google/apis/firebase_v1beta1/classes.rb +18 -4
  262. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  263. data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
  264. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  265. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +62 -0
  266. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +31 -0
  267. data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
  268. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  269. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  270. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  271. data/generated/google/apis/firebaserules_v1.rb +1 -1
  272. data/generated/google/apis/firestore_v1.rb +1 -1
  273. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  274. data/generated/google/apis/fitness_v1/service.rb +1 -1
  275. data/generated/google/apis/fitness_v1.rb +1 -1
  276. data/generated/google/apis/games_management_v1management/classes.rb +6 -26
  277. data/generated/google/apis/games_management_v1management/representations.rb +1 -14
  278. data/generated/google/apis/games_management_v1management/service.rb +0 -158
  279. data/generated/google/apis/games_management_v1management.rb +1 -1
  280. data/generated/google/apis/games_v1/classes.rb +6 -292
  281. data/generated/google/apis/games_v1/representations.rb +1 -98
  282. data/generated/google/apis/games_v1/service.rb +0 -123
  283. data/generated/google/apis/games_v1.rb +1 -1
  284. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  285. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  286. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  287. data/generated/google/apis/healthcare_v1beta1/classes.rb +213 -16
  288. data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
  289. data/generated/google/apis/healthcare_v1beta1/service.rb +207 -116
  290. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  291. data/generated/google/apis/homegraph_v1/classes.rb +15 -1
  292. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  293. data/generated/google/apis/homegraph_v1.rb +1 -1
  294. data/generated/google/apis/iam_v1/classes.rb +15 -7
  295. data/generated/google/apis/iam_v1/representations.rb +1 -0
  296. data/generated/google/apis/iam_v1.rb +1 -1
  297. data/generated/google/apis/iap_v1/classes.rb +187 -2
  298. data/generated/google/apis/iap_v1/representations.rb +102 -0
  299. data/generated/google/apis/iap_v1/service.rb +72 -0
  300. data/generated/google/apis/iap_v1.rb +1 -1
  301. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  302. data/generated/google/apis/iap_v1beta1.rb +1 -1
  303. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  304. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  305. data/generated/google/apis/jobs_v2.rb +1 -1
  306. data/generated/google/apis/jobs_v3/classes.rb +179 -0
  307. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  308. data/generated/google/apis/jobs_v3.rb +1 -1
  309. data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
  310. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  311. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  312. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  313. data/generated/google/apis/licensing_v1/service.rb +81 -37
  314. data/generated/google/apis/licensing_v1.rb +4 -4
  315. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  316. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  317. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  318. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  319. data/generated/google/apis/logging_v2/classes.rb +30 -2
  320. data/generated/google/apis/logging_v2/representations.rb +4 -0
  321. data/generated/google/apis/logging_v2/service.rb +10 -5
  322. data/generated/google/apis/logging_v2.rb +1 -1
  323. data/generated/google/apis/ml_v1/classes.rb +308 -155
  324. data/generated/google/apis/ml_v1/representations.rb +59 -0
  325. data/generated/google/apis/ml_v1/service.rb +44 -3
  326. data/generated/google/apis/ml_v1.rb +2 -2
  327. data/generated/google/apis/monitoring_v1/classes.rb +1153 -0
  328. data/generated/google/apis/monitoring_v1/representations.rb +528 -0
  329. data/generated/google/apis/{cloudbuild_v1alpha1 → monitoring_v1}/service.rb +86 -63
  330. data/generated/google/apis/monitoring_v1.rb +48 -0
  331. data/generated/google/apis/monitoring_v3/classes.rb +836 -60
  332. data/generated/google/apis/monitoring_v3/representations.rb +348 -0
  333. data/generated/google/apis/monitoring_v3/service.rb +384 -2
  334. data/generated/google/apis/monitoring_v3.rb +1 -1
  335. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  336. data/generated/google/apis/oslogin_v1/service.rb +10 -6
  337. data/generated/google/apis/oslogin_v1.rb +1 -1
  338. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  339. data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
  340. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  341. data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
  342. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  343. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  344. data/generated/google/apis/people_v1/classes.rb +67 -63
  345. data/generated/google/apis/people_v1/service.rb +53 -44
  346. data/generated/google/apis/people_v1.rb +1 -1
  347. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -90
  348. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  349. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  350. data/generated/google/apis/pubsub_v1/classes.rb +8 -6
  351. data/generated/google/apis/pubsub_v1/service.rb +9 -7
  352. data/generated/google/apis/pubsub_v1.rb +1 -1
  353. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
  354. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
  355. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  356. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  357. data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
  358. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  359. data/generated/google/apis/redis_v1/classes.rb +11 -11
  360. data/generated/google/apis/redis_v1/service.rb +5 -5
  361. data/generated/google/apis/redis_v1.rb +1 -1
  362. data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
  363. data/generated/google/apis/redis_v1beta1/service.rb +5 -5
  364. data/generated/google/apis/redis_v1beta1.rb +1 -1
  365. data/generated/google/apis/remotebuildexecution_v1/classes.rb +113 -0
  366. data/generated/google/apis/remotebuildexecution_v1/representations.rb +50 -0
  367. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  368. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +113 -0
  369. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +50 -0
  370. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  371. data/generated/google/apis/remotebuildexecution_v2/classes.rb +113 -0
  372. data/generated/google/apis/remotebuildexecution_v2/representations.rb +50 -0
  373. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  374. data/generated/google/apis/reseller_v1/service.rb +1 -1
  375. data/generated/google/apis/reseller_v1.rb +1 -1
  376. data/generated/google/apis/run_v1/classes.rb +8 -176
  377. data/generated/google/apis/run_v1/representations.rb +0 -71
  378. data/generated/google/apis/run_v1/service.rb +209 -1125
  379. data/generated/google/apis/run_v1.rb +1 -1
  380. data/generated/google/apis/run_v1alpha1/classes.rb +328 -9
  381. data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
  382. data/generated/google/apis/run_v1alpha1/service.rb +408 -0
  383. data/generated/google/apis/run_v1alpha1.rb +1 -1
  384. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -40
  385. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  386. data/generated/google/apis/securitycenter_v1/classes.rb +159 -66
  387. data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
  388. data/generated/google/apis/securitycenter_v1/service.rb +14 -12
  389. data/generated/google/apis/securitycenter_v1.rb +1 -1
  390. data/generated/google/apis/securitycenter_v1beta1/classes.rb +95 -57
  391. data/generated/google/apis/securitycenter_v1beta1/service.rb +14 -12
  392. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  393. data/generated/google/apis/servicebroker_v1/classes.rb +75 -40
  394. data/generated/google/apis/servicebroker_v1.rb +1 -1
  395. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -40
  396. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  397. data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -40
  398. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  399. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +95 -43
  400. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
  401. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  402. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -12
  403. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
  404. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  405. data/generated/google/apis/servicemanagement_v1/classes.rb +142 -91
  406. data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
  407. data/generated/google/apis/servicemanagement_v1/service.rb +32 -26
  408. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1/classes.rb +181 -54
  410. data/generated/google/apis/servicenetworking_v1/representations.rb +71 -0
  411. data/generated/google/apis/servicenetworking_v1/service.rb +77 -3
  412. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  413. data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -43
  414. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  415. data/generated/google/apis/serviceusage_v1/classes.rb +87 -43
  416. data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
  417. data/generated/google/apis/serviceusage_v1.rb +1 -1
  418. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -43
  419. data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
  420. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  421. data/generated/google/apis/sheets_v4/classes.rb +1371 -232
  422. data/generated/google/apis/sheets_v4/representations.rb +180 -0
  423. data/generated/google/apis/sheets_v4.rb +1 -1
  424. data/generated/google/apis/spanner_v1/classes.rb +70 -30
  425. data/generated/google/apis/spanner_v1/service.rb +270 -0
  426. data/generated/google/apis/spanner_v1.rb +1 -1
  427. data/generated/google/apis/speech_v1/classes.rb +6 -0
  428. data/generated/google/apis/speech_v1/representations.rb +1 -0
  429. data/generated/google/apis/speech_v1.rb +1 -1
  430. data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
  431. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  432. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  433. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
  434. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
  435. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  436. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  437. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +499 -380
  438. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +125 -104
  439. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +637 -590
  440. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  441. data/generated/google/apis/storage_v1.rb +1 -1
  442. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  443. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  444. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  445. data/generated/google/apis/testing_v1/classes.rb +142 -1
  446. data/generated/google/apis/testing_v1/representations.rb +76 -0
  447. data/generated/google/apis/testing_v1.rb +1 -1
  448. data/generated/google/apis/videointelligence_v1/classes.rb +147 -36
  449. data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
  450. data/generated/google/apis/videointelligence_v1.rb +1 -1
  451. data/generated/google/apis/videointelligence_v1beta2/classes.rb +147 -36
  452. data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
  453. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  454. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +147 -36
  455. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
  456. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  457. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +147 -36
  458. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
  459. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  460. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +147 -36
  461. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
  462. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  463. data/generated/google/apis/vision_v1/classes.rb +66 -0
  464. data/generated/google/apis/vision_v1/representations.rb +32 -0
  465. data/generated/google/apis/vision_v1.rb +1 -1
  466. data/generated/google/apis/vision_v1p1beta1/classes.rb +66 -0
  467. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  468. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  469. data/generated/google/apis/vision_v1p2beta1/classes.rb +66 -0
  470. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  471. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  472. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  473. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  474. data/google-api-client.gemspec +6 -3
  475. data/lib/google/apis/core/api_command.rb +3 -0
  476. data/lib/google/apis/core/http_command.rb +10 -8
  477. data/lib/google/apis/core/upload.rb +4 -0
  478. data/lib/google/apis/version.rb +1 -1
  479. data/rakelib/devsite/devsite_builder.rb +126 -0
  480. data/rakelib/devsite/link_checker.rb +64 -0
  481. data/rakelib/devsite/repo_metadata.rb +56 -0
  482. metadata +64 -42
  483. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1168
  484. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -434
  485. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  486. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  487. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  488. data/generated/google/apis/storage_v1beta1.rb +0 -40
  489. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  490. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  491. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -84,87 +84,11 @@ module Google
84
84
  execute_or_queue_command(command, &block)
85
85
  end
86
86
 
87
- # Creates a new auto domain mapping.
88
- # @param [String] parent
89
- # The project ID or project number in which this auto domain mapping should
90
- # be created.
91
- # @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object
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::RunV1::AutoDomainMapping] parsed result object
102
- # @yieldparam err [StandardError] error object if request failed
103
- #
104
- # @return [Google::Apis::RunV1::AutoDomainMapping]
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 create_namespace_autodomainmapping(parent, auto_domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
110
- command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1/{+parent}/autodomainmappings', options)
111
- command.request_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
112
- command.request_object = auto_domain_mapping_object
113
- command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
114
- command.response_class = Google::Apis::RunV1::AutoDomainMapping
115
- command.params['parent'] = parent unless parent.nil?
116
- command.query['fields'] = fields unless fields.nil?
117
- command.query['quotaUser'] = quota_user unless quota_user.nil?
118
- execute_or_queue_command(command, &block)
119
- end
120
-
121
- # Delete an auto domain mapping.
122
- # @param [String] name
123
- # The name of the auto domain mapping being deleted. If needed, replace
124
- # `namespace_id` with the project ID.
125
- # @param [String] api_version
126
- # Cloud Run currently ignores this parameter.
127
- # @param [String] kind
128
- # Cloud Run currently ignores this parameter.
129
- # @param [String] propagation_policy
130
- # Specifies the propagation policy of delete. Cloud Run currently ignores
131
- # this setting, and deletes in the background. Please see
132
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
133
- # more information.
134
- # @param [String] fields
135
- # Selector specifying which fields to include in a partial response.
136
- # @param [String] quota_user
137
- # Available to use for quota purposes for server-side applications. Can be any
138
- # arbitrary string assigned to a user, but should not exceed 40 characters.
139
- # @param [Google::Apis::RequestOptions] options
140
- # Request-specific options
141
- #
142
- # @yield [result, err] Result & error if block supplied
143
- # @yieldparam result [Google::Apis::RunV1::Status] parsed result object
144
- # @yieldparam err [StandardError] error object if request failed
145
- #
146
- # @return [Google::Apis::RunV1::Status]
147
- #
148
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
149
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
150
- # @raise [Google::Apis::AuthorizationError] Authorization is required
151
- def delete_namespace_autodomainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
152
- command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1/{+name}', options)
153
- command.response_representation = Google::Apis::RunV1::Status::Representation
154
- command.response_class = Google::Apis::RunV1::Status
155
- command.params['name'] = name unless name.nil?
156
- command.query['apiVersion'] = api_version unless api_version.nil?
157
- command.query['kind'] = kind unless kind.nil?
158
- command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
159
- command.query['fields'] = fields unless fields.nil?
160
- command.query['quotaUser'] = quota_user unless quota_user.nil?
161
- execute_or_queue_command(command, &block)
162
- end
163
-
164
- # Get information about an auto domain mapping.
87
+ # Get information about a configuration.
165
88
  # @param [String] name
166
- # The name of the auto domain mapping being retrieved. If needed, replace
167
- # `namespace_id` with the project ID.
89
+ # The name of the configuration to retrieve.
90
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
91
+ # or number.
168
92
  # @param [String] fields
169
93
  # Selector specifying which fields to include in a partial response.
170
94
  # @param [String] quota_user
@@ -174,28 +98,29 @@ module Google
174
98
  # Request-specific options
175
99
  #
176
100
  # @yield [result, err] Result & error if block supplied
177
- # @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
101
+ # @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
178
102
  # @yieldparam err [StandardError] error object if request failed
179
103
  #
180
- # @return [Google::Apis::RunV1::AutoDomainMapping]
104
+ # @return [Google::Apis::RunV1::Configuration]
181
105
  #
182
106
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
183
107
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
184
108
  # @raise [Google::Apis::AuthorizationError] Authorization is required
185
- def get_namespace_autodomainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
186
- command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+name}', options)
187
- command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
188
- command.response_class = Google::Apis::RunV1::AutoDomainMapping
109
+ def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
110
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
111
+ command.response_representation = Google::Apis::RunV1::Configuration::Representation
112
+ command.response_class = Google::Apis::RunV1::Configuration
189
113
  command.params['name'] = name unless name.nil?
190
114
  command.query['fields'] = fields unless fields.nil?
191
115
  command.query['quotaUser'] = quota_user unless quota_user.nil?
192
116
  execute_or_queue_command(command, &block)
193
117
  end
194
118
 
195
- # List auto domain mappings.
119
+ # List configurations.
196
120
  # @param [String] parent
197
- # The project ID or project number from which the auto domain mappings should
198
- # be listed.
121
+ # The namespace from which the configurations should be listed.
122
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
123
+ # or number.
199
124
  # @param [String] continue
200
125
  # Optional encoded string to continue paging.
201
126
  # @param [String] field_selector
@@ -224,18 +149,18 @@ module Google
224
149
  # Request-specific options
225
150
  #
226
151
  # @yield [result, err] Result & error if block supplied
227
- # @yieldparam result [Google::Apis::RunV1::ListAutoDomainMappingsResponse] parsed result object
152
+ # @yieldparam result [Google::Apis::RunV1::ListConfigurationsResponse] parsed result object
228
153
  # @yieldparam err [StandardError] error object if request failed
229
154
  #
230
- # @return [Google::Apis::RunV1::ListAutoDomainMappingsResponse]
155
+ # @return [Google::Apis::RunV1::ListConfigurationsResponse]
231
156
  #
232
157
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
233
158
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
234
159
  # @raise [Google::Apis::AuthorizationError] Authorization is required
235
- def list_namespace_autodomainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
236
- command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+parent}/autodomainmappings', options)
237
- command.response_representation = Google::Apis::RunV1::ListAutoDomainMappingsResponse::Representation
238
- command.response_class = Google::Apis::RunV1::ListAutoDomainMappingsResponse
160
+ def list_namespace_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
161
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/configurations', options)
162
+ command.response_representation = Google::Apis::RunV1::ListConfigurationsResponse::Representation
163
+ command.response_class = Google::Apis::RunV1::ListConfigurationsResponse
239
164
  command.params['parent'] = parent unless parent.nil?
240
165
  command.query['continue'] = continue unless continue.nil?
241
166
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -249,50 +174,12 @@ module Google
249
174
  execute_or_queue_command(command, &block)
250
175
  end
251
176
 
252
- # Replace an auto domain mapping.
253
- # Only the spec and metadata labels and annotations are modifiable. After
254
- # the Update request, Cloud Run will work to make the 'status'
255
- # match the requested 'spec'.
256
- # May provide metadata.resourceVersion to enforce update from last read for
257
- # optimistic concurrency control.
258
- # @param [String] name
259
- # The name of the auto domain mapping being retrieved. If needed, replace
260
- # `namespace_id` with the project ID.
261
- # @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object
262
- # @param [String] fields
263
- # Selector specifying which fields to include in a partial response.
264
- # @param [String] quota_user
265
- # Available to use for quota purposes for server-side applications. Can be any
266
- # arbitrary string assigned to a user, but should not exceed 40 characters.
267
- # @param [Google::Apis::RequestOptions] options
268
- # Request-specific options
269
- #
270
- # @yield [result, err] Result & error if block supplied
271
- # @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
272
- # @yieldparam err [StandardError] error object if request failed
273
- #
274
- # @return [Google::Apis::RunV1::AutoDomainMapping]
275
- #
276
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
277
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
278
- # @raise [Google::Apis::AuthorizationError] Authorization is required
279
- def replace_namespace_autodomainmapping_auto_domain_mapping(name, auto_domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
280
- command = make_simple_command(:put, 'apis/domains.cloudrun.com/v1/{+name}', options)
281
- command.request_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
282
- command.request_object = auto_domain_mapping_object
283
- command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
284
- command.response_class = Google::Apis::RunV1::AutoDomainMapping
285
- command.params['name'] = name unless name.nil?
286
- command.query['fields'] = fields unless fields.nil?
287
- command.query['quotaUser'] = quota_user unless quota_user.nil?
288
- execute_or_queue_command(command, &block)
289
- end
290
-
291
- # Create a configuration.
177
+ # Create a new domain mapping.
292
178
  # @param [String] parent
293
- # The project ID or project number in which this configuration should be
294
- # created.
295
- # @param [Google::Apis::RunV1::Configuration] configuration_object
179
+ # The namespace in which the domain mapping should be created.
180
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
181
+ # or number.
182
+ # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
296
183
  # @param [String] fields
297
184
  # Selector specifying which fields to include in a partial response.
298
185
  # @param [String] quota_user
@@ -302,33 +189,31 @@ module Google
302
189
  # Request-specific options
303
190
  #
304
191
  # @yield [result, err] Result & error if block supplied
305
- # @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
192
+ # @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
306
193
  # @yieldparam err [StandardError] error object if request failed
307
194
  #
308
- # @return [Google::Apis::RunV1::Configuration]
195
+ # @return [Google::Apis::RunV1::DomainMapping]
309
196
  #
310
197
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
311
198
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
312
199
  # @raise [Google::Apis::AuthorizationError] Authorization is required
313
- def create_namespace_configuration(parent, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
314
- command = make_simple_command(:post, 'apis/serving.knative.dev/v1/{+parent}/configurations', options)
315
- command.request_representation = Google::Apis::RunV1::Configuration::Representation
316
- command.request_object = configuration_object
317
- command.response_representation = Google::Apis::RunV1::Configuration::Representation
318
- command.response_class = Google::Apis::RunV1::Configuration
200
+ def create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
201
+ command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1/{+parent}/domainmappings', options)
202
+ command.request_representation = Google::Apis::RunV1::DomainMapping::Representation
203
+ command.request_object = domain_mapping_object
204
+ command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
205
+ command.response_class = Google::Apis::RunV1::DomainMapping
319
206
  command.params['parent'] = parent unless parent.nil?
320
207
  command.query['fields'] = fields unless fields.nil?
321
208
  command.query['quotaUser'] = quota_user unless quota_user.nil?
322
209
  execute_or_queue_command(command, &block)
323
210
  end
324
211
 
325
- # delete a configuration.
326
- # This will cause the configuration to delete all child revisions. Prior to
327
- # calling this, any route referencing the configuration (or revision
328
- # from the configuration) must be deleted.
212
+ # Delete a domain mapping.
329
213
  # @param [String] name
330
- # The name of the configuration being deleted. If needed, replace
331
- # `namespace_id` with the project ID.
214
+ # The name of the domain mapping to delete.
215
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
216
+ # or number.
332
217
  # @param [String] api_version
333
218
  # Cloud Run currently ignores this parameter.
334
219
  # @param [String] kind
@@ -355,8 +240,8 @@ module Google
355
240
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
356
241
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
357
242
  # @raise [Google::Apis::AuthorizationError] Authorization is required
358
- def delete_namespace_configuration(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
359
- command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
243
+ def delete_namespace_domainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
244
+ command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1/{+name}', options)
360
245
  command.response_representation = Google::Apis::RunV1::Status::Representation
361
246
  command.response_class = Google::Apis::RunV1::Status
362
247
  command.params['name'] = name unless name.nil?
@@ -368,10 +253,11 @@ module Google
368
253
  execute_or_queue_command(command, &block)
369
254
  end
370
255
 
371
- # Get information about a configuration.
256
+ # Get information about a domain mapping.
372
257
  # @param [String] name
373
- # The name of the configuration being retrieved. If needed, replace
374
- # `namespace_id` with the project ID.
258
+ # The name of the domain mapping to retrieve.
259
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
260
+ # or number.
375
261
  # @param [String] fields
376
262
  # Selector specifying which fields to include in a partial response.
377
263
  # @param [String] quota_user
@@ -381,28 +267,29 @@ module Google
381
267
  # Request-specific options
382
268
  #
383
269
  # @yield [result, err] Result & error if block supplied
384
- # @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
270
+ # @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
385
271
  # @yieldparam err [StandardError] error object if request failed
386
272
  #
387
- # @return [Google::Apis::RunV1::Configuration]
273
+ # @return [Google::Apis::RunV1::DomainMapping]
388
274
  #
389
275
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
390
276
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
391
277
  # @raise [Google::Apis::AuthorizationError] Authorization is required
392
- def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
393
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
394
- command.response_representation = Google::Apis::RunV1::Configuration::Representation
395
- command.response_class = Google::Apis::RunV1::Configuration
278
+ def get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
279
+ command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+name}', options)
280
+ command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
281
+ command.response_class = Google::Apis::RunV1::DomainMapping
396
282
  command.params['name'] = name unless name.nil?
397
283
  command.query['fields'] = fields unless fields.nil?
398
284
  command.query['quotaUser'] = quota_user unless quota_user.nil?
399
285
  execute_or_queue_command(command, &block)
400
286
  end
401
287
 
402
- # List configurations.
288
+ # List domain mappings.
403
289
  # @param [String] parent
404
- # The project ID or project number from which the configurations should be
405
- # listed.
290
+ # The namespace from which the domain mappings should be listed.
291
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
292
+ # or number.
406
293
  # @param [String] continue
407
294
  # Optional encoded string to continue paging.
408
295
  # @param [String] field_selector
@@ -431,18 +318,18 @@ module Google
431
318
  # Request-specific options
432
319
  #
433
320
  # @yield [result, err] Result & error if block supplied
434
- # @yieldparam result [Google::Apis::RunV1::ListConfigurationsResponse] parsed result object
321
+ # @yieldparam result [Google::Apis::RunV1::ListDomainMappingsResponse] parsed result object
435
322
  # @yieldparam err [StandardError] error object if request failed
436
323
  #
437
- # @return [Google::Apis::RunV1::ListConfigurationsResponse]
324
+ # @return [Google::Apis::RunV1::ListDomainMappingsResponse]
438
325
  #
439
326
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
440
327
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
441
328
  # @raise [Google::Apis::AuthorizationError] Authorization is required
442
- def list_namespace_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
443
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/configurations', options)
444
- command.response_representation = Google::Apis::RunV1::ListConfigurationsResponse::Representation
445
- command.response_class = Google::Apis::RunV1::ListConfigurationsResponse
329
+ def list_namespace_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
330
+ command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+parent}/domainmappings', options)
331
+ command.response_representation = Google::Apis::RunV1::ListDomainMappingsResponse::Representation
332
+ command.response_class = Google::Apis::RunV1::ListDomainMappingsResponse
446
333
  command.params['parent'] = parent unless parent.nil?
447
334
  command.query['continue'] = continue unless continue.nil?
448
335
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -456,83 +343,11 @@ module Google
456
343
  execute_or_queue_command(command, &block)
457
344
  end
458
345
 
459
- # Replace a configuration.
460
- # Only the spec and metadata labels and annotations are modifiable. After
461
- # the Update request, Cloud Run will work to make the 'status'
462
- # match the requested 'spec'.
463
- # May provide metadata.resourceVersion to enforce update from last read for
464
- # optimistic concurrency control.
465
- # @param [String] name
466
- # The name of the configuration being retrieved. If needed, replace
467
- # `namespace_id` with the project ID.
468
- # @param [Google::Apis::RunV1::Configuration] configuration_object
469
- # @param [String] fields
470
- # Selector specifying which fields to include in a partial response.
471
- # @param [String] quota_user
472
- # Available to use for quota purposes for server-side applications. Can be any
473
- # arbitrary string assigned to a user, but should not exceed 40 characters.
474
- # @param [Google::Apis::RequestOptions] options
475
- # Request-specific options
476
- #
477
- # @yield [result, err] Result & error if block supplied
478
- # @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
479
- # @yieldparam err [StandardError] error object if request failed
480
- #
481
- # @return [Google::Apis::RunV1::Configuration]
482
- #
483
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
484
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
485
- # @raise [Google::Apis::AuthorizationError] Authorization is required
486
- def replace_namespace_configuration_configuration(name, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
487
- command = make_simple_command(:put, 'apis/serving.knative.dev/v1/{+name}', options)
488
- command.request_representation = Google::Apis::RunV1::Configuration::Representation
489
- command.request_object = configuration_object
490
- command.response_representation = Google::Apis::RunV1::Configuration::Representation
491
- command.response_class = Google::Apis::RunV1::Configuration
492
- command.params['name'] = name unless name.nil?
493
- command.query['fields'] = fields unless fields.nil?
494
- command.query['quotaUser'] = quota_user unless quota_user.nil?
495
- execute_or_queue_command(command, &block)
496
- end
497
-
498
- # Create a new domain mapping.
499
- # @param [String] parent
500
- # The project ID or project number in which this domain mapping should be
501
- # created.
502
- # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_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::RunV1::DomainMapping] parsed result object
513
- # @yieldparam err [StandardError] error object if request failed
514
- #
515
- # @return [Google::Apis::RunV1::DomainMapping]
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 create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
521
- command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1/{+parent}/domainmappings', options)
522
- command.request_representation = Google::Apis::RunV1::DomainMapping::Representation
523
- command.request_object = domain_mapping_object
524
- command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
525
- command.response_class = Google::Apis::RunV1::DomainMapping
526
- command.params['parent'] = parent unless parent.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
- # Delete a domain mapping.
346
+ # Delete a revision.
533
347
  # @param [String] name
534
- # The name of the domain mapping being deleted. If needed, replace
535
- # `namespace_id` with the project ID.
348
+ # The name of the revision to delete.
349
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
350
+ # or number.
536
351
  # @param [String] api_version
537
352
  # Cloud Run currently ignores this parameter.
538
353
  # @param [String] kind
@@ -559,8 +374,8 @@ module Google
559
374
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
560
375
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
561
376
  # @raise [Google::Apis::AuthorizationError] Authorization is required
562
- def delete_namespace_domainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
563
- command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1/{+name}', options)
377
+ def delete_namespace_revision(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
378
+ command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
564
379
  command.response_representation = Google::Apis::RunV1::Status::Representation
565
380
  command.response_class = Google::Apis::RunV1::Status
566
381
  command.params['name'] = name unless name.nil?
@@ -572,10 +387,11 @@ module Google
572
387
  execute_or_queue_command(command, &block)
573
388
  end
574
389
 
575
- # Get information about a domain mapping.
390
+ # Get information about a revision.
576
391
  # @param [String] name
577
- # The name of the domain mapping being retrieved. If needed, replace
578
- # `namespace_id` with the project ID.
392
+ # The name of the revision to retrieve.
393
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
394
+ # or number.
579
395
  # @param [String] fields
580
396
  # Selector specifying which fields to include in a partial response.
581
397
  # @param [String] quota_user
@@ -585,28 +401,29 @@ module Google
585
401
  # Request-specific options
586
402
  #
587
403
  # @yield [result, err] Result & error if block supplied
588
- # @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
404
+ # @yieldparam result [Google::Apis::RunV1::Revision] parsed result object
589
405
  # @yieldparam err [StandardError] error object if request failed
590
406
  #
591
- # @return [Google::Apis::RunV1::DomainMapping]
407
+ # @return [Google::Apis::RunV1::Revision]
592
408
  #
593
409
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
594
410
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
595
411
  # @raise [Google::Apis::AuthorizationError] Authorization is required
596
- def get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
597
- command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+name}', options)
598
- command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
599
- command.response_class = Google::Apis::RunV1::DomainMapping
412
+ def get_namespace_revision(name, fields: nil, quota_user: nil, options: nil, &block)
413
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
414
+ command.response_representation = Google::Apis::RunV1::Revision::Representation
415
+ command.response_class = Google::Apis::RunV1::Revision
600
416
  command.params['name'] = name unless name.nil?
601
417
  command.query['fields'] = fields unless fields.nil?
602
418
  command.query['quotaUser'] = quota_user unless quota_user.nil?
603
419
  execute_or_queue_command(command, &block)
604
420
  end
605
421
 
606
- # List domain mappings.
422
+ # List revisions.
607
423
  # @param [String] parent
608
- # The project ID or project number from which the domain mappings should be
609
- # listed.
424
+ # The namespace from which the revisions should be listed.
425
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
426
+ # or number.
610
427
  # @param [String] continue
611
428
  # Optional encoded string to continue paging.
612
429
  # @param [String] field_selector
@@ -635,18 +452,18 @@ module Google
635
452
  # Request-specific options
636
453
  #
637
454
  # @yield [result, err] Result & error if block supplied
638
- # @yieldparam result [Google::Apis::RunV1::ListDomainMappingsResponse] parsed result object
455
+ # @yieldparam result [Google::Apis::RunV1::ListRevisionsResponse] parsed result object
639
456
  # @yieldparam err [StandardError] error object if request failed
640
457
  #
641
- # @return [Google::Apis::RunV1::ListDomainMappingsResponse]
458
+ # @return [Google::Apis::RunV1::ListRevisionsResponse]
642
459
  #
643
460
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
644
461
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
645
462
  # @raise [Google::Apis::AuthorizationError] Authorization is required
646
- def list_namespace_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
647
- command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+parent}/domainmappings', options)
648
- command.response_representation = Google::Apis::RunV1::ListDomainMappingsResponse::Representation
649
- command.response_class = Google::Apis::RunV1::ListDomainMappingsResponse
463
+ def list_namespace_revisions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
464
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/revisions', options)
465
+ command.response_representation = Google::Apis::RunV1::ListRevisionsResponse::Representation
466
+ command.response_class = Google::Apis::RunV1::ListRevisionsResponse
650
467
  command.params['parent'] = parent unless parent.nil?
651
468
  command.query['continue'] = continue unless continue.nil?
652
469
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -660,16 +477,11 @@ module Google
660
477
  execute_or_queue_command(command, &block)
661
478
  end
662
479
 
663
- # Replace a domain mapping.
664
- # Only the spec and metadata labels and annotations are modifiable. After
665
- # the Update request, Cloud Run will work to make the 'status'
666
- # match the requested 'spec'.
667
- # May provide metadata.resourceVersion to enforce update from last read for
668
- # optimistic concurrency control.
480
+ # Get information about a route.
669
481
  # @param [String] name
670
- # The name of the domain mapping being retrieved. If needed, replace
671
- # `namespace_id` with the project ID.
672
- # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
482
+ # The name of the route to retrieve.
483
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
484
+ # or number.
673
485
  # @param [String] fields
674
486
  # Selector specifying which fields to include in a partial response.
675
487
  # @param [String] quota_user
@@ -679,247 +491,7 @@ module Google
679
491
  # Request-specific options
680
492
  #
681
493
  # @yield [result, err] Result & error if block supplied
682
- # @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
683
- # @yieldparam err [StandardError] error object if request failed
684
- #
685
- # @return [Google::Apis::RunV1::DomainMapping]
686
- #
687
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
688
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
689
- # @raise [Google::Apis::AuthorizationError] Authorization is required
690
- def replace_namespace_domainmapping_domain_mapping(name, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
691
- command = make_simple_command(:put, 'apis/domains.cloudrun.com/v1/{+name}', options)
692
- command.request_representation = Google::Apis::RunV1::DomainMapping::Representation
693
- command.request_object = domain_mapping_object
694
- command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
695
- command.response_class = Google::Apis::RunV1::DomainMapping
696
- command.params['name'] = name unless name.nil?
697
- command.query['fields'] = fields unless fields.nil?
698
- command.query['quotaUser'] = quota_user unless quota_user.nil?
699
- execute_or_queue_command(command, &block)
700
- end
701
-
702
- # Delete a revision.
703
- # @param [String] name
704
- # The name of the revision being deleted. If needed, replace
705
- # `namespace_id` with the project ID.
706
- # @param [String] api_version
707
- # Cloud Run currently ignores this parameter.
708
- # @param [String] kind
709
- # Cloud Run currently ignores this parameter.
710
- # @param [String] propagation_policy
711
- # Specifies the propagation policy of delete. Cloud Run currently ignores
712
- # this setting, and deletes in the background. Please see
713
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
714
- # more information.
715
- # @param [String] fields
716
- # Selector specifying which fields to include in a partial response.
717
- # @param [String] quota_user
718
- # Available to use for quota purposes for server-side applications. Can be any
719
- # arbitrary string assigned to a user, but should not exceed 40 characters.
720
- # @param [Google::Apis::RequestOptions] options
721
- # Request-specific options
722
- #
723
- # @yield [result, err] Result & error if block supplied
724
- # @yieldparam result [Google::Apis::RunV1::Status] parsed result object
725
- # @yieldparam err [StandardError] error object if request failed
726
- #
727
- # @return [Google::Apis::RunV1::Status]
728
- #
729
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
730
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
731
- # @raise [Google::Apis::AuthorizationError] Authorization is required
732
- def delete_namespace_revision(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
733
- command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
734
- command.response_representation = Google::Apis::RunV1::Status::Representation
735
- command.response_class = Google::Apis::RunV1::Status
736
- command.params['name'] = name unless name.nil?
737
- command.query['apiVersion'] = api_version unless api_version.nil?
738
- command.query['kind'] = kind unless kind.nil?
739
- command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
740
- command.query['fields'] = fields unless fields.nil?
741
- command.query['quotaUser'] = quota_user unless quota_user.nil?
742
- execute_or_queue_command(command, &block)
743
- end
744
-
745
- # Get information about a revision.
746
- # @param [String] name
747
- # The name of the revision being retrieved. If needed, replace
748
- # `namespace_id` with the project ID.
749
- # @param [String] fields
750
- # Selector specifying which fields to include in a partial response.
751
- # @param [String] quota_user
752
- # Available to use for quota purposes for server-side applications. Can be any
753
- # arbitrary string assigned to a user, but should not exceed 40 characters.
754
- # @param [Google::Apis::RequestOptions] options
755
- # Request-specific options
756
- #
757
- # @yield [result, err] Result & error if block supplied
758
- # @yieldparam result [Google::Apis::RunV1::Revision] parsed result object
759
- # @yieldparam err [StandardError] error object if request failed
760
- #
761
- # @return [Google::Apis::RunV1::Revision]
762
- #
763
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
764
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
765
- # @raise [Google::Apis::AuthorizationError] Authorization is required
766
- def get_namespace_revision(name, fields: nil, quota_user: nil, options: nil, &block)
767
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
768
- command.response_representation = Google::Apis::RunV1::Revision::Representation
769
- command.response_class = Google::Apis::RunV1::Revision
770
- command.params['name'] = name unless name.nil?
771
- command.query['fields'] = fields unless fields.nil?
772
- command.query['quotaUser'] = quota_user unless quota_user.nil?
773
- execute_or_queue_command(command, &block)
774
- end
775
-
776
- # List revisions.
777
- # @param [String] parent
778
- # The project ID or project number from which the revisions should be listed.
779
- # @param [String] continue
780
- # Optional encoded string to continue paging.
781
- # @param [String] field_selector
782
- # Allows to filter resources based on a specific value for a field name.
783
- # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
784
- # Not currently used by Cloud Run.
785
- # @param [Boolean] include_uninitialized
786
- # Not currently used by Cloud Run.
787
- # @param [String] label_selector
788
- # Allows to filter resources based on a label. Supported operations are
789
- # =, !=, exists, in, and notIn.
790
- # @param [Fixnum] limit
791
- # The maximum number of records that should be returned.
792
- # @param [String] resource_version
793
- # The baseline resource version from which the list or watch operation should
794
- # start. Not currently used by Cloud Run.
795
- # @param [Boolean] watch
796
- # Flag that indicates that the client expects to watch this resource as well.
797
- # Not currently used by Cloud Run.
798
- # @param [String] fields
799
- # Selector specifying which fields to include in a partial response.
800
- # @param [String] quota_user
801
- # Available to use for quota purposes for server-side applications. Can be any
802
- # arbitrary string assigned to a user, but should not exceed 40 characters.
803
- # @param [Google::Apis::RequestOptions] options
804
- # Request-specific options
805
- #
806
- # @yield [result, err] Result & error if block supplied
807
- # @yieldparam result [Google::Apis::RunV1::ListRevisionsResponse] parsed result object
808
- # @yieldparam err [StandardError] error object if request failed
809
- #
810
- # @return [Google::Apis::RunV1::ListRevisionsResponse]
811
- #
812
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
813
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
814
- # @raise [Google::Apis::AuthorizationError] Authorization is required
815
- def list_namespace_revisions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
816
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/revisions', options)
817
- command.response_representation = Google::Apis::RunV1::ListRevisionsResponse::Representation
818
- command.response_class = Google::Apis::RunV1::ListRevisionsResponse
819
- command.params['parent'] = parent unless parent.nil?
820
- command.query['continue'] = continue unless continue.nil?
821
- command.query['fieldSelector'] = field_selector unless field_selector.nil?
822
- command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
823
- command.query['labelSelector'] = label_selector unless label_selector.nil?
824
- command.query['limit'] = limit unless limit.nil?
825
- command.query['resourceVersion'] = resource_version unless resource_version.nil?
826
- command.query['watch'] = watch unless watch.nil?
827
- command.query['fields'] = fields unless fields.nil?
828
- command.query['quotaUser'] = quota_user unless quota_user.nil?
829
- execute_or_queue_command(command, &block)
830
- end
831
-
832
- # Create a route.
833
- # @param [String] parent
834
- # The project ID or project number in which this route should be created.
835
- # @param [Google::Apis::RunV1::Route] route_object
836
- # @param [String] fields
837
- # Selector specifying which fields to include in a partial response.
838
- # @param [String] quota_user
839
- # Available to use for quota purposes for server-side applications. Can be any
840
- # arbitrary string assigned to a user, but should not exceed 40 characters.
841
- # @param [Google::Apis::RequestOptions] options
842
- # Request-specific options
843
- #
844
- # @yield [result, err] Result & error if block supplied
845
- # @yieldparam result [Google::Apis::RunV1::Route] parsed result object
846
- # @yieldparam err [StandardError] error object if request failed
847
- #
848
- # @return [Google::Apis::RunV1::Route]
849
- #
850
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
851
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
852
- # @raise [Google::Apis::AuthorizationError] Authorization is required
853
- def create_namespace_route(parent, route_object = nil, fields: nil, quota_user: nil, options: nil, &block)
854
- command = make_simple_command(:post, 'apis/serving.knative.dev/v1/{+parent}/routes', options)
855
- command.request_representation = Google::Apis::RunV1::Route::Representation
856
- command.request_object = route_object
857
- command.response_representation = Google::Apis::RunV1::Route::Representation
858
- command.response_class = Google::Apis::RunV1::Route
859
- command.params['parent'] = parent unless parent.nil?
860
- command.query['fields'] = fields unless fields.nil?
861
- command.query['quotaUser'] = quota_user unless quota_user.nil?
862
- execute_or_queue_command(command, &block)
863
- end
864
-
865
- # Delete a route.
866
- # This will cause the route to stop serving traffic.
867
- # @param [String] name
868
- # The name of the route being deleted. If needed, replace
869
- # `namespace_id` with the project ID.
870
- # @param [String] api_version
871
- # Cloud Run currently ignores this parameter.
872
- # @param [String] kind
873
- # Cloud Run currently ignores this parameter.
874
- # @param [String] propagation_policy
875
- # Specifies the propagation policy of delete. Cloud Run currently ignores
876
- # this setting, and deletes in the background. Please see
877
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
878
- # more information.
879
- # @param [String] fields
880
- # Selector specifying which fields to include in a partial response.
881
- # @param [String] quota_user
882
- # Available to use for quota purposes for server-side applications. Can be any
883
- # arbitrary string assigned to a user, but should not exceed 40 characters.
884
- # @param [Google::Apis::RequestOptions] options
885
- # Request-specific options
886
- #
887
- # @yield [result, err] Result & error if block supplied
888
- # @yieldparam result [Google::Apis::RunV1::Status] parsed result object
889
- # @yieldparam err [StandardError] error object if request failed
890
- #
891
- # @return [Google::Apis::RunV1::Status]
892
- #
893
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
894
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
895
- # @raise [Google::Apis::AuthorizationError] Authorization is required
896
- def delete_namespace_route(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
897
- command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
898
- command.response_representation = Google::Apis::RunV1::Status::Representation
899
- command.response_class = Google::Apis::RunV1::Status
900
- command.params['name'] = name unless name.nil?
901
- command.query['apiVersion'] = api_version unless api_version.nil?
902
- command.query['kind'] = kind unless kind.nil?
903
- command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
904
- command.query['fields'] = fields unless fields.nil?
905
- command.query['quotaUser'] = quota_user unless quota_user.nil?
906
- execute_or_queue_command(command, &block)
907
- end
908
-
909
- # Get information about a route.
910
- # @param [String] name
911
- # The name of the route being retrieved. If needed, replace
912
- # `namespace_id` with the project ID.
913
- # @param [String] fields
914
- # Selector specifying which fields to include in a partial response.
915
- # @param [String] quota_user
916
- # Available to use for quota purposes for server-side applications. Can be any
917
- # arbitrary string assigned to a user, but should not exceed 40 characters.
918
- # @param [Google::Apis::RequestOptions] options
919
- # Request-specific options
920
- #
921
- # @yield [result, err] Result & error if block supplied
922
- # @yieldparam result [Google::Apis::RunV1::Route] parsed result object
494
+ # @yieldparam result [Google::Apis::RunV1::Route] parsed result object
923
495
  # @yieldparam err [StandardError] error object if request failed
924
496
  #
925
497
  # @return [Google::Apis::RunV1::Route]
@@ -939,7 +511,9 @@ module Google
939
511
 
940
512
  # List routes.
941
513
  # @param [String] parent
942
- # The project ID or project number from which the routes should be listed.
514
+ # The namespace from which the routes should be listed.
515
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
516
+ # or number.
943
517
  # @param [String] continue
944
518
  # Optional encoded string to continue paging.
945
519
  # @param [String] field_selector
@@ -993,48 +567,11 @@ module Google
993
567
  execute_or_queue_command(command, &block)
994
568
  end
995
569
 
996
- # Replace a route.
997
- # Only the spec and metadata labels and annotations are modifiable. After
998
- # the Update request, Cloud Run will work to make the 'status'
999
- # match the requested 'spec'.
1000
- # May provide metadata.resourceVersion to enforce update from last read for
1001
- # optimistic concurrency control.
1002
- # @param [String] name
1003
- # The name of the route being replaced. If needed, replace
1004
- # `namespace_id` with the project ID.
1005
- # @param [Google::Apis::RunV1::Route] route_object
1006
- # @param [String] fields
1007
- # Selector specifying which fields to include in a partial response.
1008
- # @param [String] quota_user
1009
- # Available to use for quota purposes for server-side applications. Can be any
1010
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1011
- # @param [Google::Apis::RequestOptions] options
1012
- # Request-specific options
1013
- #
1014
- # @yield [result, err] Result & error if block supplied
1015
- # @yieldparam result [Google::Apis::RunV1::Route] parsed result object
1016
- # @yieldparam err [StandardError] error object if request failed
1017
- #
1018
- # @return [Google::Apis::RunV1::Route]
1019
- #
1020
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1021
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1022
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1023
- def replace_namespace_route_route(name, route_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1024
- command = make_simple_command(:put, 'apis/serving.knative.dev/v1/{+name}', options)
1025
- command.request_representation = Google::Apis::RunV1::Route::Representation
1026
- command.request_object = route_object
1027
- command.response_representation = Google::Apis::RunV1::Route::Representation
1028
- command.response_class = Google::Apis::RunV1::Route
1029
- command.params['name'] = name unless name.nil?
1030
- command.query['fields'] = fields unless fields.nil?
1031
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1032
- execute_or_queue_command(command, &block)
1033
- end
1034
-
1035
570
  # Create a service.
1036
571
  # @param [String] parent
1037
- # The project ID or project number in which this service should be created.
572
+ # The namespace in which the service should be created.
573
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
574
+ # or number.
1038
575
  # @param [Google::Apis::RunV1::Service] service_object
1039
576
  # @param [String] fields
1040
577
  # Selector specifying which fields to include in a partial response.
@@ -1069,8 +606,9 @@ module Google
1069
606
  # This will cause the Service to stop serving traffic and will delete the
1070
607
  # child entities like Routes, Configurations and Revisions.
1071
608
  # @param [String] name
1072
- # The name of the service being deleted. If needed, replace
1073
- # `namespace_id` with the project ID.
609
+ # The name of the service to delete.
610
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
611
+ # or number.
1074
612
  # @param [String] api_version
1075
613
  # Cloud Run currently ignores this parameter.
1076
614
  # @param [String] kind
@@ -1112,8 +650,9 @@ module Google
1112
650
 
1113
651
  # Get information about a service.
1114
652
  # @param [String] name
1115
- # The name of the service being retrieved. If needed, replace
1116
- # `namespace_id` with the project ID.
653
+ # The name of the service to retrieve.
654
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
655
+ # or number.
1117
656
  # @param [String] fields
1118
657
  # Selector specifying which fields to include in a partial response.
1119
658
  # @param [String] quota_user
@@ -1143,7 +682,9 @@ module Google
1143
682
 
1144
683
  # List services.
1145
684
  # @param [String] parent
1146
- # The project ID or project number from which the services should be listed.
685
+ # The namespace from which the services should be listed.
686
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
687
+ # or number.
1147
688
  # @param [String] continue
1148
689
  # Optional encoded string to continue paging.
1149
690
  # @param [String] field_selector
@@ -1204,274 +745,10 @@ module Google
1204
745
  # May provide metadata.resourceVersion to enforce update from last read for
1205
746
  # optimistic concurrency control.
1206
747
  # @param [String] name
1207
- # The name of the service being replaced. If needed, replace
1208
- # `namespace_id` with the project ID.
1209
- # @param [Google::Apis::RunV1::Service] service_object
1210
- # @param [String] fields
1211
- # Selector specifying which fields to include in a partial response.
1212
- # @param [String] quota_user
1213
- # Available to use for quota purposes for server-side applications. Can be any
1214
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1215
- # @param [Google::Apis::RequestOptions] options
1216
- # Request-specific options
1217
- #
1218
- # @yield [result, err] Result & error if block supplied
1219
- # @yieldparam result [Google::Apis::RunV1::Service] parsed result object
1220
- # @yieldparam err [StandardError] error object if request failed
1221
- #
1222
- # @return [Google::Apis::RunV1::Service]
1223
- #
1224
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1225
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1226
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1227
- def replace_namespace_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1228
- command = make_simple_command(:put, 'apis/serving.knative.dev/v1/{+name}', options)
1229
- command.request_representation = Google::Apis::RunV1::Service::Representation
1230
- command.request_object = service_object
1231
- command.response_representation = Google::Apis::RunV1::Service::Representation
1232
- command.response_class = Google::Apis::RunV1::Service
1233
- command.params['name'] = name unless name.nil?
1234
- command.query['fields'] = fields unless fields.nil?
1235
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1236
- execute_or_queue_command(command, &block)
1237
- end
1238
-
1239
- # Gets information about a location.
1240
- # @param [String] name
1241
- # Resource name for the location.
1242
- # @param [String] fields
1243
- # Selector specifying which fields to include in a partial response.
1244
- # @param [String] quota_user
1245
- # Available to use for quota purposes for server-side applications. Can be any
1246
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1247
- # @param [Google::Apis::RequestOptions] options
1248
- # Request-specific options
1249
- #
1250
- # @yield [result, err] Result & error if block supplied
1251
- # @yieldparam result [Google::Apis::RunV1::Location] parsed result object
1252
- # @yieldparam err [StandardError] error object if request failed
1253
- #
1254
- # @return [Google::Apis::RunV1::Location]
1255
- #
1256
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1257
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1258
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1259
- def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
1260
- command = make_simple_command(:get, 'v1/{+name}', options)
1261
- command.response_representation = Google::Apis::RunV1::Location::Representation
1262
- command.response_class = Google::Apis::RunV1::Location
1263
- command.params['name'] = name unless name.nil?
1264
- command.query['fields'] = fields unless fields.nil?
1265
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1266
- execute_or_queue_command(command, &block)
1267
- end
1268
-
1269
- # Lists information about the supported locations for this service.
1270
- # @param [String] name
1271
- # The resource that owns the locations collection, if applicable.
1272
- # @param [String] filter
1273
- # The standard list filter.
1274
- # @param [Fixnum] page_size
1275
- # The standard list page size.
1276
- # @param [String] page_token
1277
- # The standard list page token.
1278
- # @param [String] fields
1279
- # Selector specifying which fields to include in a partial response.
1280
- # @param [String] quota_user
1281
- # Available to use for quota purposes for server-side applications. Can be any
1282
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1283
- # @param [Google::Apis::RequestOptions] options
1284
- # Request-specific options
1285
- #
1286
- # @yield [result, err] Result & error if block supplied
1287
- # @yieldparam result [Google::Apis::RunV1::ListLocationsResponse] parsed result object
1288
- # @yieldparam err [StandardError] error object if request failed
1289
- #
1290
- # @return [Google::Apis::RunV1::ListLocationsResponse]
1291
- #
1292
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1293
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1294
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1295
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1296
- command = make_simple_command(:get, 'v1/{+name}/locations', options)
1297
- command.response_representation = Google::Apis::RunV1::ListLocationsResponse::Representation
1298
- command.response_class = Google::Apis::RunV1::ListLocationsResponse
1299
- command.params['name'] = name unless name.nil?
1300
- command.query['filter'] = filter unless filter.nil?
1301
- command.query['pageSize'] = page_size unless page_size.nil?
1302
- command.query['pageToken'] = page_token unless page_token.nil?
1303
- command.query['fields'] = fields unless fields.nil?
1304
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1305
- execute_or_queue_command(command, &block)
1306
- end
1307
-
1308
- # List authorized domains.
1309
- # @param [String] parent
1310
- # Name of the parent Application resource. Example: `apps/myapp`.
1311
- # @param [Fixnum] page_size
1312
- # Maximum results to return per page.
1313
- # @param [String] page_token
1314
- # Continuation token for fetching the next page of results.
1315
- # @param [String] fields
1316
- # Selector specifying which fields to include in a partial response.
1317
- # @param [String] quota_user
1318
- # Available to use for quota purposes for server-side applications. Can be any
1319
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1320
- # @param [Google::Apis::RequestOptions] options
1321
- # Request-specific options
1322
- #
1323
- # @yield [result, err] Result & error if block supplied
1324
- # @yieldparam result [Google::Apis::RunV1::ListAuthorizedDomainsResponse] parsed result object
1325
- # @yieldparam err [StandardError] error object if request failed
1326
- #
1327
- # @return [Google::Apis::RunV1::ListAuthorizedDomainsResponse]
1328
- #
1329
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1330
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1331
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1332
- def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1333
- command = make_simple_command(:get, 'v1/{+parent}/authorizeddomains', options)
1334
- command.response_representation = Google::Apis::RunV1::ListAuthorizedDomainsResponse::Representation
1335
- command.response_class = Google::Apis::RunV1::ListAuthorizedDomainsResponse
1336
- command.params['parent'] = parent unless parent.nil?
1337
- command.query['pageSize'] = page_size unless page_size.nil?
1338
- command.query['pageToken'] = page_token unless page_token.nil?
1339
- command.query['fields'] = fields unless fields.nil?
1340
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1341
- execute_or_queue_command(command, &block)
1342
- end
1343
-
1344
- # Creates a new auto domain mapping.
1345
- # @param [String] parent
1346
- # The project ID or project number in which this auto domain mapping should
1347
- # be created.
1348
- # @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object
1349
- # @param [String] fields
1350
- # Selector specifying which fields to include in a partial response.
1351
- # @param [String] quota_user
1352
- # Available to use for quota purposes for server-side applications. Can be any
1353
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1354
- # @param [Google::Apis::RequestOptions] options
1355
- # Request-specific options
1356
- #
1357
- # @yield [result, err] Result & error if block supplied
1358
- # @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
1359
- # @yieldparam err [StandardError] error object if request failed
1360
- #
1361
- # @return [Google::Apis::RunV1::AutoDomainMapping]
1362
- #
1363
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1364
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1365
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1366
- def create_project_location_autodomainmapping(parent, auto_domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1367
- command = make_simple_command(:post, 'v1/{+parent}/autodomainmappings', options)
1368
- command.request_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
1369
- command.request_object = auto_domain_mapping_object
1370
- command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
1371
- command.response_class = Google::Apis::RunV1::AutoDomainMapping
1372
- command.params['parent'] = parent unless parent.nil?
1373
- command.query['fields'] = fields unless fields.nil?
1374
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1375
- execute_or_queue_command(command, &block)
1376
- end
1377
-
1378
- # Delete an auto domain mapping.
1379
- # @param [String] name
1380
- # The name of the auto domain mapping being deleted. If needed, replace
1381
- # `namespace_id` with the project ID.
1382
- # @param [String] api_version
1383
- # Cloud Run currently ignores this parameter.
1384
- # @param [String] kind
1385
- # Cloud Run currently ignores this parameter.
1386
- # @param [String] propagation_policy
1387
- # Specifies the propagation policy of delete. Cloud Run currently ignores
1388
- # this setting, and deletes in the background. Please see
1389
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1390
- # more information.
1391
- # @param [String] fields
1392
- # Selector specifying which fields to include in a partial response.
1393
- # @param [String] quota_user
1394
- # Available to use for quota purposes for server-side applications. Can be any
1395
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1396
- # @param [Google::Apis::RequestOptions] options
1397
- # Request-specific options
1398
- #
1399
- # @yield [result, err] Result & error if block supplied
1400
- # @yieldparam result [Google::Apis::RunV1::Status] parsed result object
1401
- # @yieldparam err [StandardError] error object if request failed
1402
- #
1403
- # @return [Google::Apis::RunV1::Status]
1404
- #
1405
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1406
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1407
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1408
- def delete_project_location_autodomainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1409
- command = make_simple_command(:delete, 'v1/{+name}', options)
1410
- command.response_representation = Google::Apis::RunV1::Status::Representation
1411
- command.response_class = Google::Apis::RunV1::Status
1412
- command.params['name'] = name unless name.nil?
1413
- command.query['apiVersion'] = api_version unless api_version.nil?
1414
- command.query['kind'] = kind unless kind.nil?
1415
- command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1416
- command.query['fields'] = fields unless fields.nil?
1417
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1418
- execute_or_queue_command(command, &block)
1419
- end
1420
-
1421
- # Get information about an auto domain mapping.
1422
- # @param [String] name
1423
- # The name of the auto domain mapping being retrieved. If needed, replace
1424
- # `namespace_id` with the project ID.
1425
- # @param [String] fields
1426
- # Selector specifying which fields to include in a partial response.
1427
- # @param [String] quota_user
1428
- # Available to use for quota purposes for server-side applications. Can be any
1429
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1430
- # @param [Google::Apis::RequestOptions] options
1431
- # Request-specific options
1432
- #
1433
- # @yield [result, err] Result & error if block supplied
1434
- # @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
1435
- # @yieldparam err [StandardError] error object if request failed
1436
- #
1437
- # @return [Google::Apis::RunV1::AutoDomainMapping]
1438
- #
1439
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1440
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1441
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1442
- def get_project_location_autodomainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
1443
- command = make_simple_command(:get, 'v1/{+name}', options)
1444
- command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
1445
- command.response_class = Google::Apis::RunV1::AutoDomainMapping
1446
- command.params['name'] = name unless name.nil?
1447
- command.query['fields'] = fields unless fields.nil?
1448
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1449
- execute_or_queue_command(command, &block)
1450
- end
1451
-
1452
- # List auto domain mappings.
1453
- # @param [String] parent
1454
- # The project ID or project number from which the auto domain mappings should
1455
- # be listed.
1456
- # @param [String] continue
1457
- # Optional encoded string to continue paging.
1458
- # @param [String] field_selector
1459
- # Allows to filter resources based on a specific value for a field name.
1460
- # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
1461
- # Not currently used by Cloud Run.
1462
- # @param [Boolean] include_uninitialized
1463
- # Not currently used by Cloud Run.
1464
- # @param [String] label_selector
1465
- # Allows to filter resources based on a label. Supported operations are
1466
- # =, !=, exists, in, and notIn.
1467
- # @param [Fixnum] limit
1468
- # The maximum number of records that should be returned.
1469
- # @param [String] resource_version
1470
- # The baseline resource version from which the list or watch operation should
1471
- # start. Not currently used by Cloud Run.
1472
- # @param [Boolean] watch
1473
- # Flag that indicates that the client expects to watch this resource as well.
1474
- # Not currently used by Cloud Run.
748
+ # The name of the service being replaced.
749
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
750
+ # or number.
751
+ # @param [Google::Apis::RunV1::Service] service_object
1475
752
  # @param [String] fields
1476
753
  # Selector specifying which fields to include in a partial response.
1477
754
  # @param [String] quota_user
@@ -1481,41 +758,29 @@ module Google
1481
758
  # Request-specific options
1482
759
  #
1483
760
  # @yield [result, err] Result & error if block supplied
1484
- # @yieldparam result [Google::Apis::RunV1::ListAutoDomainMappingsResponse] parsed result object
761
+ # @yieldparam result [Google::Apis::RunV1::Service] parsed result object
1485
762
  # @yieldparam err [StandardError] error object if request failed
1486
763
  #
1487
- # @return [Google::Apis::RunV1::ListAutoDomainMappingsResponse]
764
+ # @return [Google::Apis::RunV1::Service]
1488
765
  #
1489
766
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1490
767
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1491
768
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1492
- def list_project_location_autodomainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
1493
- command = make_simple_command(:get, 'v1/{+parent}/autodomainmappings', options)
1494
- command.response_representation = Google::Apis::RunV1::ListAutoDomainMappingsResponse::Representation
1495
- command.response_class = Google::Apis::RunV1::ListAutoDomainMappingsResponse
1496
- command.params['parent'] = parent unless parent.nil?
1497
- command.query['continue'] = continue unless continue.nil?
1498
- command.query['fieldSelector'] = field_selector unless field_selector.nil?
1499
- command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
1500
- command.query['labelSelector'] = label_selector unless label_selector.nil?
1501
- command.query['limit'] = limit unless limit.nil?
1502
- command.query['resourceVersion'] = resource_version unless resource_version.nil?
1503
- command.query['watch'] = watch unless watch.nil?
769
+ def replace_namespace_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
770
+ command = make_simple_command(:put, 'apis/serving.knative.dev/v1/{+name}', options)
771
+ command.request_representation = Google::Apis::RunV1::Service::Representation
772
+ command.request_object = service_object
773
+ command.response_representation = Google::Apis::RunV1::Service::Representation
774
+ command.response_class = Google::Apis::RunV1::Service
775
+ command.params['name'] = name unless name.nil?
1504
776
  command.query['fields'] = fields unless fields.nil?
1505
777
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1506
778
  execute_or_queue_command(command, &block)
1507
779
  end
1508
780
 
1509
- # Replace an auto domain mapping.
1510
- # Only the spec and metadata labels and annotations are modifiable. After
1511
- # the Update request, Cloud Run will work to make the 'status'
1512
- # match the requested 'spec'.
1513
- # May provide metadata.resourceVersion to enforce update from last read for
1514
- # optimistic concurrency control.
781
+ # Gets information about a location.
1515
782
  # @param [String] name
1516
- # The name of the auto domain mapping being retrieved. If needed, replace
1517
- # `namespace_id` with the project ID.
1518
- # @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object
783
+ # Resource name for the location.
1519
784
  # @param [String] fields
1520
785
  # Selector specifying which fields to include in a partial response.
1521
786
  # @param [String] quota_user
@@ -1525,31 +790,33 @@ module Google
1525
790
  # Request-specific options
1526
791
  #
1527
792
  # @yield [result, err] Result & error if block supplied
1528
- # @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
793
+ # @yieldparam result [Google::Apis::RunV1::Location] parsed result object
1529
794
  # @yieldparam err [StandardError] error object if request failed
1530
795
  #
1531
- # @return [Google::Apis::RunV1::AutoDomainMapping]
796
+ # @return [Google::Apis::RunV1::Location]
1532
797
  #
1533
798
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1534
799
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1535
800
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1536
- def replace_project_location_autodomainmapping_auto_domain_mapping(name, auto_domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1537
- command = make_simple_command(:put, 'v1/{+name}', options)
1538
- command.request_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
1539
- command.request_object = auto_domain_mapping_object
1540
- command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
1541
- command.response_class = Google::Apis::RunV1::AutoDomainMapping
801
+ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
802
+ command = make_simple_command(:get, 'v1/{+name}', options)
803
+ command.response_representation = Google::Apis::RunV1::Location::Representation
804
+ command.response_class = Google::Apis::RunV1::Location
1542
805
  command.params['name'] = name unless name.nil?
1543
806
  command.query['fields'] = fields unless fields.nil?
1544
807
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1545
808
  execute_or_queue_command(command, &block)
1546
809
  end
1547
810
 
1548
- # Create a configuration.
1549
- # @param [String] parent
1550
- # The project ID or project number in which this configuration should be
1551
- # created.
1552
- # @param [Google::Apis::RunV1::Configuration] configuration_object
811
+ # Lists information about the supported locations for this service.
812
+ # @param [String] name
813
+ # The resource that owns the locations collection, if applicable.
814
+ # @param [String] filter
815
+ # The standard list filter.
816
+ # @param [Fixnum] page_size
817
+ # The standard list page size.
818
+ # @param [String] page_token
819
+ # The standard list page token.
1553
820
  # @param [String] fields
1554
821
  # Selector specifying which fields to include in a partial response.
1555
822
  # @param [String] quota_user
@@ -1559,42 +826,34 @@ module Google
1559
826
  # Request-specific options
1560
827
  #
1561
828
  # @yield [result, err] Result & error if block supplied
1562
- # @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
829
+ # @yieldparam result [Google::Apis::RunV1::ListLocationsResponse] parsed result object
1563
830
  # @yieldparam err [StandardError] error object if request failed
1564
831
  #
1565
- # @return [Google::Apis::RunV1::Configuration]
832
+ # @return [Google::Apis::RunV1::ListLocationsResponse]
1566
833
  #
1567
834
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1568
835
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1569
836
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1570
- def create_project_location_configuration(parent, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1571
- command = make_simple_command(:post, 'v1/{+parent}/configurations', options)
1572
- command.request_representation = Google::Apis::RunV1::Configuration::Representation
1573
- command.request_object = configuration_object
1574
- command.response_representation = Google::Apis::RunV1::Configuration::Representation
1575
- command.response_class = Google::Apis::RunV1::Configuration
1576
- command.params['parent'] = parent unless parent.nil?
837
+ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
838
+ command = make_simple_command(:get, 'v1/{+name}/locations', options)
839
+ command.response_representation = Google::Apis::RunV1::ListLocationsResponse::Representation
840
+ command.response_class = Google::Apis::RunV1::ListLocationsResponse
841
+ command.params['name'] = name unless name.nil?
842
+ command.query['filter'] = filter unless filter.nil?
843
+ command.query['pageSize'] = page_size unless page_size.nil?
844
+ command.query['pageToken'] = page_token unless page_token.nil?
1577
845
  command.query['fields'] = fields unless fields.nil?
1578
846
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1579
847
  execute_or_queue_command(command, &block)
1580
848
  end
1581
849
 
1582
- # delete a configuration.
1583
- # This will cause the configuration to delete all child revisions. Prior to
1584
- # calling this, any route referencing the configuration (or revision
1585
- # from the configuration) must be deleted.
1586
- # @param [String] name
1587
- # The name of the configuration being deleted. If needed, replace
1588
- # `namespace_id` with the project ID.
1589
- # @param [String] api_version
1590
- # Cloud Run currently ignores this parameter.
1591
- # @param [String] kind
1592
- # Cloud Run currently ignores this parameter.
1593
- # @param [String] propagation_policy
1594
- # Specifies the propagation policy of delete. Cloud Run currently ignores
1595
- # this setting, and deletes in the background. Please see
1596
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1597
- # more information.
850
+ # List authorized domains.
851
+ # @param [String] parent
852
+ # Name of the parent Application resource. Example: `apps/myapp`.
853
+ # @param [Fixnum] page_size
854
+ # Maximum results to return per page.
855
+ # @param [String] page_token
856
+ # Continuation token for fetching the next page of results.
1598
857
  # @param [String] fields
1599
858
  # Selector specifying which fields to include in a partial response.
1600
859
  # @param [String] quota_user
@@ -1604,22 +863,21 @@ module Google
1604
863
  # Request-specific options
1605
864
  #
1606
865
  # @yield [result, err] Result & error if block supplied
1607
- # @yieldparam result [Google::Apis::RunV1::Status] parsed result object
866
+ # @yieldparam result [Google::Apis::RunV1::ListAuthorizedDomainsResponse] parsed result object
1608
867
  # @yieldparam err [StandardError] error object if request failed
1609
868
  #
1610
- # @return [Google::Apis::RunV1::Status]
869
+ # @return [Google::Apis::RunV1::ListAuthorizedDomainsResponse]
1611
870
  #
1612
871
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1613
872
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1614
873
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1615
- def delete_project_location_configuration(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1616
- command = make_simple_command(:delete, 'v1/{+name}', options)
1617
- command.response_representation = Google::Apis::RunV1::Status::Representation
1618
- command.response_class = Google::Apis::RunV1::Status
1619
- command.params['name'] = name unless name.nil?
1620
- command.query['apiVersion'] = api_version unless api_version.nil?
1621
- command.query['kind'] = kind unless kind.nil?
1622
- command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
874
+ def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
875
+ command = make_simple_command(:get, 'v1/{+parent}/authorizeddomains', options)
876
+ command.response_representation = Google::Apis::RunV1::ListAuthorizedDomainsResponse::Representation
877
+ command.response_class = Google::Apis::RunV1::ListAuthorizedDomainsResponse
878
+ command.params['parent'] = parent unless parent.nil?
879
+ command.query['pageSize'] = page_size unless page_size.nil?
880
+ command.query['pageToken'] = page_token unless page_token.nil?
1623
881
  command.query['fields'] = fields unless fields.nil?
1624
882
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1625
883
  execute_or_queue_command(command, &block)
@@ -1627,8 +885,9 @@ module Google
1627
885
 
1628
886
  # Get information about a configuration.
1629
887
  # @param [String] name
1630
- # The name of the configuration being retrieved. If needed, replace
1631
- # `namespace_id` with the project ID.
888
+ # The name of the configuration to retrieve.
889
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
890
+ # or number.
1632
891
  # @param [String] fields
1633
892
  # Selector specifying which fields to include in a partial response.
1634
893
  # @param [String] quota_user
@@ -1658,8 +917,9 @@ module Google
1658
917
 
1659
918
  # List configurations.
1660
919
  # @param [String] parent
1661
- # The project ID or project number from which the configurations should be
1662
- # listed.
920
+ # The namespace from which the configurations should be listed.
921
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
922
+ # or number.
1663
923
  # @param [String] continue
1664
924
  # Optional encoded string to continue paging.
1665
925
  # @param [String] field_selector
@@ -1713,49 +973,11 @@ module Google
1713
973
  execute_or_queue_command(command, &block)
1714
974
  end
1715
975
 
1716
- # Replace a configuration.
1717
- # Only the spec and metadata labels and annotations are modifiable. After
1718
- # the Update request, Cloud Run will work to make the 'status'
1719
- # match the requested 'spec'.
1720
- # May provide metadata.resourceVersion to enforce update from last read for
1721
- # optimistic concurrency control.
1722
- # @param [String] name
1723
- # The name of the configuration being retrieved. If needed, replace
1724
- # `namespace_id` with the project ID.
1725
- # @param [Google::Apis::RunV1::Configuration] configuration_object
1726
- # @param [String] fields
1727
- # Selector specifying which fields to include in a partial response.
1728
- # @param [String] quota_user
1729
- # Available to use for quota purposes for server-side applications. Can be any
1730
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1731
- # @param [Google::Apis::RequestOptions] options
1732
- # Request-specific options
1733
- #
1734
- # @yield [result, err] Result & error if block supplied
1735
- # @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
1736
- # @yieldparam err [StandardError] error object if request failed
1737
- #
1738
- # @return [Google::Apis::RunV1::Configuration]
1739
- #
1740
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1741
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1742
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1743
- def replace_project_location_configuration_configuration(name, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1744
- command = make_simple_command(:put, 'v1/{+name}', options)
1745
- command.request_representation = Google::Apis::RunV1::Configuration::Representation
1746
- command.request_object = configuration_object
1747
- command.response_representation = Google::Apis::RunV1::Configuration::Representation
1748
- command.response_class = Google::Apis::RunV1::Configuration
1749
- command.params['name'] = name unless name.nil?
1750
- command.query['fields'] = fields unless fields.nil?
1751
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1752
- execute_or_queue_command(command, &block)
1753
- end
1754
-
1755
976
  # Create a new domain mapping.
1756
977
  # @param [String] parent
1757
- # The project ID or project number in which this domain mapping should be
1758
- # created.
978
+ # The namespace in which the domain mapping should be created.
979
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
980
+ # or number.
1759
981
  # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
1760
982
  # @param [String] fields
1761
983
  # Selector specifying which fields to include in a partial response.
@@ -1788,8 +1010,9 @@ module Google
1788
1010
 
1789
1011
  # Delete a domain mapping.
1790
1012
  # @param [String] name
1791
- # The name of the domain mapping being deleted. If needed, replace
1792
- # `namespace_id` with the project ID.
1013
+ # The name of the domain mapping to delete.
1014
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1015
+ # or number.
1793
1016
  # @param [String] api_version
1794
1017
  # Cloud Run currently ignores this parameter.
1795
1018
  # @param [String] kind
@@ -1831,8 +1054,9 @@ module Google
1831
1054
 
1832
1055
  # Get information about a domain mapping.
1833
1056
  # @param [String] name
1834
- # The name of the domain mapping being retrieved. If needed, replace
1835
- # `namespace_id` with the project ID.
1057
+ # The name of the domain mapping to retrieve.
1058
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1059
+ # or number.
1836
1060
  # @param [String] fields
1837
1061
  # Selector specifying which fields to include in a partial response.
1838
1062
  # @param [String] quota_user
@@ -1862,8 +1086,9 @@ module Google
1862
1086
 
1863
1087
  # List domain mappings.
1864
1088
  # @param [String] parent
1865
- # The project ID or project number from which the domain mappings should be
1866
- # listed.
1089
+ # The namespace from which the domain mappings should be listed.
1090
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1091
+ # or number.
1867
1092
  # @param [String] continue
1868
1093
  # Optional encoded string to continue paging.
1869
1094
  # @param [String] field_selector
@@ -1917,49 +1142,11 @@ module Google
1917
1142
  execute_or_queue_command(command, &block)
1918
1143
  end
1919
1144
 
1920
- # Replace a domain mapping.
1921
- # Only the spec and metadata labels and annotations are modifiable. After
1922
- # the Update request, Cloud Run will work to make the 'status'
1923
- # match the requested 'spec'.
1924
- # May provide metadata.resourceVersion to enforce update from last read for
1925
- # optimistic concurrency control.
1926
- # @param [String] name
1927
- # The name of the domain mapping being retrieved. If needed, replace
1928
- # `namespace_id` with the project ID.
1929
- # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
1930
- # @param [String] fields
1931
- # Selector specifying which fields to include in a partial response.
1932
- # @param [String] quota_user
1933
- # Available to use for quota purposes for server-side applications. Can be any
1934
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1935
- # @param [Google::Apis::RequestOptions] options
1936
- # Request-specific options
1937
- #
1938
- # @yield [result, err] Result & error if block supplied
1939
- # @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
1940
- # @yieldparam err [StandardError] error object if request failed
1941
- #
1942
- # @return [Google::Apis::RunV1::DomainMapping]
1943
- #
1944
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1945
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1946
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1947
- def replace_project_location_domainmapping_domain_mapping(name, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1948
- command = make_simple_command(:put, 'v1/{+name}', options)
1949
- command.request_representation = Google::Apis::RunV1::DomainMapping::Representation
1950
- command.request_object = domain_mapping_object
1951
- command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
1952
- command.response_class = Google::Apis::RunV1::DomainMapping
1953
- command.params['name'] = name unless name.nil?
1954
- command.query['fields'] = fields unless fields.nil?
1955
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1956
- execute_or_queue_command(command, &block)
1957
- end
1958
-
1959
1145
  # Delete a revision.
1960
1146
  # @param [String] name
1961
- # The name of the revision being deleted. If needed, replace
1962
- # `namespace_id` with the project ID.
1147
+ # The name of the revision to delete.
1148
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1149
+ # or number.
1963
1150
  # @param [String] api_version
1964
1151
  # Cloud Run currently ignores this parameter.
1965
1152
  # @param [String] kind
@@ -2001,8 +1188,9 @@ module Google
2001
1188
 
2002
1189
  # Get information about a revision.
2003
1190
  # @param [String] name
2004
- # The name of the revision being retrieved. If needed, replace
2005
- # `namespace_id` with the project ID.
1191
+ # The name of the revision to retrieve.
1192
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1193
+ # or number.
2006
1194
  # @param [String] fields
2007
1195
  # Selector specifying which fields to include in a partial response.
2008
1196
  # @param [String] quota_user
@@ -2032,7 +1220,9 @@ module Google
2032
1220
 
2033
1221
  # List revisions.
2034
1222
  # @param [String] parent
2035
- # The project ID or project number from which the revisions should be listed.
1223
+ # The namespace from which the revisions should be listed.
1224
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1225
+ # or number.
2036
1226
  # @param [String] continue
2037
1227
  # Optional encoded string to continue paging.
2038
1228
  # @param [String] field_selector
@@ -2086,87 +1276,11 @@ module Google
2086
1276
  execute_or_queue_command(command, &block)
2087
1277
  end
2088
1278
 
2089
- # Create a route.
2090
- # @param [String] parent
2091
- # The project ID or project number in which this route should be created.
2092
- # @param [Google::Apis::RunV1::Route] route_object
2093
- # @param [String] fields
2094
- # Selector specifying which fields to include in a partial response.
2095
- # @param [String] quota_user
2096
- # Available to use for quota purposes for server-side applications. Can be any
2097
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2098
- # @param [Google::Apis::RequestOptions] options
2099
- # Request-specific options
2100
- #
2101
- # @yield [result, err] Result & error if block supplied
2102
- # @yieldparam result [Google::Apis::RunV1::Route] parsed result object
2103
- # @yieldparam err [StandardError] error object if request failed
2104
- #
2105
- # @return [Google::Apis::RunV1::Route]
2106
- #
2107
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2108
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2109
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2110
- def create_project_location_route(parent, route_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2111
- command = make_simple_command(:post, 'v1/{+parent}/routes', options)
2112
- command.request_representation = Google::Apis::RunV1::Route::Representation
2113
- command.request_object = route_object
2114
- command.response_representation = Google::Apis::RunV1::Route::Representation
2115
- command.response_class = Google::Apis::RunV1::Route
2116
- command.params['parent'] = parent unless parent.nil?
2117
- command.query['fields'] = fields unless fields.nil?
2118
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2119
- execute_or_queue_command(command, &block)
2120
- end
2121
-
2122
- # Delete a route.
2123
- # This will cause the route to stop serving traffic.
2124
- # @param [String] name
2125
- # The name of the route being deleted. If needed, replace
2126
- # `namespace_id` with the project ID.
2127
- # @param [String] api_version
2128
- # Cloud Run currently ignores this parameter.
2129
- # @param [String] kind
2130
- # Cloud Run currently ignores this parameter.
2131
- # @param [String] propagation_policy
2132
- # Specifies the propagation policy of delete. Cloud Run currently ignores
2133
- # this setting, and deletes in the background. Please see
2134
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
2135
- # more information.
2136
- # @param [String] fields
2137
- # Selector specifying which fields to include in a partial response.
2138
- # @param [String] quota_user
2139
- # Available to use for quota purposes for server-side applications. Can be any
2140
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2141
- # @param [Google::Apis::RequestOptions] options
2142
- # Request-specific options
2143
- #
2144
- # @yield [result, err] Result & error if block supplied
2145
- # @yieldparam result [Google::Apis::RunV1::Status] parsed result object
2146
- # @yieldparam err [StandardError] error object if request failed
2147
- #
2148
- # @return [Google::Apis::RunV1::Status]
2149
- #
2150
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2151
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2152
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2153
- def delete_project_location_route(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
2154
- command = make_simple_command(:delete, 'v1/{+name}', options)
2155
- command.response_representation = Google::Apis::RunV1::Status::Representation
2156
- command.response_class = Google::Apis::RunV1::Status
2157
- command.params['name'] = name unless name.nil?
2158
- command.query['apiVersion'] = api_version unless api_version.nil?
2159
- command.query['kind'] = kind unless kind.nil?
2160
- command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
2161
- command.query['fields'] = fields unless fields.nil?
2162
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2163
- execute_or_queue_command(command, &block)
2164
- end
2165
-
2166
1279
  # Get information about a route.
2167
1280
  # @param [String] name
2168
- # The name of the route being retrieved. If needed, replace
2169
- # `namespace_id` with the project ID.
1281
+ # The name of the route to retrieve.
1282
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1283
+ # or number.
2170
1284
  # @param [String] fields
2171
1285
  # Selector specifying which fields to include in a partial response.
2172
1286
  # @param [String] quota_user
@@ -2196,7 +1310,9 @@ module Google
2196
1310
 
2197
1311
  # List routes.
2198
1312
  # @param [String] parent
2199
- # The project ID or project number from which the routes should be listed.
1313
+ # The namespace from which the routes should be listed.
1314
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1315
+ # or number.
2200
1316
  # @param [String] continue
2201
1317
  # Optional encoded string to continue paging.
2202
1318
  # @param [String] field_selector
@@ -2250,48 +1366,11 @@ module Google
2250
1366
  execute_or_queue_command(command, &block)
2251
1367
  end
2252
1368
 
2253
- # Replace a route.
2254
- # Only the spec and metadata labels and annotations are modifiable. After
2255
- # the Update request, Cloud Run will work to make the 'status'
2256
- # match the requested 'spec'.
2257
- # May provide metadata.resourceVersion to enforce update from last read for
2258
- # optimistic concurrency control.
2259
- # @param [String] name
2260
- # The name of the route being replaced. If needed, replace
2261
- # `namespace_id` with the project ID.
2262
- # @param [Google::Apis::RunV1::Route] route_object
2263
- # @param [String] fields
2264
- # Selector specifying which fields to include in a partial response.
2265
- # @param [String] quota_user
2266
- # Available to use for quota purposes for server-side applications. Can be any
2267
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2268
- # @param [Google::Apis::RequestOptions] options
2269
- # Request-specific options
2270
- #
2271
- # @yield [result, err] Result & error if block supplied
2272
- # @yieldparam result [Google::Apis::RunV1::Route] parsed result object
2273
- # @yieldparam err [StandardError] error object if request failed
2274
- #
2275
- # @return [Google::Apis::RunV1::Route]
2276
- #
2277
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2278
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2279
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2280
- def replace_project_location_route_route(name, route_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2281
- command = make_simple_command(:put, 'v1/{+name}', options)
2282
- command.request_representation = Google::Apis::RunV1::Route::Representation
2283
- command.request_object = route_object
2284
- command.response_representation = Google::Apis::RunV1::Route::Representation
2285
- command.response_class = Google::Apis::RunV1::Route
2286
- command.params['name'] = name unless name.nil?
2287
- command.query['fields'] = fields unless fields.nil?
2288
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2289
- execute_or_queue_command(command, &block)
2290
- end
2291
-
2292
1369
  # Create a service.
2293
1370
  # @param [String] parent
2294
- # The project ID or project number in which this service should be created.
1371
+ # The namespace in which the service should be created.
1372
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1373
+ # or number.
2295
1374
  # @param [Google::Apis::RunV1::Service] service_object
2296
1375
  # @param [String] fields
2297
1376
  # Selector specifying which fields to include in a partial response.
@@ -2326,8 +1405,9 @@ module Google
2326
1405
  # This will cause the Service to stop serving traffic and will delete the
2327
1406
  # child entities like Routes, Configurations and Revisions.
2328
1407
  # @param [String] name
2329
- # The name of the service being deleted. If needed, replace
2330
- # `namespace_id` with the project ID.
1408
+ # The name of the service to delete.
1409
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1410
+ # or number.
2331
1411
  # @param [String] api_version
2332
1412
  # Cloud Run currently ignores this parameter.
2333
1413
  # @param [String] kind
@@ -2369,8 +1449,9 @@ module Google
2369
1449
 
2370
1450
  # Get information about a service.
2371
1451
  # @param [String] name
2372
- # The name of the service being retrieved. If needed, replace
2373
- # `namespace_id` with the project ID.
1452
+ # The name of the service to retrieve.
1453
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1454
+ # or number.
2374
1455
  # @param [String] fields
2375
1456
  # Selector specifying which fields to include in a partial response.
2376
1457
  # @param [String] quota_user
@@ -2440,7 +1521,9 @@ module Google
2440
1521
 
2441
1522
  # List services.
2442
1523
  # @param [String] parent
2443
- # The project ID or project number from which the services should be listed.
1524
+ # The namespace from which the services should be listed.
1525
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1526
+ # or number.
2444
1527
  # @param [String] continue
2445
1528
  # Optional encoded string to continue paging.
2446
1529
  # @param [String] field_selector
@@ -2501,8 +1584,9 @@ module Google
2501
1584
  # May provide metadata.resourceVersion to enforce update from last read for
2502
1585
  # optimistic concurrency control.
2503
1586
  # @param [String] name
2504
- # The name of the service being replaced. If needed, replace
2505
- # `namespace_id` with the project ID.
1587
+ # The name of the service being replaced.
1588
+ # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1589
+ # or number.
2506
1590
  # @param [Google::Apis::RunV1::Service] service_object
2507
1591
  # @param [String] fields
2508
1592
  # Selector specifying which fields to include in a partial response.