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
@@ -256,96 +256,6 @@ module Google
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
- class GoogleDevtoolsRemoteexecutionV1testActionResult
260
- class Representation < Google::Apis::Core::JsonRepresentation; end
261
-
262
- include Google::Apis::Core::JsonObjectSupport
263
- end
264
-
265
- class GoogleDevtoolsRemoteexecutionV1testCommand
266
- class Representation < Google::Apis::Core::JsonRepresentation; end
267
-
268
- include Google::Apis::Core::JsonObjectSupport
269
- end
270
-
271
- class GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable
272
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
-
274
- include Google::Apis::Core::JsonObjectSupport
275
- end
276
-
277
- class GoogleDevtoolsRemoteexecutionV1testDigest
278
- class Representation < Google::Apis::Core::JsonRepresentation; end
279
-
280
- include Google::Apis::Core::JsonObjectSupport
281
- end
282
-
283
- class GoogleDevtoolsRemoteexecutionV1testDirectory
284
- class Representation < Google::Apis::Core::JsonRepresentation; end
285
-
286
- include Google::Apis::Core::JsonObjectSupport
287
- end
288
-
289
- class GoogleDevtoolsRemoteexecutionV1testDirectoryNode
290
- class Representation < Google::Apis::Core::JsonRepresentation; end
291
-
292
- include Google::Apis::Core::JsonObjectSupport
293
- end
294
-
295
- class GoogleDevtoolsRemoteexecutionV1testExecuteOperationMetadata
296
- class Representation < Google::Apis::Core::JsonRepresentation; end
297
-
298
- include Google::Apis::Core::JsonObjectSupport
299
- end
300
-
301
- class GoogleDevtoolsRemoteexecutionV1testExecuteResponse
302
- class Representation < Google::Apis::Core::JsonRepresentation; end
303
-
304
- include Google::Apis::Core::JsonObjectSupport
305
- end
306
-
307
- class GoogleDevtoolsRemoteexecutionV1testFileNode
308
- class Representation < Google::Apis::Core::JsonRepresentation; end
309
-
310
- include Google::Apis::Core::JsonObjectSupport
311
- end
312
-
313
- class GoogleDevtoolsRemoteexecutionV1testLogFile
314
- class Representation < Google::Apis::Core::JsonRepresentation; end
315
-
316
- include Google::Apis::Core::JsonObjectSupport
317
- end
318
-
319
- class GoogleDevtoolsRemoteexecutionV1testOutputDirectory
320
- class Representation < Google::Apis::Core::JsonRepresentation; end
321
-
322
- include Google::Apis::Core::JsonObjectSupport
323
- end
324
-
325
- class GoogleDevtoolsRemoteexecutionV1testOutputFile
326
- class Representation < Google::Apis::Core::JsonRepresentation; end
327
-
328
- include Google::Apis::Core::JsonObjectSupport
329
- end
330
-
331
- class GoogleDevtoolsRemoteexecutionV1testRequestMetadata
332
- class Representation < Google::Apis::Core::JsonRepresentation; end
333
-
334
- include Google::Apis::Core::JsonObjectSupport
335
- end
336
-
337
- class GoogleDevtoolsRemoteexecutionV1testToolDetails
338
- class Representation < Google::Apis::Core::JsonRepresentation; end
339
-
340
- include Google::Apis::Core::JsonObjectSupport
341
- end
342
-
343
- class GoogleDevtoolsRemoteexecutionV1testTree
344
- class Representation < Google::Apis::Core::JsonRepresentation; end
345
-
346
- include Google::Apis::Core::JsonObjectSupport
347
- end
348
-
349
259
  class GoogleDevtoolsRemoteworkersV1test2AdminTemp
350
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
261
 
@@ -816,6 +726,7 @@ module Google
816
726
  hash :labels, as: 'labels'
817
727
  property :machine_type, as: 'machineType'
818
728
  property :min_cpu_platform, as: 'minCpuPlatform'
729
+ property :network_access, as: 'networkAccess'
819
730
  property :reserved, as: 'reserved'
820
731
  end
821
732
  end
@@ -831,161 +742,6 @@ module Google
831
742
  end
832
743
  end
833
744
 
834
- class GoogleDevtoolsRemoteexecutionV1testActionResult
835
- # @private
836
- class Representation < Google::Apis::Core::JsonRepresentation
837
- property :exit_code, as: 'exitCode'
838
- collection :output_directories, as: 'outputDirectories', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testOutputDirectory, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testOutputDirectory::Representation
839
-
840
- collection :output_files, as: 'outputFiles', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testOutputFile, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testOutputFile::Representation
841
-
842
- property :stderr_digest, as: 'stderrDigest', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
843
-
844
- property :stderr_raw, :base64 => true, as: 'stderrRaw'
845
- property :stdout_digest, as: 'stdoutDigest', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
846
-
847
- property :stdout_raw, :base64 => true, as: 'stdoutRaw'
848
- end
849
- end
850
-
851
- class GoogleDevtoolsRemoteexecutionV1testCommand
852
- # @private
853
- class Representation < Google::Apis::Core::JsonRepresentation
854
- collection :arguments, as: 'arguments'
855
- collection :environment_variables, as: 'environmentVariables', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable::Representation
856
-
857
- end
858
- end
859
-
860
- class GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable
861
- # @private
862
- class Representation < Google::Apis::Core::JsonRepresentation
863
- property :name, as: 'name'
864
- property :value, as: 'value'
865
- end
866
- end
867
-
868
- class GoogleDevtoolsRemoteexecutionV1testDigest
869
- # @private
870
- class Representation < Google::Apis::Core::JsonRepresentation
871
- property :hash_prop, as: 'hash'
872
- property :size_bytes, :numeric_string => true, as: 'sizeBytes'
873
- end
874
- end
875
-
876
- class GoogleDevtoolsRemoteexecutionV1testDirectory
877
- # @private
878
- class Representation < Google::Apis::Core::JsonRepresentation
879
- collection :directories, as: 'directories', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDirectoryNode, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDirectoryNode::Representation
880
-
881
- collection :files, as: 'files', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testFileNode, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testFileNode::Representation
882
-
883
- end
884
- end
885
-
886
- class GoogleDevtoolsRemoteexecutionV1testDirectoryNode
887
- # @private
888
- class Representation < Google::Apis::Core::JsonRepresentation
889
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
890
-
891
- property :name, as: 'name'
892
- end
893
- end
894
-
895
- class GoogleDevtoolsRemoteexecutionV1testExecuteOperationMetadata
896
- # @private
897
- class Representation < Google::Apis::Core::JsonRepresentation
898
- property :action_digest, as: 'actionDigest', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
899
-
900
- property :stage, as: 'stage'
901
- property :stderr_stream_name, as: 'stderrStreamName'
902
- property :stdout_stream_name, as: 'stdoutStreamName'
903
- end
904
- end
905
-
906
- class GoogleDevtoolsRemoteexecutionV1testExecuteResponse
907
- # @private
908
- class Representation < Google::Apis::Core::JsonRepresentation
909
- property :cached_result, as: 'cachedResult'
910
- property :result, as: 'result', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testActionResult, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testActionResult::Representation
911
-
912
- hash :server_logs, as: 'serverLogs', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testLogFile, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testLogFile::Representation
913
-
914
- property :status, as: 'status', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleRpcStatus, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleRpcStatus::Representation
915
-
916
- end
917
- end
918
-
919
- class GoogleDevtoolsRemoteexecutionV1testFileNode
920
- # @private
921
- class Representation < Google::Apis::Core::JsonRepresentation
922
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
923
-
924
- property :is_executable, as: 'isExecutable'
925
- property :name, as: 'name'
926
- end
927
- end
928
-
929
- class GoogleDevtoolsRemoteexecutionV1testLogFile
930
- # @private
931
- class Representation < Google::Apis::Core::JsonRepresentation
932
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
933
-
934
- property :human_readable, as: 'humanReadable'
935
- end
936
- end
937
-
938
- class GoogleDevtoolsRemoteexecutionV1testOutputDirectory
939
- # @private
940
- class Representation < Google::Apis::Core::JsonRepresentation
941
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
942
-
943
- property :path, as: 'path'
944
- property :tree_digest, as: 'treeDigest', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
945
-
946
- end
947
- end
948
-
949
- class GoogleDevtoolsRemoteexecutionV1testOutputFile
950
- # @private
951
- class Representation < Google::Apis::Core::JsonRepresentation
952
- property :content, :base64 => true, as: 'content'
953
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
954
-
955
- property :is_executable, as: 'isExecutable'
956
- property :path, as: 'path'
957
- end
958
- end
959
-
960
- class GoogleDevtoolsRemoteexecutionV1testRequestMetadata
961
- # @private
962
- class Representation < Google::Apis::Core::JsonRepresentation
963
- property :action_id, as: 'actionId'
964
- property :correlated_invocations_id, as: 'correlatedInvocationsId'
965
- property :tool_details, as: 'toolDetails', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testToolDetails, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testToolDetails::Representation
966
-
967
- property :tool_invocation_id, as: 'toolInvocationId'
968
- end
969
- end
970
-
971
- class GoogleDevtoolsRemoteexecutionV1testToolDetails
972
- # @private
973
- class Representation < Google::Apis::Core::JsonRepresentation
974
- property :tool_name, as: 'toolName'
975
- property :tool_version, as: 'toolVersion'
976
- end
977
- end
978
-
979
- class GoogleDevtoolsRemoteexecutionV1testTree
980
- # @private
981
- class Representation < Google::Apis::Core::JsonRepresentation
982
- collection :children, as: 'children', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDirectory, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDirectory::Representation
983
-
984
- property :root, as: 'root', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDirectory, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDirectory::Representation
985
-
986
- end
987
- end
988
-
989
745
  class GoogleDevtoolsRemoteworkersV1test2AdminTemp
990
746
  # @private
991
747
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190731'
28
+ REVISION = '20190924'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2274,12 +2274,12 @@ module Google
2274
2274
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
2275
2275
  include Google::Apis::Core::Hashable
2276
2276
 
2277
- # The number of the guest accelerator cards exposed to this VM.
2277
+ # The number of guest accelerator cards exposed to each VM.
2278
2278
  # Corresponds to the JSON property `acceleratorCount`
2279
2279
  # @return [Fixnum]
2280
2280
  attr_accessor :accelerator_count
2281
2281
 
2282
- # The type of accelerator to attach to this VM, e.g. "nvidia-tesla-k80" for
2282
+ # The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for
2283
2283
  # nVidia Tesla K80.
2284
2284
  # Corresponds to the JSON property `acceleratorType`
2285
2285
  # @return [String]
@@ -2686,6 +2686,15 @@ module Google
2686
2686
  # @return [String]
2687
2687
  attr_accessor :min_cpu_platform
2688
2688
 
2689
+ # Determines the type of network access granted to workers. Possible values:
2690
+ # - "public": Workers can connect to the public internet.
2691
+ # - "private": Workers can only connect to Google APIs and services.
2692
+ # - "restricted-private": Workers can only connect to Google APIs that are
2693
+ # reachable through `restricted.googleapis.com` (`199.36.153.4/30`).
2694
+ # Corresponds to the JSON property `networkAccess`
2695
+ # @return [String]
2696
+ attr_accessor :network_access
2697
+
2689
2698
  # Determines whether the worker is reserved (equivalent to a Compute Engine
2690
2699
  # on-demand VM and therefore won't be preempted).
2691
2700
  # See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more
@@ -2707,6 +2716,7 @@ module Google
2707
2716
  @labels = args[:labels] if args.key?(:labels)
2708
2717
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2709
2718
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
2719
+ @network_access = args[:network_access] if args.key?(:network_access)
2710
2720
  @reserved = args[:reserved] if args.key?(:reserved)
2711
2721
  end
2712
2722
  end
@@ -2753,994 +2763,6 @@ module Google
2753
2763
  end
2754
2764
  end
2755
2765
 
2756
- # An ActionResult represents the result of an
2757
- # Action being run.
2758
- class GoogleDevtoolsRemoteexecutionV1testActionResult
2759
- include Google::Apis::Core::Hashable
2760
-
2761
- # The exit code of the command.
2762
- # Corresponds to the JSON property `exitCode`
2763
- # @return [Fixnum]
2764
- attr_accessor :exit_code
2765
-
2766
- # The output directories of the action. For each output directory requested
2767
- # in the `output_directories` field of the Action, if the corresponding
2768
- # directory existed after the action completed, a single entry will be
2769
- # present in the output list, which will contain the digest of
2770
- # a Tree message containing
2771
- # the directory tree, and the path equal exactly to the corresponding Action
2772
- # output_directories member.
2773
- # As an example, suppose the Action had an output directory `a/b/dir` and the
2774
- # execution produced the following contents in `a/b/dir`: a file named `bar`
2775
- # and a directory named `foo` with an executable file named `baz`. Then,
2776
- # output_directory will contain (hashes shortened for readability):
2777
- # ```json
2778
- # // OutputDirectory proto:
2779
- # `
2780
- # path: "a/b/dir"
2781
- # tree_digest: `
2782
- # hash: "4a73bc9d03...",
2783
- # size: 55
2784
- # `
2785
- # `
2786
- # // Tree proto with hash "4a73bc9d03..." and size 55:
2787
- # `
2788
- # root: `
2789
- # files: [
2790
- # `
2791
- # name: "bar",
2792
- # digest: `
2793
- # hash: "4a73bc9d03...",
2794
- # size: 65534
2795
- # `
2796
- # `
2797
- # ],
2798
- # directories: [
2799
- # `
2800
- # name: "foo",
2801
- # digest: `
2802
- # hash: "4cf2eda940...",
2803
- # size: 43
2804
- # `
2805
- # `
2806
- # ]
2807
- # `
2808
- # children : `
2809
- # // (Directory proto with hash "4cf2eda940..." and size 43)
2810
- # files: [
2811
- # `
2812
- # name: "baz",
2813
- # digest: `
2814
- # hash: "b2c941073e...",
2815
- # size: 1294,
2816
- # `,
2817
- # is_executable: true
2818
- # `
2819
- # ]
2820
- # `
2821
- # `
2822
- # ```
2823
- # Corresponds to the JSON property `outputDirectories`
2824
- # @return [Array<Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testOutputDirectory>]
2825
- attr_accessor :output_directories
2826
-
2827
- # The output files of the action. For each output file requested in the
2828
- # `output_files` field of the Action, if the corresponding file existed after
2829
- # the action completed, a single entry will be present in the output list.
2830
- # If the action does not produce the requested output, or produces a
2831
- # directory where a regular file is expected or vice versa, then that output
2832
- # will be omitted from the list. The server is free to arrange the output
2833
- # list as desired; clients MUST NOT assume that the output list is sorted.
2834
- # Corresponds to the JSON property `outputFiles`
2835
- # @return [Array<Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testOutputFile>]
2836
- attr_accessor :output_files
2837
-
2838
- # A content digest. A digest for a given blob consists of the size of the blob
2839
- # and its hash. The hash algorithm to use is defined by the server, but servers
2840
- # SHOULD use SHA-256.
2841
- # The size is considered to be an integral part of the digest and cannot be
2842
- # separated. That is, even if the `hash` field is correctly specified but
2843
- # `size_bytes` is not, the server MUST reject the request.
2844
- # The reason for including the size in the digest is as follows: in a great
2845
- # many cases, the server needs to know the size of the blob it is about to work
2846
- # with prior to starting an operation with it, such as flattening Merkle tree
2847
- # structures or streaming it to a worker. Technically, the server could
2848
- # implement a separate metadata store, but this results in a significantly more
2849
- # complicated implementation as opposed to having the client specify the size
2850
- # up-front (or storing the size along with the digest in every message where
2851
- # digests are embedded). This does mean that the API leaks some implementation
2852
- # details of (what we consider to be) a reasonable server implementation, but
2853
- # we consider this to be a worthwhile tradeoff.
2854
- # When a `Digest` is used to refer to a proto message, it always refers to the
2855
- # message in binary encoded form. To ensure consistent hashing, clients and
2856
- # servers MUST ensure that they serialize messages according to the following
2857
- # rules, even if there are alternate valid encodings for the same message.
2858
- # - Fields are serialized in tag order.
2859
- # - There are no unknown fields.
2860
- # - There are no duplicate fields.
2861
- # - Fields are serialized according to the default semantics for their type.
2862
- # Most protocol buffer implementations will always follow these rules when
2863
- # serializing, but care should be taken to avoid shortcuts. For instance,
2864
- # concatenating two messages to merge them may produce duplicate fields.
2865
- # Corresponds to the JSON property `stderrDigest`
2866
- # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest]
2867
- attr_accessor :stderr_digest
2868
-
2869
- # The standard error buffer of the action. The server will determine, based
2870
- # on the size of the buffer, whether to return it in raw form or to return
2871
- # a digest in `stderr_digest` that points to the buffer. If neither is set,
2872
- # then the buffer is empty. The client SHOULD NOT assume it will get one of
2873
- # the raw buffer or a digest on any given request and should be prepared to
2874
- # handle either.
2875
- # Corresponds to the JSON property `stderrRaw`
2876
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2877
- # @return [String]
2878
- attr_accessor :stderr_raw
2879
-
2880
- # A content digest. A digest for a given blob consists of the size of the blob
2881
- # and its hash. The hash algorithm to use is defined by the server, but servers
2882
- # SHOULD use SHA-256.
2883
- # The size is considered to be an integral part of the digest and cannot be
2884
- # separated. That is, even if the `hash` field is correctly specified but
2885
- # `size_bytes` is not, the server MUST reject the request.
2886
- # The reason for including the size in the digest is as follows: in a great
2887
- # many cases, the server needs to know the size of the blob it is about to work
2888
- # with prior to starting an operation with it, such as flattening Merkle tree
2889
- # structures or streaming it to a worker. Technically, the server could
2890
- # implement a separate metadata store, but this results in a significantly more
2891
- # complicated implementation as opposed to having the client specify the size
2892
- # up-front (or storing the size along with the digest in every message where
2893
- # digests are embedded). This does mean that the API leaks some implementation
2894
- # details of (what we consider to be) a reasonable server implementation, but
2895
- # we consider this to be a worthwhile tradeoff.
2896
- # When a `Digest` is used to refer to a proto message, it always refers to the
2897
- # message in binary encoded form. To ensure consistent hashing, clients and
2898
- # servers MUST ensure that they serialize messages according to the following
2899
- # rules, even if there are alternate valid encodings for the same message.
2900
- # - Fields are serialized in tag order.
2901
- # - There are no unknown fields.
2902
- # - There are no duplicate fields.
2903
- # - Fields are serialized according to the default semantics for their type.
2904
- # Most protocol buffer implementations will always follow these rules when
2905
- # serializing, but care should be taken to avoid shortcuts. For instance,
2906
- # concatenating two messages to merge them may produce duplicate fields.
2907
- # Corresponds to the JSON property `stdoutDigest`
2908
- # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest]
2909
- attr_accessor :stdout_digest
2910
-
2911
- # The standard output buffer of the action. The server will determine, based
2912
- # on the size of the buffer, whether to return it in raw form or to return
2913
- # a digest in `stdout_digest` that points to the buffer. If neither is set,
2914
- # then the buffer is empty. The client SHOULD NOT assume it will get one of
2915
- # the raw buffer or a digest on any given request and should be prepared to
2916
- # handle either.
2917
- # Corresponds to the JSON property `stdoutRaw`
2918
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2919
- # @return [String]
2920
- attr_accessor :stdout_raw
2921
-
2922
- def initialize(**args)
2923
- update!(**args)
2924
- end
2925
-
2926
- # Update properties of this object
2927
- def update!(**args)
2928
- @exit_code = args[:exit_code] if args.key?(:exit_code)
2929
- @output_directories = args[:output_directories] if args.key?(:output_directories)
2930
- @output_files = args[:output_files] if args.key?(:output_files)
2931
- @stderr_digest = args[:stderr_digest] if args.key?(:stderr_digest)
2932
- @stderr_raw = args[:stderr_raw] if args.key?(:stderr_raw)
2933
- @stdout_digest = args[:stdout_digest] if args.key?(:stdout_digest)
2934
- @stdout_raw = args[:stdout_raw] if args.key?(:stdout_raw)
2935
- end
2936
- end
2937
-
2938
- # A `Command` is the actual command executed by a worker running an
2939
- # Action.
2940
- # Except as otherwise required, the environment (such as which system
2941
- # libraries or binaries are available, and what filesystems are mounted where)
2942
- # is defined by and specific to the implementation of the remote execution API.
2943
- class GoogleDevtoolsRemoteexecutionV1testCommand
2944
- include Google::Apis::Core::Hashable
2945
-
2946
- # The arguments to the command. The first argument must be the path to the
2947
- # executable, which must be either a relative path, in which case it is
2948
- # evaluated with respect to the input root, or an absolute path.
2949
- # The working directory will always be the input root.
2950
- # Corresponds to the JSON property `arguments`
2951
- # @return [Array<String>]
2952
- attr_accessor :arguments
2953
-
2954
- # The environment variables to set when running the program. The worker may
2955
- # provide its own default environment variables; these defaults can be
2956
- # overridden using this field. Additional variables can also be specified.
2957
- # In order to ensure that equivalent `Command`s always hash to the same
2958
- # value, the environment variables MUST be lexicographically sorted by name.
2959
- # Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
2960
- # Corresponds to the JSON property `environmentVariables`
2961
- # @return [Array<Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable>]
2962
- attr_accessor :environment_variables
2963
-
2964
- def initialize(**args)
2965
- update!(**args)
2966
- end
2967
-
2968
- # Update properties of this object
2969
- def update!(**args)
2970
- @arguments = args[:arguments] if args.key?(:arguments)
2971
- @environment_variables = args[:environment_variables] if args.key?(:environment_variables)
2972
- end
2973
- end
2974
-
2975
- # An `EnvironmentVariable` is one variable to set in the running program's
2976
- # environment.
2977
- class GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable
2978
- include Google::Apis::Core::Hashable
2979
-
2980
- # The variable name.
2981
- # Corresponds to the JSON property `name`
2982
- # @return [String]
2983
- attr_accessor :name
2984
-
2985
- # The variable value.
2986
- # Corresponds to the JSON property `value`
2987
- # @return [String]
2988
- attr_accessor :value
2989
-
2990
- def initialize(**args)
2991
- update!(**args)
2992
- end
2993
-
2994
- # Update properties of this object
2995
- def update!(**args)
2996
- @name = args[:name] if args.key?(:name)
2997
- @value = args[:value] if args.key?(:value)
2998
- end
2999
- end
3000
-
3001
- # A content digest. A digest for a given blob consists of the size of the blob
3002
- # and its hash. The hash algorithm to use is defined by the server, but servers
3003
- # SHOULD use SHA-256.
3004
- # The size is considered to be an integral part of the digest and cannot be
3005
- # separated. That is, even if the `hash` field is correctly specified but
3006
- # `size_bytes` is not, the server MUST reject the request.
3007
- # The reason for including the size in the digest is as follows: in a great
3008
- # many cases, the server needs to know the size of the blob it is about to work
3009
- # with prior to starting an operation with it, such as flattening Merkle tree
3010
- # structures or streaming it to a worker. Technically, the server could
3011
- # implement a separate metadata store, but this results in a significantly more
3012
- # complicated implementation as opposed to having the client specify the size
3013
- # up-front (or storing the size along with the digest in every message where
3014
- # digests are embedded). This does mean that the API leaks some implementation
3015
- # details of (what we consider to be) a reasonable server implementation, but
3016
- # we consider this to be a worthwhile tradeoff.
3017
- # When a `Digest` is used to refer to a proto message, it always refers to the
3018
- # message in binary encoded form. To ensure consistent hashing, clients and
3019
- # servers MUST ensure that they serialize messages according to the following
3020
- # rules, even if there are alternate valid encodings for the same message.
3021
- # - Fields are serialized in tag order.
3022
- # - There are no unknown fields.
3023
- # - There are no duplicate fields.
3024
- # - Fields are serialized according to the default semantics for their type.
3025
- # Most protocol buffer implementations will always follow these rules when
3026
- # serializing, but care should be taken to avoid shortcuts. For instance,
3027
- # concatenating two messages to merge them may produce duplicate fields.
3028
- class GoogleDevtoolsRemoteexecutionV1testDigest
3029
- include Google::Apis::Core::Hashable
3030
-
3031
- # The hash. In the case of SHA-256, it will always be a lowercase hex string
3032
- # exactly 64 characters long.
3033
- # Corresponds to the JSON property `hash`
3034
- # @return [String]
3035
- attr_accessor :hash_prop
3036
-
3037
- # The size of the blob, in bytes.
3038
- # Corresponds to the JSON property `sizeBytes`
3039
- # @return [Fixnum]
3040
- attr_accessor :size_bytes
3041
-
3042
- def initialize(**args)
3043
- update!(**args)
3044
- end
3045
-
3046
- # Update properties of this object
3047
- def update!(**args)
3048
- @hash_prop = args[:hash_prop] if args.key?(:hash_prop)
3049
- @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
3050
- end
3051
- end
3052
-
3053
- # A `Directory` represents a directory node in a file tree, containing zero or
3054
- # more children FileNodes
3055
- # and DirectoryNodes.
3056
- # Each `Node` contains its name in the directory, the digest of its content
3057
- # (either a file blob or a `Directory` proto), as well as possibly some
3058
- # metadata about the file or directory.
3059
- # In order to ensure that two equivalent directory trees hash to the same
3060
- # value, the following restrictions MUST be obeyed when constructing a
3061
- # a `Directory`:
3062
- # - Every child in the directory must have a path of exactly one segment.
3063
- # Multiple levels of directory hierarchy may not be collapsed.
3064
- # - Each child in the directory must have a unique path segment (file name).
3065
- # - The files and directories in the directory must each be sorted in
3066
- # lexicographical order by path. The path strings must be sorted by code
3067
- # point, equivalently, by UTF-8 bytes.
3068
- # A `Directory` that obeys the restrictions is said to be in canonical form.
3069
- # As an example, the following could be used for a file named `bar` and a
3070
- # directory named `foo` with an executable file named `baz` (hashes shortened
3071
- # for readability):
3072
- # ```json
3073
- # // (Directory proto)
3074
- # `
3075
- # files: [
3076
- # `
3077
- # name: "bar",
3078
- # digest: `
3079
- # hash: "4a73bc9d03...",
3080
- # size: 65534
3081
- # `
3082
- # `
3083
- # ],
3084
- # directories: [
3085
- # `
3086
- # name: "foo",
3087
- # digest: `
3088
- # hash: "4cf2eda940...",
3089
- # size: 43
3090
- # `
3091
- # `
3092
- # ]
3093
- # `
3094
- # // (Directory proto with hash "4cf2eda940..." and size 43)
3095
- # `
3096
- # files: [
3097
- # `
3098
- # name: "baz",
3099
- # digest: `
3100
- # hash: "b2c941073e...",
3101
- # size: 1294,
3102
- # `,
3103
- # is_executable: true
3104
- # `
3105
- # ]
3106
- # `
3107
- # ```
3108
- class GoogleDevtoolsRemoteexecutionV1testDirectory
3109
- include Google::Apis::Core::Hashable
3110
-
3111
- # The subdirectories in the directory.
3112
- # Corresponds to the JSON property `directories`
3113
- # @return [Array<Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDirectoryNode>]
3114
- attr_accessor :directories
3115
-
3116
- # The files in the directory.
3117
- # Corresponds to the JSON property `files`
3118
- # @return [Array<Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testFileNode>]
3119
- attr_accessor :files
3120
-
3121
- def initialize(**args)
3122
- update!(**args)
3123
- end
3124
-
3125
- # Update properties of this object
3126
- def update!(**args)
3127
- @directories = args[:directories] if args.key?(:directories)
3128
- @files = args[:files] if args.key?(:files)
3129
- end
3130
- end
3131
-
3132
- # A `DirectoryNode` represents a child of a
3133
- # Directory which is itself
3134
- # a `Directory` and its associated metadata.
3135
- class GoogleDevtoolsRemoteexecutionV1testDirectoryNode
3136
- include Google::Apis::Core::Hashable
3137
-
3138
- # A content digest. A digest for a given blob consists of the size of the blob
3139
- # and its hash. The hash algorithm to use is defined by the server, but servers
3140
- # SHOULD use SHA-256.
3141
- # The size is considered to be an integral part of the digest and cannot be
3142
- # separated. That is, even if the `hash` field is correctly specified but
3143
- # `size_bytes` is not, the server MUST reject the request.
3144
- # The reason for including the size in the digest is as follows: in a great
3145
- # many cases, the server needs to know the size of the blob it is about to work
3146
- # with prior to starting an operation with it, such as flattening Merkle tree
3147
- # structures or streaming it to a worker. Technically, the server could
3148
- # implement a separate metadata store, but this results in a significantly more
3149
- # complicated implementation as opposed to having the client specify the size
3150
- # up-front (or storing the size along with the digest in every message where
3151
- # digests are embedded). This does mean that the API leaks some implementation
3152
- # details of (what we consider to be) a reasonable server implementation, but
3153
- # we consider this to be a worthwhile tradeoff.
3154
- # When a `Digest` is used to refer to a proto message, it always refers to the
3155
- # message in binary encoded form. To ensure consistent hashing, clients and
3156
- # servers MUST ensure that they serialize messages according to the following
3157
- # rules, even if there are alternate valid encodings for the same message.
3158
- # - Fields are serialized in tag order.
3159
- # - There are no unknown fields.
3160
- # - There are no duplicate fields.
3161
- # - Fields are serialized according to the default semantics for their type.
3162
- # Most protocol buffer implementations will always follow these rules when
3163
- # serializing, but care should be taken to avoid shortcuts. For instance,
3164
- # concatenating two messages to merge them may produce duplicate fields.
3165
- # Corresponds to the JSON property `digest`
3166
- # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest]
3167
- attr_accessor :digest
3168
-
3169
- # The name of the directory.
3170
- # Corresponds to the JSON property `name`
3171
- # @return [String]
3172
- attr_accessor :name
3173
-
3174
- def initialize(**args)
3175
- update!(**args)
3176
- end
3177
-
3178
- # Update properties of this object
3179
- def update!(**args)
3180
- @digest = args[:digest] if args.key?(:digest)
3181
- @name = args[:name] if args.key?(:name)
3182
- end
3183
- end
3184
-
3185
- # Metadata about an ongoing
3186
- # execution, which
3187
- # will be contained in the metadata
3188
- # field of the
3189
- # Operation.
3190
- class GoogleDevtoolsRemoteexecutionV1testExecuteOperationMetadata
3191
- include Google::Apis::Core::Hashable
3192
-
3193
- # A content digest. A digest for a given blob consists of the size of the blob
3194
- # and its hash. The hash algorithm to use is defined by the server, but servers
3195
- # SHOULD use SHA-256.
3196
- # The size is considered to be an integral part of the digest and cannot be
3197
- # separated. That is, even if the `hash` field is correctly specified but
3198
- # `size_bytes` is not, the server MUST reject the request.
3199
- # The reason for including the size in the digest is as follows: in a great
3200
- # many cases, the server needs to know the size of the blob it is about to work
3201
- # with prior to starting an operation with it, such as flattening Merkle tree
3202
- # structures or streaming it to a worker. Technically, the server could
3203
- # implement a separate metadata store, but this results in a significantly more
3204
- # complicated implementation as opposed to having the client specify the size
3205
- # up-front (or storing the size along with the digest in every message where
3206
- # digests are embedded). This does mean that the API leaks some implementation
3207
- # details of (what we consider to be) a reasonable server implementation, but
3208
- # we consider this to be a worthwhile tradeoff.
3209
- # When a `Digest` is used to refer to a proto message, it always refers to the
3210
- # message in binary encoded form. To ensure consistent hashing, clients and
3211
- # servers MUST ensure that they serialize messages according to the following
3212
- # rules, even if there are alternate valid encodings for the same message.
3213
- # - Fields are serialized in tag order.
3214
- # - There are no unknown fields.
3215
- # - There are no duplicate fields.
3216
- # - Fields are serialized according to the default semantics for their type.
3217
- # Most protocol buffer implementations will always follow these rules when
3218
- # serializing, but care should be taken to avoid shortcuts. For instance,
3219
- # concatenating two messages to merge them may produce duplicate fields.
3220
- # Corresponds to the JSON property `actionDigest`
3221
- # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest]
3222
- attr_accessor :action_digest
3223
-
3224
- #
3225
- # Corresponds to the JSON property `stage`
3226
- # @return [String]
3227
- attr_accessor :stage
3228
-
3229
- # If set, the client can use this name with
3230
- # ByteStream.Read to stream the
3231
- # standard error.
3232
- # Corresponds to the JSON property `stderrStreamName`
3233
- # @return [String]
3234
- attr_accessor :stderr_stream_name
3235
-
3236
- # If set, the client can use this name with
3237
- # ByteStream.Read to stream the
3238
- # standard output.
3239
- # Corresponds to the JSON property `stdoutStreamName`
3240
- # @return [String]
3241
- attr_accessor :stdout_stream_name
3242
-
3243
- def initialize(**args)
3244
- update!(**args)
3245
- end
3246
-
3247
- # Update properties of this object
3248
- def update!(**args)
3249
- @action_digest = args[:action_digest] if args.key?(:action_digest)
3250
- @stage = args[:stage] if args.key?(:stage)
3251
- @stderr_stream_name = args[:stderr_stream_name] if args.key?(:stderr_stream_name)
3252
- @stdout_stream_name = args[:stdout_stream_name] if args.key?(:stdout_stream_name)
3253
- end
3254
- end
3255
-
3256
- # The response message for
3257
- # Execution.Execute,
3258
- # which will be contained in the response
3259
- # field of the
3260
- # Operation.
3261
- class GoogleDevtoolsRemoteexecutionV1testExecuteResponse
3262
- include Google::Apis::Core::Hashable
3263
-
3264
- # True if the result was served from cache, false if it was executed.
3265
- # Corresponds to the JSON property `cachedResult`
3266
- # @return [Boolean]
3267
- attr_accessor :cached_result
3268
- alias_method :cached_result?, :cached_result
3269
-
3270
- # An ActionResult represents the result of an
3271
- # Action being run.
3272
- # Corresponds to the JSON property `result`
3273
- # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testActionResult]
3274
- attr_accessor :result
3275
-
3276
- # An optional list of additional log outputs the server wishes to provide. A
3277
- # server can use this to return execution-specific logs however it wishes.
3278
- # This is intended primarily to make it easier for users to debug issues that
3279
- # may be outside of the actual job execution, such as by identifying the
3280
- # worker executing the action or by providing logs from the worker's setup
3281
- # phase. The keys SHOULD be human readable so that a client can display them
3282
- # to a user.
3283
- # Corresponds to the JSON property `serverLogs`
3284
- # @return [Hash<String,Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testLogFile>]
3285
- attr_accessor :server_logs
3286
-
3287
- # The `Status` type defines a logical error model that is suitable for
3288
- # different programming environments, including REST APIs and RPC APIs. It is
3289
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3290
- # three pieces of data: error code, error message, and error details.
3291
- # You can find out more about this error model and how to work with it in the
3292
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
3293
- # Corresponds to the JSON property `status`
3294
- # @return [Google::Apis::RemotebuildexecutionV2::GoogleRpcStatus]
3295
- attr_accessor :status
3296
-
3297
- def initialize(**args)
3298
- update!(**args)
3299
- end
3300
-
3301
- # Update properties of this object
3302
- def update!(**args)
3303
- @cached_result = args[:cached_result] if args.key?(:cached_result)
3304
- @result = args[:result] if args.key?(:result)
3305
- @server_logs = args[:server_logs] if args.key?(:server_logs)
3306
- @status = args[:status] if args.key?(:status)
3307
- end
3308
- end
3309
-
3310
- # A `FileNode` represents a single file and associated metadata.
3311
- class GoogleDevtoolsRemoteexecutionV1testFileNode
3312
- include Google::Apis::Core::Hashable
3313
-
3314
- # A content digest. A digest for a given blob consists of the size of the blob
3315
- # and its hash. The hash algorithm to use is defined by the server, but servers
3316
- # SHOULD use SHA-256.
3317
- # The size is considered to be an integral part of the digest and cannot be
3318
- # separated. That is, even if the `hash` field is correctly specified but
3319
- # `size_bytes` is not, the server MUST reject the request.
3320
- # The reason for including the size in the digest is as follows: in a great
3321
- # many cases, the server needs to know the size of the blob it is about to work
3322
- # with prior to starting an operation with it, such as flattening Merkle tree
3323
- # structures or streaming it to a worker. Technically, the server could
3324
- # implement a separate metadata store, but this results in a significantly more
3325
- # complicated implementation as opposed to having the client specify the size
3326
- # up-front (or storing the size along with the digest in every message where
3327
- # digests are embedded). This does mean that the API leaks some implementation
3328
- # details of (what we consider to be) a reasonable server implementation, but
3329
- # we consider this to be a worthwhile tradeoff.
3330
- # When a `Digest` is used to refer to a proto message, it always refers to the
3331
- # message in binary encoded form. To ensure consistent hashing, clients and
3332
- # servers MUST ensure that they serialize messages according to the following
3333
- # rules, even if there are alternate valid encodings for the same message.
3334
- # - Fields are serialized in tag order.
3335
- # - There are no unknown fields.
3336
- # - There are no duplicate fields.
3337
- # - Fields are serialized according to the default semantics for their type.
3338
- # Most protocol buffer implementations will always follow these rules when
3339
- # serializing, but care should be taken to avoid shortcuts. For instance,
3340
- # concatenating two messages to merge them may produce duplicate fields.
3341
- # Corresponds to the JSON property `digest`
3342
- # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest]
3343
- attr_accessor :digest
3344
-
3345
- # True if file is executable, false otherwise.
3346
- # Corresponds to the JSON property `isExecutable`
3347
- # @return [Boolean]
3348
- attr_accessor :is_executable
3349
- alias_method :is_executable?, :is_executable
3350
-
3351
- # The name of the file.
3352
- # Corresponds to the JSON property `name`
3353
- # @return [String]
3354
- attr_accessor :name
3355
-
3356
- def initialize(**args)
3357
- update!(**args)
3358
- end
3359
-
3360
- # Update properties of this object
3361
- def update!(**args)
3362
- @digest = args[:digest] if args.key?(:digest)
3363
- @is_executable = args[:is_executable] if args.key?(:is_executable)
3364
- @name = args[:name] if args.key?(:name)
3365
- end
3366
- end
3367
-
3368
- # A `LogFile` is a log stored in the CAS.
3369
- class GoogleDevtoolsRemoteexecutionV1testLogFile
3370
- include Google::Apis::Core::Hashable
3371
-
3372
- # A content digest. A digest for a given blob consists of the size of the blob
3373
- # and its hash. The hash algorithm to use is defined by the server, but servers
3374
- # SHOULD use SHA-256.
3375
- # The size is considered to be an integral part of the digest and cannot be
3376
- # separated. That is, even if the `hash` field is correctly specified but
3377
- # `size_bytes` is not, the server MUST reject the request.
3378
- # The reason for including the size in the digest is as follows: in a great
3379
- # many cases, the server needs to know the size of the blob it is about to work
3380
- # with prior to starting an operation with it, such as flattening Merkle tree
3381
- # structures or streaming it to a worker. Technically, the server could
3382
- # implement a separate metadata store, but this results in a significantly more
3383
- # complicated implementation as opposed to having the client specify the size
3384
- # up-front (or storing the size along with the digest in every message where
3385
- # digests are embedded). This does mean that the API leaks some implementation
3386
- # details of (what we consider to be) a reasonable server implementation, but
3387
- # we consider this to be a worthwhile tradeoff.
3388
- # When a `Digest` is used to refer to a proto message, it always refers to the
3389
- # message in binary encoded form. To ensure consistent hashing, clients and
3390
- # servers MUST ensure that they serialize messages according to the following
3391
- # rules, even if there are alternate valid encodings for the same message.
3392
- # - Fields are serialized in tag order.
3393
- # - There are no unknown fields.
3394
- # - There are no duplicate fields.
3395
- # - Fields are serialized according to the default semantics for their type.
3396
- # Most protocol buffer implementations will always follow these rules when
3397
- # serializing, but care should be taken to avoid shortcuts. For instance,
3398
- # concatenating two messages to merge them may produce duplicate fields.
3399
- # Corresponds to the JSON property `digest`
3400
- # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest]
3401
- attr_accessor :digest
3402
-
3403
- # This is a hint as to the purpose of the log, and is set to true if the log
3404
- # is human-readable text that can be usefully displayed to a user, and false
3405
- # otherwise. For instance, if a command-line client wishes to print the
3406
- # server logs to the terminal for a failed action, this allows it to avoid
3407
- # displaying a binary file.
3408
- # Corresponds to the JSON property `humanReadable`
3409
- # @return [Boolean]
3410
- attr_accessor :human_readable
3411
- alias_method :human_readable?, :human_readable
3412
-
3413
- def initialize(**args)
3414
- update!(**args)
3415
- end
3416
-
3417
- # Update properties of this object
3418
- def update!(**args)
3419
- @digest = args[:digest] if args.key?(:digest)
3420
- @human_readable = args[:human_readable] if args.key?(:human_readable)
3421
- end
3422
- end
3423
-
3424
- # An `OutputDirectory` is the output in an `ActionResult` corresponding to a
3425
- # directory's full contents rather than a single file.
3426
- class GoogleDevtoolsRemoteexecutionV1testOutputDirectory
3427
- include Google::Apis::Core::Hashable
3428
-
3429
- # A content digest. A digest for a given blob consists of the size of the blob
3430
- # and its hash. The hash algorithm to use is defined by the server, but servers
3431
- # SHOULD use SHA-256.
3432
- # The size is considered to be an integral part of the digest and cannot be
3433
- # separated. That is, even if the `hash` field is correctly specified but
3434
- # `size_bytes` is not, the server MUST reject the request.
3435
- # The reason for including the size in the digest is as follows: in a great
3436
- # many cases, the server needs to know the size of the blob it is about to work
3437
- # with prior to starting an operation with it, such as flattening Merkle tree
3438
- # structures or streaming it to a worker. Technically, the server could
3439
- # implement a separate metadata store, but this results in a significantly more
3440
- # complicated implementation as opposed to having the client specify the size
3441
- # up-front (or storing the size along with the digest in every message where
3442
- # digests are embedded). This does mean that the API leaks some implementation
3443
- # details of (what we consider to be) a reasonable server implementation, but
3444
- # we consider this to be a worthwhile tradeoff.
3445
- # When a `Digest` is used to refer to a proto message, it always refers to the
3446
- # message in binary encoded form. To ensure consistent hashing, clients and
3447
- # servers MUST ensure that they serialize messages according to the following
3448
- # rules, even if there are alternate valid encodings for the same message.
3449
- # - Fields are serialized in tag order.
3450
- # - There are no unknown fields.
3451
- # - There are no duplicate fields.
3452
- # - Fields are serialized according to the default semantics for their type.
3453
- # Most protocol buffer implementations will always follow these rules when
3454
- # serializing, but care should be taken to avoid shortcuts. For instance,
3455
- # concatenating two messages to merge them may produce duplicate fields.
3456
- # Corresponds to the JSON property `digest`
3457
- # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest]
3458
- attr_accessor :digest
3459
-
3460
- # The full path of the directory relative to the working directory. The path
3461
- # separator is a forward slash `/`. Since this is a relative path, it MUST
3462
- # NOT begin with a leading forward slash. The empty string value is allowed,
3463
- # and it denotes the entire working directory.
3464
- # Corresponds to the JSON property `path`
3465
- # @return [String]
3466
- attr_accessor :path
3467
-
3468
- # A content digest. A digest for a given blob consists of the size of the blob
3469
- # and its hash. The hash algorithm to use is defined by the server, but servers
3470
- # SHOULD use SHA-256.
3471
- # The size is considered to be an integral part of the digest and cannot be
3472
- # separated. That is, even if the `hash` field is correctly specified but
3473
- # `size_bytes` is not, the server MUST reject the request.
3474
- # The reason for including the size in the digest is as follows: in a great
3475
- # many cases, the server needs to know the size of the blob it is about to work
3476
- # with prior to starting an operation with it, such as flattening Merkle tree
3477
- # structures or streaming it to a worker. Technically, the server could
3478
- # implement a separate metadata store, but this results in a significantly more
3479
- # complicated implementation as opposed to having the client specify the size
3480
- # up-front (or storing the size along with the digest in every message where
3481
- # digests are embedded). This does mean that the API leaks some implementation
3482
- # details of (what we consider to be) a reasonable server implementation, but
3483
- # we consider this to be a worthwhile tradeoff.
3484
- # When a `Digest` is used to refer to a proto message, it always refers to the
3485
- # message in binary encoded form. To ensure consistent hashing, clients and
3486
- # servers MUST ensure that they serialize messages according to the following
3487
- # rules, even if there are alternate valid encodings for the same message.
3488
- # - Fields are serialized in tag order.
3489
- # - There are no unknown fields.
3490
- # - There are no duplicate fields.
3491
- # - Fields are serialized according to the default semantics for their type.
3492
- # Most protocol buffer implementations will always follow these rules when
3493
- # serializing, but care should be taken to avoid shortcuts. For instance,
3494
- # concatenating two messages to merge them may produce duplicate fields.
3495
- # Corresponds to the JSON property `treeDigest`
3496
- # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest]
3497
- attr_accessor :tree_digest
3498
-
3499
- def initialize(**args)
3500
- update!(**args)
3501
- end
3502
-
3503
- # Update properties of this object
3504
- def update!(**args)
3505
- @digest = args[:digest] if args.key?(:digest)
3506
- @path = args[:path] if args.key?(:path)
3507
- @tree_digest = args[:tree_digest] if args.key?(:tree_digest)
3508
- end
3509
- end
3510
-
3511
- # An `OutputFile` is similar to a
3512
- # FileNode, but it is
3513
- # tailored for output as part of an `ActionResult`. It allows a full file path
3514
- # rather than only a name, and allows the server to include content inline.
3515
- # `OutputFile` is binary-compatible with `FileNode`.
3516
- class GoogleDevtoolsRemoteexecutionV1testOutputFile
3517
- include Google::Apis::Core::Hashable
3518
-
3519
- # The raw content of the file.
3520
- # This field may be used by the server to provide the content of a file
3521
- # inline in an
3522
- # ActionResult and
3523
- # avoid requiring that the client make a separate call to
3524
- # [ContentAddressableStorage.GetBlob] to retrieve it.
3525
- # The client SHOULD NOT assume that it will get raw content with any request,
3526
- # and always be prepared to retrieve it via `digest`.
3527
- # Corresponds to the JSON property `content`
3528
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
3529
- # @return [String]
3530
- attr_accessor :content
3531
-
3532
- # A content digest. A digest for a given blob consists of the size of the blob
3533
- # and its hash. The hash algorithm to use is defined by the server, but servers
3534
- # SHOULD use SHA-256.
3535
- # The size is considered to be an integral part of the digest and cannot be
3536
- # separated. That is, even if the `hash` field is correctly specified but
3537
- # `size_bytes` is not, the server MUST reject the request.
3538
- # The reason for including the size in the digest is as follows: in a great
3539
- # many cases, the server needs to know the size of the blob it is about to work
3540
- # with prior to starting an operation with it, such as flattening Merkle tree
3541
- # structures or streaming it to a worker. Technically, the server could
3542
- # implement a separate metadata store, but this results in a significantly more
3543
- # complicated implementation as opposed to having the client specify the size
3544
- # up-front (or storing the size along with the digest in every message where
3545
- # digests are embedded). This does mean that the API leaks some implementation
3546
- # details of (what we consider to be) a reasonable server implementation, but
3547
- # we consider this to be a worthwhile tradeoff.
3548
- # When a `Digest` is used to refer to a proto message, it always refers to the
3549
- # message in binary encoded form. To ensure consistent hashing, clients and
3550
- # servers MUST ensure that they serialize messages according to the following
3551
- # rules, even if there are alternate valid encodings for the same message.
3552
- # - Fields are serialized in tag order.
3553
- # - There are no unknown fields.
3554
- # - There are no duplicate fields.
3555
- # - Fields are serialized according to the default semantics for their type.
3556
- # Most protocol buffer implementations will always follow these rules when
3557
- # serializing, but care should be taken to avoid shortcuts. For instance,
3558
- # concatenating two messages to merge them may produce duplicate fields.
3559
- # Corresponds to the JSON property `digest`
3560
- # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDigest]
3561
- attr_accessor :digest
3562
-
3563
- # True if file is executable, false otherwise.
3564
- # Corresponds to the JSON property `isExecutable`
3565
- # @return [Boolean]
3566
- attr_accessor :is_executable
3567
- alias_method :is_executable?, :is_executable
3568
-
3569
- # The full path of the file relative to the input root, including the
3570
- # filename. The path separator is a forward slash `/`. Since this is a
3571
- # relative path, it MUST NOT begin with a leading forward slash.
3572
- # Corresponds to the JSON property `path`
3573
- # @return [String]
3574
- attr_accessor :path
3575
-
3576
- def initialize(**args)
3577
- update!(**args)
3578
- end
3579
-
3580
- # Update properties of this object
3581
- def update!(**args)
3582
- @content = args[:content] if args.key?(:content)
3583
- @digest = args[:digest] if args.key?(:digest)
3584
- @is_executable = args[:is_executable] if args.key?(:is_executable)
3585
- @path = args[:path] if args.key?(:path)
3586
- end
3587
- end
3588
-
3589
- # An optional Metadata to attach to any RPC request to tell the server about an
3590
- # external context of the request. The server may use this for logging or other
3591
- # purposes. To use it, the client attaches the header to the call using the
3592
- # canonical proto serialization:
3593
- # name: google.devtools.remoteexecution.v1test.requestmetadata-bin
3594
- # contents: the base64 encoded binary RequestMetadata message.
3595
- class GoogleDevtoolsRemoteexecutionV1testRequestMetadata
3596
- include Google::Apis::Core::Hashable
3597
-
3598
- # An identifier that ties multiple requests to the same action.
3599
- # For example, multiple requests to the CAS, Action Cache, and Execution
3600
- # API are used in order to compile foo.cc.
3601
- # Corresponds to the JSON property `actionId`
3602
- # @return [String]
3603
- attr_accessor :action_id
3604
-
3605
- # An identifier to tie multiple tool invocations together. For example,
3606
- # runs of foo_test, bar_test and baz_test on a post-submit of a given patch.
3607
- # Corresponds to the JSON property `correlatedInvocationsId`
3608
- # @return [String]
3609
- attr_accessor :correlated_invocations_id
3610
-
3611
- # Details for the tool used to call the API.
3612
- # Corresponds to the JSON property `toolDetails`
3613
- # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testToolDetails]
3614
- attr_accessor :tool_details
3615
-
3616
- # An identifier that ties multiple actions together to a final result.
3617
- # For example, multiple actions are required to build and run foo_test.
3618
- # Corresponds to the JSON property `toolInvocationId`
3619
- # @return [String]
3620
- attr_accessor :tool_invocation_id
3621
-
3622
- def initialize(**args)
3623
- update!(**args)
3624
- end
3625
-
3626
- # Update properties of this object
3627
- def update!(**args)
3628
- @action_id = args[:action_id] if args.key?(:action_id)
3629
- @correlated_invocations_id = args[:correlated_invocations_id] if args.key?(:correlated_invocations_id)
3630
- @tool_details = args[:tool_details] if args.key?(:tool_details)
3631
- @tool_invocation_id = args[:tool_invocation_id] if args.key?(:tool_invocation_id)
3632
- end
3633
- end
3634
-
3635
- # Details for the tool used to call the API.
3636
- class GoogleDevtoolsRemoteexecutionV1testToolDetails
3637
- include Google::Apis::Core::Hashable
3638
-
3639
- # Name of the tool, e.g. bazel.
3640
- # Corresponds to the JSON property `toolName`
3641
- # @return [String]
3642
- attr_accessor :tool_name
3643
-
3644
- # Version of the tool used for the request, e.g. 5.0.3.
3645
- # Corresponds to the JSON property `toolVersion`
3646
- # @return [String]
3647
- attr_accessor :tool_version
3648
-
3649
- def initialize(**args)
3650
- update!(**args)
3651
- end
3652
-
3653
- # Update properties of this object
3654
- def update!(**args)
3655
- @tool_name = args[:tool_name] if args.key?(:tool_name)
3656
- @tool_version = args[:tool_version] if args.key?(:tool_version)
3657
- end
3658
- end
3659
-
3660
- # A `Tree` contains all the
3661
- # Directory protos in a
3662
- # single directory Merkle tree, compressed into one message.
3663
- class GoogleDevtoolsRemoteexecutionV1testTree
3664
- include Google::Apis::Core::Hashable
3665
-
3666
- # All the child directories: the directories referred to by the root and,
3667
- # recursively, all its children. In order to reconstruct the directory tree,
3668
- # the client must take the digests of each of the child directories and then
3669
- # build up a tree starting from the `root`.
3670
- # Corresponds to the JSON property `children`
3671
- # @return [Array<Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDirectory>]
3672
- attr_accessor :children
3673
-
3674
- # A `Directory` represents a directory node in a file tree, containing zero or
3675
- # more children FileNodes
3676
- # and DirectoryNodes.
3677
- # Each `Node` contains its name in the directory, the digest of its content
3678
- # (either a file blob or a `Directory` proto), as well as possibly some
3679
- # metadata about the file or directory.
3680
- # In order to ensure that two equivalent directory trees hash to the same
3681
- # value, the following restrictions MUST be obeyed when constructing a
3682
- # a `Directory`:
3683
- # - Every child in the directory must have a path of exactly one segment.
3684
- # Multiple levels of directory hierarchy may not be collapsed.
3685
- # - Each child in the directory must have a unique path segment (file name).
3686
- # - The files and directories in the directory must each be sorted in
3687
- # lexicographical order by path. The path strings must be sorted by code
3688
- # point, equivalently, by UTF-8 bytes.
3689
- # A `Directory` that obeys the restrictions is said to be in canonical form.
3690
- # As an example, the following could be used for a file named `bar` and a
3691
- # directory named `foo` with an executable file named `baz` (hashes shortened
3692
- # for readability):
3693
- # ```json
3694
- # // (Directory proto)
3695
- # `
3696
- # files: [
3697
- # `
3698
- # name: "bar",
3699
- # digest: `
3700
- # hash: "4a73bc9d03...",
3701
- # size: 65534
3702
- # `
3703
- # `
3704
- # ],
3705
- # directories: [
3706
- # `
3707
- # name: "foo",
3708
- # digest: `
3709
- # hash: "4cf2eda940...",
3710
- # size: 43
3711
- # `
3712
- # `
3713
- # ]
3714
- # `
3715
- # // (Directory proto with hash "4cf2eda940..." and size 43)
3716
- # `
3717
- # files: [
3718
- # `
3719
- # name: "baz",
3720
- # digest: `
3721
- # hash: "b2c941073e...",
3722
- # size: 1294,
3723
- # `,
3724
- # is_executable: true
3725
- # `
3726
- # ]
3727
- # `
3728
- # ```
3729
- # Corresponds to the JSON property `root`
3730
- # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testDirectory]
3731
- attr_accessor :root
3732
-
3733
- def initialize(**args)
3734
- update!(**args)
3735
- end
3736
-
3737
- # Update properties of this object
3738
- def update!(**args)
3739
- @children = args[:children] if args.key?(:children)
3740
- @root = args[:root] if args.key?(:root)
3741
- end
3742
- end
3743
-
3744
2766
  # AdminTemp is a prelimiary set of administration tasks. It's called "Temp"
3745
2767
  # because we do not yet know the best way to represent admin tasks; it's
3746
2768
  # possible that this will be entirely replaced in later versions of this API.