google-api-client 0.31.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (295) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/continuous/linux.cfg +11 -1
  3. data/.kokoro/continuous/osx.cfg +5 -0
  4. data/.kokoro/continuous/windows.cfg +10 -0
  5. data/.kokoro/presubmit/linux.cfg +11 -1
  6. data/.kokoro/presubmit/osx.cfg +5 -0
  7. data/.kokoro/presubmit/windows.cfg +10 -0
  8. data/CHANGELOG.md +107 -0
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
  11. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2.rb +1 -1
  13. data/generated/google/apis/bigquery_v2/classes.rb +241 -0
  14. data/generated/google/apis/bigquery_v2/representations.rb +115 -0
  15. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  16. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
  17. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  18. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
  19. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
  20. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  21. data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
  22. data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
  23. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  24. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
  25. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
  26. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
  27. data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
  28. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
  29. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
  30. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
  31. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  32. data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
  33. data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
  34. data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
  35. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  36. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
  37. data/generated/google/apis/blogger_v3.rb +1 -1
  38. data/generated/google/apis/blogger_v3/service.rb +6 -6
  39. data/generated/google/apis/calendar_v3.rb +1 -1
  40. data/generated/google/apis/calendar_v3/classes.rb +1 -0
  41. data/generated/google/apis/cloudasset_v1.rb +1 -1
  42. data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
  43. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  44. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
  47. data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
  50. data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
  51. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  52. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  53. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
  54. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  55. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  56. data/generated/google/apis/cloudiot_v1.rb +1 -1
  57. data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
  58. data/generated/google/apis/cloudiot_v1/service.rb +18 -17
  59. data/generated/google/apis/cloudkms_v1.rb +1 -1
  60. data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
  61. data/generated/google/apis/cloudkms_v1/service.rb +33 -27
  62. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  63. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
  66. data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
  67. data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
  68. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
  70. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
  73. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  74. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
  75. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  76. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
  77. data/generated/google/apis/compute_alpha.rb +1 -1
  78. data/generated/google/apis/compute_alpha/classes.rb +38 -42
  79. data/generated/google/apis/compute_alpha/representations.rb +5 -16
  80. data/generated/google/apis/compute_beta.rb +1 -1
  81. data/generated/google/apis/compute_beta/classes.rb +10 -5
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1327 -4
  84. data/generated/google/apis/compute_v1/representations.rb +439 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +111 -0
  87. data/generated/google/apis/container_v1/representations.rb +51 -0
  88. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  89. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
  90. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  91. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  92. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
  93. data/generated/google/apis/content_v2.rb +1 -1
  94. data/generated/google/apis/content_v2/service.rb +0 -226
  95. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  96. data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
  97. data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
  98. data/generated/google/apis/dataproc_v1.rb +1 -1
  99. data/generated/google/apis/dataproc_v1/classes.rb +324 -38
  100. data/generated/google/apis/dataproc_v1/representations.rb +97 -0
  101. data/generated/google/apis/dataproc_v1/service.rb +613 -1
  102. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  103. data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
  104. data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
  105. data/generated/google/apis/dialogflow_v2.rb +1 -1
  106. data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
  107. data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
  108. data/generated/google/apis/dialogflow_v2/service.rb +1 -1
  109. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  110. data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
  111. data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
  112. data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
  113. data/generated/google/apis/dlp_v2.rb +1 -1
  114. data/generated/google/apis/dlp_v2/classes.rb +3 -4
  115. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  116. data/generated/google/apis/drive_v2.rb +1 -1
  117. data/generated/google/apis/drive_v2/classes.rb +2 -2
  118. data/generated/google/apis/drive_v3.rb +1 -1
  119. data/generated/google/apis/drive_v3/classes.rb +2 -2
  120. data/generated/google/apis/fcm_v1.rb +1 -1
  121. data/generated/google/apis/fcm_v1/classes.rb +9 -4
  122. data/generated/google/apis/file_v1.rb +1 -1
  123. data/generated/google/apis/file_v1/classes.rb +8 -0
  124. data/generated/google/apis/file_v1/representations.rb +1 -0
  125. data/generated/google/apis/file_v1/service.rb +2 -0
  126. data/generated/google/apis/file_v1beta1.rb +1 -1
  127. data/generated/google/apis/file_v1beta1/classes.rb +8 -0
  128. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  129. data/generated/google/apis/file_v1beta1/service.rb +2 -0
  130. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  131. data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
  132. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
  134. data/generated/google/apis/fitness_v1.rb +19 -19
  135. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  136. data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
  137. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
  138. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
  139. data/generated/google/apis/iam_v1.rb +1 -1
  140. data/generated/google/apis/iam_v1/classes.rb +87 -41
  141. data/generated/google/apis/iap_v1.rb +1 -1
  142. data/generated/google/apis/iap_v1/classes.rb +62 -29
  143. data/generated/google/apis/iap_v1beta1.rb +1 -1
  144. data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +114 -49
  147. data/generated/google/apis/ml_v1/representations.rb +2 -0
  148. data/generated/google/apis/ml_v1/service.rb +12 -6
  149. data/generated/google/apis/monitoring_v3.rb +1 -1
  150. data/generated/google/apis/monitoring_v3/classes.rb +14 -10
  151. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  152. data/generated/google/apis/oslogin_v1.rb +1 -1
  153. data/generated/google/apis/oslogin_v1/classes.rb +12 -0
  154. data/generated/google/apis/oslogin_v1/representations.rb +2 -0
  155. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  156. data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
  157. data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
  158. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  159. data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
  160. data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
  161. data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
  162. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
  163. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
  164. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
  165. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  166. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
  167. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
  168. data/generated/google/apis/recommender_v1beta1.rb +34 -0
  169. data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
  170. data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
  171. data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
  172. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  173. data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
  174. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
  175. data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
  176. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  177. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
  178. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
  179. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  180. data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
  181. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
  182. data/generated/google/apis/run_v1.rb +1 -1
  183. data/generated/google/apis/run_v1/classes.rb +3553 -33
  184. data/generated/google/apis/run_v1/representations.rb +1186 -4
  185. data/generated/google/apis/run_v1/service.rb +2509 -23
  186. data/generated/google/apis/run_v1alpha1.rb +1 -1
  187. data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
  188. data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
  189. data/generated/google/apis/run_v1beta1.rb +35 -0
  190. data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
  191. data/generated/google/apis/run_v1beta1/representations.rb +421 -0
  192. data/generated/google/apis/run_v1beta1/service.rb +172 -0
  193. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  194. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
  195. data/generated/google/apis/safebrowsing_v4.rb +5 -2
  196. data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
  197. data/generated/google/apis/securitycenter_v1.rb +1 -1
  198. data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
  199. data/generated/google/apis/securitycenter_v1/service.rb +13 -12
  200. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  201. data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
  202. data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
  203. data/generated/google/apis/servicebroker_v1.rb +1 -1
  204. data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
  205. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  206. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
  207. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  208. data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
  209. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  210. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
  211. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  212. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  213. data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
  214. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  215. data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
  216. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
  217. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  218. data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
  219. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  220. data/generated/google/apis/serviceusage_v1.rb +1 -1
  221. data/generated/google/apis/serviceusage_v1/classes.rb +11 -2
  222. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  223. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  224. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -2
  225. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  226. data/generated/google/apis/spanner_v1.rb +1 -1
  227. data/generated/google/apis/spanner_v1/classes.rb +78 -2
  228. data/generated/google/apis/spanner_v1/representations.rb +44 -0
  229. data/generated/google/apis/spanner_v1/service.rb +35 -0
  230. data/generated/google/apis/speech_v1.rb +1 -1
  231. data/generated/google/apis/speech_v1/classes.rb +73 -19
  232. data/generated/google/apis/speech_v1/representations.rb +18 -0
  233. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  234. data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
  235. data/generated/google/apis/speech_v2beta.rb +1 -1
  236. data/generated/google/apis/speech_v2beta/classes.rb +6 -6
  237. data/generated/google/apis/speech_v2beta/representations.rb +2 -2
  238. data/generated/google/apis/storage_v1.rb +1 -1
  239. data/generated/google/apis/storage_v1/classes.rb +1 -1
  240. data/generated/google/apis/storage_v1/representations.rb +2 -1
  241. data/generated/google/apis/storage_v1beta1.rb +1 -1
  242. data/generated/google/apis/storage_v1beta2.rb +1 -1
  243. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  244. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  245. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
  246. data/generated/google/apis/testing_v1.rb +1 -1
  247. data/generated/google/apis/testing_v1/classes.rb +42 -0
  248. data/generated/google/apis/testing_v1/representations.rb +18 -0
  249. data/generated/google/apis/texttospeech_v1.rb +1 -1
  250. data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
  251. data/generated/google/apis/texttospeech_v1/service.rb +1 -1
  252. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  253. data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
  254. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  255. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  256. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
  257. data/generated/google/apis/translate_v3beta1.rb +1 -1
  258. data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
  259. data/generated/google/apis/translate_v3beta1/service.rb +31 -31
  260. data/generated/google/apis/videointelligence_v1.rb +1 -1
  261. data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
  262. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  263. data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
  264. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  265. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
  266. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  267. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
  268. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  269. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
  270. data/generated/google/apis/vision_v1.rb +1 -1
  271. data/generated/google/apis/vision_v1/classes.rb +6 -156
  272. data/generated/google/apis/vision_v1/representations.rb +0 -44
  273. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  274. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
  275. data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
  276. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  277. data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
  278. data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
  279. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  280. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  281. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
  282. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  283. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  284. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
  285. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  286. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  287. data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
  288. data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
  289. data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
  290. data/lib/google/apis/version.rb +1 -1
  291. metadata +18 -6
  292. data/generated/google/apis/dfareporting_v3_1.rb +0 -40
  293. data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
  294. data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
  295. data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
@@ -382,96 +382,6 @@ module Google
382
382
  include Google::Apis::Core::JsonObjectSupport
383
383
  end
384
384
 
385
- class GoogleDevtoolsRemoteexecutionV1testActionResult
386
- class Representation < Google::Apis::Core::JsonRepresentation; end
387
-
388
- include Google::Apis::Core::JsonObjectSupport
389
- end
390
-
391
- class GoogleDevtoolsRemoteexecutionV1testCommand
392
- class Representation < Google::Apis::Core::JsonRepresentation; end
393
-
394
- include Google::Apis::Core::JsonObjectSupport
395
- end
396
-
397
- class GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable
398
- class Representation < Google::Apis::Core::JsonRepresentation; end
399
-
400
- include Google::Apis::Core::JsonObjectSupport
401
- end
402
-
403
- class GoogleDevtoolsRemoteexecutionV1testDigest
404
- class Representation < Google::Apis::Core::JsonRepresentation; end
405
-
406
- include Google::Apis::Core::JsonObjectSupport
407
- end
408
-
409
- class GoogleDevtoolsRemoteexecutionV1testDirectory
410
- class Representation < Google::Apis::Core::JsonRepresentation; end
411
-
412
- include Google::Apis::Core::JsonObjectSupport
413
- end
414
-
415
- class GoogleDevtoolsRemoteexecutionV1testDirectoryNode
416
- class Representation < Google::Apis::Core::JsonRepresentation; end
417
-
418
- include Google::Apis::Core::JsonObjectSupport
419
- end
420
-
421
- class GoogleDevtoolsRemoteexecutionV1testExecuteOperationMetadata
422
- class Representation < Google::Apis::Core::JsonRepresentation; end
423
-
424
- include Google::Apis::Core::JsonObjectSupport
425
- end
426
-
427
- class GoogleDevtoolsRemoteexecutionV1testExecuteResponse
428
- class Representation < Google::Apis::Core::JsonRepresentation; end
429
-
430
- include Google::Apis::Core::JsonObjectSupport
431
- end
432
-
433
- class GoogleDevtoolsRemoteexecutionV1testFileNode
434
- class Representation < Google::Apis::Core::JsonRepresentation; end
435
-
436
- include Google::Apis::Core::JsonObjectSupport
437
- end
438
-
439
- class GoogleDevtoolsRemoteexecutionV1testLogFile
440
- class Representation < Google::Apis::Core::JsonRepresentation; end
441
-
442
- include Google::Apis::Core::JsonObjectSupport
443
- end
444
-
445
- class GoogleDevtoolsRemoteexecutionV1testOutputDirectory
446
- class Representation < Google::Apis::Core::JsonRepresentation; end
447
-
448
- include Google::Apis::Core::JsonObjectSupport
449
- end
450
-
451
- class GoogleDevtoolsRemoteexecutionV1testOutputFile
452
- class Representation < Google::Apis::Core::JsonRepresentation; end
453
-
454
- include Google::Apis::Core::JsonObjectSupport
455
- end
456
-
457
- class GoogleDevtoolsRemoteexecutionV1testRequestMetadata
458
- class Representation < Google::Apis::Core::JsonRepresentation; end
459
-
460
- include Google::Apis::Core::JsonObjectSupport
461
- end
462
-
463
- class GoogleDevtoolsRemoteexecutionV1testToolDetails
464
- class Representation < Google::Apis::Core::JsonRepresentation; end
465
-
466
- include Google::Apis::Core::JsonObjectSupport
467
- end
468
-
469
- class GoogleDevtoolsRemoteexecutionV1testTree
470
- class Representation < Google::Apis::Core::JsonRepresentation; end
471
-
472
- include Google::Apis::Core::JsonObjectSupport
473
- end
474
-
475
385
  class GoogleDevtoolsRemoteworkersV1test2AdminTemp
476
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
387
 
@@ -1134,6 +1044,7 @@ module Google
1134
1044
  hash :labels, as: 'labels'
1135
1045
  property :machine_type, as: 'machineType'
1136
1046
  property :min_cpu_platform, as: 'minCpuPlatform'
1047
+ property :network_access, as: 'networkAccess'
1137
1048
  property :reserved, as: 'reserved'
1138
1049
  end
1139
1050
  end
@@ -1149,161 +1060,6 @@ module Google
1149
1060
  end
1150
1061
  end
1151
1062
 
1152
- class GoogleDevtoolsRemoteexecutionV1testActionResult
1153
- # @private
1154
- class Representation < Google::Apis::Core::JsonRepresentation
1155
- property :exit_code, as: 'exitCode'
1156
- collection :output_directories, as: 'outputDirectories', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testOutputDirectory, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testOutputDirectory::Representation
1157
-
1158
- collection :output_files, as: 'outputFiles', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testOutputFile, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testOutputFile::Representation
1159
-
1160
- property :stderr_digest, as: 'stderrDigest', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
1161
-
1162
- property :stderr_raw, :base64 => true, as: 'stderrRaw'
1163
- property :stdout_digest, as: 'stdoutDigest', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
1164
-
1165
- property :stdout_raw, :base64 => true, as: 'stdoutRaw'
1166
- end
1167
- end
1168
-
1169
- class GoogleDevtoolsRemoteexecutionV1testCommand
1170
- # @private
1171
- class Representation < Google::Apis::Core::JsonRepresentation
1172
- collection :arguments, as: 'arguments'
1173
- collection :environment_variables, as: 'environmentVariables', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable::Representation
1174
-
1175
- end
1176
- end
1177
-
1178
- class GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable
1179
- # @private
1180
- class Representation < Google::Apis::Core::JsonRepresentation
1181
- property :name, as: 'name'
1182
- property :value, as: 'value'
1183
- end
1184
- end
1185
-
1186
- class GoogleDevtoolsRemoteexecutionV1testDigest
1187
- # @private
1188
- class Representation < Google::Apis::Core::JsonRepresentation
1189
- property :hash_prop, as: 'hash'
1190
- property :size_bytes, :numeric_string => true, as: 'sizeBytes'
1191
- end
1192
- end
1193
-
1194
- class GoogleDevtoolsRemoteexecutionV1testDirectory
1195
- # @private
1196
- class Representation < Google::Apis::Core::JsonRepresentation
1197
- collection :directories, as: 'directories', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDirectoryNode, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDirectoryNode::Representation
1198
-
1199
- collection :files, as: 'files', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testFileNode, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testFileNode::Representation
1200
-
1201
- end
1202
- end
1203
-
1204
- class GoogleDevtoolsRemoteexecutionV1testDirectoryNode
1205
- # @private
1206
- class Representation < Google::Apis::Core::JsonRepresentation
1207
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
1208
-
1209
- property :name, as: 'name'
1210
- end
1211
- end
1212
-
1213
- class GoogleDevtoolsRemoteexecutionV1testExecuteOperationMetadata
1214
- # @private
1215
- class Representation < Google::Apis::Core::JsonRepresentation
1216
- property :action_digest, as: 'actionDigest', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
1217
-
1218
- property :stage, as: 'stage'
1219
- property :stderr_stream_name, as: 'stderrStreamName'
1220
- property :stdout_stream_name, as: 'stdoutStreamName'
1221
- end
1222
- end
1223
-
1224
- class GoogleDevtoolsRemoteexecutionV1testExecuteResponse
1225
- # @private
1226
- class Representation < Google::Apis::Core::JsonRepresentation
1227
- property :cached_result, as: 'cachedResult'
1228
- property :result, as: 'result', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testActionResult, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testActionResult::Representation
1229
-
1230
- hash :server_logs, as: 'serverLogs', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testLogFile, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testLogFile::Representation
1231
-
1232
- property :status, as: 'status', class: Google::Apis::RemotebuildexecutionV2::GoogleRpcStatus, decorator: Google::Apis::RemotebuildexecutionV2::GoogleRpcStatus::Representation
1233
-
1234
- end
1235
- end
1236
-
1237
- class GoogleDevtoolsRemoteexecutionV1testFileNode
1238
- # @private
1239
- class Representation < Google::Apis::Core::JsonRepresentation
1240
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
1241
-
1242
- property :is_executable, as: 'isExecutable'
1243
- property :name, as: 'name'
1244
- end
1245
- end
1246
-
1247
- class GoogleDevtoolsRemoteexecutionV1testLogFile
1248
- # @private
1249
- class Representation < Google::Apis::Core::JsonRepresentation
1250
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
1251
-
1252
- property :human_readable, as: 'humanReadable'
1253
- end
1254
- end
1255
-
1256
- class GoogleDevtoolsRemoteexecutionV1testOutputDirectory
1257
- # @private
1258
- class Representation < Google::Apis::Core::JsonRepresentation
1259
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
1260
-
1261
- property :path, as: 'path'
1262
- property :tree_digest, as: 'treeDigest', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
1263
-
1264
- end
1265
- end
1266
-
1267
- class GoogleDevtoolsRemoteexecutionV1testOutputFile
1268
- # @private
1269
- class Representation < Google::Apis::Core::JsonRepresentation
1270
- property :content, :base64 => true, as: 'content'
1271
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
1272
-
1273
- property :is_executable, as: 'isExecutable'
1274
- property :path, as: 'path'
1275
- end
1276
- end
1277
-
1278
- class GoogleDevtoolsRemoteexecutionV1testRequestMetadata
1279
- # @private
1280
- class Representation < Google::Apis::Core::JsonRepresentation
1281
- property :action_id, as: 'actionId'
1282
- property :correlated_invocations_id, as: 'correlatedInvocationsId'
1283
- property :tool_details, as: 'toolDetails', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testToolDetails, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testToolDetails::Representation
1284
-
1285
- property :tool_invocation_id, as: 'toolInvocationId'
1286
- end
1287
- end
1288
-
1289
- class GoogleDevtoolsRemoteexecutionV1testToolDetails
1290
- # @private
1291
- class Representation < Google::Apis::Core::JsonRepresentation
1292
- property :tool_name, as: 'toolName'
1293
- property :tool_version, as: 'toolVersion'
1294
- end
1295
- end
1296
-
1297
- class GoogleDevtoolsRemoteexecutionV1testTree
1298
- # @private
1299
- class Representation < Google::Apis::Core::JsonRepresentation
1300
- collection :children, as: 'children', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDirectory, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDirectory::Representation
1301
-
1302
- property :root, as: 'root', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDirectory, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDirectory::Representation
1303
-
1304
- end
1305
- end
1306
-
1307
1063
  class GoogleDevtoolsRemoteworkersV1test2AdminTemp
1308
1064
  # @private
1309
1065
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190809'
29
+ REVISION = '20190920'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,19 +22,86 @@ module Google
22
22
  module Apis
23
23
  module RunV1
24
24
 
25
- # The response message for Locations.ListLocations.
26
- class ListLocationsResponse
25
+ # Information for connecting over HTTP(s).
26
+ class Addressable
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # A list of locations that matches the specified filter in the request.
30
- # Corresponds to the JSON property `locations`
31
- # @return [Array<Google::Apis::RunV1::Location>]
32
- attr_accessor :locations
29
+ #
30
+ # Corresponds to the JSON property `url`
31
+ # @return [String]
32
+ attr_accessor :url
33
33
 
34
- # The standard List next-page token.
35
- # Corresponds to the JSON property `nextPageToken`
34
+ def initialize(**args)
35
+ update!(**args)
36
+ end
37
+
38
+ # Update properties of this object
39
+ def update!(**args)
40
+ @url = args[:url] if args.key?(:url)
41
+ end
42
+ end
43
+
44
+ # Specifies the audit configuration for a service.
45
+ # The configuration determines which permission types are logged, and what
46
+ # identities, if any, are exempted from logging.
47
+ # An AuditConfig must have one or more AuditLogConfigs.
48
+ # If there are AuditConfigs for both `allServices` and a specific service,
49
+ # the union of the two AuditConfigs is used for that service: the log_types
50
+ # specified in each AuditConfig are enabled, and the exempted_members in each
51
+ # AuditLogConfig are exempted.
52
+ # Example Policy with multiple AuditConfigs:
53
+ # `
54
+ # "audit_configs": [
55
+ # `
56
+ # "service": "allServices"
57
+ # "audit_log_configs": [
58
+ # `
59
+ # "log_type": "DATA_READ",
60
+ # "exempted_members": [
61
+ # "user:jose@example.com"
62
+ # ]
63
+ # `,
64
+ # `
65
+ # "log_type": "DATA_WRITE",
66
+ # `,
67
+ # `
68
+ # "log_type": "ADMIN_READ",
69
+ # `
70
+ # ]
71
+ # `,
72
+ # `
73
+ # "service": "sampleservice.googleapis.com"
74
+ # "audit_log_configs": [
75
+ # `
76
+ # "log_type": "DATA_READ",
77
+ # `,
78
+ # `
79
+ # "log_type": "DATA_WRITE",
80
+ # "exempted_members": [
81
+ # "user:aliya@example.com"
82
+ # ]
83
+ # `
84
+ # ]
85
+ # `
86
+ # ]
87
+ # `
88
+ # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
89
+ # logging. It also exempts jose@example.com from DATA_READ logging, and
90
+ # aliya@example.com from DATA_WRITE logging.
91
+ class AuditConfig
92
+ include Google::Apis::Core::Hashable
93
+
94
+ # The configuration for logging of each type of permission.
95
+ # Corresponds to the JSON property `auditLogConfigs`
96
+ # @return [Array<Google::Apis::RunV1::AuditLogConfig>]
97
+ attr_accessor :audit_log_configs
98
+
99
+ # Specifies a service that will be enabled for audit logging.
100
+ # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
101
+ # `allServices` is a special value that covers all services.
102
+ # Corresponds to the JSON property `service`
36
103
  # @return [String]
37
- attr_accessor :next_page_token
104
+ attr_accessor :service
38
105
 
39
106
  def initialize(**args)
40
107
  update!(**args)
@@ -42,55 +109,3508 @@ module Google
42
109
 
43
110
  # Update properties of this object
44
111
  def update!(**args)
45
- @locations = args[:locations] if args.key?(:locations)
46
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
112
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
113
+ @service = args[:service] if args.key?(:service)
47
114
  end
48
115
  end
49
116
 
50
- # A resource that represents Google Cloud Platform location.
51
- class Location
117
+ # Provides the configuration for logging a type of permissions.
118
+ # Example:
119
+ # `
120
+ # "audit_log_configs": [
121
+ # `
122
+ # "log_type": "DATA_READ",
123
+ # "exempted_members": [
124
+ # "user:jose@example.com"
125
+ # ]
126
+ # `,
127
+ # `
128
+ # "log_type": "DATA_WRITE",
129
+ # `
130
+ # ]
131
+ # `
132
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
133
+ # jose@example.com from DATA_READ logging.
134
+ class AuditLogConfig
52
135
  include Google::Apis::Core::Hashable
53
136
 
54
- # The friendly name for this location, typically a nearby city name.
55
- # For example, "Tokyo".
56
- # Corresponds to the JSON property `displayName`
137
+ # Specifies the identities that do not cause logging for this type of
138
+ # permission.
139
+ # Follows the same format of Binding.members.
140
+ # Corresponds to the JSON property `exemptedMembers`
141
+ # @return [Array<String>]
142
+ attr_accessor :exempted_members
143
+
144
+ # The log type that this config enables.
145
+ # Corresponds to the JSON property `logType`
57
146
  # @return [String]
58
- attr_accessor :display_name
147
+ attr_accessor :log_type
59
148
 
60
- # Cross-service attributes for the location. For example
61
- # `"cloud.googleapis.com/region": "us-east1"`
62
- # Corresponds to the JSON property `labels`
63
- # @return [Hash<String,String>]
64
- attr_accessor :labels
149
+ def initialize(**args)
150
+ update!(**args)
151
+ end
65
152
 
66
- # The canonical id for this location. For example: `"us-east1"`.
67
- # Corresponds to the JSON property `locationId`
153
+ # Update properties of this object
154
+ def update!(**args)
155
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
156
+ @log_type = args[:log_type] if args.key?(:log_type)
157
+ end
158
+ end
159
+
160
+ # A domain that a user has been authorized to administer. To authorize use
161
+ # of a domain, verify ownership via
162
+ # [Webmaster Central](https://www.google.com/webmasters/verification/home).
163
+ class AuthorizedDomain
164
+ include Google::Apis::Core::Hashable
165
+
166
+ # Relative name of the domain authorized for use. Example: `example.com`.
167
+ # Corresponds to the JSON property `id`
68
168
  # @return [String]
69
- attr_accessor :location_id
169
+ attr_accessor :id
70
170
 
71
- # Service-specific metadata. For example the available capacity at the given
72
- # location.
171
+ # Read only. Full path to the `AuthorizedDomain` resource in the API.
172
+ # Example: `apps/myapp/authorizedDomains/example.com`.
173
+ # Corresponds to the JSON property `name`
174
+ # @return [String]
175
+ attr_accessor :name
176
+
177
+ def initialize(**args)
178
+ update!(**args)
179
+ end
180
+
181
+ # Update properties of this object
182
+ def update!(**args)
183
+ @id = args[:id] if args.key?(:id)
184
+ @name = args[:name] if args.key?(:name)
185
+ end
186
+ end
187
+
188
+ # Resource to hold the state and status of a user's auto domain mapping.
189
+ class AutoDomainMapping
190
+ include Google::Apis::Core::Hashable
191
+
192
+ # The API version for this call such as "serving.knative.dev/v1".
193
+ # Corresponds to the JSON property `apiVersion`
194
+ # @return [String]
195
+ attr_accessor :api_version
196
+
197
+ # The kind of resource, in this case "AutoDomainMapping".
198
+ # Corresponds to the JSON property `kind`
199
+ # @return [String]
200
+ attr_accessor :kind
201
+
202
+ # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
203
+ # persisted resources must have, which includes all objects users must create.
73
204
  # Corresponds to the JSON property `metadata`
74
- # @return [Hash<String,Object>]
205
+ # @return [Google::Apis::RunV1::ObjectMeta]
75
206
  attr_accessor :metadata
76
207
 
77
- # Resource name for the location, which may vary between implementations.
78
- # For example: `"projects/example-project/locations/us-east1"`
208
+ # The desired state of the Auto Domain Mapping.
209
+ # Corresponds to the JSON property `spec`
210
+ # @return [Google::Apis::RunV1::AutoDomainMappingSpec]
211
+ attr_accessor :spec
212
+
213
+ # The current state of the Domain Mapping.
214
+ # Corresponds to the JSON property `status`
215
+ # @return [Google::Apis::RunV1::AutoDomainMappingStatus]
216
+ attr_accessor :status
217
+
218
+ def initialize(**args)
219
+ update!(**args)
220
+ end
221
+
222
+ # Update properties of this object
223
+ def update!(**args)
224
+ @api_version = args[:api_version] if args.key?(:api_version)
225
+ @kind = args[:kind] if args.key?(:kind)
226
+ @metadata = args[:metadata] if args.key?(:metadata)
227
+ @spec = args[:spec] if args.key?(:spec)
228
+ @status = args[:status] if args.key?(:status)
229
+ end
230
+ end
231
+
232
+ # The desired state of the Auto Domain Mapping.
233
+ class AutoDomainMappingSpec
234
+ include Google::Apis::Core::Hashable
235
+
236
+ # The mode of the certificate.
237
+ # Corresponds to the JSON property `certificateMode`
238
+ # @return [String]
239
+ attr_accessor :certificate_mode
240
+
241
+ # The type of expansion for the auto auto domain mapping.
242
+ # Corresponds to the JSON property `expansionType`
243
+ # @return [String]
244
+ attr_accessor :expansion_type
245
+
246
+ # If set, the mapping will override any mapping set before this spec was set.
247
+ # It is recommended that the user leaves this empty to receive an error
248
+ # warning about a potential conflict and only set it once the respective UI
249
+ # has given such a warning.
250
+ # Corresponds to the JSON property `forceOverride`
251
+ # @return [Boolean]
252
+ attr_accessor :force_override
253
+ alias_method :force_override?, :force_override
254
+
255
+ def initialize(**args)
256
+ update!(**args)
257
+ end
258
+
259
+ # Update properties of this object
260
+ def update!(**args)
261
+ @certificate_mode = args[:certificate_mode] if args.key?(:certificate_mode)
262
+ @expansion_type = args[:expansion_type] if args.key?(:expansion_type)
263
+ @force_override = args[:force_override] if args.key?(:force_override)
264
+ end
265
+ end
266
+
267
+ # The current state of the Domain Mapping.
268
+ class AutoDomainMappingStatus
269
+ include Google::Apis::Core::Hashable
270
+
271
+ # Array of observed AutoDomainMappingConditions, indicating the current state
272
+ # of the AutoDomainMapping.
273
+ # Corresponds to the JSON property `conditions`
274
+ # @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
275
+ attr_accessor :conditions
276
+
277
+ # ObservedGeneration is the 'Generation' of the AutoDomainMapping that
278
+ # was last processed by the controller.
279
+ # Clients polling for completed reconciliation should poll until
280
+ # observedGeneration = metadata.generation and the Ready condition's status
281
+ # is True or False.
282
+ # Corresponds to the JSON property `observedGeneration`
283
+ # @return [Fixnum]
284
+ attr_accessor :observed_generation
285
+
286
+ # The resource records required to configure this domain mapping. These
287
+ # records must be added to the domain's DNS configuration in order to
288
+ # serve the application via this domain mapping.
289
+ # Corresponds to the JSON property `resourceRecords`
290
+ # @return [Array<Google::Apis::RunV1::ResourceRecord>]
291
+ attr_accessor :resource_records
292
+
293
+ def initialize(**args)
294
+ update!(**args)
295
+ end
296
+
297
+ # Update properties of this object
298
+ def update!(**args)
299
+ @conditions = args[:conditions] if args.key?(:conditions)
300
+ @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
301
+ @resource_records = args[:resource_records] if args.key?(:resource_records)
302
+ end
303
+ end
304
+
305
+ # Associates `members` with a `role`.
306
+ class Binding
307
+ include Google::Apis::Core::Hashable
308
+
309
+ # Represents an expression text. Example:
310
+ # title: "User account presence"
311
+ # description: "Determines whether the request has a user account"
312
+ # expression: "size(request.user) > 0"
313
+ # Corresponds to the JSON property `condition`
314
+ # @return [Google::Apis::RunV1::Expr]
315
+ attr_accessor :condition
316
+
317
+ # Specifies the identities requesting access for a Cloud Platform resource.
318
+ # `members` can have the following values:
319
+ # * `allUsers`: A special identifier that represents anyone who is
320
+ # on the internet; with or without a Google account.
321
+ # * `allAuthenticatedUsers`: A special identifier that represents anyone
322
+ # who is authenticated with a Google account or a service account.
323
+ # * `user:`emailid``: An email address that represents a specific Google
324
+ # account. For example, `alice@example.com` .
325
+ # * `serviceAccount:`emailid``: An email address that represents a service
326
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`.
327
+ # * `group:`emailid``: An email address that represents a Google group.
328
+ # For example, `admins@example.com`.
329
+ # * `domain:`domain``: The G Suite domain (primary) that represents all the
330
+ # users of that domain. For example, `google.com` or `example.com`.
331
+ # Corresponds to the JSON property `members`
332
+ # @return [Array<String>]
333
+ attr_accessor :members
334
+
335
+ # Role that is assigned to `members`.
336
+ # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
337
+ # Corresponds to the JSON property `role`
338
+ # @return [String]
339
+ attr_accessor :role
340
+
341
+ def initialize(**args)
342
+ update!(**args)
343
+ end
344
+
345
+ # Update properties of this object
346
+ def update!(**args)
347
+ @condition = args[:condition] if args.key?(:condition)
348
+ @members = args[:members] if args.key?(:members)
349
+ @role = args[:role] if args.key?(:role)
350
+ end
351
+ end
352
+
353
+ # Cloud Run fully managed: not supported
354
+ # Cloud Run for Anthos: supported
355
+ # ConfigMapEnvSource selects a ConfigMap to populate the environment
356
+ # variables with.
357
+ # The contents of the target ConfigMap's Data field will represent the
358
+ # key-value pairs as environment variables.
359
+ class ConfigMapEnvSource
360
+ include Google::Apis::Core::Hashable
361
+
362
+ # Cloud Run fully managed: not supported
363
+ # Cloud Run for Anthos: supported
364
+ # LocalObjectReference contains enough information to let you locate the
365
+ # referenced object inside the same namespace.
366
+ # Corresponds to the JSON property `localObjectReference`
367
+ # @return [Google::Apis::RunV1::LocalObjectReference]
368
+ attr_accessor :local_object_reference
369
+
370
+ # Cloud Run fully managed: not supported
371
+ # Cloud Run for Anthos: supported
372
+ # The ConfigMap to select from.
79
373
  # Corresponds to the JSON property `name`
80
374
  # @return [String]
81
375
  attr_accessor :name
82
376
 
377
+ # (Optional)
378
+ # Cloud Run fully managed: not supported
379
+ # Cloud Run for Anthos: supported
380
+ # Specify whether the ConfigMap must be defined
381
+ # Corresponds to the JSON property `optional`
382
+ # @return [Boolean]
383
+ attr_accessor :optional
384
+ alias_method :optional?, :optional
385
+
83
386
  def initialize(**args)
84
387
  update!(**args)
85
388
  end
86
389
 
87
390
  # Update properties of this object
88
391
  def update!(**args)
89
- @display_name = args[:display_name] if args.key?(:display_name)
90
- @labels = args[:labels] if args.key?(:labels)
91
- @location_id = args[:location_id] if args.key?(:location_id)
392
+ @local_object_reference = args[:local_object_reference] if args.key?(:local_object_reference)
393
+ @name = args[:name] if args.key?(:name)
394
+ @optional = args[:optional] if args.key?(:optional)
395
+ end
396
+ end
397
+
398
+ # Cloud Run fully managed: not supported
399
+ # Cloud Run for Anthos: supported
400
+ # Selects a key from a ConfigMap.
401
+ class ConfigMapKeySelector
402
+ include Google::Apis::Core::Hashable
403
+
404
+ # Cloud Run fully managed: not supported
405
+ # Cloud Run for Anthos: supported
406
+ # The key to select.
407
+ # Corresponds to the JSON property `key`
408
+ # @return [String]
409
+ attr_accessor :key
410
+
411
+ # Cloud Run fully managed: not supported
412
+ # Cloud Run for Anthos: supported
413
+ # LocalObjectReference contains enough information to let you locate the
414
+ # referenced object inside the same namespace.
415
+ # Corresponds to the JSON property `localObjectReference`
416
+ # @return [Google::Apis::RunV1::LocalObjectReference]
417
+ attr_accessor :local_object_reference
418
+
419
+ # Cloud Run fully managed: not supported
420
+ # Cloud Run for Anthos: supported
421
+ # The ConfigMap to select from.
422
+ # Corresponds to the JSON property `name`
423
+ # @return [String]
424
+ attr_accessor :name
425
+
426
+ # (Optional)
427
+ # Cloud Run fully managed: not supported
428
+ # Cloud Run for Anthos: supported
429
+ # Specify whether the ConfigMap or its key must be defined
430
+ # Corresponds to the JSON property `optional`
431
+ # @return [Boolean]
432
+ attr_accessor :optional
433
+ alias_method :optional?, :optional
434
+
435
+ def initialize(**args)
436
+ update!(**args)
437
+ end
438
+
439
+ # Update properties of this object
440
+ def update!(**args)
441
+ @key = args[:key] if args.key?(:key)
442
+ @local_object_reference = args[:local_object_reference] if args.key?(:local_object_reference)
443
+ @name = args[:name] if args.key?(:name)
444
+ @optional = args[:optional] if args.key?(:optional)
445
+ end
446
+ end
447
+
448
+ # Cloud Run fully managed: not supported
449
+ # Cloud Run for Anthos: supported
450
+ # Adapts a ConfigMap into a volume.
451
+ # The contents of the target ConfigMap's Data field will be presented in a
452
+ # volume as files using the keys in the Data field as the file names, unless
453
+ # the items element is populated with specific mappings of keys to paths.
454
+ class ConfigMapVolumeSource
455
+ include Google::Apis::Core::Hashable
456
+
457
+ # (Optional)
458
+ # Cloud Run fully managed: not supported
459
+ # Cloud Run for Anthos: supported
460
+ # Mode bits to use on created files by default. Must be a value between 0 and
461
+ # 0777. Defaults to 0644. Directories within the path are not affected by
462
+ # this setting. This might be in conflict with other options that affect the
463
+ # file mode, like fsGroup, and the result can be other mode bits set.
464
+ # Corresponds to the JSON property `defaultMode`
465
+ # @return [Fixnum]
466
+ attr_accessor :default_mode
467
+
468
+ # (Optional)
469
+ # Cloud Run fully managed: not supported
470
+ # Cloud Run for Anthos: supported
471
+ # If unspecified, each key-value pair in the Data field of the referenced
472
+ # Secret will be projected into the volume as a file whose name is the
473
+ # key and content is the value. If specified, the listed keys will be
474
+ # projected into the specified paths, and unlisted keys will not be
475
+ # present. If a key is specified which is not present in the Secret,
476
+ # the volume setup will error unless it is marked optional.
477
+ # Corresponds to the JSON property `items`
478
+ # @return [Array<Google::Apis::RunV1::KeyToPath>]
479
+ attr_accessor :items
480
+
481
+ # Cloud Run fully managed: not supported
482
+ # Cloud Run for Anthos: supported
483
+ # Name of the config.
484
+ # Corresponds to the JSON property `name`
485
+ # @return [String]
486
+ attr_accessor :name
487
+
488
+ # (Optional)
489
+ # Cloud Run fully managed: not supported
490
+ # Cloud Run for Anthos: supported
491
+ # Specify whether the Secret or its keys must be defined.
492
+ # Corresponds to the JSON property `optional`
493
+ # @return [Boolean]
494
+ attr_accessor :optional
495
+ alias_method :optional?, :optional
496
+
497
+ def initialize(**args)
498
+ update!(**args)
499
+ end
500
+
501
+ # Update properties of this object
502
+ def update!(**args)
503
+ @default_mode = args[:default_mode] if args.key?(:default_mode)
504
+ @items = args[:items] if args.key?(:items)
505
+ @name = args[:name] if args.key?(:name)
506
+ @optional = args[:optional] if args.key?(:optional)
507
+ end
508
+ end
509
+
510
+ # Configuration represents the "floating HEAD" of a linear history of
511
+ # Revisions, and optionally how the containers those revisions reference are
512
+ # built. Users create new Revisions by updating the Configuration's spec. The
513
+ # "latest created" revision's name is available under status, as is the "latest
514
+ # ready" revision's name. See also:
515
+ # https://github.com/knative/serving/blob/master/docs/spec/overview.md#
516
+ # configuration
517
+ class Configuration
518
+ include Google::Apis::Core::Hashable
519
+
520
+ # The API version for this call such as "serving.knative.dev/v1".
521
+ # Corresponds to the JSON property `apiVersion`
522
+ # @return [String]
523
+ attr_accessor :api_version
524
+
525
+ # The kind of resource, in this case always "Configuration".
526
+ # Corresponds to the JSON property `kind`
527
+ # @return [String]
528
+ attr_accessor :kind
529
+
530
+ # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
531
+ # persisted resources must have, which includes all objects users must create.
532
+ # Corresponds to the JSON property `metadata`
533
+ # @return [Google::Apis::RunV1::ObjectMeta]
534
+ attr_accessor :metadata
535
+
536
+ # ConfigurationSpec holds the desired state of the Configuration (from the
537
+ # client).
538
+ # Corresponds to the JSON property `spec`
539
+ # @return [Google::Apis::RunV1::ConfigurationSpec]
540
+ attr_accessor :spec
541
+
542
+ # ConfigurationStatus communicates the observed state of the Configuration
543
+ # (from the controller).
544
+ # Corresponds to the JSON property `status`
545
+ # @return [Google::Apis::RunV1::ConfigurationStatus]
546
+ attr_accessor :status
547
+
548
+ def initialize(**args)
549
+ update!(**args)
550
+ end
551
+
552
+ # Update properties of this object
553
+ def update!(**args)
554
+ @api_version = args[:api_version] if args.key?(:api_version)
555
+ @kind = args[:kind] if args.key?(:kind)
92
556
  @metadata = args[:metadata] if args.key?(:metadata)
557
+ @spec = args[:spec] if args.key?(:spec)
558
+ @status = args[:status] if args.key?(:status)
559
+ end
560
+ end
561
+
562
+ # ConfigurationSpec holds the desired state of the Configuration (from the
563
+ # client).
564
+ class ConfigurationSpec
565
+ include Google::Apis::Core::Hashable
566
+
567
+ # RevisionTemplateSpec describes the data a revision should have when created
568
+ # from a template. Based on:
569
+ # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
570
+ # Corresponds to the JSON property `template`
571
+ # @return [Google::Apis::RunV1::RevisionTemplate]
572
+ attr_accessor :template
573
+
574
+ def initialize(**args)
575
+ update!(**args)
576
+ end
577
+
578
+ # Update properties of this object
579
+ def update!(**args)
580
+ @template = args[:template] if args.key?(:template)
581
+ end
582
+ end
583
+
584
+ # ConfigurationStatus communicates the observed state of the Configuration
585
+ # (from the controller).
586
+ class ConfigurationStatus
587
+ include Google::Apis::Core::Hashable
588
+
589
+ # Conditions communicates information about ongoing/complete
590
+ # reconciliation processes that bring the "spec" inline with the observed
591
+ # state of the world.
592
+ # Corresponds to the JSON property `conditions`
593
+ # @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
594
+ attr_accessor :conditions
595
+
596
+ # LatestCreatedRevisionName is the last revision that was created from this
597
+ # Configuration. It might not be ready yet, for that use
598
+ # LatestReadyRevisionName.
599
+ # Corresponds to the JSON property `latestCreatedRevisionName`
600
+ # @return [String]
601
+ attr_accessor :latest_created_revision_name
602
+
603
+ # LatestReadyRevisionName holds the name of the latest Revision stamped out
604
+ # from this Configuration that has had its "Ready" condition become "True".
605
+ # Corresponds to the JSON property `latestReadyRevisionName`
606
+ # @return [String]
607
+ attr_accessor :latest_ready_revision_name
608
+
609
+ # ObservedGeneration is the 'Generation' of the Configuration that
610
+ # was last processed by the controller. The observed generation is updated
611
+ # even if the controller failed to process the spec and create the Revision.
612
+ # Clients polling for completed reconciliation should poll until
613
+ # observedGeneration = metadata.generation, and the Ready condition's status
614
+ # is True or False.
615
+ # Corresponds to the JSON property `observedGeneration`
616
+ # @return [Fixnum]
617
+ attr_accessor :observed_generation
618
+
619
+ def initialize(**args)
620
+ update!(**args)
621
+ end
622
+
623
+ # Update properties of this object
624
+ def update!(**args)
625
+ @conditions = args[:conditions] if args.key?(:conditions)
626
+ @latest_created_revision_name = args[:latest_created_revision_name] if args.key?(:latest_created_revision_name)
627
+ @latest_ready_revision_name = args[:latest_ready_revision_name] if args.key?(:latest_ready_revision_name)
628
+ @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
629
+ end
630
+ end
631
+
632
+ # A single application container.
633
+ # This specifies both the container to run, the command to run in the container
634
+ # and the arguments to supply to it.
635
+ # Note that additional arguments may be supplied by the system to the container
636
+ # at runtime.
637
+ class Container
638
+ include Google::Apis::Core::Hashable
639
+
640
+ # (Optional)
641
+ # Cloud Run fully managed: not supported
642
+ # Cloud Run for Anthos: supported
643
+ # Arguments to the entrypoint.
644
+ # The docker image's CMD is used if this is not provided.
645
+ # Variable references $(VAR_NAME) are expanded using the container's
646
+ # environment. If a variable cannot be resolved, the reference in the input
647
+ # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
648
+ # double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
649
+ # regardless of whether the variable exists or not.
650
+ # Cannot be updated.
651
+ # More info:
652
+ # https://kubernetes.io/docs/tasks/inject-data-application/define-command-
653
+ # argument-container/#running-a-command-in-a-shell
654
+ # Corresponds to the JSON property `args`
655
+ # @return [Array<String>]
656
+ attr_accessor :args
657
+
658
+ #
659
+ # Corresponds to the JSON property `command`
660
+ # @return [Array<String>]
661
+ attr_accessor :command
662
+
663
+ # (Optional)
664
+ # Cloud Run fully managed: supported
665
+ # Cloud Run for Anthos: supported
666
+ # List of environment variables to set in the container.
667
+ # Cannot be updated.
668
+ # Corresponds to the JSON property `env`
669
+ # @return [Array<Google::Apis::RunV1::EnvVar>]
670
+ attr_accessor :env
671
+
672
+ # (Optional)
673
+ # Cloud Run fully managed: not supported
674
+ # Cloud Run for Anthos: supported
675
+ # List of sources to populate environment variables in the container.
676
+ # The keys defined within a source must be a C_IDENTIFIER. All invalid keys
677
+ # will be reported as an event when the container is starting. When a key
678
+ # exists in multiple sources, the value associated with the last source will
679
+ # take precedence. Values defined by an Env with a duplicate key will take
680
+ # precedence. Cannot be updated.
681
+ # Corresponds to the JSON property `envFrom`
682
+ # @return [Array<Google::Apis::RunV1::EnvFromSource>]
683
+ attr_accessor :env_from
684
+
685
+ # Cloud Run fully managed: only supports containers from Google Container
686
+ # Registry
687
+ # Cloud Run for Anthos: supported
688
+ # URL of the Container image.
689
+ # More info: https://kubernetes.io/docs/concepts/containers/images
690
+ # Corresponds to the JSON property `image`
691
+ # @return [String]
692
+ attr_accessor :image
693
+
694
+ # (Optional)
695
+ # Cloud Run fully managed: not supported
696
+ # Cloud Run for Anthos: supported
697
+ # Image pull policy.
698
+ # One of Always, Never, IfNotPresent.
699
+ # Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
700
+ # Cannot be updated.
701
+ # More info:
702
+ # https://kubernetes.io/docs/concepts/containers/images#updating-images
703
+ # Corresponds to the JSON property `imagePullPolicy`
704
+ # @return [String]
705
+ attr_accessor :image_pull_policy
706
+
707
+ # Cloud Run fully managed: not supported
708
+ # Cloud Run for Anthos: supported
709
+ # Probe describes a health check to be performed against a container to
710
+ # determine whether it is alive or ready to receive traffic.
711
+ # Corresponds to the JSON property `livenessProbe`
712
+ # @return [Google::Apis::RunV1::Probe]
713
+ attr_accessor :liveness_probe
714
+
715
+ # (Optional)
716
+ # Name of the container specified as a DNS_LABEL.
717
+ # Corresponds to the JSON property `name`
718
+ # @return [String]
719
+ attr_accessor :name
720
+
721
+ # (Optional)
722
+ # Cloud Run fully managed: not supported
723
+ # Cloud Run for Anthos: supported
724
+ # List of ports to expose from the container. Exposing a port here gives
725
+ # the system additional information about the network connections a
726
+ # container uses, but is primarily informational. Not specifying a port here
727
+ # DOES NOT prevent that port from being exposed. Any port which is
728
+ # listening on the default "0.0.0.0" address inside a container will be
729
+ # accessible from the network.
730
+ # Cannot be updated.
731
+ # Corresponds to the JSON property `ports`
732
+ # @return [Array<Google::Apis::RunV1::ContainerPort>]
733
+ attr_accessor :ports
734
+
735
+ # Cloud Run fully managed: not supported
736
+ # Cloud Run for Anthos: supported
737
+ # Probe describes a health check to be performed against a container to
738
+ # determine whether it is alive or ready to receive traffic.
739
+ # Corresponds to the JSON property `readinessProbe`
740
+ # @return [Google::Apis::RunV1::Probe]
741
+ attr_accessor :readiness_probe
742
+
743
+ # ResourceRequirements describes the compute resource requirements.
744
+ # Corresponds to the JSON property `resources`
745
+ # @return [Google::Apis::RunV1::ResourceRequirements]
746
+ attr_accessor :resources
747
+
748
+ # Cloud Run fully managed: not supported
749
+ # Cloud Run for Anthos: supported
750
+ # SecurityContext holds security configuration that will be applied to a
751
+ # container. Some fields are present in both SecurityContext and
752
+ # PodSecurityContext. When both are set, the values in SecurityContext take
753
+ # precedence.
754
+ # Corresponds to the JSON property `securityContext`
755
+ # @return [Google::Apis::RunV1::SecurityContext]
756
+ attr_accessor :security_context
757
+
758
+ # (Optional)
759
+ # Cloud Run fully managed: not supported
760
+ # Cloud Run for Anthos: supported
761
+ # Path at which the file to which the container's termination
762
+ # message will be written is mounted into the container's filesystem. Message
763
+ # written is intended to be brief final status, such as an assertion failure
764
+ # message. Will be truncated by the node if greater than 4096 bytes. The
765
+ # total message length across all containers will be limited to 12kb.
766
+ # Defaults to /dev/termination-log.
767
+ # Cannot be updated.
768
+ # Corresponds to the JSON property `terminationMessagePath`
769
+ # @return [String]
770
+ attr_accessor :termination_message_path
771
+
772
+ # (Optional)
773
+ # Cloud Run fully managed: not supported
774
+ # Cloud Run for Anthos: supported
775
+ # Indicate how the termination message should be populated. File will use the
776
+ # contents of terminationMessagePath to populate the container status message
777
+ # on both success and failure. FallbackToLogsOnError will use the last chunk
778
+ # of container log output if the termination message file is empty and the
779
+ # container exited with an error. The log output is limited to 2048 bytes or
780
+ # 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
781
+ # Corresponds to the JSON property `terminationMessagePolicy`
782
+ # @return [String]
783
+ attr_accessor :termination_message_policy
784
+
785
+ # (Optional)
786
+ # Cloud Run fully managed: not supported
787
+ # Cloud Run for Anthos: supported
788
+ # Pod volumes to mount into the container's filesystem.
789
+ # Cannot be updated.
790
+ # Corresponds to the JSON property `volumeMounts`
791
+ # @return [Array<Google::Apis::RunV1::VolumeMount>]
792
+ attr_accessor :volume_mounts
793
+
794
+ # (Optional)
795
+ # Cloud Run fully managed: not supported
796
+ # Cloud Run for Anthos: supported
797
+ # Container's working directory.
798
+ # If not specified, the container runtime's default will be used, which
799
+ # might be configured in the container image.
800
+ # Cannot be updated.
801
+ # Corresponds to the JSON property `workingDir`
802
+ # @return [String]
803
+ attr_accessor :working_dir
804
+
805
+ def initialize(**args)
806
+ update!(**args)
807
+ end
808
+
809
+ # Update properties of this object
810
+ def update!(**args)
811
+ @args = args[:args] if args.key?(:args)
812
+ @command = args[:command] if args.key?(:command)
813
+ @env = args[:env] if args.key?(:env)
814
+ @env_from = args[:env_from] if args.key?(:env_from)
815
+ @image = args[:image] if args.key?(:image)
816
+ @image_pull_policy = args[:image_pull_policy] if args.key?(:image_pull_policy)
817
+ @liveness_probe = args[:liveness_probe] if args.key?(:liveness_probe)
818
+ @name = args[:name] if args.key?(:name)
819
+ @ports = args[:ports] if args.key?(:ports)
820
+ @readiness_probe = args[:readiness_probe] if args.key?(:readiness_probe)
821
+ @resources = args[:resources] if args.key?(:resources)
822
+ @security_context = args[:security_context] if args.key?(:security_context)
823
+ @termination_message_path = args[:termination_message_path] if args.key?(:termination_message_path)
824
+ @termination_message_policy = args[:termination_message_policy] if args.key?(:termination_message_policy)
825
+ @volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
826
+ @working_dir = args[:working_dir] if args.key?(:working_dir)
827
+ end
828
+ end
829
+
830
+ # Cloud Run fully managed: not supported
831
+ # Cloud Run for Anthos: supported
832
+ # ContainerPort represents a network port in a single container.
833
+ class ContainerPort
834
+ include Google::Apis::Core::Hashable
835
+
836
+ # (Optional)
837
+ # Cloud Run fully managed: not supported
838
+ # Cloud Run for Anthos: supported
839
+ # Number of port to expose on the pod's IP address.
840
+ # This must be a valid port number, 0 < x < 65536.
841
+ # Corresponds to the JSON property `containerPort`
842
+ # @return [Fixnum]
843
+ attr_accessor :container_port
844
+
845
+ # (Optional)
846
+ # Cloud Run fully managed: not supported
847
+ # Cloud Run for Anthos: supported
848
+ # If specified, used to specify which protocol to use.
849
+ # Allowed values are "http1" and "h2c".
850
+ # Corresponds to the JSON property `name`
851
+ # @return [String]
852
+ attr_accessor :name
853
+
854
+ # (Optional)
855
+ # Cloud Run fully managed: not supported
856
+ # Cloud Run for Anthos: supported
857
+ # Protocol for port. Must be TCP.
858
+ # Defaults to "TCP".
859
+ # Corresponds to the JSON property `protocol`
860
+ # @return [String]
861
+ attr_accessor :protocol
862
+
863
+ def initialize(**args)
864
+ update!(**args)
865
+ end
866
+
867
+ # Update properties of this object
868
+ def update!(**args)
869
+ @container_port = args[:container_port] if args.key?(:container_port)
870
+ @name = args[:name] if args.key?(:name)
871
+ @protocol = args[:protocol] if args.key?(:protocol)
872
+ end
873
+ end
874
+
875
+ # Resource to hold the state and status of a user's domain mapping.
876
+ class DomainMapping
877
+ include Google::Apis::Core::Hashable
878
+
879
+ # The API version for this call such as "domains.cloudrun.com/v1".
880
+ # Corresponds to the JSON property `apiVersion`
881
+ # @return [String]
882
+ attr_accessor :api_version
883
+
884
+ # The kind of resource, in this case "DomainMapping".
885
+ # Corresponds to the JSON property `kind`
886
+ # @return [String]
887
+ attr_accessor :kind
888
+
889
+ # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
890
+ # persisted resources must have, which includes all objects users must create.
891
+ # Corresponds to the JSON property `metadata`
892
+ # @return [Google::Apis::RunV1::ObjectMeta]
893
+ attr_accessor :metadata
894
+
895
+ # The desired state of the Domain Mapping.
896
+ # Corresponds to the JSON property `spec`
897
+ # @return [Google::Apis::RunV1::DomainMappingSpec]
898
+ attr_accessor :spec
899
+
900
+ # The current state of the Domain Mapping.
901
+ # Corresponds to the JSON property `status`
902
+ # @return [Google::Apis::RunV1::DomainMappingStatus]
903
+ attr_accessor :status
904
+
905
+ def initialize(**args)
906
+ update!(**args)
907
+ end
908
+
909
+ # Update properties of this object
910
+ def update!(**args)
911
+ @api_version = args[:api_version] if args.key?(:api_version)
912
+ @kind = args[:kind] if args.key?(:kind)
913
+ @metadata = args[:metadata] if args.key?(:metadata)
914
+ @spec = args[:spec] if args.key?(:spec)
915
+ @status = args[:status] if args.key?(:status)
916
+ end
917
+ end
918
+
919
+ # The desired state of the Domain Mapping.
920
+ class DomainMappingSpec
921
+ include Google::Apis::Core::Hashable
922
+
923
+ # The mode of the certificate.
924
+ # Corresponds to the JSON property `certificateMode`
925
+ # @return [String]
926
+ attr_accessor :certificate_mode
927
+
928
+ # If set, the mapping will override any mapping set before this spec was set.
929
+ # It is recommended that the user leaves this empty to receive an error
930
+ # warning about a potential conflict and only set it once the respective UI
931
+ # has given such a warning.
932
+ # Corresponds to the JSON property `forceOverride`
933
+ # @return [Boolean]
934
+ attr_accessor :force_override
935
+ alias_method :force_override?, :force_override
936
+
937
+ # The name of the Knative Route that this DomainMapping applies to.
938
+ # The route must exist.
939
+ # Corresponds to the JSON property `routeName`
940
+ # @return [String]
941
+ attr_accessor :route_name
942
+
943
+ def initialize(**args)
944
+ update!(**args)
945
+ end
946
+
947
+ # Update properties of this object
948
+ def update!(**args)
949
+ @certificate_mode = args[:certificate_mode] if args.key?(:certificate_mode)
950
+ @force_override = args[:force_override] if args.key?(:force_override)
951
+ @route_name = args[:route_name] if args.key?(:route_name)
952
+ end
953
+ end
954
+
955
+ # The current state of the Domain Mapping.
956
+ class DomainMappingStatus
957
+ include Google::Apis::Core::Hashable
958
+
959
+ # Array of observed DomainMappingConditions, indicating the current state
960
+ # of the DomainMapping.
961
+ # Corresponds to the JSON property `conditions`
962
+ # @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
963
+ attr_accessor :conditions
964
+
965
+ # The name of the route that the mapping currently points to.
966
+ # Corresponds to the JSON property `mappedRouteName`
967
+ # @return [String]
968
+ attr_accessor :mapped_route_name
969
+
970
+ # ObservedGeneration is the 'Generation' of the DomainMapping that
971
+ # was last processed by the controller.
972
+ # Clients polling for completed reconciliation should poll until
973
+ # observedGeneration = metadata.generation and the Ready condition's status
974
+ # is True or False.
975
+ # Corresponds to the JSON property `observedGeneration`
976
+ # @return [Fixnum]
977
+ attr_accessor :observed_generation
978
+
979
+ # The resource records required to configure this domain mapping. These
980
+ # records must be added to the domain's DNS configuration in order to
981
+ # serve the application via this domain mapping.
982
+ # Corresponds to the JSON property `resourceRecords`
983
+ # @return [Array<Google::Apis::RunV1::ResourceRecord>]
984
+ attr_accessor :resource_records
985
+
986
+ def initialize(**args)
987
+ update!(**args)
988
+ end
989
+
990
+ # Update properties of this object
991
+ def update!(**args)
992
+ @conditions = args[:conditions] if args.key?(:conditions)
993
+ @mapped_route_name = args[:mapped_route_name] if args.key?(:mapped_route_name)
994
+ @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
995
+ @resource_records = args[:resource_records] if args.key?(:resource_records)
996
+ end
997
+ end
998
+
999
+ # Cloud Run fully managed: not supported
1000
+ # Cloud Run for Anthos: supported
1001
+ # EnvFromSource represents the source of a set of ConfigMaps
1002
+ class EnvFromSource
1003
+ include Google::Apis::Core::Hashable
1004
+
1005
+ # Cloud Run fully managed: not supported
1006
+ # Cloud Run for Anthos: supported
1007
+ # ConfigMapEnvSource selects a ConfigMap to populate the environment
1008
+ # variables with.
1009
+ # The contents of the target ConfigMap's Data field will represent the
1010
+ # key-value pairs as environment variables.
1011
+ # Corresponds to the JSON property `configMapRef`
1012
+ # @return [Google::Apis::RunV1::ConfigMapEnvSource]
1013
+ attr_accessor :config_map_ref
1014
+
1015
+ # (Optional)
1016
+ # Cloud Run fully managed: not supported
1017
+ # Cloud Run for Anthos: supported
1018
+ # An optional identifier to prepend to each key in the ConfigMap. Must be a
1019
+ # C_IDENTIFIER.
1020
+ # Corresponds to the JSON property `prefix`
1021
+ # @return [String]
1022
+ attr_accessor :prefix
1023
+
1024
+ # Cloud Run fully managed: not supported
1025
+ # Cloud Run for Anthos: supported
1026
+ # SecretEnvSource selects a Secret to populate the environment
1027
+ # variables with.
1028
+ # The contents of the target Secret's Data field will represent the
1029
+ # key-value pairs as environment variables.
1030
+ # Corresponds to the JSON property `secretRef`
1031
+ # @return [Google::Apis::RunV1::SecretEnvSource]
1032
+ attr_accessor :secret_ref
1033
+
1034
+ def initialize(**args)
1035
+ update!(**args)
1036
+ end
1037
+
1038
+ # Update properties of this object
1039
+ def update!(**args)
1040
+ @config_map_ref = args[:config_map_ref] if args.key?(:config_map_ref)
1041
+ @prefix = args[:prefix] if args.key?(:prefix)
1042
+ @secret_ref = args[:secret_ref] if args.key?(:secret_ref)
1043
+ end
1044
+ end
1045
+
1046
+ # EnvVar represents an environment variable present in a Container.
1047
+ class EnvVar
1048
+ include Google::Apis::Core::Hashable
1049
+
1050
+ # Name of the environment variable. Must be a C_IDENTIFIER.
1051
+ # Corresponds to the JSON property `name`
1052
+ # @return [String]
1053
+ attr_accessor :name
1054
+
1055
+ # (Optional)
1056
+ # Variable references $(VAR_NAME) are expanded
1057
+ # using the previous defined environment variables in the container and
1058
+ # any route environment variables. If a variable cannot be resolved,
1059
+ # the reference in the input string will be unchanged. The $(VAR_NAME)
1060
+ # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
1061
+ # references will never be expanded, regardless of whether the variable
1062
+ # exists or not.
1063
+ # Defaults to "".
1064
+ # Corresponds to the JSON property `value`
1065
+ # @return [String]
1066
+ attr_accessor :value
1067
+
1068
+ # Cloud Run fully managed: not supported
1069
+ # Cloud Run for Anthos: supported
1070
+ # EnvVarSource represents a source for the value of an EnvVar.
1071
+ # Corresponds to the JSON property `valueFrom`
1072
+ # @return [Google::Apis::RunV1::EnvVarSource]
1073
+ attr_accessor :value_from
1074
+
1075
+ def initialize(**args)
1076
+ update!(**args)
1077
+ end
1078
+
1079
+ # Update properties of this object
1080
+ def update!(**args)
1081
+ @name = args[:name] if args.key?(:name)
1082
+ @value = args[:value] if args.key?(:value)
1083
+ @value_from = args[:value_from] if args.key?(:value_from)
1084
+ end
1085
+ end
1086
+
1087
+ # Cloud Run fully managed: not supported
1088
+ # Cloud Run for Anthos: supported
1089
+ # EnvVarSource represents a source for the value of an EnvVar.
1090
+ class EnvVarSource
1091
+ include Google::Apis::Core::Hashable
1092
+
1093
+ # Cloud Run fully managed: not supported
1094
+ # Cloud Run for Anthos: supported
1095
+ # Selects a key from a ConfigMap.
1096
+ # Corresponds to the JSON property `configMapKeyRef`
1097
+ # @return [Google::Apis::RunV1::ConfigMapKeySelector]
1098
+ attr_accessor :config_map_key_ref
1099
+
1100
+ # Cloud Run fully managed: not supported
1101
+ # Cloud Run for Anthos: supported
1102
+ # SecretKeySelector selects a key of a Secret.
1103
+ # Corresponds to the JSON property `secretKeyRef`
1104
+ # @return [Google::Apis::RunV1::SecretKeySelector]
1105
+ attr_accessor :secret_key_ref
1106
+
1107
+ def initialize(**args)
1108
+ update!(**args)
1109
+ end
1110
+
1111
+ # Update properties of this object
1112
+ def update!(**args)
1113
+ @config_map_key_ref = args[:config_map_key_ref] if args.key?(:config_map_key_ref)
1114
+ @secret_key_ref = args[:secret_key_ref] if args.key?(:secret_key_ref)
1115
+ end
1116
+ end
1117
+
1118
+ # Cloud Run fully managed: not supported
1119
+ # Cloud Run for Anthos: supported
1120
+ # ExecAction describes a "run in container" action.
1121
+ class ExecAction
1122
+ include Google::Apis::Core::Hashable
1123
+
1124
+ # (Optional)
1125
+ # Cloud Run fully managed: not supported
1126
+ # Cloud Run for Anthos: supported
1127
+ # Command is the command line to execute inside the container, the working
1128
+ # directory for the command is root ('/') in the container's filesystem. The
1129
+ # command is simply exec'd, it is not run inside a shell, so traditional
1130
+ # shell instructions ('|', etc) won't work. To use a shell, you need to
1131
+ # explicitly call out to that shell. Exit status of 0 is treated as
1132
+ # live/healthy and non-zero is unhealthy.
1133
+ # Corresponds to the JSON property `command`
1134
+ # @return [String]
1135
+ attr_accessor :command
1136
+
1137
+ def initialize(**args)
1138
+ update!(**args)
1139
+ end
1140
+
1141
+ # Update properties of this object
1142
+ def update!(**args)
1143
+ @command = args[:command] if args.key?(:command)
1144
+ end
1145
+ end
1146
+
1147
+ # Represents an expression text. Example:
1148
+ # title: "User account presence"
1149
+ # description: "Determines whether the request has a user account"
1150
+ # expression: "size(request.user) > 0"
1151
+ class Expr
1152
+ include Google::Apis::Core::Hashable
1153
+
1154
+ # An optional description of the expression. This is a longer text which
1155
+ # describes the expression, e.g. when hovered over it in a UI.
1156
+ # Corresponds to the JSON property `description`
1157
+ # @return [String]
1158
+ attr_accessor :description
1159
+
1160
+ # Textual representation of an expression in
1161
+ # Common Expression Language syntax.
1162
+ # The application context of the containing message determines which
1163
+ # well-known feature set of CEL is supported.
1164
+ # Corresponds to the JSON property `expression`
1165
+ # @return [String]
1166
+ attr_accessor :expression
1167
+
1168
+ # An optional string indicating the location of the expression for error
1169
+ # reporting, e.g. a file name and a position in the file.
1170
+ # Corresponds to the JSON property `location`
1171
+ # @return [String]
1172
+ attr_accessor :location
1173
+
1174
+ # An optional title for the expression, i.e. a short string describing
1175
+ # its purpose. This can be used e.g. in UIs which allow to enter the
1176
+ # expression.
1177
+ # Corresponds to the JSON property `title`
1178
+ # @return [String]
1179
+ attr_accessor :title
1180
+
1181
+ def initialize(**args)
1182
+ update!(**args)
1183
+ end
1184
+
1185
+ # Update properties of this object
1186
+ def update!(**args)
1187
+ @description = args[:description] if args.key?(:description)
1188
+ @expression = args[:expression] if args.key?(:expression)
1189
+ @location = args[:location] if args.key?(:location)
1190
+ @title = args[:title] if args.key?(:title)
1191
+ end
1192
+ end
1193
+
1194
+ # Condition defines a generic condition for a Resource
1195
+ class GoogleCloudRunV1Condition
1196
+ include Google::Apis::Core::Hashable
1197
+
1198
+ # Optional. Last time the condition transitioned from one status to another.
1199
+ # Corresponds to the JSON property `lastTransitionTime`
1200
+ # @return [String]
1201
+ attr_accessor :last_transition_time
1202
+
1203
+ # Optional. Human readable message indicating details about the current status.
1204
+ # Corresponds to the JSON property `message`
1205
+ # @return [String]
1206
+ attr_accessor :message
1207
+
1208
+ # Optional. One-word CamelCase reason for the condition's last transition.
1209
+ # Corresponds to the JSON property `reason`
1210
+ # @return [String]
1211
+ attr_accessor :reason
1212
+
1213
+ # Optional. How to interpret failures of this condition, one of Error, Warning,
1214
+ # Info
1215
+ # Corresponds to the JSON property `severity`
1216
+ # @return [String]
1217
+ attr_accessor :severity
1218
+
1219
+ # Status of the condition, one of True, False, Unknown.
1220
+ # Corresponds to the JSON property `status`
1221
+ # @return [String]
1222
+ attr_accessor :status
1223
+
1224
+ # type is used to communicate the status of the reconciliation process.
1225
+ # See also:
1226
+ # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-
1227
+ # conditions-and-reporting
1228
+ # Types common to all resources include:
1229
+ # * "Ready": True when the Resource is ready.
1230
+ # Corresponds to the JSON property `type`
1231
+ # @return [String]
1232
+ attr_accessor :type
1233
+
1234
+ def initialize(**args)
1235
+ update!(**args)
1236
+ end
1237
+
1238
+ # Update properties of this object
1239
+ def update!(**args)
1240
+ @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
1241
+ @message = args[:message] if args.key?(:message)
1242
+ @reason = args[:reason] if args.key?(:reason)
1243
+ @severity = args[:severity] if args.key?(:severity)
1244
+ @status = args[:status] if args.key?(:status)
1245
+ @type = args[:type] if args.key?(:type)
1246
+ end
1247
+ end
1248
+
1249
+ # Cloud Run fully managed: not supported
1250
+ # Cloud Run for Anthos: supported
1251
+ # HTTPGetAction describes an action based on HTTP Get requests.
1252
+ class HttpGetAction
1253
+ include Google::Apis::Core::Hashable
1254
+
1255
+ # (Optional)
1256
+ # Cloud Run fully managed: not supported
1257
+ # Cloud Run for Anthos: supported
1258
+ # Host name to connect to, defaults to the pod IP. You probably want to set
1259
+ # "Host" in httpHeaders instead.
1260
+ # Corresponds to the JSON property `host`
1261
+ # @return [String]
1262
+ attr_accessor :host
1263
+
1264
+ # (Optional)
1265
+ # Cloud Run fully managed: not supported
1266
+ # Cloud Run for Anthos: supported
1267
+ # Custom headers to set in the request. HTTP allows repeated headers.
1268
+ # Corresponds to the JSON property `httpHeaders`
1269
+ # @return [Array<Google::Apis::RunV1::HttpHeader>]
1270
+ attr_accessor :http_headers
1271
+
1272
+ # (Optional)
1273
+ # Cloud Run fully managed: not supported
1274
+ # Cloud Run for Anthos: supported
1275
+ # Path to access on the HTTP server.
1276
+ # Corresponds to the JSON property `path`
1277
+ # @return [String]
1278
+ attr_accessor :path
1279
+
1280
+ # (Optional)
1281
+ # Cloud Run fully managed: not supported
1282
+ # Cloud Run for Anthos: supported
1283
+ # Scheme to use for connecting to the host.
1284
+ # Defaults to HTTP.
1285
+ # Corresponds to the JSON property `scheme`
1286
+ # @return [String]
1287
+ attr_accessor :scheme
1288
+
1289
+ def initialize(**args)
1290
+ update!(**args)
1291
+ end
1292
+
1293
+ # Update properties of this object
1294
+ def update!(**args)
1295
+ @host = args[:host] if args.key?(:host)
1296
+ @http_headers = args[:http_headers] if args.key?(:http_headers)
1297
+ @path = args[:path] if args.key?(:path)
1298
+ @scheme = args[:scheme] if args.key?(:scheme)
1299
+ end
1300
+ end
1301
+
1302
+ # Cloud Run fully managed: not supported
1303
+ # Cloud Run for Anthos: supported
1304
+ # HTTPHeader describes a custom header to be used in HTTP probes
1305
+ class HttpHeader
1306
+ include Google::Apis::Core::Hashable
1307
+
1308
+ # Cloud Run fully managed: not supported
1309
+ # Cloud Run for Anthos: supported
1310
+ # The header field name
1311
+ # Corresponds to the JSON property `name`
1312
+ # @return [String]
1313
+ attr_accessor :name
1314
+
1315
+ # Cloud Run fully managed: not supported
1316
+ # Cloud Run for Anthos: supported
1317
+ # The header field value
1318
+ # Corresponds to the JSON property `value`
1319
+ # @return [String]
1320
+ attr_accessor :value
1321
+
1322
+ def initialize(**args)
1323
+ update!(**args)
1324
+ end
1325
+
1326
+ # Update properties of this object
1327
+ def update!(**args)
1328
+ @name = args[:name] if args.key?(:name)
1329
+ @value = args[:value] if args.key?(:value)
1330
+ end
1331
+ end
1332
+
1333
+ # Cloud Run fully managed: not supported
1334
+ # Cloud Run for Anthos: supported
1335
+ # Handler defines a specific action that should be taken
1336
+ class Handler
1337
+ include Google::Apis::Core::Hashable
1338
+
1339
+ # Cloud Run fully managed: not supported
1340
+ # Cloud Run for Anthos: supported
1341
+ # ExecAction describes a "run in container" action.
1342
+ # Corresponds to the JSON property `exec`
1343
+ # @return [Google::Apis::RunV1::ExecAction]
1344
+ attr_accessor :exec
1345
+
1346
+ # Cloud Run fully managed: not supported
1347
+ # Cloud Run for Anthos: supported
1348
+ # HTTPGetAction describes an action based on HTTP Get requests.
1349
+ # Corresponds to the JSON property `httpGet`
1350
+ # @return [Google::Apis::RunV1::HttpGetAction]
1351
+ attr_accessor :http_get
1352
+
1353
+ # Cloud Run fully managed: not supported
1354
+ # Cloud Run for Anthos: supported
1355
+ # TCPSocketAction describes an action based on opening a socket
1356
+ # Corresponds to the JSON property `tcpSocket`
1357
+ # @return [Google::Apis::RunV1::TcpSocketAction]
1358
+ attr_accessor :tcp_socket
1359
+
1360
+ def initialize(**args)
1361
+ update!(**args)
1362
+ end
1363
+
1364
+ # Update properties of this object
1365
+ def update!(**args)
1366
+ @exec = args[:exec] if args.key?(:exec)
1367
+ @http_get = args[:http_get] if args.key?(:http_get)
1368
+ @tcp_socket = args[:tcp_socket] if args.key?(:tcp_socket)
1369
+ end
1370
+ end
1371
+
1372
+ # IntOrString is a type that can hold an int32 or a string. When used in
1373
+ # JSON or YAML marshalling and unmarshalling, it produces or consumes the
1374
+ # inner type. This allows you to have, for example, a JSON field that can
1375
+ # accept a name or number.
1376
+ class IntOrString
1377
+ include Google::Apis::Core::Hashable
1378
+
1379
+ # The int value.
1380
+ # Corresponds to the JSON property `intVal`
1381
+ # @return [Fixnum]
1382
+ attr_accessor :int_val
1383
+
1384
+ # The string value.
1385
+ # Corresponds to the JSON property `strVal`
1386
+ # @return [String]
1387
+ attr_accessor :str_val
1388
+
1389
+ # The type of the value.
1390
+ # Corresponds to the JSON property `type`
1391
+ # @return [Fixnum]
1392
+ attr_accessor :type
1393
+
1394
+ def initialize(**args)
1395
+ update!(**args)
1396
+ end
1397
+
1398
+ # Update properties of this object
1399
+ def update!(**args)
1400
+ @int_val = args[:int_val] if args.key?(:int_val)
1401
+ @str_val = args[:str_val] if args.key?(:str_val)
1402
+ @type = args[:type] if args.key?(:type)
1403
+ end
1404
+ end
1405
+
1406
+ # Cloud Run fully managed: not supported
1407
+ # Cloud Run for Anthos: supported
1408
+ # Maps a string key to a path within a volume.
1409
+ class KeyToPath
1410
+ include Google::Apis::Core::Hashable
1411
+
1412
+ # Cloud Run fully managed: not supported
1413
+ # Cloud Run for Anthos: supported
1414
+ # The key to project.
1415
+ # Corresponds to the JSON property `key`
1416
+ # @return [String]
1417
+ attr_accessor :key
1418
+
1419
+ # (Optional)
1420
+ # Cloud Run fully managed: not supported
1421
+ # Cloud Run for Anthos: supported
1422
+ # Mode bits to use on this file, must be a value between 0 and 0777. If not
1423
+ # specified, the volume defaultMode will be used. This might be in conflict
1424
+ # with other options that affect the file mode, like fsGroup, and the result
1425
+ # can be other mode bits set.
1426
+ # Corresponds to the JSON property `mode`
1427
+ # @return [Fixnum]
1428
+ attr_accessor :mode
1429
+
1430
+ # Cloud Run fully managed: not supported
1431
+ # Cloud Run for Anthos: supported
1432
+ # The relative path of the file to map the key to.
1433
+ # May not be an absolute path.
1434
+ # May not contain the path element '..'.
1435
+ # May not start with the string '..'.
1436
+ # Corresponds to the JSON property `path`
1437
+ # @return [String]
1438
+ attr_accessor :path
1439
+
1440
+ def initialize(**args)
1441
+ update!(**args)
1442
+ end
1443
+
1444
+ # Update properties of this object
1445
+ def update!(**args)
1446
+ @key = args[:key] if args.key?(:key)
1447
+ @mode = args[:mode] if args.key?(:mode)
1448
+ @path = args[:path] if args.key?(:path)
1449
+ end
1450
+ end
1451
+
1452
+ # A list of Authorized Domains.
1453
+ class ListAuthorizedDomainsResponse
1454
+ include Google::Apis::Core::Hashable
1455
+
1456
+ # The authorized domains belonging to the user.
1457
+ # Corresponds to the JSON property `domains`
1458
+ # @return [Array<Google::Apis::RunV1::AuthorizedDomain>]
1459
+ attr_accessor :domains
1460
+
1461
+ # Continuation token for fetching the next page of results.
1462
+ # Corresponds to the JSON property `nextPageToken`
1463
+ # @return [String]
1464
+ attr_accessor :next_page_token
1465
+
1466
+ def initialize(**args)
1467
+ update!(**args)
1468
+ end
1469
+
1470
+ # Update properties of this object
1471
+ def update!(**args)
1472
+ @domains = args[:domains] if args.key?(:domains)
1473
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1474
+ end
1475
+ end
1476
+
1477
+ # ListAutoDomainMappingsResponse is a list of AutoDomainMapping resources.
1478
+ class ListAutoDomainMappingsResponse
1479
+ include Google::Apis::Core::Hashable
1480
+
1481
+ # The API version for this call such as "serving.knative.dev/v1".
1482
+ # Corresponds to the JSON property `apiVersion`
1483
+ # @return [String]
1484
+ attr_accessor :api_version
1485
+
1486
+ # List of AutoDomainMappings.
1487
+ # Corresponds to the JSON property `items`
1488
+ # @return [Array<Google::Apis::RunV1::AutoDomainMapping>]
1489
+ attr_accessor :items
1490
+
1491
+ # The kind of this resource, in this case "AutoDomainMappingList".
1492
+ # Corresponds to the JSON property `kind`
1493
+ # @return [String]
1494
+ attr_accessor :kind
1495
+
1496
+ # ListMeta describes metadata that synthetic resources must have, including
1497
+ # lists and various status objects. A resource may have only one of
1498
+ # `ObjectMeta, ListMeta`.
1499
+ # Corresponds to the JSON property `metadata`
1500
+ # @return [Google::Apis::RunV1::ListMeta]
1501
+ attr_accessor :metadata
1502
+
1503
+ # Locations that could not be reached.
1504
+ # Corresponds to the JSON property `unreachable`
1505
+ # @return [Array<String>]
1506
+ attr_accessor :unreachable
1507
+
1508
+ def initialize(**args)
1509
+ update!(**args)
1510
+ end
1511
+
1512
+ # Update properties of this object
1513
+ def update!(**args)
1514
+ @api_version = args[:api_version] if args.key?(:api_version)
1515
+ @items = args[:items] if args.key?(:items)
1516
+ @kind = args[:kind] if args.key?(:kind)
1517
+ @metadata = args[:metadata] if args.key?(:metadata)
1518
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1519
+ end
1520
+ end
1521
+
1522
+ # ListConfigurationsResponse is a list of Configuration resources.
1523
+ class ListConfigurationsResponse
1524
+ include Google::Apis::Core::Hashable
1525
+
1526
+ # The API version for this call such as "serving.knative.dev/v1".
1527
+ # Corresponds to the JSON property `apiVersion`
1528
+ # @return [String]
1529
+ attr_accessor :api_version
1530
+
1531
+ # List of Configurations.
1532
+ # Corresponds to the JSON property `items`
1533
+ # @return [Array<Google::Apis::RunV1::Configuration>]
1534
+ attr_accessor :items
1535
+
1536
+ # The kind of this resource, in this case "ConfigurationList".
1537
+ # Corresponds to the JSON property `kind`
1538
+ # @return [String]
1539
+ attr_accessor :kind
1540
+
1541
+ # ListMeta describes metadata that synthetic resources must have, including
1542
+ # lists and various status objects. A resource may have only one of
1543
+ # `ObjectMeta, ListMeta`.
1544
+ # Corresponds to the JSON property `metadata`
1545
+ # @return [Google::Apis::RunV1::ListMeta]
1546
+ attr_accessor :metadata
1547
+
1548
+ # Locations that could not be reached.
1549
+ # Corresponds to the JSON property `unreachable`
1550
+ # @return [Array<String>]
1551
+ attr_accessor :unreachable
1552
+
1553
+ def initialize(**args)
1554
+ update!(**args)
1555
+ end
1556
+
1557
+ # Update properties of this object
1558
+ def update!(**args)
1559
+ @api_version = args[:api_version] if args.key?(:api_version)
1560
+ @items = args[:items] if args.key?(:items)
1561
+ @kind = args[:kind] if args.key?(:kind)
1562
+ @metadata = args[:metadata] if args.key?(:metadata)
1563
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1564
+ end
1565
+ end
1566
+
1567
+ # ListDomainMappingsResponse is a list of DomainMapping resources.
1568
+ class ListDomainMappingsResponse
1569
+ include Google::Apis::Core::Hashable
1570
+
1571
+ # The API version for this call such as "domains.cloudrun.com/v1".
1572
+ # Corresponds to the JSON property `apiVersion`
1573
+ # @return [String]
1574
+ attr_accessor :api_version
1575
+
1576
+ # List of DomainMappings.
1577
+ # Corresponds to the JSON property `items`
1578
+ # @return [Array<Google::Apis::RunV1::DomainMapping>]
1579
+ attr_accessor :items
1580
+
1581
+ # The kind of this resource, in this case "DomainMappingList".
1582
+ # Corresponds to the JSON property `kind`
1583
+ # @return [String]
1584
+ attr_accessor :kind
1585
+
1586
+ # ListMeta describes metadata that synthetic resources must have, including
1587
+ # lists and various status objects. A resource may have only one of
1588
+ # `ObjectMeta, ListMeta`.
1589
+ # Corresponds to the JSON property `metadata`
1590
+ # @return [Google::Apis::RunV1::ListMeta]
1591
+ attr_accessor :metadata
1592
+
1593
+ # Locations that could not be reached.
1594
+ # Corresponds to the JSON property `unreachable`
1595
+ # @return [Array<String>]
1596
+ attr_accessor :unreachable
1597
+
1598
+ def initialize(**args)
1599
+ update!(**args)
1600
+ end
1601
+
1602
+ # Update properties of this object
1603
+ def update!(**args)
1604
+ @api_version = args[:api_version] if args.key?(:api_version)
1605
+ @items = args[:items] if args.key?(:items)
1606
+ @kind = args[:kind] if args.key?(:kind)
1607
+ @metadata = args[:metadata] if args.key?(:metadata)
1608
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1609
+ end
1610
+ end
1611
+
1612
+ # The response message for Locations.ListLocations.
1613
+ class ListLocationsResponse
1614
+ include Google::Apis::Core::Hashable
1615
+
1616
+ # A list of locations that matches the specified filter in the request.
1617
+ # Corresponds to the JSON property `locations`
1618
+ # @return [Array<Google::Apis::RunV1::Location>]
1619
+ attr_accessor :locations
1620
+
1621
+ # The standard List next-page token.
1622
+ # Corresponds to the JSON property `nextPageToken`
1623
+ # @return [String]
1624
+ attr_accessor :next_page_token
1625
+
1626
+ def initialize(**args)
1627
+ update!(**args)
1628
+ end
1629
+
1630
+ # Update properties of this object
1631
+ def update!(**args)
1632
+ @locations = args[:locations] if args.key?(:locations)
1633
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1634
+ end
1635
+ end
1636
+
1637
+ # ListMeta describes metadata that synthetic resources must have, including
1638
+ # lists and various status objects. A resource may have only one of
1639
+ # `ObjectMeta, ListMeta`.
1640
+ class ListMeta
1641
+ include Google::Apis::Core::Hashable
1642
+
1643
+ # continue may be set if the user set a limit on the number of items
1644
+ # returned, and indicates that the server has more data available. The value
1645
+ # is opaque and may be used to issue another request to the endpoint that
1646
+ # served this list to retrieve the next set of available objects. Continuing
1647
+ # a list may not be possible if the server configuration has changed or more
1648
+ # than a few minutes have passed. The resourceVersion field returned when
1649
+ # using this continue value will be identical to the value in the first
1650
+ # response.
1651
+ # Corresponds to the JSON property `continue`
1652
+ # @return [String]
1653
+ attr_accessor :continue
1654
+
1655
+ # String that identifies the server's internal version of this object that
1656
+ # can be used by clients to determine when objects have changed. Value must
1657
+ # be treated as opaque by clients and passed unmodified back to the server.
1658
+ # Populated by the system.
1659
+ # Read-only.
1660
+ # More info:
1661
+ # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
1662
+ # control-and-consistency
1663
+ # +optional
1664
+ # Corresponds to the JSON property `resourceVersion`
1665
+ # @return [String]
1666
+ attr_accessor :resource_version
1667
+
1668
+ # SelfLink is a URL representing this object.
1669
+ # Populated by the system.
1670
+ # Read-only.
1671
+ # +optional
1672
+ # Corresponds to the JSON property `selfLink`
1673
+ # @return [String]
1674
+ attr_accessor :self_link
1675
+
1676
+ def initialize(**args)
1677
+ update!(**args)
1678
+ end
1679
+
1680
+ # Update properties of this object
1681
+ def update!(**args)
1682
+ @continue = args[:continue] if args.key?(:continue)
1683
+ @resource_version = args[:resource_version] if args.key?(:resource_version)
1684
+ @self_link = args[:self_link] if args.key?(:self_link)
1685
+ end
1686
+ end
1687
+
1688
+ # ListRevisionsResponse is a list of Revision resources.
1689
+ class ListRevisionsResponse
1690
+ include Google::Apis::Core::Hashable
1691
+
1692
+ # The API version for this call such as "serving.knative.dev/v1".
1693
+ # Corresponds to the JSON property `apiVersion`
1694
+ # @return [String]
1695
+ attr_accessor :api_version
1696
+
1697
+ # List of Revisions.
1698
+ # Corresponds to the JSON property `items`
1699
+ # @return [Array<Google::Apis::RunV1::Revision>]
1700
+ attr_accessor :items
1701
+
1702
+ # The kind of this resource, in this case "RevisionList".
1703
+ # Corresponds to the JSON property `kind`
1704
+ # @return [String]
1705
+ attr_accessor :kind
1706
+
1707
+ # ListMeta describes metadata that synthetic resources must have, including
1708
+ # lists and various status objects. A resource may have only one of
1709
+ # `ObjectMeta, ListMeta`.
1710
+ # Corresponds to the JSON property `metadata`
1711
+ # @return [Google::Apis::RunV1::ListMeta]
1712
+ attr_accessor :metadata
1713
+
1714
+ # Locations that could not be reached.
1715
+ # Corresponds to the JSON property `unreachable`
1716
+ # @return [Array<String>]
1717
+ attr_accessor :unreachable
1718
+
1719
+ def initialize(**args)
1720
+ update!(**args)
1721
+ end
1722
+
1723
+ # Update properties of this object
1724
+ def update!(**args)
1725
+ @api_version = args[:api_version] if args.key?(:api_version)
1726
+ @items = args[:items] if args.key?(:items)
1727
+ @kind = args[:kind] if args.key?(:kind)
1728
+ @metadata = args[:metadata] if args.key?(:metadata)
1729
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1730
+ end
1731
+ end
1732
+
1733
+ # ListRoutesResponse is a list of Route resources.
1734
+ class ListRoutesResponse
1735
+ include Google::Apis::Core::Hashable
1736
+
1737
+ # The API version for this call such as "serving.knative.dev/v1".
1738
+ # Corresponds to the JSON property `apiVersion`
1739
+ # @return [String]
1740
+ attr_accessor :api_version
1741
+
1742
+ # List of Routes.
1743
+ # Corresponds to the JSON property `items`
1744
+ # @return [Array<Google::Apis::RunV1::Route>]
1745
+ attr_accessor :items
1746
+
1747
+ # The kind of this resource, in this case always "RouteList".
1748
+ # Corresponds to the JSON property `kind`
1749
+ # @return [String]
1750
+ attr_accessor :kind
1751
+
1752
+ # ListMeta describes metadata that synthetic resources must have, including
1753
+ # lists and various status objects. A resource may have only one of
1754
+ # `ObjectMeta, ListMeta`.
1755
+ # Corresponds to the JSON property `metadata`
1756
+ # @return [Google::Apis::RunV1::ListMeta]
1757
+ attr_accessor :metadata
1758
+
1759
+ # Locations that could not be reached.
1760
+ # Corresponds to the JSON property `unreachable`
1761
+ # @return [Array<String>]
1762
+ attr_accessor :unreachable
1763
+
1764
+ def initialize(**args)
1765
+ update!(**args)
1766
+ end
1767
+
1768
+ # Update properties of this object
1769
+ def update!(**args)
1770
+ @api_version = args[:api_version] if args.key?(:api_version)
1771
+ @items = args[:items] if args.key?(:items)
1772
+ @kind = args[:kind] if args.key?(:kind)
1773
+ @metadata = args[:metadata] if args.key?(:metadata)
1774
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1775
+ end
1776
+ end
1777
+
1778
+ # A list of Service resources.
1779
+ class ListServicesResponse
1780
+ include Google::Apis::Core::Hashable
1781
+
1782
+ # The API version for this call such as "serving.knative.dev/v1".
1783
+ # Corresponds to the JSON property `apiVersion`
1784
+ # @return [String]
1785
+ attr_accessor :api_version
1786
+
1787
+ # List of Services.
1788
+ # Corresponds to the JSON property `items`
1789
+ # @return [Array<Google::Apis::RunV1::Service>]
1790
+ attr_accessor :items
1791
+
1792
+ # The kind of this resource, in this case "ServiceList".
1793
+ # Corresponds to the JSON property `kind`
1794
+ # @return [String]
1795
+ attr_accessor :kind
1796
+
1797
+ # ListMeta describes metadata that synthetic resources must have, including
1798
+ # lists and various status objects. A resource may have only one of
1799
+ # `ObjectMeta, ListMeta`.
1800
+ # Corresponds to the JSON property `metadata`
1801
+ # @return [Google::Apis::RunV1::ListMeta]
1802
+ attr_accessor :metadata
1803
+
1804
+ # Locations that could not be reached.
1805
+ # Corresponds to the JSON property `unreachable`
1806
+ # @return [Array<String>]
1807
+ attr_accessor :unreachable
1808
+
1809
+ def initialize(**args)
1810
+ update!(**args)
1811
+ end
1812
+
1813
+ # Update properties of this object
1814
+ def update!(**args)
1815
+ @api_version = args[:api_version] if args.key?(:api_version)
1816
+ @items = args[:items] if args.key?(:items)
1817
+ @kind = args[:kind] if args.key?(:kind)
1818
+ @metadata = args[:metadata] if args.key?(:metadata)
1819
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1820
+ end
1821
+ end
1822
+
1823
+ # Cloud Run fully managed: not supported
1824
+ # Cloud Run for Anthos: supported
1825
+ # LocalObjectReference contains enough information to let you locate the
1826
+ # referenced object inside the same namespace.
1827
+ class LocalObjectReference
1828
+ include Google::Apis::Core::Hashable
1829
+
1830
+ # (Optional)
1831
+ # Cloud Run fully managed: not supported
1832
+ # Cloud Run for Anthos: supported
1833
+ # Name of the referent.
1834
+ # More info:
1835
+ # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1836
+ # Corresponds to the JSON property `name`
1837
+ # @return [String]
1838
+ attr_accessor :name
1839
+
1840
+ def initialize(**args)
1841
+ update!(**args)
1842
+ end
1843
+
1844
+ # Update properties of this object
1845
+ def update!(**args)
1846
+ @name = args[:name] if args.key?(:name)
1847
+ end
1848
+ end
1849
+
1850
+ # A resource that represents Google Cloud Platform location.
1851
+ class Location
1852
+ include Google::Apis::Core::Hashable
1853
+
1854
+ # The friendly name for this location, typically a nearby city name.
1855
+ # For example, "Tokyo".
1856
+ # Corresponds to the JSON property `displayName`
1857
+ # @return [String]
1858
+ attr_accessor :display_name
1859
+
1860
+ # Cross-service attributes for the location. For example
1861
+ # `"cloud.googleapis.com/region": "us-east1"`
1862
+ # Corresponds to the JSON property `labels`
1863
+ # @return [Hash<String,String>]
1864
+ attr_accessor :labels
1865
+
1866
+ # The canonical id for this location. For example: `"us-east1"`.
1867
+ # Corresponds to the JSON property `locationId`
1868
+ # @return [String]
1869
+ attr_accessor :location_id
1870
+
1871
+ # Service-specific metadata. For example the available capacity at the given
1872
+ # location.
1873
+ # Corresponds to the JSON property `metadata`
1874
+ # @return [Hash<String,Object>]
1875
+ attr_accessor :metadata
1876
+
1877
+ # Resource name for the location, which may vary between implementations.
1878
+ # For example: `"projects/example-project/locations/us-east1"`
1879
+ # Corresponds to the JSON property `name`
1880
+ # @return [String]
1881
+ attr_accessor :name
1882
+
1883
+ def initialize(**args)
1884
+ update!(**args)
1885
+ end
1886
+
1887
+ # Update properties of this object
1888
+ def update!(**args)
1889
+ @display_name = args[:display_name] if args.key?(:display_name)
1890
+ @labels = args[:labels] if args.key?(:labels)
1891
+ @location_id = args[:location_id] if args.key?(:location_id)
1892
+ @metadata = args[:metadata] if args.key?(:metadata)
1893
+ @name = args[:name] if args.key?(:name)
1894
+ end
1895
+ end
1896
+
1897
+ # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
1898
+ # persisted resources must have, which includes all objects users must create.
1899
+ class ObjectMeta
1900
+ include Google::Apis::Core::Hashable
1901
+
1902
+ # (Optional)
1903
+ # Annotations is an unstructured key value map stored with a resource that
1904
+ # may be set by external tools to store and retrieve arbitrary metadata. They
1905
+ # are not queryable and should be preserved when modifying objects. More
1906
+ # info: http://kubernetes.io/docs/user-guide/annotations
1907
+ # Corresponds to the JSON property `annotations`
1908
+ # @return [Hash<String,String>]
1909
+ attr_accessor :annotations
1910
+
1911
+ # (Optional)
1912
+ # Cloud Run fully managed: not supported
1913
+ # Cloud Run for Anthos: supported
1914
+ # The name of the cluster which the object belongs to.
1915
+ # This is used to distinguish resources with same name and namespace in
1916
+ # different clusters. This field is not set anywhere right now and apiserver
1917
+ # is going to ignore it if set in create or update request.
1918
+ # Corresponds to the JSON property `clusterName`
1919
+ # @return [String]
1920
+ attr_accessor :cluster_name
1921
+
1922
+ # (Optional)
1923
+ # CreationTimestamp is a timestamp representing the server time when this
1924
+ # object was created. It is not guaranteed to be set in happens-before order
1925
+ # across separate operations. Clients may not set this value. It is
1926
+ # represented in RFC3339 form and is in UTC.
1927
+ # Populated by the system.
1928
+ # Read-only.
1929
+ # Null for lists.
1930
+ # More info:
1931
+ # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1932
+ # Corresponds to the JSON property `creationTimestamp`
1933
+ # @return [String]
1934
+ attr_accessor :creation_timestamp
1935
+
1936
+ # (Optional)
1937
+ # Cloud Run fully managed: not supported
1938
+ # Cloud Run for Anthos: supported
1939
+ # Number of seconds allowed for this object to gracefully terminate before
1940
+ # it will be removed from the system. Only set when deletionTimestamp is also
1941
+ # set. May only be shortened. Read-only.
1942
+ # Corresponds to the JSON property `deletionGracePeriodSeconds`
1943
+ # @return [Fixnum]
1944
+ attr_accessor :deletion_grace_period_seconds
1945
+
1946
+ # (Optional)
1947
+ # Cloud Run fully managed: not supported
1948
+ # Cloud Run for Anthos: supported
1949
+ # DeletionTimestamp is RFC 3339 date and time at which this resource will be
1950
+ # deleted. This field is set by the server when a graceful deletion is
1951
+ # requested by the user, and is not directly settable by a client. The
1952
+ # resource is expected to be deleted (no longer visible from resource lists,
1953
+ # and not reachable by name) after the time in this field, once the
1954
+ # finalizers list is empty. As long as the finalizers list contains items,
1955
+ # deletion is blocked. Once the deletionTimestamp is set, this value may not
1956
+ # be unset or be set further into the future, although it may be shortened or
1957
+ # the resource may be deleted prior to this time. For example, a user may
1958
+ # request that a pod is deleted in 30 seconds. The Kubelet will react by
1959
+ # sending a graceful termination signal to the containers in the pod. After
1960
+ # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
1961
+ # to the container and after cleanup, remove the pod from the API. In the
1962
+ # presence of network partitions, this object may still exist after this
1963
+ # timestamp, until an administrator or automated process can determine the
1964
+ # resource is fully terminated.
1965
+ # If not set, graceful deletion of the object has not been requested.
1966
+ # Populated by the system when a graceful deletion is requested.
1967
+ # Read-only.
1968
+ # More info:
1969
+ # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1970
+ # Corresponds to the JSON property `deletionTimestamp`
1971
+ # @return [String]
1972
+ attr_accessor :deletion_timestamp
1973
+
1974
+ # (Optional)
1975
+ # Cloud Run fully managed: not supported
1976
+ # Cloud Run for Anthos: supported
1977
+ # Must be empty before the object is deleted from the registry. Each entry
1978
+ # is an identifier for the responsible component that will remove the entry
1979
+ # from the list. If the deletionTimestamp of the object is non-nil, entries
1980
+ # in this list can only be removed.
1981
+ # +patchStrategy=merge
1982
+ # Corresponds to the JSON property `finalizers`
1983
+ # @return [Array<String>]
1984
+ attr_accessor :finalizers
1985
+
1986
+ # (Optional)
1987
+ # Cloud Run fully managed: not supported
1988
+ # Cloud Run for Anthos: supported
1989
+ # GenerateName is an optional prefix, used by the server, to generate a
1990
+ # unique name ONLY IF the Name field has not been provided. If this field is
1991
+ # used, the name returned to the client will be different than the name
1992
+ # passed. This value will also be combined with a unique suffix. The provided
1993
+ # value has the same validation rules as the Name field, and may be truncated
1994
+ # by the length of the suffix required to make the value unique on the
1995
+ # server.
1996
+ # If this field is specified and the generated name exists, the server will
1997
+ # NOT return a 409 - instead, it will either return 201 Created or 500 with
1998
+ # Reason ServerTimeout indicating a unique name could not be found in the
1999
+ # time allotted, and the client should retry (optionally after the time
2000
+ # indicated in the Retry-After header).
2001
+ # Applied only if Name is not specified.
2002
+ # More info:
2003
+ # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
2004
+ # string generateName = 2;
2005
+ # Corresponds to the JSON property `generateName`
2006
+ # @return [String]
2007
+ attr_accessor :generate_name
2008
+
2009
+ # (Optional)
2010
+ # A sequence number representing a specific generation of the desired state.
2011
+ # Populated by the system. Read-only.
2012
+ # Corresponds to the JSON property `generation`
2013
+ # @return [Fixnum]
2014
+ attr_accessor :generation
2015
+
2016
+ # (Optional)
2017
+ # Map of string keys and values that can be used to organize and categorize
2018
+ # (scope and select) objects. May match selectors of replication controllers
2019
+ # and routes.
2020
+ # More info: http://kubernetes.io/docs/user-guide/labels
2021
+ # Corresponds to the JSON property `labels`
2022
+ # @return [Hash<String,String>]
2023
+ attr_accessor :labels
2024
+
2025
+ # Name must be unique within a namespace, within a Cloud Run region.
2026
+ # Is required when creating
2027
+ # resources, although some resources may allow a client to request the
2028
+ # generation of an appropriate name automatically. Name is primarily intended
2029
+ # for creation idempotence and configuration definition. Cannot be updated.
2030
+ # More info: http://kubernetes.io/docs/user-guide/identifiers#names
2031
+ # +optional
2032
+ # Corresponds to the JSON property `name`
2033
+ # @return [String]
2034
+ attr_accessor :name
2035
+
2036
+ # Namespace defines the space within each name must be unique, within a
2037
+ # Cloud Run region. In Cloud Run the namespace must be equal to either the
2038
+ # project ID or project number.
2039
+ # Corresponds to the JSON property `namespace`
2040
+ # @return [String]
2041
+ attr_accessor :namespace
2042
+
2043
+ # (Optional)
2044
+ # Cloud Run fully managed: not supported
2045
+ # Cloud Run for Anthos: supported
2046
+ # List of objects that own this object. If ALL objects in the list have
2047
+ # been deleted, this object will be garbage collected.
2048
+ # Corresponds to the JSON property `ownerReferences`
2049
+ # @return [Array<Google::Apis::RunV1::OwnerReference>]
2050
+ attr_accessor :owner_references
2051
+
2052
+ # (Optional)
2053
+ # An opaque value that represents the internal version of this object that
2054
+ # can be used by clients to determine when objects have changed. May be used
2055
+ # for optimistic concurrency, change detection, and the watch operation on a
2056
+ # resource or set of resources. Clients must treat these values as opaque and
2057
+ # passed unmodified back to the server. They may only be valid for a
2058
+ # particular resource or set of resources.
2059
+ # Populated by the system.
2060
+ # Read-only.
2061
+ # Value must be treated as opaque by clients and .
2062
+ # More info:
2063
+ # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
2064
+ # control-and-consistency
2065
+ # Corresponds to the JSON property `resourceVersion`
2066
+ # @return [String]
2067
+ attr_accessor :resource_version
2068
+
2069
+ # (Optional)
2070
+ # SelfLink is a URL representing this object.
2071
+ # Populated by the system.
2072
+ # Read-only.
2073
+ # string selfLink = 4;
2074
+ # Corresponds to the JSON property `selfLink`
2075
+ # @return [String]
2076
+ attr_accessor :self_link
2077
+
2078
+ # (Optional)
2079
+ # UID is the unique in time and space value for this object. It is typically
2080
+ # generated by the server on successful creation of a resource and is not
2081
+ # allowed to change on PUT operations.
2082
+ # Populated by the system.
2083
+ # Read-only.
2084
+ # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
2085
+ # Corresponds to the JSON property `uid`
2086
+ # @return [String]
2087
+ attr_accessor :uid
2088
+
2089
+ def initialize(**args)
2090
+ update!(**args)
2091
+ end
2092
+
2093
+ # Update properties of this object
2094
+ def update!(**args)
2095
+ @annotations = args[:annotations] if args.key?(:annotations)
2096
+ @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
2097
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
2098
+ @deletion_grace_period_seconds = args[:deletion_grace_period_seconds] if args.key?(:deletion_grace_period_seconds)
2099
+ @deletion_timestamp = args[:deletion_timestamp] if args.key?(:deletion_timestamp)
2100
+ @finalizers = args[:finalizers] if args.key?(:finalizers)
2101
+ @generate_name = args[:generate_name] if args.key?(:generate_name)
2102
+ @generation = args[:generation] if args.key?(:generation)
2103
+ @labels = args[:labels] if args.key?(:labels)
2104
+ @name = args[:name] if args.key?(:name)
2105
+ @namespace = args[:namespace] if args.key?(:namespace)
2106
+ @owner_references = args[:owner_references] if args.key?(:owner_references)
2107
+ @resource_version = args[:resource_version] if args.key?(:resource_version)
2108
+ @self_link = args[:self_link] if args.key?(:self_link)
2109
+ @uid = args[:uid] if args.key?(:uid)
2110
+ end
2111
+ end
2112
+
2113
+ # OwnerReference contains enough information to let you identify an owning
2114
+ # object. Currently, an owning object must be in the same namespace, so there
2115
+ # is no namespace field.
2116
+ class OwnerReference
2117
+ include Google::Apis::Core::Hashable
2118
+
2119
+ # API version of the referent.
2120
+ # Corresponds to the JSON property `apiVersion`
2121
+ # @return [String]
2122
+ attr_accessor :api_version
2123
+
2124
+ # If true, AND if the owner has the "foregroundDeletion" finalizer, then
2125
+ # the owner cannot be deleted from the key-value store until this
2126
+ # reference is removed.
2127
+ # Defaults to false.
2128
+ # To set this field, a user needs "delete" permission of the owner,
2129
+ # otherwise 422 (Unprocessable Entity) will be returned.
2130
+ # +optional
2131
+ # Corresponds to the JSON property `blockOwnerDeletion`
2132
+ # @return [Boolean]
2133
+ attr_accessor :block_owner_deletion
2134
+ alias_method :block_owner_deletion?, :block_owner_deletion
2135
+
2136
+ # If true, this reference points to the managing controller.
2137
+ # +optional
2138
+ # Corresponds to the JSON property `controller`
2139
+ # @return [Boolean]
2140
+ attr_accessor :controller
2141
+ alias_method :controller?, :controller
2142
+
2143
+ # Kind of the referent.
2144
+ # More info:
2145
+ # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
2146
+ # Corresponds to the JSON property `kind`
2147
+ # @return [String]
2148
+ attr_accessor :kind
2149
+
2150
+ # Name of the referent.
2151
+ # More info: http://kubernetes.io/docs/user-guide/identifiers#names
2152
+ # Corresponds to the JSON property `name`
2153
+ # @return [String]
2154
+ attr_accessor :name
2155
+
2156
+ # UID of the referent.
2157
+ # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
2158
+ # Corresponds to the JSON property `uid`
2159
+ # @return [String]
2160
+ attr_accessor :uid
2161
+
2162
+ def initialize(**args)
2163
+ update!(**args)
2164
+ end
2165
+
2166
+ # Update properties of this object
2167
+ def update!(**args)
2168
+ @api_version = args[:api_version] if args.key?(:api_version)
2169
+ @block_owner_deletion = args[:block_owner_deletion] if args.key?(:block_owner_deletion)
2170
+ @controller = args[:controller] if args.key?(:controller)
2171
+ @kind = args[:kind] if args.key?(:kind)
2172
+ @name = args[:name] if args.key?(:name)
2173
+ @uid = args[:uid] if args.key?(:uid)
2174
+ end
2175
+ end
2176
+
2177
+ # Defines an Identity and Access Management (IAM) policy. It is used to
2178
+ # specify access control policies for Cloud Platform resources.
2179
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2180
+ # `members` to a single `role`. Members can be user accounts, service accounts,
2181
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
2182
+ # permissions (defined by IAM or configured by users). A `binding` can
2183
+ # optionally specify a `condition`, which is a logic expression that further
2184
+ # constrains the role binding based on attributes about the request and/or
2185
+ # target resource.
2186
+ # **JSON Example**
2187
+ # `
2188
+ # "bindings": [
2189
+ # `
2190
+ # "role": "role/resourcemanager.organizationAdmin",
2191
+ # "members": [
2192
+ # "user:mike@example.com",
2193
+ # "group:admins@example.com",
2194
+ # "domain:google.com",
2195
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
2196
+ # ]
2197
+ # `,
2198
+ # `
2199
+ # "role": "roles/resourcemanager.organizationViewer",
2200
+ # "members": ["user:eve@example.com"],
2201
+ # "condition": `
2202
+ # "title": "expirable access",
2203
+ # "description": "Does not grant access after Sep 2020",
2204
+ # "expression": "request.time <
2205
+ # timestamp('2020-10-01T00:00:00.000Z')",
2206
+ # `
2207
+ # `
2208
+ # ]
2209
+ # `
2210
+ # **YAML Example**
2211
+ # bindings:
2212
+ # - members:
2213
+ # - user:mike@example.com
2214
+ # - group:admins@example.com
2215
+ # - domain:google.com
2216
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
2217
+ # role: roles/resourcemanager.organizationAdmin
2218
+ # - members:
2219
+ # - user:eve@example.com
2220
+ # role: roles/resourcemanager.organizationViewer
2221
+ # condition:
2222
+ # title: expirable access
2223
+ # description: Does not grant access after Sep 2020
2224
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2225
+ # For a description of IAM and its features, see the
2226
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
2227
+ class Policy
2228
+ include Google::Apis::Core::Hashable
2229
+
2230
+ # Specifies cloud audit logging configuration for this policy.
2231
+ # Corresponds to the JSON property `auditConfigs`
2232
+ # @return [Array<Google::Apis::RunV1::AuditConfig>]
2233
+ attr_accessor :audit_configs
2234
+
2235
+ # Associates a list of `members` to a `role`. Optionally may specify a
2236
+ # `condition` that determines when binding is in effect.
2237
+ # `bindings` with no members will result in an error.
2238
+ # Corresponds to the JSON property `bindings`
2239
+ # @return [Array<Google::Apis::RunV1::Binding>]
2240
+ attr_accessor :bindings
2241
+
2242
+ # `etag` is used for optimistic concurrency control as a way to help
2243
+ # prevent simultaneous updates of a policy from overwriting each other.
2244
+ # It is strongly suggested that systems make use of the `etag` in the
2245
+ # read-modify-write cycle to perform policy updates in order to avoid race
2246
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
2247
+ # systems are expected to put that etag in the request to `setIamPolicy` to
2248
+ # ensure that their change will be applied to the same version of the policy.
2249
+ # If no `etag` is provided in the call to `setIamPolicy`, then the existing
2250
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
2251
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
2252
+ # does not meet the version requirements.
2253
+ # Corresponds to the JSON property `etag`
2254
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2255
+ # @return [String]
2256
+ attr_accessor :etag
2257
+
2258
+ # Specifies the format of the policy.
2259
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2260
+ # rejected.
2261
+ # Operations affecting conditional bindings must specify version 3. This can
2262
+ # be either setting a conditional policy, modifying a conditional binding,
2263
+ # or removing a conditional binding from the stored conditional policy.
2264
+ # Operations on non-conditional policies may specify any valid value or
2265
+ # leave the field unset.
2266
+ # If no etag is provided in the call to `setIamPolicy`, any version
2267
+ # compliance checks on the incoming and/or stored policy is skipped.
2268
+ # Corresponds to the JSON property `version`
2269
+ # @return [Fixnum]
2270
+ attr_accessor :version
2271
+
2272
+ def initialize(**args)
2273
+ update!(**args)
2274
+ end
2275
+
2276
+ # Update properties of this object
2277
+ def update!(**args)
2278
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
2279
+ @bindings = args[:bindings] if args.key?(:bindings)
2280
+ @etag = args[:etag] if args.key?(:etag)
2281
+ @version = args[:version] if args.key?(:version)
2282
+ end
2283
+ end
2284
+
2285
+ # Cloud Run fully managed: not supported
2286
+ # Cloud Run for Anthos: supported
2287
+ # Probe describes a health check to be performed against a container to
2288
+ # determine whether it is alive or ready to receive traffic.
2289
+ class Probe
2290
+ include Google::Apis::Core::Hashable
2291
+
2292
+ # (Optional)
2293
+ # Cloud Run fully managed: not supported
2294
+ # Cloud Run for Anthos: supported
2295
+ # Minimum consecutive failures for the probe to be considered failed after
2296
+ # having succeeded. Defaults to 3. Minimum value is 1.
2297
+ # Corresponds to the JSON property `failureThreshold`
2298
+ # @return [Fixnum]
2299
+ attr_accessor :failure_threshold
2300
+
2301
+ # Cloud Run fully managed: not supported
2302
+ # Cloud Run for Anthos: supported
2303
+ # Handler defines a specific action that should be taken
2304
+ # Corresponds to the JSON property `handler`
2305
+ # @return [Google::Apis::RunV1::Handler]
2306
+ attr_accessor :handler
2307
+
2308
+ # (Optional)
2309
+ # Cloud Run fully managed: not supported
2310
+ # Cloud Run for Anthos: supported
2311
+ # Number of seconds after the container has started before liveness probes
2312
+ # are initiated. More info:
2313
+ # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
2314
+ # probes
2315
+ # Corresponds to the JSON property `initialDelaySeconds`
2316
+ # @return [Fixnum]
2317
+ attr_accessor :initial_delay_seconds
2318
+
2319
+ # (Optional)
2320
+ # Cloud Run fully managed: not supported
2321
+ # Cloud Run for Anthos: supported
2322
+ # How often (in seconds) to perform the probe.
2323
+ # Default to 10 seconds. Minimum value is 1.
2324
+ # Corresponds to the JSON property `periodSeconds`
2325
+ # @return [Fixnum]
2326
+ attr_accessor :period_seconds
2327
+
2328
+ # (Optional)
2329
+ # Cloud Run fully managed: not supported
2330
+ # Cloud Run for Anthos: supported
2331
+ # Minimum consecutive successes for the probe to be considered successful
2332
+ # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
2333
+ # is 1.
2334
+ # Corresponds to the JSON property `successThreshold`
2335
+ # @return [Fixnum]
2336
+ attr_accessor :success_threshold
2337
+
2338
+ # (Optional)
2339
+ # Cloud Run fully managed: not supported
2340
+ # Cloud Run for Anthos: supported
2341
+ # Number of seconds after which the probe times out.
2342
+ # Defaults to 1 second. Minimum value is 1.
2343
+ # More info:
2344
+ # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
2345
+ # probes
2346
+ # Corresponds to the JSON property `timeoutSeconds`
2347
+ # @return [Fixnum]
2348
+ attr_accessor :timeout_seconds
2349
+
2350
+ def initialize(**args)
2351
+ update!(**args)
2352
+ end
2353
+
2354
+ # Update properties of this object
2355
+ def update!(**args)
2356
+ @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
2357
+ @handler = args[:handler] if args.key?(:handler)
2358
+ @initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
2359
+ @period_seconds = args[:period_seconds] if args.key?(:period_seconds)
2360
+ @success_threshold = args[:success_threshold] if args.key?(:success_threshold)
2361
+ @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
2362
+ end
2363
+ end
2364
+
2365
+ # A DNS resource record.
2366
+ class ResourceRecord
2367
+ include Google::Apis::Core::Hashable
2368
+
2369
+ # Relative name of the object affected by this record. Only applicable for
2370
+ # `CNAME` records. Example: 'www'.
2371
+ # Corresponds to the JSON property `name`
2372
+ # @return [String]
2373
+ attr_accessor :name
2374
+
2375
+ # Data for this record. Values vary by record type, as defined in RFC 1035
2376
+ # (section 5) and RFC 1034 (section 3.6.1).
2377
+ # Corresponds to the JSON property `rrdata`
2378
+ # @return [String]
2379
+ attr_accessor :rrdata
2380
+
2381
+ # Resource record type. Example: `AAAA`.
2382
+ # Corresponds to the JSON property `type`
2383
+ # @return [String]
2384
+ attr_accessor :type
2385
+
2386
+ def initialize(**args)
2387
+ update!(**args)
2388
+ end
2389
+
2390
+ # Update properties of this object
2391
+ def update!(**args)
2392
+ @name = args[:name] if args.key?(:name)
2393
+ @rrdata = args[:rrdata] if args.key?(:rrdata)
2394
+ @type = args[:type] if args.key?(:type)
2395
+ end
2396
+ end
2397
+
2398
+ # ResourceRequirements describes the compute resource requirements.
2399
+ class ResourceRequirements
2400
+ include Google::Apis::Core::Hashable
2401
+
2402
+ # (Optional)
2403
+ # Cloud Run fully managed: Only memory is supported
2404
+ # Cloud Run for Anthos: supported
2405
+ # Limits describes the maximum amount of compute resources allowed.
2406
+ # The values of the map is string form of the 'quantity' k8s type:
2407
+ # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/
2408
+ # apimachinery/pkg/api/resource/quantity.go
2409
+ # Corresponds to the JSON property `limits`
2410
+ # @return [Hash<String,String>]
2411
+ attr_accessor :limits
2412
+
2413
+ # (Optional)
2414
+ # Cloud Run fully managed: not supported
2415
+ # Cloud Run for Anthos: supported
2416
+ # Requests describes the minimum amount of compute resources required.
2417
+ # If Requests is omitted for a container, it defaults to Limits if that is
2418
+ # explicitly specified, otherwise to an implementation-defined value.
2419
+ # The values of the map is string form of the 'quantity' k8s type:
2420
+ # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/
2421
+ # apimachinery/pkg/api/resource/quantity.go
2422
+ # Corresponds to the JSON property `requests`
2423
+ # @return [Hash<String,String>]
2424
+ attr_accessor :requests
2425
+
2426
+ def initialize(**args)
2427
+ update!(**args)
2428
+ end
2429
+
2430
+ # Update properties of this object
2431
+ def update!(**args)
2432
+ @limits = args[:limits] if args.key?(:limits)
2433
+ @requests = args[:requests] if args.key?(:requests)
2434
+ end
2435
+ end
2436
+
2437
+ # Revision is an immutable snapshot of code and configuration. A revision
2438
+ # references a container image. Revisions are created by updates to a
2439
+ # Configuration.
2440
+ # See also:
2441
+ # https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision
2442
+ class Revision
2443
+ include Google::Apis::Core::Hashable
2444
+
2445
+ # The API version for this call such as "serving.knative.dev/v1".
2446
+ # Corresponds to the JSON property `apiVersion`
2447
+ # @return [String]
2448
+ attr_accessor :api_version
2449
+
2450
+ # The kind of this resource, in this case "Revision".
2451
+ # Corresponds to the JSON property `kind`
2452
+ # @return [String]
2453
+ attr_accessor :kind
2454
+
2455
+ # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
2456
+ # persisted resources must have, which includes all objects users must create.
2457
+ # Corresponds to the JSON property `metadata`
2458
+ # @return [Google::Apis::RunV1::ObjectMeta]
2459
+ attr_accessor :metadata
2460
+
2461
+ # RevisionSpec holds the desired state of the Revision (from the client).
2462
+ # Corresponds to the JSON property `spec`
2463
+ # @return [Google::Apis::RunV1::RevisionSpec]
2464
+ attr_accessor :spec
2465
+
2466
+ # RevisionStatus communicates the observed state of the Revision (from the
2467
+ # controller).
2468
+ # Corresponds to the JSON property `status`
2469
+ # @return [Google::Apis::RunV1::RevisionStatus]
2470
+ attr_accessor :status
2471
+
2472
+ def initialize(**args)
2473
+ update!(**args)
2474
+ end
2475
+
2476
+ # Update properties of this object
2477
+ def update!(**args)
2478
+ @api_version = args[:api_version] if args.key?(:api_version)
2479
+ @kind = args[:kind] if args.key?(:kind)
2480
+ @metadata = args[:metadata] if args.key?(:metadata)
2481
+ @spec = args[:spec] if args.key?(:spec)
2482
+ @status = args[:status] if args.key?(:status)
2483
+ end
2484
+ end
2485
+
2486
+ # RevisionSpec holds the desired state of the Revision (from the client).
2487
+ class RevisionSpec
2488
+ include Google::Apis::Core::Hashable
2489
+
2490
+ # (Optional)
2491
+ # ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
2492
+ # requests per container instance of the Revision.
2493
+ # Cloud Run fully managed: supported, defaults to 80
2494
+ # Cloud Run for Anthos: supported, defaults to 0, which means concurrency
2495
+ # to the application is not limited, and the system decides the
2496
+ # target concurrency for the autoscaler.
2497
+ # Corresponds to the JSON property `containerConcurrency`
2498
+ # @return [Fixnum]
2499
+ attr_accessor :container_concurrency
2500
+
2501
+ # Containers holds the single container that defines the unit of execution
2502
+ # for this Revision. In the context of a Revision, we disallow a number of
2503
+ # fields on this Container, including: name and lifecycle.
2504
+ # In Cloud Run, only a single container may be provided.
2505
+ # The runtime contract is documented here:
2506
+ # https://github.com/knative/serving/blob/master/docs/runtime-contract.md
2507
+ # Corresponds to the JSON property `containers`
2508
+ # @return [Array<Google::Apis::RunV1::Container>]
2509
+ attr_accessor :containers
2510
+
2511
+ # Email address of the IAM service account associated with the revision
2512
+ # of the service. The service account represents the identity of the
2513
+ # running revision, and determines what permissions the revision has. If
2514
+ # not provided, the revision will use the project's default service account.
2515
+ # Corresponds to the JSON property `serviceAccountName`
2516
+ # @return [String]
2517
+ attr_accessor :service_account_name
2518
+
2519
+ # TimeoutSeconds holds the max duration the instance is allowed for
2520
+ # responding to a request.
2521
+ # Not currently used by Cloud Run.
2522
+ # Corresponds to the JSON property `timeoutSeconds`
2523
+ # @return [Fixnum]
2524
+ attr_accessor :timeout_seconds
2525
+
2526
+ #
2527
+ # Corresponds to the JSON property `volumes`
2528
+ # @return [Array<Google::Apis::RunV1::Volume>]
2529
+ attr_accessor :volumes
2530
+
2531
+ def initialize(**args)
2532
+ update!(**args)
2533
+ end
2534
+
2535
+ # Update properties of this object
2536
+ def update!(**args)
2537
+ @container_concurrency = args[:container_concurrency] if args.key?(:container_concurrency)
2538
+ @containers = args[:containers] if args.key?(:containers)
2539
+ @service_account_name = args[:service_account_name] if args.key?(:service_account_name)
2540
+ @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
2541
+ @volumes = args[:volumes] if args.key?(:volumes)
2542
+ end
2543
+ end
2544
+
2545
+ # RevisionStatus communicates the observed state of the Revision (from the
2546
+ # controller).
2547
+ class RevisionStatus
2548
+ include Google::Apis::Core::Hashable
2549
+
2550
+ # Conditions communicates information about ongoing/complete
2551
+ # reconciliation processes that bring the "spec" inline with the observed
2552
+ # state of the world.
2553
+ # As a Revision is being prepared, it will incrementally
2554
+ # update conditions. Revision-specific conditions include:
2555
+ # * "ResourcesAvailable": True when underlying resources have been
2556
+ # provisioned.
2557
+ # * "ContainerHealthy": True when the Revision readiness check completes.
2558
+ # * "Active": True when the Revision may receive traffic.
2559
+ # Corresponds to the JSON property `conditions`
2560
+ # @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
2561
+ attr_accessor :conditions
2562
+
2563
+ # ImageDigest holds the resolved digest for the image specified
2564
+ # within .Spec.Container.Image. The digest is resolved during the creation
2565
+ # of Revision. This field holds the digest value regardless of whether
2566
+ # a tag or digest was originally specified in the Container object.
2567
+ # Corresponds to the JSON property `imageDigest`
2568
+ # @return [String]
2569
+ attr_accessor :image_digest
2570
+
2571
+ # Specifies the generated logging url for this particular revision
2572
+ # based on the revision url template specified in the controller's config.
2573
+ # +optional
2574
+ # Corresponds to the JSON property `logUrl`
2575
+ # @return [String]
2576
+ attr_accessor :log_url
2577
+
2578
+ # ObservedGeneration is the 'Generation' of the Revision that
2579
+ # was last processed by the controller.
2580
+ # Clients polling for completed reconciliation should poll until
2581
+ # observedGeneration = metadata.generation, and the Ready condition's status
2582
+ # is True or False.
2583
+ # Corresponds to the JSON property `observedGeneration`
2584
+ # @return [Fixnum]
2585
+ attr_accessor :observed_generation
2586
+
2587
+ # Not currently used by Cloud Run.
2588
+ # Corresponds to the JSON property `serviceName`
2589
+ # @return [String]
2590
+ attr_accessor :service_name
2591
+
2592
+ def initialize(**args)
2593
+ update!(**args)
2594
+ end
2595
+
2596
+ # Update properties of this object
2597
+ def update!(**args)
2598
+ @conditions = args[:conditions] if args.key?(:conditions)
2599
+ @image_digest = args[:image_digest] if args.key?(:image_digest)
2600
+ @log_url = args[:log_url] if args.key?(:log_url)
2601
+ @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
2602
+ @service_name = args[:service_name] if args.key?(:service_name)
2603
+ end
2604
+ end
2605
+
2606
+ # RevisionTemplateSpec describes the data a revision should have when created
2607
+ # from a template. Based on:
2608
+ # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
2609
+ class RevisionTemplate
2610
+ include Google::Apis::Core::Hashable
2611
+
2612
+ # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
2613
+ # persisted resources must have, which includes all objects users must create.
2614
+ # Corresponds to the JSON property `metadata`
2615
+ # @return [Google::Apis::RunV1::ObjectMeta]
2616
+ attr_accessor :metadata
2617
+
2618
+ # RevisionSpec holds the desired state of the Revision (from the client).
2619
+ # Corresponds to the JSON property `spec`
2620
+ # @return [Google::Apis::RunV1::RevisionSpec]
2621
+ attr_accessor :spec
2622
+
2623
+ def initialize(**args)
2624
+ update!(**args)
2625
+ end
2626
+
2627
+ # Update properties of this object
2628
+ def update!(**args)
2629
+ @metadata = args[:metadata] if args.key?(:metadata)
2630
+ @spec = args[:spec] if args.key?(:spec)
2631
+ end
2632
+ end
2633
+
2634
+ # Route is responsible for configuring ingress over a collection of Revisions.
2635
+ # Some of the Revisions a Route distributes traffic over may be specified by
2636
+ # referencing the Configuration responsible for creating them; in these cases
2637
+ # the Route is additionally responsible for monitoring the Configuration for
2638
+ # "latest ready" revision changes, and smoothly rolling out latest revisions.
2639
+ # See also:
2640
+ # https://github.com/knative/serving/blob/master/docs/spec/overview.md#route
2641
+ # Cloud Run currently supports referencing a single Configuration to
2642
+ # automatically deploy the "latest ready" Revision from that Configuration.
2643
+ class Route
2644
+ include Google::Apis::Core::Hashable
2645
+
2646
+ # The API version for this call such as "serving.knative.dev/v1".
2647
+ # Corresponds to the JSON property `apiVersion`
2648
+ # @return [String]
2649
+ attr_accessor :api_version
2650
+
2651
+ # The kind of this resource, in this case always "Route".
2652
+ # Corresponds to the JSON property `kind`
2653
+ # @return [String]
2654
+ attr_accessor :kind
2655
+
2656
+ # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
2657
+ # persisted resources must have, which includes all objects users must create.
2658
+ # Corresponds to the JSON property `metadata`
2659
+ # @return [Google::Apis::RunV1::ObjectMeta]
2660
+ attr_accessor :metadata
2661
+
2662
+ # RouteSpec holds the desired state of the Route (from the client).
2663
+ # Corresponds to the JSON property `spec`
2664
+ # @return [Google::Apis::RunV1::RouteSpec]
2665
+ attr_accessor :spec
2666
+
2667
+ # RouteStatus communicates the observed state of the Route (from the
2668
+ # controller).
2669
+ # Corresponds to the JSON property `status`
2670
+ # @return [Google::Apis::RunV1::RouteStatus]
2671
+ attr_accessor :status
2672
+
2673
+ def initialize(**args)
2674
+ update!(**args)
2675
+ end
2676
+
2677
+ # Update properties of this object
2678
+ def update!(**args)
2679
+ @api_version = args[:api_version] if args.key?(:api_version)
2680
+ @kind = args[:kind] if args.key?(:kind)
2681
+ @metadata = args[:metadata] if args.key?(:metadata)
2682
+ @spec = args[:spec] if args.key?(:spec)
2683
+ @status = args[:status] if args.key?(:status)
2684
+ end
2685
+ end
2686
+
2687
+ # RouteSpec holds the desired state of the Route (from the client).
2688
+ class RouteSpec
2689
+ include Google::Apis::Core::Hashable
2690
+
2691
+ # Traffic specifies how to distribute traffic over a collection of Knative
2692
+ # Revisions and Configurations.
2693
+ # Cloud Run currently supports a single configurationName.
2694
+ # Corresponds to the JSON property `traffic`
2695
+ # @return [Array<Google::Apis::RunV1::TrafficTarget>]
2696
+ attr_accessor :traffic
2697
+
2698
+ def initialize(**args)
2699
+ update!(**args)
2700
+ end
2701
+
2702
+ # Update properties of this object
2703
+ def update!(**args)
2704
+ @traffic = args[:traffic] if args.key?(:traffic)
2705
+ end
2706
+ end
2707
+
2708
+ # RouteStatus communicates the observed state of the Route (from the
2709
+ # controller).
2710
+ class RouteStatus
2711
+ include Google::Apis::Core::Hashable
2712
+
2713
+ # Information for connecting over HTTP(s).
2714
+ # Corresponds to the JSON property `address`
2715
+ # @return [Google::Apis::RunV1::Addressable]
2716
+ attr_accessor :address
2717
+
2718
+ # Conditions communicates information about ongoing/complete
2719
+ # reconciliation processes that bring the "spec" inline with the observed
2720
+ # state of the world.
2721
+ # Corresponds to the JSON property `conditions`
2722
+ # @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
2723
+ attr_accessor :conditions
2724
+
2725
+ # ObservedGeneration is the 'Generation' of the Route that
2726
+ # was last processed by the controller.
2727
+ # Clients polling for completed reconciliation should poll until
2728
+ # observedGeneration = metadata.generation and the Ready condition's status
2729
+ # is True or False.
2730
+ # Note that providing a trafficTarget that only has a configurationName will
2731
+ # result in a Route that does not increment either its metadata.generation or
2732
+ # its observedGeneration, as new "latest ready" revisions from the
2733
+ # Configuration are processed without an update to the Route's spec.
2734
+ # Corresponds to the JSON property `observedGeneration`
2735
+ # @return [Fixnum]
2736
+ attr_accessor :observed_generation
2737
+
2738
+ # Traffic holds the configured traffic distribution.
2739
+ # These entries will always contain RevisionName references.
2740
+ # When ConfigurationName appears in the spec, this will hold the
2741
+ # LatestReadyRevisionName that we last observed.
2742
+ # Corresponds to the JSON property `traffic`
2743
+ # @return [Array<Google::Apis::RunV1::TrafficTarget>]
2744
+ attr_accessor :traffic
2745
+
2746
+ # URL holds the url that will distribute traffic over the provided traffic
2747
+ # targets. It generally has the form:
2748
+ # https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app
2749
+ # Corresponds to the JSON property `url`
2750
+ # @return [String]
2751
+ attr_accessor :url
2752
+
2753
+ def initialize(**args)
2754
+ update!(**args)
2755
+ end
2756
+
2757
+ # Update properties of this object
2758
+ def update!(**args)
2759
+ @address = args[:address] if args.key?(:address)
2760
+ @conditions = args[:conditions] if args.key?(:conditions)
2761
+ @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
2762
+ @traffic = args[:traffic] if args.key?(:traffic)
2763
+ @url = args[:url] if args.key?(:url)
2764
+ end
2765
+ end
2766
+
2767
+ # Cloud Run fully managed: not supported
2768
+ # Cloud Run for Anthos: supported
2769
+ # SecretEnvSource selects a Secret to populate the environment
2770
+ # variables with.
2771
+ # The contents of the target Secret's Data field will represent the
2772
+ # key-value pairs as environment variables.
2773
+ class SecretEnvSource
2774
+ include Google::Apis::Core::Hashable
2775
+
2776
+ # Cloud Run fully managed: not supported
2777
+ # Cloud Run for Anthos: supported
2778
+ # LocalObjectReference contains enough information to let you locate the
2779
+ # referenced object inside the same namespace.
2780
+ # Corresponds to the JSON property `localObjectReference`
2781
+ # @return [Google::Apis::RunV1::LocalObjectReference]
2782
+ attr_accessor :local_object_reference
2783
+
2784
+ # Cloud Run fully managed: not supported
2785
+ # Cloud Run for Anthos: supported
2786
+ # The Secret to select from.
2787
+ # Corresponds to the JSON property `name`
2788
+ # @return [String]
2789
+ attr_accessor :name
2790
+
2791
+ # (Optional)
2792
+ # Cloud Run fully managed: not supported
2793
+ # Cloud Run for Anthos: supported
2794
+ # Specify whether the Secret must be defined
2795
+ # Corresponds to the JSON property `optional`
2796
+ # @return [Boolean]
2797
+ attr_accessor :optional
2798
+ alias_method :optional?, :optional
2799
+
2800
+ def initialize(**args)
2801
+ update!(**args)
2802
+ end
2803
+
2804
+ # Update properties of this object
2805
+ def update!(**args)
2806
+ @local_object_reference = args[:local_object_reference] if args.key?(:local_object_reference)
2807
+ @name = args[:name] if args.key?(:name)
2808
+ @optional = args[:optional] if args.key?(:optional)
2809
+ end
2810
+ end
2811
+
2812
+ # Cloud Run fully managed: not supported
2813
+ # Cloud Run for Anthos: supported
2814
+ # SecretKeySelector selects a key of a Secret.
2815
+ class SecretKeySelector
2816
+ include Google::Apis::Core::Hashable
2817
+
2818
+ # Cloud Run fully managed: not supported
2819
+ # Cloud Run for Anthos: supported
2820
+ # The key of the secret to select from. Must be a valid secret key.
2821
+ # Corresponds to the JSON property `key`
2822
+ # @return [String]
2823
+ attr_accessor :key
2824
+
2825
+ # Cloud Run fully managed: not supported
2826
+ # Cloud Run for Anthos: supported
2827
+ # LocalObjectReference contains enough information to let you locate the
2828
+ # referenced object inside the same namespace.
2829
+ # Corresponds to the JSON property `localObjectReference`
2830
+ # @return [Google::Apis::RunV1::LocalObjectReference]
2831
+ attr_accessor :local_object_reference
2832
+
2833
+ # Cloud Run fully managed: not supported
2834
+ # Cloud Run for Anthos: supported
2835
+ # The name of the secret in the pod's namespace to select from.
2836
+ # Corresponds to the JSON property `name`
2837
+ # @return [String]
2838
+ attr_accessor :name
2839
+
2840
+ # (Optional)
2841
+ # Cloud Run fully managed: not supported
2842
+ # Cloud Run for Anthos: supported
2843
+ # Specify whether the Secret or its key must be defined
2844
+ # Corresponds to the JSON property `optional`
2845
+ # @return [Boolean]
2846
+ attr_accessor :optional
2847
+ alias_method :optional?, :optional
2848
+
2849
+ def initialize(**args)
2850
+ update!(**args)
2851
+ end
2852
+
2853
+ # Update properties of this object
2854
+ def update!(**args)
2855
+ @key = args[:key] if args.key?(:key)
2856
+ @local_object_reference = args[:local_object_reference] if args.key?(:local_object_reference)
2857
+ @name = args[:name] if args.key?(:name)
2858
+ @optional = args[:optional] if args.key?(:optional)
2859
+ end
2860
+ end
2861
+
2862
+ # Cloud Run fully managed: not supported
2863
+ # Cloud Run for Anthos: supported
2864
+ # The contents of the target Secret's Data field will be presented in a volume
2865
+ # as files using the keys in the Data field as the file names.
2866
+ class SecretVolumeSource
2867
+ include Google::Apis::Core::Hashable
2868
+
2869
+ # (Optional)
2870
+ # Cloud Run fully managed: not supported
2871
+ # Cloud Run for Anthos: supported
2872
+ # Mode bits to use on created files by default. Must be a value between 0 and
2873
+ # 0777. Defaults to 0644. Directories within the path are not affected by
2874
+ # this setting. This might be in conflict with other options that affect the
2875
+ # file mode, like fsGroup, and the result can be other mode bits set.
2876
+ # Corresponds to the JSON property `defaultMode`
2877
+ # @return [Fixnum]
2878
+ attr_accessor :default_mode
2879
+
2880
+ # (Optional)
2881
+ # Cloud Run fully managed: not supported
2882
+ # Cloud Run for Anthos: supported
2883
+ # If unspecified, each key-value pair in the Data field of the referenced
2884
+ # Secret will be projected into the volume as a file whose name is the
2885
+ # key and content is the value. If specified, the listed keys will be
2886
+ # projected into the specified paths, and unlisted keys will not be
2887
+ # present. If a key is specified which is not present in the Secret,
2888
+ # the volume setup will error unless it is marked optional.
2889
+ # Corresponds to the JSON property `items`
2890
+ # @return [Array<Google::Apis::RunV1::KeyToPath>]
2891
+ attr_accessor :items
2892
+
2893
+ # (Optional)
2894
+ # Cloud Run fully managed: not supported
2895
+ # Cloud Run for Anthos: supported
2896
+ # Specify whether the Secret or its keys must be defined.
2897
+ # Corresponds to the JSON property `optional`
2898
+ # @return [Boolean]
2899
+ attr_accessor :optional
2900
+ alias_method :optional?, :optional
2901
+
2902
+ # Cloud Run fully managed: not supported
2903
+ # Cloud Run for Anthos: supported
2904
+ # Name of the secret in the container's namespace to use.
2905
+ # Corresponds to the JSON property `secretName`
2906
+ # @return [String]
2907
+ attr_accessor :secret_name
2908
+
2909
+ def initialize(**args)
2910
+ update!(**args)
2911
+ end
2912
+
2913
+ # Update properties of this object
2914
+ def update!(**args)
2915
+ @default_mode = args[:default_mode] if args.key?(:default_mode)
2916
+ @items = args[:items] if args.key?(:items)
2917
+ @optional = args[:optional] if args.key?(:optional)
2918
+ @secret_name = args[:secret_name] if args.key?(:secret_name)
2919
+ end
2920
+ end
2921
+
2922
+ # Cloud Run fully managed: not supported
2923
+ # Cloud Run for Anthos: supported
2924
+ # SecurityContext holds security configuration that will be applied to a
2925
+ # container. Some fields are present in both SecurityContext and
2926
+ # PodSecurityContext. When both are set, the values in SecurityContext take
2927
+ # precedence.
2928
+ class SecurityContext
2929
+ include Google::Apis::Core::Hashable
2930
+
2931
+ # (Optional)
2932
+ # Cloud Run fully managed: not supported
2933
+ # Cloud Run for Anthos: supported
2934
+ # The UID to run the entrypoint of the container process.
2935
+ # Defaults to user specified in image metadata if unspecified.
2936
+ # May also be set in PodSecurityContext. If set in both SecurityContext and
2937
+ # PodSecurityContext, the value specified in SecurityContext takes
2938
+ # precedence.
2939
+ # Corresponds to the JSON property `runAsUser`
2940
+ # @return [Fixnum]
2941
+ attr_accessor :run_as_user
2942
+
2943
+ def initialize(**args)
2944
+ update!(**args)
2945
+ end
2946
+
2947
+ # Update properties of this object
2948
+ def update!(**args)
2949
+ @run_as_user = args[:run_as_user] if args.key?(:run_as_user)
2950
+ end
2951
+ end
2952
+
2953
+ # Service acts as a top-level container that manages a set of Routes and
2954
+ # Configurations which implement a network service. Service exists to provide a
2955
+ # singular abstraction which can be access controlled, reasoned about, and
2956
+ # which encapsulates software lifecycle decisions such as rollout policy and
2957
+ # team resource ownership. Service acts only as an orchestrator of the
2958
+ # underlying Routes and Configurations (much as a kubernetes Deployment
2959
+ # orchestrates ReplicaSets).
2960
+ # The Service's controller will track the statuses of its owned Configuration
2961
+ # and Route, reflecting their statuses and conditions as its own.
2962
+ # See also:
2963
+ # https://github.com/knative/serving/blob/master/docs/spec/overview.md#service
2964
+ class Service
2965
+ include Google::Apis::Core::Hashable
2966
+
2967
+ # The API version for this call such as "serving.knative.dev/v1".
2968
+ # Corresponds to the JSON property `apiVersion`
2969
+ # @return [String]
2970
+ attr_accessor :api_version
2971
+
2972
+ # The kind of resource, in this case "Service".
2973
+ # Corresponds to the JSON property `kind`
2974
+ # @return [String]
2975
+ attr_accessor :kind
2976
+
2977
+ # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
2978
+ # persisted resources must have, which includes all objects users must create.
2979
+ # Corresponds to the JSON property `metadata`
2980
+ # @return [Google::Apis::RunV1::ObjectMeta]
2981
+ attr_accessor :metadata
2982
+
2983
+ # ServiceSpec holds the desired state of the Route (from the client), which
2984
+ # is used to manipulate the underlying Route and Configuration(s).
2985
+ # Corresponds to the JSON property `spec`
2986
+ # @return [Google::Apis::RunV1::ServiceSpec]
2987
+ attr_accessor :spec
2988
+
2989
+ # The current state of the Service. Output only.
2990
+ # Corresponds to the JSON property `status`
2991
+ # @return [Google::Apis::RunV1::ServiceStatus]
2992
+ attr_accessor :status
2993
+
2994
+ def initialize(**args)
2995
+ update!(**args)
2996
+ end
2997
+
2998
+ # Update properties of this object
2999
+ def update!(**args)
3000
+ @api_version = args[:api_version] if args.key?(:api_version)
3001
+ @kind = args[:kind] if args.key?(:kind)
3002
+ @metadata = args[:metadata] if args.key?(:metadata)
3003
+ @spec = args[:spec] if args.key?(:spec)
3004
+ @status = args[:status] if args.key?(:status)
3005
+ end
3006
+ end
3007
+
3008
+ # ServiceSpec holds the desired state of the Route (from the client), which
3009
+ # is used to manipulate the underlying Route and Configuration(s).
3010
+ class ServiceSpec
3011
+ include Google::Apis::Core::Hashable
3012
+
3013
+ # RevisionTemplateSpec describes the data a revision should have when created
3014
+ # from a template. Based on:
3015
+ # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
3016
+ # Corresponds to the JSON property `template`
3017
+ # @return [Google::Apis::RunV1::RevisionTemplate]
3018
+ attr_accessor :template
3019
+
3020
+ # Traffic specifies how to distribute traffic over a collection of Knative
3021
+ # Revisions and Configurations.
3022
+ # Corresponds to the JSON property `traffic`
3023
+ # @return [Array<Google::Apis::RunV1::TrafficTarget>]
3024
+ attr_accessor :traffic
3025
+
3026
+ def initialize(**args)
3027
+ update!(**args)
3028
+ end
3029
+
3030
+ # Update properties of this object
3031
+ def update!(**args)
3032
+ @template = args[:template] if args.key?(:template)
3033
+ @traffic = args[:traffic] if args.key?(:traffic)
3034
+ end
3035
+ end
3036
+
3037
+ # The current state of the Service. Output only.
3038
+ class ServiceStatus
3039
+ include Google::Apis::Core::Hashable
3040
+
3041
+ # Information for connecting over HTTP(s).
3042
+ # Corresponds to the JSON property `address`
3043
+ # @return [Google::Apis::RunV1::Addressable]
3044
+ attr_accessor :address
3045
+
3046
+ # Conditions communicates information about ongoing/complete
3047
+ # reconciliation processes that bring the "spec" inline with the observed
3048
+ # state of the world.
3049
+ # Service-specific conditions include:
3050
+ # * "ConfigurationsReady": true when the underlying Configuration is ready.
3051
+ # * "RoutesReady": true when the underlying Route is ready.
3052
+ # * "Ready": true when both the underlying Route and Configuration are
3053
+ # ready.
3054
+ # Corresponds to the JSON property `conditions`
3055
+ # @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
3056
+ attr_accessor :conditions
3057
+
3058
+ # From ConfigurationStatus.
3059
+ # LatestCreatedRevisionName is the last revision that was created from this
3060
+ # Service's Configuration. It might not be ready yet, for that use
3061
+ # LatestReadyRevisionName.
3062
+ # Corresponds to the JSON property `latestCreatedRevisionName`
3063
+ # @return [String]
3064
+ attr_accessor :latest_created_revision_name
3065
+
3066
+ # From ConfigurationStatus.
3067
+ # LatestReadyRevisionName holds the name of the latest Revision stamped out
3068
+ # from this Service's Configuration that has had its "Ready" condition become
3069
+ # "True".
3070
+ # Corresponds to the JSON property `latestReadyRevisionName`
3071
+ # @return [String]
3072
+ attr_accessor :latest_ready_revision_name
3073
+
3074
+ # ObservedGeneration is the 'Generation' of the Route that
3075
+ # was last processed by the controller.
3076
+ # Clients polling for completed reconciliation should poll until
3077
+ # observedGeneration = metadata.generation and the Ready condition's status
3078
+ # is True or False.
3079
+ # Corresponds to the JSON property `observedGeneration`
3080
+ # @return [Fixnum]
3081
+ attr_accessor :observed_generation
3082
+
3083
+ # From RouteStatus.
3084
+ # Traffic holds the configured traffic distribution.
3085
+ # These entries will always contain RevisionName references.
3086
+ # When ConfigurationName appears in the spec, this will hold the
3087
+ # LatestReadyRevisionName that we last observed.
3088
+ # Corresponds to the JSON property `traffic`
3089
+ # @return [Array<Google::Apis::RunV1::TrafficTarget>]
3090
+ attr_accessor :traffic
3091
+
3092
+ # From RouteStatus.
3093
+ # URL holds the url that will distribute traffic over the provided traffic
3094
+ # targets. It generally has the form
3095
+ # https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app
3096
+ # Corresponds to the JSON property `url`
3097
+ # @return [String]
3098
+ attr_accessor :url
3099
+
3100
+ def initialize(**args)
3101
+ update!(**args)
3102
+ end
3103
+
3104
+ # Update properties of this object
3105
+ def update!(**args)
3106
+ @address = args[:address] if args.key?(:address)
3107
+ @conditions = args[:conditions] if args.key?(:conditions)
3108
+ @latest_created_revision_name = args[:latest_created_revision_name] if args.key?(:latest_created_revision_name)
3109
+ @latest_ready_revision_name = args[:latest_ready_revision_name] if args.key?(:latest_ready_revision_name)
3110
+ @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
3111
+ @traffic = args[:traffic] if args.key?(:traffic)
3112
+ @url = args[:url] if args.key?(:url)
3113
+ end
3114
+ end
3115
+
3116
+ # Request message for `SetIamPolicy` method.
3117
+ class SetIamPolicyRequest
3118
+ include Google::Apis::Core::Hashable
3119
+
3120
+ # Defines an Identity and Access Management (IAM) policy. It is used to
3121
+ # specify access control policies for Cloud Platform resources.
3122
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
3123
+ # `members` to a single `role`. Members can be user accounts, service accounts,
3124
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
3125
+ # permissions (defined by IAM or configured by users). A `binding` can
3126
+ # optionally specify a `condition`, which is a logic expression that further
3127
+ # constrains the role binding based on attributes about the request and/or
3128
+ # target resource.
3129
+ # **JSON Example**
3130
+ # `
3131
+ # "bindings": [
3132
+ # `
3133
+ # "role": "role/resourcemanager.organizationAdmin",
3134
+ # "members": [
3135
+ # "user:mike@example.com",
3136
+ # "group:admins@example.com",
3137
+ # "domain:google.com",
3138
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
3139
+ # ]
3140
+ # `,
3141
+ # `
3142
+ # "role": "roles/resourcemanager.organizationViewer",
3143
+ # "members": ["user:eve@example.com"],
3144
+ # "condition": `
3145
+ # "title": "expirable access",
3146
+ # "description": "Does not grant access after Sep 2020",
3147
+ # "expression": "request.time <
3148
+ # timestamp('2020-10-01T00:00:00.000Z')",
3149
+ # `
3150
+ # `
3151
+ # ]
3152
+ # `
3153
+ # **YAML Example**
3154
+ # bindings:
3155
+ # - members:
3156
+ # - user:mike@example.com
3157
+ # - group:admins@example.com
3158
+ # - domain:google.com
3159
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
3160
+ # role: roles/resourcemanager.organizationAdmin
3161
+ # - members:
3162
+ # - user:eve@example.com
3163
+ # role: roles/resourcemanager.organizationViewer
3164
+ # condition:
3165
+ # title: expirable access
3166
+ # description: Does not grant access after Sep 2020
3167
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
3168
+ # For a description of IAM and its features, see the
3169
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
3170
+ # Corresponds to the JSON property `policy`
3171
+ # @return [Google::Apis::RunV1::Policy]
3172
+ attr_accessor :policy
3173
+
3174
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
3175
+ # the fields in the mask will be modified. If no mask is provided, the
3176
+ # following default mask is used:
3177
+ # paths: "bindings, etag"
3178
+ # This field is only used by Cloud IAM.
3179
+ # Corresponds to the JSON property `updateMask`
3180
+ # @return [String]
3181
+ attr_accessor :update_mask
3182
+
3183
+ def initialize(**args)
3184
+ update!(**args)
3185
+ end
3186
+
3187
+ # Update properties of this object
3188
+ def update!(**args)
3189
+ @policy = args[:policy] if args.key?(:policy)
3190
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
3191
+ end
3192
+ end
3193
+
3194
+ # Status is a return value for calls that don't return other objects
3195
+ class Status
3196
+ include Google::Apis::Core::Hashable
3197
+
3198
+ # Suggested HTTP return code for this status, 0 if not set.
3199
+ # +optional
3200
+ # Corresponds to the JSON property `code`
3201
+ # @return [Fixnum]
3202
+ attr_accessor :code
3203
+
3204
+ # StatusDetails is a set of additional properties that MAY be set by the
3205
+ # server to provide additional information about a response. The Reason
3206
+ # field of a Status object defines what attributes will be set. Clients
3207
+ # must ignore fields that do not match the defined type of each attribute,
3208
+ # and should assume that any attribute may be empty, invalid, or under
3209
+ # defined.
3210
+ # Corresponds to the JSON property `details`
3211
+ # @return [Google::Apis::RunV1::StatusDetails]
3212
+ attr_accessor :details
3213
+
3214
+ # A human-readable description of the status of this operation.
3215
+ # +optional
3216
+ # Corresponds to the JSON property `message`
3217
+ # @return [String]
3218
+ attr_accessor :message
3219
+
3220
+ # ListMeta describes metadata that synthetic resources must have, including
3221
+ # lists and various status objects. A resource may have only one of
3222
+ # `ObjectMeta, ListMeta`.
3223
+ # Corresponds to the JSON property `metadata`
3224
+ # @return [Google::Apis::RunV1::ListMeta]
3225
+ attr_accessor :metadata
3226
+
3227
+ # A machine-readable description of why this operation is in the
3228
+ # "Failure" status. If this value is empty there
3229
+ # is no information available. A Reason clarifies an HTTP status
3230
+ # code but does not override it.
3231
+ # +optional
3232
+ # Corresponds to the JSON property `reason`
3233
+ # @return [String]
3234
+ attr_accessor :reason
3235
+
3236
+ # Status of the operation.
3237
+ # One of: "Success" or "Failure".
3238
+ # More info:
3239
+ # https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-
3240
+ # status
3241
+ # +optional
3242
+ # Corresponds to the JSON property `status`
3243
+ # @return [String]
3244
+ attr_accessor :status
3245
+
3246
+ def initialize(**args)
3247
+ update!(**args)
3248
+ end
3249
+
3250
+ # Update properties of this object
3251
+ def update!(**args)
3252
+ @code = args[:code] if args.key?(:code)
3253
+ @details = args[:details] if args.key?(:details)
3254
+ @message = args[:message] if args.key?(:message)
3255
+ @metadata = args[:metadata] if args.key?(:metadata)
3256
+ @reason = args[:reason] if args.key?(:reason)
3257
+ @status = args[:status] if args.key?(:status)
3258
+ end
3259
+ end
3260
+
3261
+ # StatusCause provides more information about an api.Status failure, including
3262
+ # cases when multiple errors are encountered.
3263
+ class StatusCause
3264
+ include Google::Apis::Core::Hashable
3265
+
3266
+ # The field of the resource that has caused this error, as named by its JSON
3267
+ # serialization. May include dot and postfix notation for nested attributes.
3268
+ # Arrays are zero-indexed. Fields may appear more than once in an array of
3269
+ # causes due to fields having multiple errors.
3270
+ # Optional.
3271
+ # Examples:
3272
+ # "name" - the field "name" on the current resource
3273
+ # "items[0].name" - the field "name" on the first array entry in "items"
3274
+ # +optional
3275
+ # Corresponds to the JSON property `field`
3276
+ # @return [String]
3277
+ attr_accessor :field
3278
+
3279
+ # A human-readable description of the cause of the error. This field may be
3280
+ # presented as-is to a reader.
3281
+ # +optional
3282
+ # Corresponds to the JSON property `message`
3283
+ # @return [String]
3284
+ attr_accessor :message
3285
+
3286
+ # A machine-readable description of the cause of the error. If this value is
3287
+ # empty there is no information available.
3288
+ # +optional
3289
+ # Corresponds to the JSON property `reason`
3290
+ # @return [String]
3291
+ attr_accessor :reason
3292
+
3293
+ def initialize(**args)
3294
+ update!(**args)
3295
+ end
3296
+
3297
+ # Update properties of this object
3298
+ def update!(**args)
3299
+ @field = args[:field] if args.key?(:field)
3300
+ @message = args[:message] if args.key?(:message)
3301
+ @reason = args[:reason] if args.key?(:reason)
3302
+ end
3303
+ end
3304
+
3305
+ # StatusDetails is a set of additional properties that MAY be set by the
3306
+ # server to provide additional information about a response. The Reason
3307
+ # field of a Status object defines what attributes will be set. Clients
3308
+ # must ignore fields that do not match the defined type of each attribute,
3309
+ # and should assume that any attribute may be empty, invalid, or under
3310
+ # defined.
3311
+ class StatusDetails
3312
+ include Google::Apis::Core::Hashable
3313
+
3314
+ # The Causes array includes more details associated with the StatusReason
3315
+ # failure. Not all StatusReasons may provide detailed causes.
3316
+ # +optional
3317
+ # Corresponds to the JSON property `causes`
3318
+ # @return [Array<Google::Apis::RunV1::StatusCause>]
3319
+ attr_accessor :causes
3320
+
3321
+ # The group attribute of the resource associated with the status
3322
+ # StatusReason. +optional
3323
+ # Corresponds to the JSON property `group`
3324
+ # @return [String]
3325
+ attr_accessor :group
3326
+
3327
+ # The kind attribute of the resource associated with the status StatusReason.
3328
+ # On some operations may differ from the requested resource Kind.
3329
+ # More info:
3330
+ # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
3331
+ # +optional
3332
+ # Corresponds to the JSON property `kind`
3333
+ # @return [String]
3334
+ attr_accessor :kind
3335
+
3336
+ # The name attribute of the resource associated with the status StatusReason
3337
+ # (when there is a single name which can be described).
3338
+ # +optional
3339
+ # Corresponds to the JSON property `name`
3340
+ # @return [String]
3341
+ attr_accessor :name
3342
+
3343
+ # If specified, the time in seconds before the operation should be retried.
3344
+ # Some errors may indicate the client must take an alternate action - for
3345
+ # those errors this field may indicate how long to wait before taking the
3346
+ # alternate action. +optional
3347
+ # Corresponds to the JSON property `retryAfterSeconds`
3348
+ # @return [Fixnum]
3349
+ attr_accessor :retry_after_seconds
3350
+
3351
+ # UID of the resource.
3352
+ # (when there is a single resource which can be described).
3353
+ # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
3354
+ # +optional
3355
+ # Corresponds to the JSON property `uid`
3356
+ # @return [String]
3357
+ attr_accessor :uid
3358
+
3359
+ def initialize(**args)
3360
+ update!(**args)
3361
+ end
3362
+
3363
+ # Update properties of this object
3364
+ def update!(**args)
3365
+ @causes = args[:causes] if args.key?(:causes)
3366
+ @group = args[:group] if args.key?(:group)
3367
+ @kind = args[:kind] if args.key?(:kind)
3368
+ @name = args[:name] if args.key?(:name)
3369
+ @retry_after_seconds = args[:retry_after_seconds] if args.key?(:retry_after_seconds)
3370
+ @uid = args[:uid] if args.key?(:uid)
3371
+ end
3372
+ end
3373
+
3374
+ # Cloud Run fully managed: not supported
3375
+ # Cloud Run for Anthos: supported
3376
+ # TCPSocketAction describes an action based on opening a socket
3377
+ class TcpSocketAction
3378
+ include Google::Apis::Core::Hashable
3379
+
3380
+ # (Optional)
3381
+ # Cloud Run fully managed: not supported
3382
+ # Cloud Run for Anthos: supported
3383
+ # Optional: Host name to connect to, defaults to the pod IP.
3384
+ # Corresponds to the JSON property `host`
3385
+ # @return [String]
3386
+ attr_accessor :host
3387
+
3388
+ # IntOrString is a type that can hold an int32 or a string. When used in
3389
+ # JSON or YAML marshalling and unmarshalling, it produces or consumes the
3390
+ # inner type. This allows you to have, for example, a JSON field that can
3391
+ # accept a name or number.
3392
+ # Corresponds to the JSON property `port`
3393
+ # @return [Google::Apis::RunV1::IntOrString]
3394
+ attr_accessor :port
3395
+
3396
+ def initialize(**args)
3397
+ update!(**args)
3398
+ end
3399
+
3400
+ # Update properties of this object
3401
+ def update!(**args)
3402
+ @host = args[:host] if args.key?(:host)
3403
+ @port = args[:port] if args.key?(:port)
3404
+ end
3405
+ end
3406
+
3407
+ # Request message for `TestIamPermissions` method.
3408
+ class TestIamPermissionsRequest
3409
+ include Google::Apis::Core::Hashable
3410
+
3411
+ # The set of permissions to check for the `resource`. Permissions with
3412
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
3413
+ # information see
3414
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
3415
+ # Corresponds to the JSON property `permissions`
3416
+ # @return [Array<String>]
3417
+ attr_accessor :permissions
3418
+
3419
+ def initialize(**args)
3420
+ update!(**args)
3421
+ end
3422
+
3423
+ # Update properties of this object
3424
+ def update!(**args)
3425
+ @permissions = args[:permissions] if args.key?(:permissions)
3426
+ end
3427
+ end
3428
+
3429
+ # Response message for `TestIamPermissions` method.
3430
+ class TestIamPermissionsResponse
3431
+ include Google::Apis::Core::Hashable
3432
+
3433
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
3434
+ # allowed.
3435
+ # Corresponds to the JSON property `permissions`
3436
+ # @return [Array<String>]
3437
+ attr_accessor :permissions
3438
+
3439
+ def initialize(**args)
3440
+ update!(**args)
3441
+ end
3442
+
3443
+ # Update properties of this object
3444
+ def update!(**args)
3445
+ @permissions = args[:permissions] if args.key?(:permissions)
3446
+ end
3447
+ end
3448
+
3449
+ # TrafficTarget holds a single entry of the routing table for a Route.
3450
+ class TrafficTarget
3451
+ include Google::Apis::Core::Hashable
3452
+
3453
+ # ConfigurationName of a configuration to whose latest revision we will
3454
+ # send this portion of traffic. When the "status.latestReadyRevisionName"
3455
+ # of the referenced configuration changes, we will automatically migrate
3456
+ # traffic from the prior "latest ready" revision to the new one. This field
3457
+ # is never set in Route's status, only its spec. This is mutually exclusive
3458
+ # with RevisionName.
3459
+ # Cloud Run currently supports a single ConfigurationName.
3460
+ # Corresponds to the JSON property `configurationName`
3461
+ # @return [String]
3462
+ attr_accessor :configuration_name
3463
+
3464
+ # LatestRevision may be optionally provided to indicate that the latest
3465
+ # ready Revision of the Configuration should be used for this traffic
3466
+ # target. When provided LatestRevision must be true if RevisionName is
3467
+ # empty; it must be false when RevisionName is non-empty.
3468
+ # +optional
3469
+ # Corresponds to the JSON property `latestRevision`
3470
+ # @return [Boolean]
3471
+ attr_accessor :latest_revision
3472
+ alias_method :latest_revision?, :latest_revision
3473
+
3474
+ # Percent specifies percent of the traffic to this Revision or Configuration.
3475
+ # This defaults to zero if unspecified.
3476
+ # Cloud Run currently requires 100 percent for a single ConfigurationName
3477
+ # TrafficTarget entry.
3478
+ # Corresponds to the JSON property `percent`
3479
+ # @return [Fixnum]
3480
+ attr_accessor :percent
3481
+
3482
+ # RevisionName of a specific revision to which to send this portion of
3483
+ # traffic. This is mutually exclusive with ConfigurationName.
3484
+ # Providing RevisionName in spec is not currently supported by Cloud Run.
3485
+ # Corresponds to the JSON property `revisionName`
3486
+ # @return [String]
3487
+ attr_accessor :revision_name
3488
+
3489
+ # Tag is optionally used to expose a dedicated url for referencing
3490
+ # this target exclusively.
3491
+ # Not currently supported in Cloud Run.
3492
+ # +optional
3493
+ # Corresponds to the JSON property `tag`
3494
+ # @return [String]
3495
+ attr_accessor :tag
3496
+
3497
+ # Output only. URL displays the URL for accessing tagged traffic targets. URL
3498
+ # is displayed in status, and is disallowed on spec. URL must contain a
3499
+ # scheme (e.g. http://) and a hostname, but may not contain anything else
3500
+ # (e.g. basic auth, url path, etc.
3501
+ # Not currently supported in Cloud Run.
3502
+ # Corresponds to the JSON property `url`
3503
+ # @return [String]
3504
+ attr_accessor :url
3505
+
3506
+ def initialize(**args)
3507
+ update!(**args)
3508
+ end
3509
+
3510
+ # Update properties of this object
3511
+ def update!(**args)
3512
+ @configuration_name = args[:configuration_name] if args.key?(:configuration_name)
3513
+ @latest_revision = args[:latest_revision] if args.key?(:latest_revision)
3514
+ @percent = args[:percent] if args.key?(:percent)
3515
+ @revision_name = args[:revision_name] if args.key?(:revision_name)
3516
+ @tag = args[:tag] if args.key?(:tag)
3517
+ @url = args[:url] if args.key?(:url)
3518
+ end
3519
+ end
3520
+
3521
+ # Cloud Run fully managed: not supported
3522
+ # Cloud Run for Anthos: supported
3523
+ # Volume represents a named volume in a container.
3524
+ class Volume
3525
+ include Google::Apis::Core::Hashable
3526
+
3527
+ # Cloud Run fully managed: not supported
3528
+ # Cloud Run for Anthos: supported
3529
+ # Adapts a ConfigMap into a volume.
3530
+ # The contents of the target ConfigMap's Data field will be presented in a
3531
+ # volume as files using the keys in the Data field as the file names, unless
3532
+ # the items element is populated with specific mappings of keys to paths.
3533
+ # Corresponds to the JSON property `configMap`
3534
+ # @return [Google::Apis::RunV1::ConfigMapVolumeSource]
3535
+ attr_accessor :config_map
3536
+
3537
+ # Cloud Run fully managed: not supported
3538
+ # Cloud Run for Anthos: supported
3539
+ # Volume's name.
3540
+ # Corresponds to the JSON property `name`
3541
+ # @return [String]
3542
+ attr_accessor :name
3543
+
3544
+ # Cloud Run fully managed: not supported
3545
+ # Cloud Run for Anthos: supported
3546
+ # The contents of the target Secret's Data field will be presented in a volume
3547
+ # as files using the keys in the Data field as the file names.
3548
+ # Corresponds to the JSON property `secret`
3549
+ # @return [Google::Apis::RunV1::SecretVolumeSource]
3550
+ attr_accessor :secret
3551
+
3552
+ def initialize(**args)
3553
+ update!(**args)
3554
+ end
3555
+
3556
+ # Update properties of this object
3557
+ def update!(**args)
3558
+ @config_map = args[:config_map] if args.key?(:config_map)
3559
+ @name = args[:name] if args.key?(:name)
3560
+ @secret = args[:secret] if args.key?(:secret)
3561
+ end
3562
+ end
3563
+
3564
+ # Cloud Run fully managed: not supported
3565
+ # Cloud Run for Anthos: supported
3566
+ # VolumeMount describes a mounting of a Volume within a container.
3567
+ class VolumeMount
3568
+ include Google::Apis::Core::Hashable
3569
+
3570
+ # Cloud Run fully managed: not supported
3571
+ # Cloud Run for Anthos: supported
3572
+ # Path within the container at which the volume should be mounted. Must
3573
+ # not contain ':'.
3574
+ # Corresponds to the JSON property `mountPath`
3575
+ # @return [String]
3576
+ attr_accessor :mount_path
3577
+
3578
+ # Cloud Run fully managed: not supported
3579
+ # Cloud Run for Anthos: supported
3580
+ # This must match the Name of a Volume.
3581
+ # Corresponds to the JSON property `name`
3582
+ # @return [String]
3583
+ attr_accessor :name
3584
+
3585
+ # (Optional)
3586
+ # Cloud Run fully managed: not supported
3587
+ # Cloud Run for Anthos: supported
3588
+ # Only true is accepted.
3589
+ # Defaults to true.
3590
+ # Corresponds to the JSON property `readOnly`
3591
+ # @return [Boolean]
3592
+ attr_accessor :read_only
3593
+ alias_method :read_only?, :read_only
3594
+
3595
+ # (Optional)
3596
+ # Cloud Run fully managed: not supported
3597
+ # Cloud Run for Anthos: supported
3598
+ # Path within the volume from which the container's volume should be mounted.
3599
+ # Defaults to "" (volume's root).
3600
+ # Corresponds to the JSON property `subPath`
3601
+ # @return [String]
3602
+ attr_accessor :sub_path
3603
+
3604
+ def initialize(**args)
3605
+ update!(**args)
3606
+ end
3607
+
3608
+ # Update properties of this object
3609
+ def update!(**args)
3610
+ @mount_path = args[:mount_path] if args.key?(:mount_path)
93
3611
  @name = args[:name] if args.key?(:name)
3612
+ @read_only = args[:read_only] if args.key?(:read_only)
3613
+ @sub_path = args[:sub_path] if args.key?(:sub_path)
94
3614
  end
95
3615
  end
96
3616
  end