google-api-client 0.34.1 → 0.35.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (312) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +16 -3
  3. data/CHANGELOG.md +114 -0
  4. data/OVERVIEW.md +36 -0
  5. data/README.md +49 -1
  6. data/Rakefile +1 -1
  7. data/docs/api-keys.md +20 -0
  8. data/docs/auth.md +53 -0
  9. data/docs/client-secrets.md +69 -0
  10. data/docs/getting-started.md +340 -0
  11. data/docs/installation.md +0 -0
  12. data/docs/logging.md +34 -0
  13. data/docs/media-upload.md +25 -0
  14. data/docs/oauth-installed.md +191 -0
  15. data/docs/oauth-server.md +135 -0
  16. data/docs/oauth-web.md +280 -0
  17. data/docs/oauth.md +268 -0
  18. data/docs/pagination.md +29 -0
  19. data/docs/performance.md +25 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +9 -0
  23. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  24. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  25. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +9 -0
  26. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  29. data/generated/google/apis/androidpublisher_v3/classes.rb +93 -0
  30. data/generated/google/apis/androidpublisher_v3/representations.rb +49 -0
  31. data/generated/google/apis/appengine_v1.rb +1 -1
  32. data/generated/google/apis/appengine_v1beta.rb +1 -1
  33. data/generated/google/apis/appsmarket_v2.rb +1 -1
  34. data/generated/google/apis/bigquery_v2.rb +1 -1
  35. data/generated/google/apis/bigquery_v2/classes.rb +46 -4
  36. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  37. data/generated/google/apis/bigquery_v2/service.rb +1 -5
  38. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  39. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
  42. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  43. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
  44. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  45. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
  47. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
  48. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  49. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  50. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
  51. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
  52. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +112 -78
  53. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  54. data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
  55. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  56. data/generated/google/apis/bigtableadmin_v2/classes.rb +1 -1
  57. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  58. data/generated/google/apis/{sqladmin_v1beta4.rb → billingbudgets_v1beta1.rb} +10 -13
  59. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
  60. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
  61. data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
  62. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  63. data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
  64. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  65. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
  66. data/generated/google/apis/books_v1.rb +1 -1
  67. data/generated/google/apis/books_v1/classes.rb +20 -0
  68. data/generated/google/apis/books_v1/representations.rb +3 -0
  69. data/generated/google/apis/calendar_v3.rb +1 -1
  70. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  71. data/generated/google/apis/calendar_v3/service.rb +18 -30
  72. data/generated/google/apis/civicinfo_v2.rb +1 -1
  73. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  74. data/generated/google/apis/civicinfo_v2/representations.rb +0 -58
  75. data/generated/google/apis/cloudasset_v1.rb +1 -1
  76. data/generated/google/apis/cloudasset_v1/classes.rb +6 -5
  77. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -5
  79. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  80. data/generated/google/apis/cloudbilling_v1/classes.rb +17 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  84. data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -2
  87. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  88. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +4 -1
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
  91. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  92. data/generated/google/apis/cloudfunctions_v1/service.rb +3 -1
  93. data/generated/google/apis/cloudiot_v1.rb +1 -1
  94. data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
  95. data/generated/google/apis/cloudkms_v1.rb +1 -1
  96. data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
  97. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  98. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -5
  99. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
  101. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  102. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
  103. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -5
  105. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -5
  107. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  108. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  109. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  110. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  111. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  112. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -130
  113. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
  114. data/generated/google/apis/cloudsearch_v1/service.rb +42 -7
  115. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  116. data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
  117. data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
  118. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  119. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
  120. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  121. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
  122. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  123. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
  124. data/generated/google/apis/compute_alpha.rb +1 -1
  125. data/generated/google/apis/compute_alpha/classes.rb +75 -12
  126. data/generated/google/apis/compute_alpha/representations.rb +2 -0
  127. data/generated/google/apis/compute_beta.rb +1 -1
  128. data/generated/google/apis/compute_beta/classes.rb +54 -10
  129. data/generated/google/apis/compute_v1.rb +1 -1
  130. data/generated/google/apis/compute_v1/classes.rb +54 -10
  131. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  132. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
  133. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  134. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
  135. data/generated/google/apis/content_v2.rb +1 -1
  136. data/generated/google/apis/content_v2/classes.rb +13 -4
  137. data/generated/google/apis/content_v2_1.rb +1 -1
  138. data/generated/google/apis/content_v2_1/classes.rb +13 -4
  139. data/generated/google/apis/datacatalog_v1beta1.rb +35 -0
  140. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
  141. data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
  142. data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
  143. data/generated/google/apis/dataproc_v1.rb +1 -1
  144. data/generated/google/apis/dataproc_v1/classes.rb +75 -4
  145. data/generated/google/apis/dataproc_v1/representations.rb +22 -0
  146. data/generated/google/apis/dataproc_v1/service.rb +14 -7
  147. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  148. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -4
  149. data/generated/google/apis/dataproc_v1beta2/service.rb +14 -7
  150. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  151. data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
  152. data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
  153. data/generated/google/apis/dfareporting_v3_4.rb +40 -0
  154. data/generated/google/apis/dfareporting_v3_4/classes.rb +12717 -0
  155. data/generated/google/apis/dfareporting_v3_4/representations.rb +4595 -0
  156. data/generated/google/apis/dfareporting_v3_4/service.rb +8685 -0
  157. data/generated/google/apis/dialogflow_v2.rb +1 -1
  158. data/generated/google/apis/dialogflow_v2/classes.rb +484 -1
  159. data/generated/google/apis/dialogflow_v2/representations.rb +220 -0
  160. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  161. data/generated/google/apis/dialogflow_v2beta1/classes.rb +497 -1
  162. data/generated/google/apis/dialogflow_v2beta1/representations.rb +221 -0
  163. data/generated/google/apis/dlp_v2.rb +1 -1
  164. data/generated/google/apis/dlp_v2/classes.rb +68 -25
  165. data/generated/google/apis/dlp_v2/representations.rb +9 -4
  166. data/generated/google/apis/dlp_v2/service.rb +1925 -193
  167. data/generated/google/apis/dns_v1beta2.rb +1 -1
  168. data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
  169. data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
  170. data/generated/google/apis/docs_v1.rb +1 -1
  171. data/generated/google/apis/docs_v1/classes.rb +4 -8
  172. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  173. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +34 -0
  174. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
  175. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
  176. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
  177. data/generated/google/apis/drive_v3.rb +1 -1
  178. data/generated/google/apis/drive_v3/classes.rb +12 -3
  179. data/generated/google/apis/fcm_v1.rb +1 -1
  180. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  181. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  182. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  183. data/generated/google/apis/firebase_v1beta1/classes.rb +3 -4
  184. data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
  185. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  186. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +25 -0
  187. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  188. data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
  189. data/generated/google/apis/firebaserules_v1.rb +1 -1
  190. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  191. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  192. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  193. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  194. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  195. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  196. data/generated/google/apis/healthcare_v1beta1/classes.rb +8 -7
  197. data/generated/google/apis/homegraph_v1.rb +1 -1
  198. data/generated/google/apis/homegraph_v1/classes.rb +15 -1
  199. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  200. data/generated/google/apis/iam_v1.rb +1 -1
  201. data/generated/google/apis/iam_v1/classes.rb +6 -5
  202. data/generated/google/apis/logging_v2.rb +1 -1
  203. data/generated/google/apis/logging_v2/classes.rb +18 -2
  204. data/generated/google/apis/logging_v2/representations.rb +2 -0
  205. data/generated/google/apis/ml_v1.rb +1 -1
  206. data/generated/google/apis/ml_v1/classes.rb +173 -97
  207. data/generated/google/apis/ml_v1/representations.rb +58 -0
  208. data/generated/google/apis/ml_v1/service.rb +37 -0
  209. data/generated/google/apis/monitoring_v3.rb +1 -1
  210. data/generated/google/apis/monitoring_v3/classes.rb +780 -6
  211. data/generated/google/apis/monitoring_v3/representations.rb +347 -0
  212. data/generated/google/apis/monitoring_v3/service.rb +382 -0
  213. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  214. data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
  215. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  216. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  217. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -5
  218. data/generated/google/apis/pubsub_v1.rb +1 -1
  219. data/generated/google/apis/pubsub_v1/classes.rb +8 -6
  220. data/generated/google/apis/pubsub_v1/service.rb +6 -7
  221. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  222. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
  223. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  224. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  225. data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
  226. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1/classes.rb +33 -0
  228. data/generated/google/apis/remotebuildexecution_v1/representations.rb +15 -0
  229. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +33 -0
  231. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +15 -0
  232. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  233. data/generated/google/apis/remotebuildexecution_v2/classes.rb +33 -0
  234. data/generated/google/apis/remotebuildexecution_v2/representations.rb +15 -0
  235. data/generated/google/apis/run_v1.rb +1 -1
  236. data/generated/google/apis/run_v1/classes.rb +8 -169
  237. data/generated/google/apis/run_v1/representations.rb +0 -71
  238. data/generated/google/apis/run_v1/service.rb +229 -1207
  239. data/generated/google/apis/run_v1alpha1.rb +1 -1
  240. data/generated/google/apis/run_v1alpha1/classes.rb +9 -9
  241. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  242. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -5
  243. data/generated/google/apis/securitycenter_v1.rb +1 -1
  244. data/generated/google/apis/securitycenter_v1/classes.rb +66 -11
  245. data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
  246. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  247. data/generated/google/apis/securitycenter_v1beta1/classes.rb +16 -13
  248. data/generated/google/apis/servicebroker_v1.rb +1 -1
  249. data/generated/google/apis/servicebroker_v1/classes.rb +6 -5
  250. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  251. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -5
  252. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  253. data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -5
  254. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  255. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -2
  256. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  257. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -1
  258. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  259. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  260. data/generated/google/apis/servicemanagement_v1/classes.rb +12 -9
  261. data/generated/google/apis/servicemanagement_v1/service.rb +1 -9
  262. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  263. data/generated/google/apis/servicenetworking_v1/classes.rb +130 -13
  264. data/generated/google/apis/servicenetworking_v1/representations.rb +58 -0
  265. data/generated/google/apis/servicenetworking_v1/service.rb +42 -3
  266. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1beta/classes.rb +3 -2
  268. data/generated/google/apis/serviceusage_v1.rb +1 -1
  269. data/generated/google/apis/serviceusage_v1/classes.rb +3 -2
  270. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  271. data/generated/google/apis/serviceusage_v1beta1/classes.rb +3 -2
  272. data/generated/google/apis/sheets_v4.rb +1 -1
  273. data/generated/google/apis/spanner_v1.rb +1 -1
  274. data/generated/google/apis/spanner_v1/classes.rb +70 -30
  275. data/generated/google/apis/spanner_v1/service.rb +270 -0
  276. data/generated/google/apis/speech_v1.rb +1 -1
  277. data/generated/google/apis/speech_v1/classes.rb +6 -0
  278. data/generated/google/apis/speech_v1/representations.rb +1 -0
  279. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  280. data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
  281. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  282. data/generated/google/apis/sql_v1beta4.rb +1 -1
  283. data/generated/google/apis/sql_v1beta4/service.rb +59 -10
  284. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  285. data/generated/google/apis/videointelligence_v1.rb +1 -1
  286. data/generated/google/apis/videointelligence_v1/classes.rb +112 -0
  287. data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
  288. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  289. data/generated/google/apis/videointelligence_v1beta2/classes.rb +112 -0
  290. data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
  291. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  292. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +112 -0
  293. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
  294. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  295. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +112 -0
  296. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
  297. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  298. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +112 -0
  299. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
  300. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  301. data/lib/google/apis/core/api_command.rb +3 -0
  302. data/lib/google/apis/core/http_command.rb +10 -8
  303. data/lib/google/apis/version.rb +1 -1
  304. data/rakelib/devsite/devsite_builder.rb +1 -1
  305. metadata +33 -11
  306. data/generated/google/apis/sqladmin_v1beta4/classes.rb +0 -2633
  307. data/generated/google/apis/sqladmin_v1beta4/representations.rb +0 -1110
  308. data/generated/google/apis/sqladmin_v1beta4/service.rb +0 -1793
  309. data/generated/google/apis/storage_v1beta1.rb +0 -40
  310. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  311. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  312. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
@@ -46,24 +46,6 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class AutoDomainMapping
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class AutoDomainMappingSpec
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
- class AutoDomainMappingStatus
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
49
  class Binding
68
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
51
 
@@ -208,12 +190,6 @@ module Google
208
190
  include Google::Apis::Core::JsonObjectSupport
209
191
  end
210
192
 
211
- class ListAutoDomainMappingsResponse
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
193
  class ListConfigurationsResponse
218
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
195
 
@@ -480,40 +456,6 @@ module Google
480
456
  end
481
457
  end
482
458
 
483
- class AutoDomainMapping
484
- # @private
485
- class Representation < Google::Apis::Core::JsonRepresentation
486
- property :api_version, as: 'apiVersion'
487
- property :kind, as: 'kind'
488
- property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
489
-
490
- property :spec, as: 'spec', class: Google::Apis::RunV1::AutoDomainMappingSpec, decorator: Google::Apis::RunV1::AutoDomainMappingSpec::Representation
491
-
492
- property :status, as: 'status', class: Google::Apis::RunV1::AutoDomainMappingStatus, decorator: Google::Apis::RunV1::AutoDomainMappingStatus::Representation
493
-
494
- end
495
- end
496
-
497
- class AutoDomainMappingSpec
498
- # @private
499
- class Representation < Google::Apis::Core::JsonRepresentation
500
- property :certificate_mode, as: 'certificateMode'
501
- property :expansion_type, as: 'expansionType'
502
- property :force_override, as: 'forceOverride'
503
- end
504
- end
505
-
506
- class AutoDomainMappingStatus
507
- # @private
508
- class Representation < Google::Apis::Core::JsonRepresentation
509
- collection :conditions, as: 'conditions', class: Google::Apis::RunV1::GoogleCloudRunV1Condition, decorator: Google::Apis::RunV1::GoogleCloudRunV1Condition::Representation
510
-
511
- property :observed_generation, as: 'observedGeneration'
512
- collection :resource_records, as: 'resourceRecords', class: Google::Apis::RunV1::ResourceRecord, decorator: Google::Apis::RunV1::ResourceRecord::Representation
513
-
514
- end
515
- end
516
-
517
459
  class Binding
518
460
  # @private
519
461
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -781,19 +723,6 @@ module Google
781
723
  end
782
724
  end
783
725
 
784
- class ListAutoDomainMappingsResponse
785
- # @private
786
- class Representation < Google::Apis::Core::JsonRepresentation
787
- property :api_version, as: 'apiVersion'
788
- collection :items, as: 'items', class: Google::Apis::RunV1::AutoDomainMapping, decorator: Google::Apis::RunV1::AutoDomainMapping::Representation
789
-
790
- property :kind, as: 'kind'
791
- property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
792
-
793
- collection :unreachable, as: 'unreachable'
794
- end
795
- end
796
-
797
726
  class ListConfigurationsResponse
798
727
  # @private
799
728
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -84,681 +84,9 @@ 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.
124
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
125
- # or number.
126
- # @param [String] api_version
127
- # Cloud Run currently ignores this parameter.
128
- # @param [String] kind
129
- # Cloud Run currently ignores this parameter.
130
- # @param [String] propagation_policy
131
- # Specifies the propagation policy of delete. Cloud Run currently ignores
132
- # this setting, and deletes in the background. Please see
133
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
134
- # more information.
135
- # @param [String] fields
136
- # Selector specifying which fields to include in a partial response.
137
- # @param [String] quota_user
138
- # Available to use for quota purposes for server-side applications. Can be any
139
- # arbitrary string assigned to a user, but should not exceed 40 characters.
140
- # @param [Google::Apis::RequestOptions] options
141
- # Request-specific options
142
- #
143
- # @yield [result, err] Result & error if block supplied
144
- # @yieldparam result [Google::Apis::RunV1::Status] parsed result object
145
- # @yieldparam err [StandardError] error object if request failed
146
- #
147
- # @return [Google::Apis::RunV1::Status]
148
- #
149
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
150
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
151
- # @raise [Google::Apis::AuthorizationError] Authorization is required
152
- def delete_namespace_autodomainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
153
- command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1/{+name}', options)
154
- command.response_representation = Google::Apis::RunV1::Status::Representation
155
- command.response_class = Google::Apis::RunV1::Status
156
- command.params['name'] = name unless name.nil?
157
- command.query['apiVersion'] = api_version unless api_version.nil?
158
- command.query['kind'] = kind unless kind.nil?
159
- command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
160
- command.query['fields'] = fields unless fields.nil?
161
- command.query['quotaUser'] = quota_user unless quota_user.nil?
162
- execute_or_queue_command(command, &block)
163
- end
164
-
165
- # Get information about an auto domain mapping.
166
- # @param [String] name
167
- # The name of the auto domain mapping being retrieved.
168
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
169
- # or number.
170
- # @param [String] fields
171
- # Selector specifying which fields to include in a partial response.
172
- # @param [String] quota_user
173
- # Available to use for quota purposes for server-side applications. Can be any
174
- # arbitrary string assigned to a user, but should not exceed 40 characters.
175
- # @param [Google::Apis::RequestOptions] options
176
- # Request-specific options
177
- #
178
- # @yield [result, err] Result & error if block supplied
179
- # @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
180
- # @yieldparam err [StandardError] error object if request failed
181
- #
182
- # @return [Google::Apis::RunV1::AutoDomainMapping]
183
- #
184
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
185
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
186
- # @raise [Google::Apis::AuthorizationError] Authorization is required
187
- def get_namespace_autodomainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
188
- command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+name}', options)
189
- command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
190
- command.response_class = Google::Apis::RunV1::AutoDomainMapping
191
- command.params['name'] = name unless name.nil?
192
- command.query['fields'] = fields unless fields.nil?
193
- command.query['quotaUser'] = quota_user unless quota_user.nil?
194
- execute_or_queue_command(command, &block)
195
- end
196
-
197
- # List auto domain mappings.
198
- # @param [String] parent
199
- # The project ID or project number from which the auto domain mappings should
200
- # be listed.
201
- # @param [String] continue
202
- # Optional encoded string to continue paging.
203
- # @param [String] field_selector
204
- # Allows to filter resources based on a specific value for a field name.
205
- # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
206
- # Not currently used by Cloud Run.
207
- # @param [Boolean] include_uninitialized
208
- # Not currently used by Cloud Run.
209
- # @param [String] label_selector
210
- # Allows to filter resources based on a label. Supported operations are
211
- # =, !=, exists, in, and notIn.
212
- # @param [Fixnum] limit
213
- # The maximum number of records that should be returned.
214
- # @param [String] resource_version
215
- # The baseline resource version from which the list or watch operation should
216
- # start. Not currently used by Cloud Run.
217
- # @param [Boolean] watch
218
- # Flag that indicates that the client expects to watch this resource as well.
219
- # Not currently used by Cloud Run.
220
- # @param [String] fields
221
- # Selector specifying which fields to include in a partial response.
222
- # @param [String] quota_user
223
- # Available to use for quota purposes for server-side applications. Can be any
224
- # arbitrary string assigned to a user, but should not exceed 40 characters.
225
- # @param [Google::Apis::RequestOptions] options
226
- # Request-specific options
227
- #
228
- # @yield [result, err] Result & error if block supplied
229
- # @yieldparam result [Google::Apis::RunV1::ListAutoDomainMappingsResponse] parsed result object
230
- # @yieldparam err [StandardError] error object if request failed
231
- #
232
- # @return [Google::Apis::RunV1::ListAutoDomainMappingsResponse]
233
- #
234
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
235
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
236
- # @raise [Google::Apis::AuthorizationError] Authorization is required
237
- 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)
238
- command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+parent}/autodomainmappings', options)
239
- command.response_representation = Google::Apis::RunV1::ListAutoDomainMappingsResponse::Representation
240
- command.response_class = Google::Apis::RunV1::ListAutoDomainMappingsResponse
241
- command.params['parent'] = parent unless parent.nil?
242
- command.query['continue'] = continue unless continue.nil?
243
- command.query['fieldSelector'] = field_selector unless field_selector.nil?
244
- command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
245
- command.query['labelSelector'] = label_selector unless label_selector.nil?
246
- command.query['limit'] = limit unless limit.nil?
247
- command.query['resourceVersion'] = resource_version unless resource_version.nil?
248
- command.query['watch'] = watch unless watch.nil?
249
- command.query['fields'] = fields unless fields.nil?
250
- command.query['quotaUser'] = quota_user unless quota_user.nil?
251
- execute_or_queue_command(command, &block)
252
- end
253
-
254
- # Replace an auto domain mapping.
255
- # Only the spec and metadata labels and annotations are modifiable. After
256
- # the Update request, Cloud Run will work to make the 'status'
257
- # match the requested 'spec'.
258
- # May provide metadata.resourceVersion to enforce update from last read for
259
- # optimistic concurrency control.
260
- # @param [String] name
261
- # The name of the auto domain mapping being retrieved.
262
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
263
- # or number.
264
- # @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object
265
- # @param [String] fields
266
- # Selector specifying which fields to include in a partial response.
267
- # @param [String] quota_user
268
- # Available to use for quota purposes for server-side applications. Can be any
269
- # arbitrary string assigned to a user, but should not exceed 40 characters.
270
- # @param [Google::Apis::RequestOptions] options
271
- # Request-specific options
272
- #
273
- # @yield [result, err] Result & error if block supplied
274
- # @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
275
- # @yieldparam err [StandardError] error object if request failed
276
- #
277
- # @return [Google::Apis::RunV1::AutoDomainMapping]
278
- #
279
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
280
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
281
- # @raise [Google::Apis::AuthorizationError] Authorization is required
282
- def replace_namespace_autodomainmapping_auto_domain_mapping(name, auto_domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
283
- command = make_simple_command(:put, 'apis/domains.cloudrun.com/v1/{+name}', options)
284
- command.request_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
285
- command.request_object = auto_domain_mapping_object
286
- command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
287
- command.response_class = Google::Apis::RunV1::AutoDomainMapping
288
- command.params['name'] = name unless name.nil?
289
- command.query['fields'] = fields unless fields.nil?
290
- command.query['quotaUser'] = quota_user unless quota_user.nil?
291
- execute_or_queue_command(command, &block)
292
- end
293
-
294
- # Create a configuration.
295
- # @param [String] parent
296
- # The namespace in which the configuration should be created.
297
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
298
- # or number.
299
- # @param [Google::Apis::RunV1::Configuration] configuration_object
300
- # @param [String] fields
301
- # Selector specifying which fields to include in a partial response.
302
- # @param [String] quota_user
303
- # Available to use for quota purposes for server-side applications. Can be any
304
- # arbitrary string assigned to a user, but should not exceed 40 characters.
305
- # @param [Google::Apis::RequestOptions] options
306
- # Request-specific options
307
- #
308
- # @yield [result, err] Result & error if block supplied
309
- # @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
310
- # @yieldparam err [StandardError] error object if request failed
311
- #
312
- # @return [Google::Apis::RunV1::Configuration]
313
- #
314
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
315
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
316
- # @raise [Google::Apis::AuthorizationError] Authorization is required
317
- def create_namespace_configuration(parent, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
318
- command = make_simple_command(:post, 'apis/serving.knative.dev/v1/{+parent}/configurations', options)
319
- command.request_representation = Google::Apis::RunV1::Configuration::Representation
320
- command.request_object = configuration_object
321
- command.response_representation = Google::Apis::RunV1::Configuration::Representation
322
- command.response_class = Google::Apis::RunV1::Configuration
323
- command.params['parent'] = parent unless parent.nil?
324
- command.query['fields'] = fields unless fields.nil?
325
- command.query['quotaUser'] = quota_user unless quota_user.nil?
326
- execute_or_queue_command(command, &block)
327
- end
328
-
329
- # delete a configuration.
330
- # This will cause the configuration to delete all child revisions. Prior to
331
- # calling this, any route referencing the configuration (or revision
332
- # from the configuration) must be deleted.
333
- # @param [String] name
334
- # The name of the configuration to delete.
335
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
336
- # or number.
337
- # @param [String] api_version
338
- # Cloud Run currently ignores this parameter.
339
- # @param [String] kind
340
- # Cloud Run currently ignores this parameter.
341
- # @param [String] propagation_policy
342
- # Specifies the propagation policy of delete. Cloud Run currently ignores
343
- # this setting, and deletes in the background. Please see
344
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
345
- # more information.
346
- # @param [String] fields
347
- # Selector specifying which fields to include in a partial response.
348
- # @param [String] quota_user
349
- # Available to use for quota purposes for server-side applications. Can be any
350
- # arbitrary string assigned to a user, but should not exceed 40 characters.
351
- # @param [Google::Apis::RequestOptions] options
352
- # Request-specific options
353
- #
354
- # @yield [result, err] Result & error if block supplied
355
- # @yieldparam result [Google::Apis::RunV1::Status] parsed result object
356
- # @yieldparam err [StandardError] error object if request failed
357
- #
358
- # @return [Google::Apis::RunV1::Status]
359
- #
360
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
361
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
362
- # @raise [Google::Apis::AuthorizationError] Authorization is required
363
- def delete_namespace_configuration(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
364
- command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
365
- command.response_representation = Google::Apis::RunV1::Status::Representation
366
- command.response_class = Google::Apis::RunV1::Status
367
- command.params['name'] = name unless name.nil?
368
- command.query['apiVersion'] = api_version unless api_version.nil?
369
- command.query['kind'] = kind unless kind.nil?
370
- command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
371
- command.query['fields'] = fields unless fields.nil?
372
- command.query['quotaUser'] = quota_user unless quota_user.nil?
373
- execute_or_queue_command(command, &block)
374
- end
375
-
376
- # Get information about a configuration.
377
- # @param [String] name
378
- # The name of the configuration to retrieve.
379
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
380
- # or number.
381
- # @param [String] fields
382
- # Selector specifying which fields to include in a partial response.
383
- # @param [String] quota_user
384
- # Available to use for quota purposes for server-side applications. Can be any
385
- # arbitrary string assigned to a user, but should not exceed 40 characters.
386
- # @param [Google::Apis::RequestOptions] options
387
- # Request-specific options
388
- #
389
- # @yield [result, err] Result & error if block supplied
390
- # @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
391
- # @yieldparam err [StandardError] error object if request failed
392
- #
393
- # @return [Google::Apis::RunV1::Configuration]
394
- #
395
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
396
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
397
- # @raise [Google::Apis::AuthorizationError] Authorization is required
398
- def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
399
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
400
- command.response_representation = Google::Apis::RunV1::Configuration::Representation
401
- command.response_class = Google::Apis::RunV1::Configuration
402
- command.params['name'] = name unless name.nil?
403
- command.query['fields'] = fields unless fields.nil?
404
- command.query['quotaUser'] = quota_user unless quota_user.nil?
405
- execute_or_queue_command(command, &block)
406
- end
407
-
408
- # List configurations.
409
- # @param [String] parent
410
- # The namespace from which the configurations should be listed.
411
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
412
- # or number.
413
- # @param [String] continue
414
- # Optional encoded string to continue paging.
415
- # @param [String] field_selector
416
- # Allows to filter resources based on a specific value for a field name.
417
- # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
418
- # Not currently used by Cloud Run.
419
- # @param [Boolean] include_uninitialized
420
- # Not currently used by Cloud Run.
421
- # @param [String] label_selector
422
- # Allows to filter resources based on a label. Supported operations are
423
- # =, !=, exists, in, and notIn.
424
- # @param [Fixnum] limit
425
- # The maximum number of records that should be returned.
426
- # @param [String] resource_version
427
- # The baseline resource version from which the list or watch operation should
428
- # start. Not currently used by Cloud Run.
429
- # @param [Boolean] watch
430
- # Flag that indicates that the client expects to watch this resource as well.
431
- # Not currently used by Cloud Run.
432
- # @param [String] fields
433
- # Selector specifying which fields to include in a partial response.
434
- # @param [String] quota_user
435
- # Available to use for quota purposes for server-side applications. Can be any
436
- # arbitrary string assigned to a user, but should not exceed 40 characters.
437
- # @param [Google::Apis::RequestOptions] options
438
- # Request-specific options
439
- #
440
- # @yield [result, err] Result & error if block supplied
441
- # @yieldparam result [Google::Apis::RunV1::ListConfigurationsResponse] parsed result object
442
- # @yieldparam err [StandardError] error object if request failed
443
- #
444
- # @return [Google::Apis::RunV1::ListConfigurationsResponse]
445
- #
446
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
447
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
448
- # @raise [Google::Apis::AuthorizationError] Authorization is required
449
- 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)
450
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/configurations', options)
451
- command.response_representation = Google::Apis::RunV1::ListConfigurationsResponse::Representation
452
- command.response_class = Google::Apis::RunV1::ListConfigurationsResponse
453
- command.params['parent'] = parent unless parent.nil?
454
- command.query['continue'] = continue unless continue.nil?
455
- command.query['fieldSelector'] = field_selector unless field_selector.nil?
456
- command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
457
- command.query['labelSelector'] = label_selector unless label_selector.nil?
458
- command.query['limit'] = limit unless limit.nil?
459
- command.query['resourceVersion'] = resource_version unless resource_version.nil?
460
- command.query['watch'] = watch unless watch.nil?
461
- command.query['fields'] = fields unless fields.nil?
462
- command.query['quotaUser'] = quota_user unless quota_user.nil?
463
- execute_or_queue_command(command, &block)
464
- end
465
-
466
- # Replace a configuration.
467
- # Only the spec and metadata labels and annotations are modifiable. After
468
- # the Update request, Cloud Run will work to make the 'status'
469
- # match the requested 'spec'.
470
- # May provide metadata.resourceVersion to enforce update from last read for
471
- # optimistic concurrency control.
472
- # @param [String] name
473
- # The name of the configuration being replaced.
474
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
475
- # or number.
476
- # @param [Google::Apis::RunV1::Configuration] configuration_object
477
- # @param [String] fields
478
- # Selector specifying which fields to include in a partial response.
479
- # @param [String] quota_user
480
- # Available to use for quota purposes for server-side applications. Can be any
481
- # arbitrary string assigned to a user, but should not exceed 40 characters.
482
- # @param [Google::Apis::RequestOptions] options
483
- # Request-specific options
484
- #
485
- # @yield [result, err] Result & error if block supplied
486
- # @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
487
- # @yieldparam err [StandardError] error object if request failed
488
- #
489
- # @return [Google::Apis::RunV1::Configuration]
490
- #
491
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
492
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
493
- # @raise [Google::Apis::AuthorizationError] Authorization is required
494
- def replace_namespace_configuration_configuration(name, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
495
- command = make_simple_command(:put, 'apis/serving.knative.dev/v1/{+name}', options)
496
- command.request_representation = Google::Apis::RunV1::Configuration::Representation
497
- command.request_object = configuration_object
498
- command.response_representation = Google::Apis::RunV1::Configuration::Representation
499
- command.response_class = Google::Apis::RunV1::Configuration
500
- command.params['name'] = name unless name.nil?
501
- command.query['fields'] = fields unless fields.nil?
502
- command.query['quotaUser'] = quota_user unless quota_user.nil?
503
- execute_or_queue_command(command, &block)
504
- end
505
-
506
- # Create a new domain mapping.
507
- # @param [String] parent
508
- # The namespace in which the domain mapping should be created.
509
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
510
- # or number.
511
- # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
512
- # @param [String] fields
513
- # Selector specifying which fields to include in a partial response.
514
- # @param [String] quota_user
515
- # Available to use for quota purposes for server-side applications. Can be any
516
- # arbitrary string assigned to a user, but should not exceed 40 characters.
517
- # @param [Google::Apis::RequestOptions] options
518
- # Request-specific options
519
- #
520
- # @yield [result, err] Result & error if block supplied
521
- # @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
522
- # @yieldparam err [StandardError] error object if request failed
523
- #
524
- # @return [Google::Apis::RunV1::DomainMapping]
525
- #
526
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
527
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
528
- # @raise [Google::Apis::AuthorizationError] Authorization is required
529
- def create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
530
- command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1/{+parent}/domainmappings', options)
531
- command.request_representation = Google::Apis::RunV1::DomainMapping::Representation
532
- command.request_object = domain_mapping_object
533
- command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
534
- command.response_class = Google::Apis::RunV1::DomainMapping
535
- command.params['parent'] = parent unless parent.nil?
536
- command.query['fields'] = fields unless fields.nil?
537
- command.query['quotaUser'] = quota_user unless quota_user.nil?
538
- execute_or_queue_command(command, &block)
539
- end
540
-
541
- # Delete a domain mapping.
542
- # @param [String] name
543
- # The name of the domain mapping to delete.
544
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
545
- # or number.
546
- # @param [String] api_version
547
- # Cloud Run currently ignores this parameter.
548
- # @param [String] kind
549
- # Cloud Run currently ignores this parameter.
550
- # @param [String] propagation_policy
551
- # Specifies the propagation policy of delete. Cloud Run currently ignores
552
- # this setting, and deletes in the background. Please see
553
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
554
- # more information.
555
- # @param [String] fields
556
- # Selector specifying which fields to include in a partial response.
557
- # @param [String] quota_user
558
- # Available to use for quota purposes for server-side applications. Can be any
559
- # arbitrary string assigned to a user, but should not exceed 40 characters.
560
- # @param [Google::Apis::RequestOptions] options
561
- # Request-specific options
562
- #
563
- # @yield [result, err] Result & error if block supplied
564
- # @yieldparam result [Google::Apis::RunV1::Status] parsed result object
565
- # @yieldparam err [StandardError] error object if request failed
566
- #
567
- # @return [Google::Apis::RunV1::Status]
568
- #
569
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
570
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
571
- # @raise [Google::Apis::AuthorizationError] Authorization is required
572
- def delete_namespace_domainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
573
- command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1/{+name}', options)
574
- command.response_representation = Google::Apis::RunV1::Status::Representation
575
- command.response_class = Google::Apis::RunV1::Status
576
- command.params['name'] = name unless name.nil?
577
- command.query['apiVersion'] = api_version unless api_version.nil?
578
- command.query['kind'] = kind unless kind.nil?
579
- command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
580
- command.query['fields'] = fields unless fields.nil?
581
- command.query['quotaUser'] = quota_user unless quota_user.nil?
582
- execute_or_queue_command(command, &block)
583
- end
584
-
585
- # Get information about a domain mapping.
586
- # @param [String] name
587
- # The name of the domain mapping to retrieve.
588
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
589
- # or number.
590
- # @param [String] fields
591
- # Selector specifying which fields to include in a partial response.
592
- # @param [String] quota_user
593
- # Available to use for quota purposes for server-side applications. Can be any
594
- # arbitrary string assigned to a user, but should not exceed 40 characters.
595
- # @param [Google::Apis::RequestOptions] options
596
- # Request-specific options
597
- #
598
- # @yield [result, err] Result & error if block supplied
599
- # @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
600
- # @yieldparam err [StandardError] error object if request failed
601
- #
602
- # @return [Google::Apis::RunV1::DomainMapping]
603
- #
604
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
605
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
606
- # @raise [Google::Apis::AuthorizationError] Authorization is required
607
- def get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
608
- command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+name}', options)
609
- command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
610
- command.response_class = Google::Apis::RunV1::DomainMapping
611
- command.params['name'] = name unless name.nil?
612
- command.query['fields'] = fields unless fields.nil?
613
- command.query['quotaUser'] = quota_user unless quota_user.nil?
614
- execute_or_queue_command(command, &block)
615
- end
616
-
617
- # List domain mappings.
618
- # @param [String] parent
619
- # The namespace from which the domain mappings should be listed.
620
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
621
- # or number.
622
- # @param [String] continue
623
- # Optional encoded string to continue paging.
624
- # @param [String] field_selector
625
- # Allows to filter resources based on a specific value for a field name.
626
- # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
627
- # Not currently used by Cloud Run.
628
- # @param [Boolean] include_uninitialized
629
- # Not currently used by Cloud Run.
630
- # @param [String] label_selector
631
- # Allows to filter resources based on a label. Supported operations are
632
- # =, !=, exists, in, and notIn.
633
- # @param [Fixnum] limit
634
- # The maximum number of records that should be returned.
635
- # @param [String] resource_version
636
- # The baseline resource version from which the list or watch operation should
637
- # start. Not currently used by Cloud Run.
638
- # @param [Boolean] watch
639
- # Flag that indicates that the client expects to watch this resource as well.
640
- # Not currently used by Cloud Run.
641
- # @param [String] fields
642
- # Selector specifying which fields to include in a partial response.
643
- # @param [String] quota_user
644
- # Available to use for quota purposes for server-side applications. Can be any
645
- # arbitrary string assigned to a user, but should not exceed 40 characters.
646
- # @param [Google::Apis::RequestOptions] options
647
- # Request-specific options
648
- #
649
- # @yield [result, err] Result & error if block supplied
650
- # @yieldparam result [Google::Apis::RunV1::ListDomainMappingsResponse] parsed result object
651
- # @yieldparam err [StandardError] error object if request failed
652
- #
653
- # @return [Google::Apis::RunV1::ListDomainMappingsResponse]
654
- #
655
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
656
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
657
- # @raise [Google::Apis::AuthorizationError] Authorization is required
658
- 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)
659
- command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+parent}/domainmappings', options)
660
- command.response_representation = Google::Apis::RunV1::ListDomainMappingsResponse::Representation
661
- command.response_class = Google::Apis::RunV1::ListDomainMappingsResponse
662
- command.params['parent'] = parent unless parent.nil?
663
- command.query['continue'] = continue unless continue.nil?
664
- command.query['fieldSelector'] = field_selector unless field_selector.nil?
665
- command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
666
- command.query['labelSelector'] = label_selector unless label_selector.nil?
667
- command.query['limit'] = limit unless limit.nil?
668
- command.query['resourceVersion'] = resource_version unless resource_version.nil?
669
- command.query['watch'] = watch unless watch.nil?
670
- command.query['fields'] = fields unless fields.nil?
671
- command.query['quotaUser'] = quota_user unless quota_user.nil?
672
- execute_or_queue_command(command, &block)
673
- end
674
-
675
- # Replace a domain mapping.
676
- # Only the spec and metadata labels and annotations are modifiable. After
677
- # the Update request, Cloud Run will work to make the 'status'
678
- # match the requested 'spec'.
679
- # May provide metadata.resourceVersion to enforce update from last read for
680
- # optimistic concurrency control.
681
- # @param [String] name
682
- # The name of the domain mapping being retrieved.
683
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
684
- # or number.
685
- # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
686
- # @param [String] fields
687
- # Selector specifying which fields to include in a partial response.
688
- # @param [String] quota_user
689
- # Available to use for quota purposes for server-side applications. Can be any
690
- # arbitrary string assigned to a user, but should not exceed 40 characters.
691
- # @param [Google::Apis::RequestOptions] options
692
- # Request-specific options
693
- #
694
- # @yield [result, err] Result & error if block supplied
695
- # @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
696
- # @yieldparam err [StandardError] error object if request failed
697
- #
698
- # @return [Google::Apis::RunV1::DomainMapping]
699
- #
700
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
701
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
702
- # @raise [Google::Apis::AuthorizationError] Authorization is required
703
- def replace_namespace_domainmapping_domain_mapping(name, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
704
- command = make_simple_command(:put, 'apis/domains.cloudrun.com/v1/{+name}', options)
705
- command.request_representation = Google::Apis::RunV1::DomainMapping::Representation
706
- command.request_object = domain_mapping_object
707
- command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
708
- command.response_class = Google::Apis::RunV1::DomainMapping
709
- command.params['name'] = name unless name.nil?
710
- command.query['fields'] = fields unless fields.nil?
711
- command.query['quotaUser'] = quota_user unless quota_user.nil?
712
- execute_or_queue_command(command, &block)
713
- end
714
-
715
- # Delete a revision.
716
- # @param [String] name
717
- # The name of the revision to delete.
718
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
719
- # or number.
720
- # @param [String] api_version
721
- # Cloud Run currently ignores this parameter.
722
- # @param [String] kind
723
- # Cloud Run currently ignores this parameter.
724
- # @param [String] propagation_policy
725
- # Specifies the propagation policy of delete. Cloud Run currently ignores
726
- # this setting, and deletes in the background. Please see
727
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
728
- # more information.
729
- # @param [String] fields
730
- # Selector specifying which fields to include in a partial response.
731
- # @param [String] quota_user
732
- # Available to use for quota purposes for server-side applications. Can be any
733
- # arbitrary string assigned to a user, but should not exceed 40 characters.
734
- # @param [Google::Apis::RequestOptions] options
735
- # Request-specific options
736
- #
737
- # @yield [result, err] Result & error if block supplied
738
- # @yieldparam result [Google::Apis::RunV1::Status] parsed result object
739
- # @yieldparam err [StandardError] error object if request failed
740
- #
741
- # @return [Google::Apis::RunV1::Status]
742
- #
743
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
744
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
745
- # @raise [Google::Apis::AuthorizationError] Authorization is required
746
- def delete_namespace_revision(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
747
- command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
748
- command.response_representation = Google::Apis::RunV1::Status::Representation
749
- command.response_class = Google::Apis::RunV1::Status
750
- command.params['name'] = name unless name.nil?
751
- command.query['apiVersion'] = api_version unless api_version.nil?
752
- command.query['kind'] = kind unless kind.nil?
753
- command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
754
- command.query['fields'] = fields unless fields.nil?
755
- command.query['quotaUser'] = quota_user unless quota_user.nil?
756
- execute_or_queue_command(command, &block)
757
- end
758
-
759
- # Get information about a revision.
87
+ # Get information about a configuration.
760
88
  # @param [String] name
761
- # The name of the revision to retrieve.
89
+ # The name of the configuration to retrieve.
762
90
  # For Cloud Run (fully managed), replace `namespace_id` with the project ID
763
91
  # or number.
764
92
  # @param [String] fields
@@ -770,27 +98,27 @@ module Google
770
98
  # Request-specific options
771
99
  #
772
100
  # @yield [result, err] Result & error if block supplied
773
- # @yieldparam result [Google::Apis::RunV1::Revision] parsed result object
101
+ # @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
774
102
  # @yieldparam err [StandardError] error object if request failed
775
103
  #
776
- # @return [Google::Apis::RunV1::Revision]
104
+ # @return [Google::Apis::RunV1::Configuration]
777
105
  #
778
106
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
779
107
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
780
108
  # @raise [Google::Apis::AuthorizationError] Authorization is required
781
- def get_namespace_revision(name, fields: nil, quota_user: nil, options: nil, &block)
109
+ def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
782
110
  command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
783
- command.response_representation = Google::Apis::RunV1::Revision::Representation
784
- command.response_class = Google::Apis::RunV1::Revision
111
+ command.response_representation = Google::Apis::RunV1::Configuration::Representation
112
+ command.response_class = Google::Apis::RunV1::Configuration
785
113
  command.params['name'] = name unless name.nil?
786
114
  command.query['fields'] = fields unless fields.nil?
787
115
  command.query['quotaUser'] = quota_user unless quota_user.nil?
788
116
  execute_or_queue_command(command, &block)
789
117
  end
790
118
 
791
- # List revisions.
119
+ # List configurations.
792
120
  # @param [String] parent
793
- # The namespace from which the revisions should be listed.
121
+ # The namespace from which the configurations should be listed.
794
122
  # For Cloud Run (fully managed), replace `namespace_id` with the project ID
795
123
  # or number.
796
124
  # @param [String] continue
@@ -821,18 +149,18 @@ module Google
821
149
  # Request-specific options
822
150
  #
823
151
  # @yield [result, err] Result & error if block supplied
824
- # @yieldparam result [Google::Apis::RunV1::ListRevisionsResponse] parsed result object
152
+ # @yieldparam result [Google::Apis::RunV1::ListConfigurationsResponse] parsed result object
825
153
  # @yieldparam err [StandardError] error object if request failed
826
154
  #
827
- # @return [Google::Apis::RunV1::ListRevisionsResponse]
155
+ # @return [Google::Apis::RunV1::ListConfigurationsResponse]
828
156
  #
829
157
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
830
158
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
831
159
  # @raise [Google::Apis::AuthorizationError] Authorization is required
832
- 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)
833
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/revisions', options)
834
- command.response_representation = Google::Apis::RunV1::ListRevisionsResponse::Representation
835
- command.response_class = Google::Apis::RunV1::ListRevisionsResponse
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
836
164
  command.params['parent'] = parent unless parent.nil?
837
165
  command.query['continue'] = continue unless continue.nil?
838
166
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -846,12 +174,12 @@ module Google
846
174
  execute_or_queue_command(command, &block)
847
175
  end
848
176
 
849
- # Create a route.
177
+ # Create a new domain mapping.
850
178
  # @param [String] parent
851
- # The namespace in which the route should be created.
179
+ # The namespace in which the domain mapping should be created.
852
180
  # For Cloud Run (fully managed), replace `namespace_id` with the project ID
853
181
  # or number.
854
- # @param [Google::Apis::RunV1::Route] route_object
182
+ # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
855
183
  # @param [String] fields
856
184
  # Selector specifying which fields to include in a partial response.
857
185
  # @param [String] quota_user
@@ -861,30 +189,29 @@ module Google
861
189
  # Request-specific options
862
190
  #
863
191
  # @yield [result, err] Result & error if block supplied
864
- # @yieldparam result [Google::Apis::RunV1::Route] parsed result object
192
+ # @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
865
193
  # @yieldparam err [StandardError] error object if request failed
866
194
  #
867
- # @return [Google::Apis::RunV1::Route]
195
+ # @return [Google::Apis::RunV1::DomainMapping]
868
196
  #
869
197
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
870
198
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
871
199
  # @raise [Google::Apis::AuthorizationError] Authorization is required
872
- def create_namespace_route(parent, route_object = nil, fields: nil, quota_user: nil, options: nil, &block)
873
- command = make_simple_command(:post, 'apis/serving.knative.dev/v1/{+parent}/routes', options)
874
- command.request_representation = Google::Apis::RunV1::Route::Representation
875
- command.request_object = route_object
876
- command.response_representation = Google::Apis::RunV1::Route::Representation
877
- command.response_class = Google::Apis::RunV1::Route
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
878
206
  command.params['parent'] = parent unless parent.nil?
879
207
  command.query['fields'] = fields unless fields.nil?
880
208
  command.query['quotaUser'] = quota_user unless quota_user.nil?
881
209
  execute_or_queue_command(command, &block)
882
210
  end
883
211
 
884
- # Delete a route.
885
- # This will cause the route to stop serving traffic.
212
+ # Delete a domain mapping.
886
213
  # @param [String] name
887
- # The name of the route to delete.
214
+ # The name of the domain mapping to delete.
888
215
  # For Cloud Run (fully managed), replace `namespace_id` with the project ID
889
216
  # or number.
890
217
  # @param [String] api_version
@@ -913,8 +240,8 @@ module Google
913
240
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
914
241
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
915
242
  # @raise [Google::Apis::AuthorizationError] Authorization is required
916
- def delete_namespace_route(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
917
- 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)
918
245
  command.response_representation = Google::Apis::RunV1::Status::Representation
919
246
  command.response_class = Google::Apis::RunV1::Status
920
247
  command.params['name'] = name unless name.nil?
@@ -926,9 +253,9 @@ module Google
926
253
  execute_or_queue_command(command, &block)
927
254
  end
928
255
 
929
- # Get information about a route.
256
+ # Get information about a domain mapping.
930
257
  # @param [String] name
931
- # The name of the route to retrieve.
258
+ # The name of the domain mapping to retrieve.
932
259
  # For Cloud Run (fully managed), replace `namespace_id` with the project ID
933
260
  # or number.
934
261
  # @param [String] fields
@@ -940,27 +267,27 @@ module Google
940
267
  # Request-specific options
941
268
  #
942
269
  # @yield [result, err] Result & error if block supplied
943
- # @yieldparam result [Google::Apis::RunV1::Route] parsed result object
270
+ # @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
944
271
  # @yieldparam err [StandardError] error object if request failed
945
272
  #
946
- # @return [Google::Apis::RunV1::Route]
273
+ # @return [Google::Apis::RunV1::DomainMapping]
947
274
  #
948
275
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
949
276
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
950
277
  # @raise [Google::Apis::AuthorizationError] Authorization is required
951
- def get_namespace_route(name, fields: nil, quota_user: nil, options: nil, &block)
952
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
953
- command.response_representation = Google::Apis::RunV1::Route::Representation
954
- command.response_class = Google::Apis::RunV1::Route
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
955
282
  command.params['name'] = name unless name.nil?
956
283
  command.query['fields'] = fields unless fields.nil?
957
284
  command.query['quotaUser'] = quota_user unless quota_user.nil?
958
285
  execute_or_queue_command(command, &block)
959
286
  end
960
287
 
961
- # List routes.
288
+ # List domain mappings.
962
289
  # @param [String] parent
963
- # The namespace from which the routes should be listed.
290
+ # The namespace from which the domain mappings should be listed.
964
291
  # For Cloud Run (fully managed), replace `namespace_id` with the project ID
965
292
  # or number.
966
293
  # @param [String] continue
@@ -991,18 +318,18 @@ module Google
991
318
  # Request-specific options
992
319
  #
993
320
  # @yield [result, err] Result & error if block supplied
994
- # @yieldparam result [Google::Apis::RunV1::ListRoutesResponse] parsed result object
321
+ # @yieldparam result [Google::Apis::RunV1::ListDomainMappingsResponse] parsed result object
995
322
  # @yieldparam err [StandardError] error object if request failed
996
323
  #
997
- # @return [Google::Apis::RunV1::ListRoutesResponse]
324
+ # @return [Google::Apis::RunV1::ListDomainMappingsResponse]
998
325
  #
999
326
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1000
327
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1001
328
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1002
- def list_namespace_routes(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)
1003
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/routes', options)
1004
- command.response_representation = Google::Apis::RunV1::ListRoutesResponse::Representation
1005
- command.response_class = Google::Apis::RunV1::ListRoutesResponse
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
1006
333
  command.params['parent'] = parent unless parent.nil?
1007
334
  command.query['continue'] = continue unless continue.nil?
1008
335
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -1015,87 +342,10 @@ module Google
1015
342
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1016
343
  execute_or_queue_command(command, &block)
1017
344
  end
1018
-
1019
- # Replace a route.
1020
- # Only the spec and metadata labels and annotations are modifiable. After
1021
- # the Update request, Cloud Run will work to make the 'status'
1022
- # match the requested 'spec'.
1023
- # May provide metadata.resourceVersion to enforce update from last read for
1024
- # optimistic concurrency control.
1025
- # @param [String] name
1026
- # The name of the route being replaced.
1027
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1028
- # or number.
1029
- # @param [Google::Apis::RunV1::Route] route_object
1030
- # @param [String] fields
1031
- # Selector specifying which fields to include in a partial response.
1032
- # @param [String] quota_user
1033
- # Available to use for quota purposes for server-side applications. Can be any
1034
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1035
- # @param [Google::Apis::RequestOptions] options
1036
- # Request-specific options
1037
- #
1038
- # @yield [result, err] Result & error if block supplied
1039
- # @yieldparam result [Google::Apis::RunV1::Route] parsed result object
1040
- # @yieldparam err [StandardError] error object if request failed
1041
- #
1042
- # @return [Google::Apis::RunV1::Route]
1043
- #
1044
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1045
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1046
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1047
- def replace_namespace_route_route(name, route_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1048
- command = make_simple_command(:put, 'apis/serving.knative.dev/v1/{+name}', options)
1049
- command.request_representation = Google::Apis::RunV1::Route::Representation
1050
- command.request_object = route_object
1051
- command.response_representation = Google::Apis::RunV1::Route::Representation
1052
- command.response_class = Google::Apis::RunV1::Route
1053
- command.params['name'] = name unless name.nil?
1054
- command.query['fields'] = fields unless fields.nil?
1055
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1056
- execute_or_queue_command(command, &block)
1057
- end
1058
-
1059
- # Create a service.
1060
- # @param [String] parent
1061
- # The namespace in which the service should be created.
1062
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1063
- # or number.
1064
- # @param [Google::Apis::RunV1::Service] service_object
1065
- # @param [String] fields
1066
- # Selector specifying which fields to include in a partial response.
1067
- # @param [String] quota_user
1068
- # Available to use for quota purposes for server-side applications. Can be any
1069
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1070
- # @param [Google::Apis::RequestOptions] options
1071
- # Request-specific options
1072
- #
1073
- # @yield [result, err] Result & error if block supplied
1074
- # @yieldparam result [Google::Apis::RunV1::Service] parsed result object
1075
- # @yieldparam err [StandardError] error object if request failed
1076
- #
1077
- # @return [Google::Apis::RunV1::Service]
1078
- #
1079
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1080
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1081
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1082
- def create_namespace_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1083
- command = make_simple_command(:post, 'apis/serving.knative.dev/v1/{+parent}/services', options)
1084
- command.request_representation = Google::Apis::RunV1::Service::Representation
1085
- command.request_object = service_object
1086
- command.response_representation = Google::Apis::RunV1::Service::Representation
1087
- command.response_class = Google::Apis::RunV1::Service
1088
- command.params['parent'] = parent unless parent.nil?
1089
- command.query['fields'] = fields unless fields.nil?
1090
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1091
- execute_or_queue_command(command, &block)
1092
- end
1093
-
1094
- # Delete a service.
1095
- # This will cause the Service to stop serving traffic and will delete the
1096
- # child entities like Routes, Configurations and Revisions.
345
+
346
+ # Delete a revision.
1097
347
  # @param [String] name
1098
- # The name of the service to delete.
348
+ # The name of the revision to delete.
1099
349
  # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1100
350
  # or number.
1101
351
  # @param [String] api_version
@@ -1124,7 +374,7 @@ module Google
1124
374
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1125
375
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1126
376
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1127
- def delete_namespace_service(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
377
+ def delete_namespace_revision(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1128
378
  command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
1129
379
  command.response_representation = Google::Apis::RunV1::Status::Representation
1130
380
  command.response_class = Google::Apis::RunV1::Status
@@ -1137,9 +387,9 @@ module Google
1137
387
  execute_or_queue_command(command, &block)
1138
388
  end
1139
389
 
1140
- # Get information about a service.
390
+ # Get information about a revision.
1141
391
  # @param [String] name
1142
- # The name of the service to retrieve.
392
+ # The name of the revision to retrieve.
1143
393
  # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1144
394
  # or number.
1145
395
  # @param [String] fields
@@ -1151,27 +401,27 @@ module Google
1151
401
  # Request-specific options
1152
402
  #
1153
403
  # @yield [result, err] Result & error if block supplied
1154
- # @yieldparam result [Google::Apis::RunV1::Service] parsed result object
404
+ # @yieldparam result [Google::Apis::RunV1::Revision] parsed result object
1155
405
  # @yieldparam err [StandardError] error object if request failed
1156
406
  #
1157
- # @return [Google::Apis::RunV1::Service]
407
+ # @return [Google::Apis::RunV1::Revision]
1158
408
  #
1159
409
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1160
410
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1161
411
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1162
- def get_namespace_service(name, fields: nil, quota_user: nil, options: nil, &block)
412
+ def get_namespace_revision(name, fields: nil, quota_user: nil, options: nil, &block)
1163
413
  command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
1164
- command.response_representation = Google::Apis::RunV1::Service::Representation
1165
- command.response_class = Google::Apis::RunV1::Service
414
+ command.response_representation = Google::Apis::RunV1::Revision::Representation
415
+ command.response_class = Google::Apis::RunV1::Revision
1166
416
  command.params['name'] = name unless name.nil?
1167
417
  command.query['fields'] = fields unless fields.nil?
1168
418
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1169
419
  execute_or_queue_command(command, &block)
1170
420
  end
1171
421
 
1172
- # List services.
422
+ # List revisions.
1173
423
  # @param [String] parent
1174
- # The namespace from which the services should be listed.
424
+ # The namespace from which the revisions should be listed.
1175
425
  # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1176
426
  # or number.
1177
427
  # @param [String] continue
@@ -1202,18 +452,18 @@ module Google
1202
452
  # Request-specific options
1203
453
  #
1204
454
  # @yield [result, err] Result & error if block supplied
1205
- # @yieldparam result [Google::Apis::RunV1::ListServicesResponse] parsed result object
455
+ # @yieldparam result [Google::Apis::RunV1::ListRevisionsResponse] parsed result object
1206
456
  # @yieldparam err [StandardError] error object if request failed
1207
457
  #
1208
- # @return [Google::Apis::RunV1::ListServicesResponse]
458
+ # @return [Google::Apis::RunV1::ListRevisionsResponse]
1209
459
  #
1210
460
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1211
461
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1212
462
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1213
- def list_namespace_services(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)
1214
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/services', options)
1215
- command.response_representation = Google::Apis::RunV1::ListServicesResponse::Representation
1216
- command.response_class = Google::Apis::RunV1::ListServicesResponse
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
1217
467
  command.params['parent'] = parent unless parent.nil?
1218
468
  command.query['continue'] = continue unless continue.nil?
1219
469
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -1227,85 +477,11 @@ module Google
1227
477
  execute_or_queue_command(command, &block)
1228
478
  end
1229
479
 
1230
- # Replace a service.
1231
- # Only the spec and metadata labels and annotations are modifiable. After
1232
- # the Update request, Cloud Run will work to make the 'status'
1233
- # match the requested 'spec'.
1234
- # May provide metadata.resourceVersion to enforce update from last read for
1235
- # optimistic concurrency control.
480
+ # Get information about a route.
1236
481
  # @param [String] name
1237
- # The name of the service being replaced.
482
+ # The name of the route to retrieve.
1238
483
  # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1239
484
  # or number.
1240
- # @param [Google::Apis::RunV1::Service] service_object
1241
- # @param [String] fields
1242
- # Selector specifying which fields to include in a partial response.
1243
- # @param [String] quota_user
1244
- # Available to use for quota purposes for server-side applications. Can be any
1245
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1246
- # @param [Google::Apis::RequestOptions] options
1247
- # Request-specific options
1248
- #
1249
- # @yield [result, err] Result & error if block supplied
1250
- # @yieldparam result [Google::Apis::RunV1::Service] parsed result object
1251
- # @yieldparam err [StandardError] error object if request failed
1252
- #
1253
- # @return [Google::Apis::RunV1::Service]
1254
- #
1255
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1256
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1257
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1258
- def replace_namespace_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1259
- command = make_simple_command(:put, 'apis/serving.knative.dev/v1/{+name}', options)
1260
- command.request_representation = Google::Apis::RunV1::Service::Representation
1261
- command.request_object = service_object
1262
- command.response_representation = Google::Apis::RunV1::Service::Representation
1263
- command.response_class = Google::Apis::RunV1::Service
1264
- command.params['name'] = name unless name.nil?
1265
- command.query['fields'] = fields unless fields.nil?
1266
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1267
- execute_or_queue_command(command, &block)
1268
- end
1269
-
1270
- # Gets information about a location.
1271
- # @param [String] name
1272
- # Resource name for the location.
1273
- # @param [String] fields
1274
- # Selector specifying which fields to include in a partial response.
1275
- # @param [String] quota_user
1276
- # Available to use for quota purposes for server-side applications. Can be any
1277
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1278
- # @param [Google::Apis::RequestOptions] options
1279
- # Request-specific options
1280
- #
1281
- # @yield [result, err] Result & error if block supplied
1282
- # @yieldparam result [Google::Apis::RunV1::Location] parsed result object
1283
- # @yieldparam err [StandardError] error object if request failed
1284
- #
1285
- # @return [Google::Apis::RunV1::Location]
1286
- #
1287
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1288
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1289
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1290
- def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
1291
- command = make_simple_command(:get, 'v1/{+name}', options)
1292
- command.response_representation = Google::Apis::RunV1::Location::Representation
1293
- command.response_class = Google::Apis::RunV1::Location
1294
- command.params['name'] = name unless name.nil?
1295
- command.query['fields'] = fields unless fields.nil?
1296
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1297
- execute_or_queue_command(command, &block)
1298
- end
1299
-
1300
- # Lists information about the supported locations for this service.
1301
- # @param [String] name
1302
- # The resource that owns the locations collection, if applicable.
1303
- # @param [String] filter
1304
- # The standard list filter.
1305
- # @param [Fixnum] page_size
1306
- # The standard list page size.
1307
- # @param [String] page_token
1308
- # The standard list page token.
1309
485
  # @param [String] fields
1310
486
  # Selector specifying which fields to include in a partial response.
1311
487
  # @param [String] quota_user
@@ -1315,34 +491,48 @@ module Google
1315
491
  # Request-specific options
1316
492
  #
1317
493
  # @yield [result, err] Result & error if block supplied
1318
- # @yieldparam result [Google::Apis::RunV1::ListLocationsResponse] parsed result object
494
+ # @yieldparam result [Google::Apis::RunV1::Route] parsed result object
1319
495
  # @yieldparam err [StandardError] error object if request failed
1320
496
  #
1321
- # @return [Google::Apis::RunV1::ListLocationsResponse]
497
+ # @return [Google::Apis::RunV1::Route]
1322
498
  #
1323
499
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1324
500
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1325
501
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1326
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1327
- command = make_simple_command(:get, 'v1/{+name}/locations', options)
1328
- command.response_representation = Google::Apis::RunV1::ListLocationsResponse::Representation
1329
- command.response_class = Google::Apis::RunV1::ListLocationsResponse
502
+ def get_namespace_route(name, fields: nil, quota_user: nil, options: nil, &block)
503
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
504
+ command.response_representation = Google::Apis::RunV1::Route::Representation
505
+ command.response_class = Google::Apis::RunV1::Route
1330
506
  command.params['name'] = name unless name.nil?
1331
- command.query['filter'] = filter unless filter.nil?
1332
- command.query['pageSize'] = page_size unless page_size.nil?
1333
- command.query['pageToken'] = page_token unless page_token.nil?
1334
507
  command.query['fields'] = fields unless fields.nil?
1335
508
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1336
509
  execute_or_queue_command(command, &block)
1337
510
  end
1338
511
 
1339
- # List authorized domains.
512
+ # List routes.
1340
513
  # @param [String] parent
1341
- # Name of the parent Application resource. Example: `apps/myapp`.
1342
- # @param [Fixnum] page_size
1343
- # Maximum results to return per page.
1344
- # @param [String] page_token
1345
- # Continuation token for fetching the next page of results.
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.
517
+ # @param [String] continue
518
+ # Optional encoded string to continue paging.
519
+ # @param [String] field_selector
520
+ # Allows to filter resources based on a specific value for a field name.
521
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
522
+ # Not currently used by Cloud Run.
523
+ # @param [Boolean] include_uninitialized
524
+ # Not currently used by Cloud Run.
525
+ # @param [String] label_selector
526
+ # Allows to filter resources based on a label. Supported operations are
527
+ # =, !=, exists, in, and notIn.
528
+ # @param [Fixnum] limit
529
+ # The maximum number of records that should be returned.
530
+ # @param [String] resource_version
531
+ # The baseline resource version from which the list or watch operation should
532
+ # start. Not currently used by Cloud Run.
533
+ # @param [Boolean] watch
534
+ # Flag that indicates that the client expects to watch this resource as well.
535
+ # Not currently used by Cloud Run.
1346
536
  # @param [String] fields
1347
537
  # Selector specifying which fields to include in a partial response.
1348
538
  # @param [String] quota_user
@@ -1352,31 +542,37 @@ module Google
1352
542
  # Request-specific options
1353
543
  #
1354
544
  # @yield [result, err] Result & error if block supplied
1355
- # @yieldparam result [Google::Apis::RunV1::ListAuthorizedDomainsResponse] parsed result object
545
+ # @yieldparam result [Google::Apis::RunV1::ListRoutesResponse] parsed result object
1356
546
  # @yieldparam err [StandardError] error object if request failed
1357
547
  #
1358
- # @return [Google::Apis::RunV1::ListAuthorizedDomainsResponse]
548
+ # @return [Google::Apis::RunV1::ListRoutesResponse]
1359
549
  #
1360
550
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1361
551
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1362
552
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1363
- def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1364
- command = make_simple_command(:get, 'v1/{+parent}/authorizeddomains', options)
1365
- command.response_representation = Google::Apis::RunV1::ListAuthorizedDomainsResponse::Representation
1366
- command.response_class = Google::Apis::RunV1::ListAuthorizedDomainsResponse
553
+ def list_namespace_routes(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)
554
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/routes', options)
555
+ command.response_representation = Google::Apis::RunV1::ListRoutesResponse::Representation
556
+ command.response_class = Google::Apis::RunV1::ListRoutesResponse
1367
557
  command.params['parent'] = parent unless parent.nil?
1368
- command.query['pageSize'] = page_size unless page_size.nil?
1369
- command.query['pageToken'] = page_token unless page_token.nil?
558
+ command.query['continue'] = continue unless continue.nil?
559
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
560
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
561
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
562
+ command.query['limit'] = limit unless limit.nil?
563
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
564
+ command.query['watch'] = watch unless watch.nil?
1370
565
  command.query['fields'] = fields unless fields.nil?
1371
566
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1372
567
  execute_or_queue_command(command, &block)
1373
568
  end
1374
569
 
1375
- # Creates a new auto domain mapping.
570
+ # Create a service.
1376
571
  # @param [String] parent
1377
- # The project ID or project number in which this auto domain mapping should
1378
- # be created.
1379
- # @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object
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.
575
+ # @param [Google::Apis::RunV1::Service] service_object
1380
576
  # @param [String] fields
1381
577
  # Selector specifying which fields to include in a partial response.
1382
578
  # @param [String] quota_user
@@ -1386,29 +582,31 @@ module Google
1386
582
  # Request-specific options
1387
583
  #
1388
584
  # @yield [result, err] Result & error if block supplied
1389
- # @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
585
+ # @yieldparam result [Google::Apis::RunV1::Service] parsed result object
1390
586
  # @yieldparam err [StandardError] error object if request failed
1391
587
  #
1392
- # @return [Google::Apis::RunV1::AutoDomainMapping]
588
+ # @return [Google::Apis::RunV1::Service]
1393
589
  #
1394
590
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1395
591
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1396
592
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1397
- def create_project_location_autodomainmapping(parent, auto_domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1398
- command = make_simple_command(:post, 'v1/{+parent}/autodomainmappings', options)
1399
- command.request_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
1400
- command.request_object = auto_domain_mapping_object
1401
- command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
1402
- command.response_class = Google::Apis::RunV1::AutoDomainMapping
593
+ def create_namespace_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
594
+ command = make_simple_command(:post, 'apis/serving.knative.dev/v1/{+parent}/services', options)
595
+ command.request_representation = Google::Apis::RunV1::Service::Representation
596
+ command.request_object = service_object
597
+ command.response_representation = Google::Apis::RunV1::Service::Representation
598
+ command.response_class = Google::Apis::RunV1::Service
1403
599
  command.params['parent'] = parent unless parent.nil?
1404
600
  command.query['fields'] = fields unless fields.nil?
1405
601
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1406
602
  execute_or_queue_command(command, &block)
1407
603
  end
1408
604
 
1409
- # Delete an auto domain mapping.
605
+ # Delete a service.
606
+ # This will cause the Service to stop serving traffic and will delete the
607
+ # child entities like Routes, Configurations and Revisions.
1410
608
  # @param [String] name
1411
- # The name of the auto domain mapping being deleted.
609
+ # The name of the service to delete.
1412
610
  # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1413
611
  # or number.
1414
612
  # @param [String] api_version
@@ -1437,8 +635,8 @@ module Google
1437
635
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1438
636
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1439
637
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1440
- def delete_project_location_autodomainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1441
- command = make_simple_command(:delete, 'v1/{+name}', options)
638
+ def delete_namespace_service(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
639
+ command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
1442
640
  command.response_representation = Google::Apis::RunV1::Status::Representation
1443
641
  command.response_class = Google::Apis::RunV1::Status
1444
642
  command.params['name'] = name unless name.nil?
@@ -1450,9 +648,9 @@ module Google
1450
648
  execute_or_queue_command(command, &block)
1451
649
  end
1452
650
 
1453
- # Get information about an auto domain mapping.
651
+ # Get information about a service.
1454
652
  # @param [String] name
1455
- # The name of the auto domain mapping being retrieved.
653
+ # The name of the service to retrieve.
1456
654
  # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1457
655
  # or number.
1458
656
  # @param [String] fields
@@ -1464,28 +662,29 @@ module Google
1464
662
  # Request-specific options
1465
663
  #
1466
664
  # @yield [result, err] Result & error if block supplied
1467
- # @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
665
+ # @yieldparam result [Google::Apis::RunV1::Service] parsed result object
1468
666
  # @yieldparam err [StandardError] error object if request failed
1469
667
  #
1470
- # @return [Google::Apis::RunV1::AutoDomainMapping]
668
+ # @return [Google::Apis::RunV1::Service]
1471
669
  #
1472
670
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1473
671
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1474
672
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1475
- def get_project_location_autodomainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
1476
- command = make_simple_command(:get, 'v1/{+name}', options)
1477
- command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
1478
- command.response_class = Google::Apis::RunV1::AutoDomainMapping
673
+ def get_namespace_service(name, fields: nil, quota_user: nil, options: nil, &block)
674
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
675
+ command.response_representation = Google::Apis::RunV1::Service::Representation
676
+ command.response_class = Google::Apis::RunV1::Service
1479
677
  command.params['name'] = name unless name.nil?
1480
678
  command.query['fields'] = fields unless fields.nil?
1481
679
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1482
680
  execute_or_queue_command(command, &block)
1483
681
  end
1484
682
 
1485
- # List auto domain mappings.
683
+ # List services.
1486
684
  # @param [String] parent
1487
- # The project ID or project number from which the auto domain mappings should
1488
- # 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.
1489
688
  # @param [String] continue
1490
689
  # Optional encoded string to continue paging.
1491
690
  # @param [String] field_selector
@@ -1514,18 +713,18 @@ module Google
1514
713
  # Request-specific options
1515
714
  #
1516
715
  # @yield [result, err] Result & error if block supplied
1517
- # @yieldparam result [Google::Apis::RunV1::ListAutoDomainMappingsResponse] parsed result object
716
+ # @yieldparam result [Google::Apis::RunV1::ListServicesResponse] parsed result object
1518
717
  # @yieldparam err [StandardError] error object if request failed
1519
718
  #
1520
- # @return [Google::Apis::RunV1::ListAutoDomainMappingsResponse]
719
+ # @return [Google::Apis::RunV1::ListServicesResponse]
1521
720
  #
1522
721
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1523
722
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1524
723
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1525
- 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)
1526
- command = make_simple_command(:get, 'v1/{+parent}/autodomainmappings', options)
1527
- command.response_representation = Google::Apis::RunV1::ListAutoDomainMappingsResponse::Representation
1528
- command.response_class = Google::Apis::RunV1::ListAutoDomainMappingsResponse
724
+ def list_namespace_services(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)
725
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/services', options)
726
+ command.response_representation = Google::Apis::RunV1::ListServicesResponse::Representation
727
+ command.response_class = Google::Apis::RunV1::ListServicesResponse
1529
728
  command.params['parent'] = parent unless parent.nil?
1530
729
  command.query['continue'] = continue unless continue.nil?
1531
730
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -1539,17 +738,49 @@ module Google
1539
738
  execute_or_queue_command(command, &block)
1540
739
  end
1541
740
 
1542
- # Replace an auto domain mapping.
1543
- # Only the spec and metadata labels and annotations are modifiable. After
1544
- # the Update request, Cloud Run will work to make the 'status'
1545
- # match the requested 'spec'.
1546
- # May provide metadata.resourceVersion to enforce update from last read for
1547
- # optimistic concurrency control.
741
+ # Replace a service.
742
+ # Only the spec and metadata labels and annotations are modifiable. After
743
+ # the Update request, Cloud Run will work to make the 'status'
744
+ # match the requested 'spec'.
745
+ # May provide metadata.resourceVersion to enforce update from last read for
746
+ # optimistic concurrency control.
747
+ # @param [String] name
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
752
+ # @param [String] fields
753
+ # Selector specifying which fields to include in a partial response.
754
+ # @param [String] quota_user
755
+ # Available to use for quota purposes for server-side applications. Can be any
756
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
757
+ # @param [Google::Apis::RequestOptions] options
758
+ # Request-specific options
759
+ #
760
+ # @yield [result, err] Result & error if block supplied
761
+ # @yieldparam result [Google::Apis::RunV1::Service] parsed result object
762
+ # @yieldparam err [StandardError] error object if request failed
763
+ #
764
+ # @return [Google::Apis::RunV1::Service]
765
+ #
766
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
767
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
768
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
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?
776
+ command.query['fields'] = fields unless fields.nil?
777
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
778
+ execute_or_queue_command(command, &block)
779
+ end
780
+
781
+ # Gets information about a location.
1548
782
  # @param [String] name
1549
- # The name of the auto domain mapping being retrieved.
1550
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1551
- # or number.
1552
- # @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object
783
+ # Resource name for the location.
1553
784
  # @param [String] fields
1554
785
  # Selector specifying which fields to include in a partial response.
1555
786
  # @param [String] quota_user
@@ -1559,32 +790,33 @@ module Google
1559
790
  # Request-specific options
1560
791
  #
1561
792
  # @yield [result, err] Result & error if block supplied
1562
- # @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
793
+ # @yieldparam result [Google::Apis::RunV1::Location] parsed result object
1563
794
  # @yieldparam err [StandardError] error object if request failed
1564
795
  #
1565
- # @return [Google::Apis::RunV1::AutoDomainMapping]
796
+ # @return [Google::Apis::RunV1::Location]
1566
797
  #
1567
798
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1568
799
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1569
800
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1570
- def replace_project_location_autodomainmapping_auto_domain_mapping(name, auto_domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1571
- command = make_simple_command(:put, 'v1/{+name}', options)
1572
- command.request_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
1573
- command.request_object = auto_domain_mapping_object
1574
- command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
1575
- 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
1576
805
  command.params['name'] = name unless name.nil?
1577
806
  command.query['fields'] = fields unless fields.nil?
1578
807
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1579
808
  execute_or_queue_command(command, &block)
1580
809
  end
1581
810
 
1582
- # Create a configuration.
1583
- # @param [String] parent
1584
- # The namespace in which the configuration should be created.
1585
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1586
- # or number.
1587
- # @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.
1588
820
  # @param [String] fields
1589
821
  # Selector specifying which fields to include in a partial response.
1590
822
  # @param [String] quota_user
@@ -1594,43 +826,34 @@ module Google
1594
826
  # Request-specific options
1595
827
  #
1596
828
  # @yield [result, err] Result & error if block supplied
1597
- # @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
829
+ # @yieldparam result [Google::Apis::RunV1::ListLocationsResponse] parsed result object
1598
830
  # @yieldparam err [StandardError] error object if request failed
1599
831
  #
1600
- # @return [Google::Apis::RunV1::Configuration]
832
+ # @return [Google::Apis::RunV1::ListLocationsResponse]
1601
833
  #
1602
834
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1603
835
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1604
836
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1605
- def create_project_location_configuration(parent, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1606
- command = make_simple_command(:post, 'v1/{+parent}/configurations', options)
1607
- command.request_representation = Google::Apis::RunV1::Configuration::Representation
1608
- command.request_object = configuration_object
1609
- command.response_representation = Google::Apis::RunV1::Configuration::Representation
1610
- command.response_class = Google::Apis::RunV1::Configuration
1611
- 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?
1612
845
  command.query['fields'] = fields unless fields.nil?
1613
846
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1614
847
  execute_or_queue_command(command, &block)
1615
848
  end
1616
849
 
1617
- # delete a configuration.
1618
- # This will cause the configuration to delete all child revisions. Prior to
1619
- # calling this, any route referencing the configuration (or revision
1620
- # from the configuration) must be deleted.
1621
- # @param [String] name
1622
- # The name of the configuration to delete.
1623
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1624
- # or number.
1625
- # @param [String] api_version
1626
- # Cloud Run currently ignores this parameter.
1627
- # @param [String] kind
1628
- # Cloud Run currently ignores this parameter.
1629
- # @param [String] propagation_policy
1630
- # Specifies the propagation policy of delete. Cloud Run currently ignores
1631
- # this setting, and deletes in the background. Please see
1632
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1633
- # 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.
1634
857
  # @param [String] fields
1635
858
  # Selector specifying which fields to include in a partial response.
1636
859
  # @param [String] quota_user
@@ -1640,22 +863,21 @@ module Google
1640
863
  # Request-specific options
1641
864
  #
1642
865
  # @yield [result, err] Result & error if block supplied
1643
- # @yieldparam result [Google::Apis::RunV1::Status] parsed result object
866
+ # @yieldparam result [Google::Apis::RunV1::ListAuthorizedDomainsResponse] parsed result object
1644
867
  # @yieldparam err [StandardError] error object if request failed
1645
868
  #
1646
- # @return [Google::Apis::RunV1::Status]
869
+ # @return [Google::Apis::RunV1::ListAuthorizedDomainsResponse]
1647
870
  #
1648
871
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1649
872
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1650
873
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1651
- def delete_project_location_configuration(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1652
- command = make_simple_command(:delete, 'v1/{+name}', options)
1653
- command.response_representation = Google::Apis::RunV1::Status::Representation
1654
- command.response_class = Google::Apis::RunV1::Status
1655
- command.params['name'] = name unless name.nil?
1656
- command.query['apiVersion'] = api_version unless api_version.nil?
1657
- command.query['kind'] = kind unless kind.nil?
1658
- 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?
1659
881
  command.query['fields'] = fields unless fields.nil?
1660
882
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1661
883
  execute_or_queue_command(command, &block)
@@ -1751,46 +973,6 @@ module Google
1751
973
  execute_or_queue_command(command, &block)
1752
974
  end
1753
975
 
1754
- # Replace a configuration.
1755
- # Only the spec and metadata labels and annotations are modifiable. After
1756
- # the Update request, Cloud Run will work to make the 'status'
1757
- # match the requested 'spec'.
1758
- # May provide metadata.resourceVersion to enforce update from last read for
1759
- # optimistic concurrency control.
1760
- # @param [String] name
1761
- # The name of the configuration being replaced.
1762
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1763
- # or number.
1764
- # @param [Google::Apis::RunV1::Configuration] configuration_object
1765
- # @param [String] fields
1766
- # Selector specifying which fields to include in a partial response.
1767
- # @param [String] quota_user
1768
- # Available to use for quota purposes for server-side applications. Can be any
1769
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1770
- # @param [Google::Apis::RequestOptions] options
1771
- # Request-specific options
1772
- #
1773
- # @yield [result, err] Result & error if block supplied
1774
- # @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
1775
- # @yieldparam err [StandardError] error object if request failed
1776
- #
1777
- # @return [Google::Apis::RunV1::Configuration]
1778
- #
1779
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1780
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1781
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1782
- def replace_project_location_configuration_configuration(name, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1783
- command = make_simple_command(:put, 'v1/{+name}', options)
1784
- command.request_representation = Google::Apis::RunV1::Configuration::Representation
1785
- command.request_object = configuration_object
1786
- command.response_representation = Google::Apis::RunV1::Configuration::Representation
1787
- command.response_class = Google::Apis::RunV1::Configuration
1788
- command.params['name'] = name unless name.nil?
1789
- command.query['fields'] = fields unless fields.nil?
1790
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1791
- execute_or_queue_command(command, &block)
1792
- end
1793
-
1794
976
  # Create a new domain mapping.
1795
977
  # @param [String] parent
1796
978
  # The namespace in which the domain mapping should be created.
@@ -1960,46 +1142,6 @@ module Google
1960
1142
  execute_or_queue_command(command, &block)
1961
1143
  end
1962
1144
 
1963
- # Replace a domain mapping.
1964
- # Only the spec and metadata labels and annotations are modifiable. After
1965
- # the Update request, Cloud Run will work to make the 'status'
1966
- # match the requested 'spec'.
1967
- # May provide metadata.resourceVersion to enforce update from last read for
1968
- # optimistic concurrency control.
1969
- # @param [String] name
1970
- # The name of the domain mapping being retrieved.
1971
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
1972
- # or number.
1973
- # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
1974
- # @param [String] fields
1975
- # Selector specifying which fields to include in a partial response.
1976
- # @param [String] quota_user
1977
- # Available to use for quota purposes for server-side applications. Can be any
1978
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1979
- # @param [Google::Apis::RequestOptions] options
1980
- # Request-specific options
1981
- #
1982
- # @yield [result, err] Result & error if block supplied
1983
- # @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
1984
- # @yieldparam err [StandardError] error object if request failed
1985
- #
1986
- # @return [Google::Apis::RunV1::DomainMapping]
1987
- #
1988
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1989
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1990
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1991
- def replace_project_location_domainmapping_domain_mapping(name, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1992
- command = make_simple_command(:put, 'v1/{+name}', options)
1993
- command.request_representation = Google::Apis::RunV1::DomainMapping::Representation
1994
- command.request_object = domain_mapping_object
1995
- command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
1996
- command.response_class = Google::Apis::RunV1::DomainMapping
1997
- command.params['name'] = name unless name.nil?
1998
- command.query['fields'] = fields unless fields.nil?
1999
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2000
- execute_or_queue_command(command, &block)
2001
- end
2002
-
2003
1145
  # Delete a revision.
2004
1146
  # @param [String] name
2005
1147
  # The name of the revision to delete.
@@ -2134,86 +1276,6 @@ module Google
2134
1276
  execute_or_queue_command(command, &block)
2135
1277
  end
2136
1278
 
2137
- # Create a route.
2138
- # @param [String] parent
2139
- # The namespace in which the route should be created.
2140
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
2141
- # or number.
2142
- # @param [Google::Apis::RunV1::Route] route_object
2143
- # @param [String] fields
2144
- # Selector specifying which fields to include in a partial response.
2145
- # @param [String] quota_user
2146
- # Available to use for quota purposes for server-side applications. Can be any
2147
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2148
- # @param [Google::Apis::RequestOptions] options
2149
- # Request-specific options
2150
- #
2151
- # @yield [result, err] Result & error if block supplied
2152
- # @yieldparam result [Google::Apis::RunV1::Route] parsed result object
2153
- # @yieldparam err [StandardError] error object if request failed
2154
- #
2155
- # @return [Google::Apis::RunV1::Route]
2156
- #
2157
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2158
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2159
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2160
- def create_project_location_route(parent, route_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2161
- command = make_simple_command(:post, 'v1/{+parent}/routes', options)
2162
- command.request_representation = Google::Apis::RunV1::Route::Representation
2163
- command.request_object = route_object
2164
- command.response_representation = Google::Apis::RunV1::Route::Representation
2165
- command.response_class = Google::Apis::RunV1::Route
2166
- command.params['parent'] = parent unless parent.nil?
2167
- command.query['fields'] = fields unless fields.nil?
2168
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2169
- execute_or_queue_command(command, &block)
2170
- end
2171
-
2172
- # Delete a route.
2173
- # This will cause the route to stop serving traffic.
2174
- # @param [String] name
2175
- # The name of the route to delete.
2176
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
2177
- # or number.
2178
- # @param [String] api_version
2179
- # Cloud Run currently ignores this parameter.
2180
- # @param [String] kind
2181
- # Cloud Run currently ignores this parameter.
2182
- # @param [String] propagation_policy
2183
- # Specifies the propagation policy of delete. Cloud Run currently ignores
2184
- # this setting, and deletes in the background. Please see
2185
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
2186
- # more information.
2187
- # @param [String] fields
2188
- # Selector specifying which fields to include in a partial response.
2189
- # @param [String] quota_user
2190
- # Available to use for quota purposes for server-side applications. Can be any
2191
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2192
- # @param [Google::Apis::RequestOptions] options
2193
- # Request-specific options
2194
- #
2195
- # @yield [result, err] Result & error if block supplied
2196
- # @yieldparam result [Google::Apis::RunV1::Status] parsed result object
2197
- # @yieldparam err [StandardError] error object if request failed
2198
- #
2199
- # @return [Google::Apis::RunV1::Status]
2200
- #
2201
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2202
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2203
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2204
- def delete_project_location_route(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
2205
- command = make_simple_command(:delete, 'v1/{+name}', options)
2206
- command.response_representation = Google::Apis::RunV1::Status::Representation
2207
- command.response_class = Google::Apis::RunV1::Status
2208
- command.params['name'] = name unless name.nil?
2209
- command.query['apiVersion'] = api_version unless api_version.nil?
2210
- command.query['kind'] = kind unless kind.nil?
2211
- command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
2212
- command.query['fields'] = fields unless fields.nil?
2213
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2214
- execute_or_queue_command(command, &block)
2215
- end
2216
-
2217
1279
  # Get information about a route.
2218
1280
  # @param [String] name
2219
1281
  # The name of the route to retrieve.
@@ -2304,46 +1366,6 @@ module Google
2304
1366
  execute_or_queue_command(command, &block)
2305
1367
  end
2306
1368
 
2307
- # Replace a route.
2308
- # Only the spec and metadata labels and annotations are modifiable. After
2309
- # the Update request, Cloud Run will work to make the 'status'
2310
- # match the requested 'spec'.
2311
- # May provide metadata.resourceVersion to enforce update from last read for
2312
- # optimistic concurrency control.
2313
- # @param [String] name
2314
- # The name of the route being replaced.
2315
- # For Cloud Run (fully managed), replace `namespace_id` with the project ID
2316
- # or number.
2317
- # @param [Google::Apis::RunV1::Route] route_object
2318
- # @param [String] fields
2319
- # Selector specifying which fields to include in a partial response.
2320
- # @param [String] quota_user
2321
- # Available to use for quota purposes for server-side applications. Can be any
2322
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2323
- # @param [Google::Apis::RequestOptions] options
2324
- # Request-specific options
2325
- #
2326
- # @yield [result, err] Result & error if block supplied
2327
- # @yieldparam result [Google::Apis::RunV1::Route] parsed result object
2328
- # @yieldparam err [StandardError] error object if request failed
2329
- #
2330
- # @return [Google::Apis::RunV1::Route]
2331
- #
2332
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2333
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2334
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2335
- def replace_project_location_route_route(name, route_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2336
- command = make_simple_command(:put, 'v1/{+name}', options)
2337
- command.request_representation = Google::Apis::RunV1::Route::Representation
2338
- command.request_object = route_object
2339
- command.response_representation = Google::Apis::RunV1::Route::Representation
2340
- command.response_class = Google::Apis::RunV1::Route
2341
- command.params['name'] = name unless name.nil?
2342
- command.query['fields'] = fields unless fields.nil?
2343
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2344
- execute_or_queue_command(command, &block)
2345
- end
2346
-
2347
1369
  # Create a service.
2348
1370
  # @param [String] parent
2349
1371
  # The namespace in which the service should be created.