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
@@ -262,96 +262,6 @@ module Google
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
- class GoogleDevtoolsRemoteexecutionV1testActionResult
266
- class Representation < Google::Apis::Core::JsonRepresentation; end
267
-
268
- include Google::Apis::Core::JsonObjectSupport
269
- end
270
-
271
- class GoogleDevtoolsRemoteexecutionV1testCommand
272
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
-
274
- include Google::Apis::Core::JsonObjectSupport
275
- end
276
-
277
- class GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable
278
- class Representation < Google::Apis::Core::JsonRepresentation; end
279
-
280
- include Google::Apis::Core::JsonObjectSupport
281
- end
282
-
283
- class GoogleDevtoolsRemoteexecutionV1testDigest
284
- class Representation < Google::Apis::Core::JsonRepresentation; end
285
-
286
- include Google::Apis::Core::JsonObjectSupport
287
- end
288
-
289
- class GoogleDevtoolsRemoteexecutionV1testDirectory
290
- class Representation < Google::Apis::Core::JsonRepresentation; end
291
-
292
- include Google::Apis::Core::JsonObjectSupport
293
- end
294
-
295
- class GoogleDevtoolsRemoteexecutionV1testDirectoryNode
296
- class Representation < Google::Apis::Core::JsonRepresentation; end
297
-
298
- include Google::Apis::Core::JsonObjectSupport
299
- end
300
-
301
- class GoogleDevtoolsRemoteexecutionV1testExecuteOperationMetadata
302
- class Representation < Google::Apis::Core::JsonRepresentation; end
303
-
304
- include Google::Apis::Core::JsonObjectSupport
305
- end
306
-
307
- class GoogleDevtoolsRemoteexecutionV1testExecuteResponse
308
- class Representation < Google::Apis::Core::JsonRepresentation; end
309
-
310
- include Google::Apis::Core::JsonObjectSupport
311
- end
312
-
313
- class GoogleDevtoolsRemoteexecutionV1testFileNode
314
- class Representation < Google::Apis::Core::JsonRepresentation; end
315
-
316
- include Google::Apis::Core::JsonObjectSupport
317
- end
318
-
319
- class GoogleDevtoolsRemoteexecutionV1testLogFile
320
- class Representation < Google::Apis::Core::JsonRepresentation; end
321
-
322
- include Google::Apis::Core::JsonObjectSupport
323
- end
324
-
325
- class GoogleDevtoolsRemoteexecutionV1testOutputDirectory
326
- class Representation < Google::Apis::Core::JsonRepresentation; end
327
-
328
- include Google::Apis::Core::JsonObjectSupport
329
- end
330
-
331
- class GoogleDevtoolsRemoteexecutionV1testOutputFile
332
- class Representation < Google::Apis::Core::JsonRepresentation; end
333
-
334
- include Google::Apis::Core::JsonObjectSupport
335
- end
336
-
337
- class GoogleDevtoolsRemoteexecutionV1testRequestMetadata
338
- class Representation < Google::Apis::Core::JsonRepresentation; end
339
-
340
- include Google::Apis::Core::JsonObjectSupport
341
- end
342
-
343
- class GoogleDevtoolsRemoteexecutionV1testToolDetails
344
- class Representation < Google::Apis::Core::JsonRepresentation; end
345
-
346
- include Google::Apis::Core::JsonObjectSupport
347
- end
348
-
349
- class GoogleDevtoolsRemoteexecutionV1testTree
350
- class Representation < Google::Apis::Core::JsonRepresentation; end
351
-
352
- include Google::Apis::Core::JsonObjectSupport
353
- end
354
-
355
265
  class GoogleDevtoolsRemoteworkersV1test2AdminTemp
356
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
267
 
@@ -466,18 +376,6 @@ module Google
466
376
  include Google::Apis::Core::JsonObjectSupport
467
377
  end
468
378
 
469
- class GoogleWatcherV1Change
470
- class Representation < Google::Apis::Core::JsonRepresentation; end
471
-
472
- include Google::Apis::Core::JsonObjectSupport
473
- end
474
-
475
- class GoogleWatcherV1ChangeBatch
476
- class Representation < Google::Apis::Core::JsonRepresentation; end
477
-
478
- include Google::Apis::Core::JsonObjectSupport
479
- end
480
-
481
379
  class BuildBazelRemoteExecutionV2Action
482
380
  # @private
483
381
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -859,6 +757,7 @@ module Google
859
757
  hash :labels, as: 'labels'
860
758
  property :machine_type, as: 'machineType'
861
759
  property :min_cpu_platform, as: 'minCpuPlatform'
760
+ property :network_access, as: 'networkAccess'
862
761
  property :reserved, as: 'reserved'
863
762
  end
864
763
  end
@@ -874,161 +773,6 @@ module Google
874
773
  end
875
774
  end
876
775
 
877
- class GoogleDevtoolsRemoteexecutionV1testActionResult
878
- # @private
879
- class Representation < Google::Apis::Core::JsonRepresentation
880
- property :exit_code, as: 'exitCode'
881
- collection :output_directories, as: 'outputDirectories', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testOutputDirectory, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testOutputDirectory::Representation
882
-
883
- collection :output_files, as: 'outputFiles', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testOutputFile, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testOutputFile::Representation
884
-
885
- property :stderr_digest, as: 'stderrDigest', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
886
-
887
- property :stderr_raw, :base64 => true, as: 'stderrRaw'
888
- property :stdout_digest, as: 'stdoutDigest', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
889
-
890
- property :stdout_raw, :base64 => true, as: 'stdoutRaw'
891
- end
892
- end
893
-
894
- class GoogleDevtoolsRemoteexecutionV1testCommand
895
- # @private
896
- class Representation < Google::Apis::Core::JsonRepresentation
897
- collection :arguments, as: 'arguments'
898
- collection :environment_variables, as: 'environmentVariables', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable::Representation
899
-
900
- end
901
- end
902
-
903
- class GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable
904
- # @private
905
- class Representation < Google::Apis::Core::JsonRepresentation
906
- property :name, as: 'name'
907
- property :value, as: 'value'
908
- end
909
- end
910
-
911
- class GoogleDevtoolsRemoteexecutionV1testDigest
912
- # @private
913
- class Representation < Google::Apis::Core::JsonRepresentation
914
- property :hash_prop, as: 'hash'
915
- property :size_bytes, :numeric_string => true, as: 'sizeBytes'
916
- end
917
- end
918
-
919
- class GoogleDevtoolsRemoteexecutionV1testDirectory
920
- # @private
921
- class Representation < Google::Apis::Core::JsonRepresentation
922
- collection :directories, as: 'directories', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDirectoryNode, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDirectoryNode::Representation
923
-
924
- collection :files, as: 'files', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testFileNode, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testFileNode::Representation
925
-
926
- end
927
- end
928
-
929
- class GoogleDevtoolsRemoteexecutionV1testDirectoryNode
930
- # @private
931
- class Representation < Google::Apis::Core::JsonRepresentation
932
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
933
-
934
- property :name, as: 'name'
935
- end
936
- end
937
-
938
- class GoogleDevtoolsRemoteexecutionV1testExecuteOperationMetadata
939
- # @private
940
- class Representation < Google::Apis::Core::JsonRepresentation
941
- property :action_digest, as: 'actionDigest', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
942
-
943
- property :stage, as: 'stage'
944
- property :stderr_stream_name, as: 'stderrStreamName'
945
- property :stdout_stream_name, as: 'stdoutStreamName'
946
- end
947
- end
948
-
949
- class GoogleDevtoolsRemoteexecutionV1testExecuteResponse
950
- # @private
951
- class Representation < Google::Apis::Core::JsonRepresentation
952
- property :cached_result, as: 'cachedResult'
953
- property :result, as: 'result', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testActionResult, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testActionResult::Representation
954
-
955
- hash :server_logs, as: 'serverLogs', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testLogFile, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testLogFile::Representation
956
-
957
- property :status, as: 'status', class: Google::Apis::RemotebuildexecutionV1::GoogleRpcStatus, decorator: Google::Apis::RemotebuildexecutionV1::GoogleRpcStatus::Representation
958
-
959
- end
960
- end
961
-
962
- class GoogleDevtoolsRemoteexecutionV1testFileNode
963
- # @private
964
- class Representation < Google::Apis::Core::JsonRepresentation
965
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
966
-
967
- property :is_executable, as: 'isExecutable'
968
- property :name, as: 'name'
969
- end
970
- end
971
-
972
- class GoogleDevtoolsRemoteexecutionV1testLogFile
973
- # @private
974
- class Representation < Google::Apis::Core::JsonRepresentation
975
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
976
-
977
- property :human_readable, as: 'humanReadable'
978
- end
979
- end
980
-
981
- class GoogleDevtoolsRemoteexecutionV1testOutputDirectory
982
- # @private
983
- class Representation < Google::Apis::Core::JsonRepresentation
984
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
985
-
986
- property :path, as: 'path'
987
- property :tree_digest, as: 'treeDigest', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
988
-
989
- end
990
- end
991
-
992
- class GoogleDevtoolsRemoteexecutionV1testOutputFile
993
- # @private
994
- class Representation < Google::Apis::Core::JsonRepresentation
995
- property :content, :base64 => true, as: 'content'
996
- property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest::Representation
997
-
998
- property :is_executable, as: 'isExecutable'
999
- property :path, as: 'path'
1000
- end
1001
- end
1002
-
1003
- class GoogleDevtoolsRemoteexecutionV1testRequestMetadata
1004
- # @private
1005
- class Representation < Google::Apis::Core::JsonRepresentation
1006
- property :action_id, as: 'actionId'
1007
- property :correlated_invocations_id, as: 'correlatedInvocationsId'
1008
- property :tool_details, as: 'toolDetails', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testToolDetails, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testToolDetails::Representation
1009
-
1010
- property :tool_invocation_id, as: 'toolInvocationId'
1011
- end
1012
- end
1013
-
1014
- class GoogleDevtoolsRemoteexecutionV1testToolDetails
1015
- # @private
1016
- class Representation < Google::Apis::Core::JsonRepresentation
1017
- property :tool_name, as: 'toolName'
1018
- property :tool_version, as: 'toolVersion'
1019
- end
1020
- end
1021
-
1022
- class GoogleDevtoolsRemoteexecutionV1testTree
1023
- # @private
1024
- class Representation < Google::Apis::Core::JsonRepresentation
1025
- collection :children, as: 'children', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDirectory, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDirectory::Representation
1026
-
1027
- property :root, as: 'root', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDirectory, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDirectory::Representation
1028
-
1029
- end
1030
- end
1031
-
1032
776
  class GoogleDevtoolsRemoteworkersV1test2AdminTemp
1033
777
  # @private
1034
778
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1209,25 +953,6 @@ module Google
1209
953
  property :message, as: 'message'
1210
954
  end
1211
955
  end
1212
-
1213
- class GoogleWatcherV1Change
1214
- # @private
1215
- class Representation < Google::Apis::Core::JsonRepresentation
1216
- property :continued, as: 'continued'
1217
- hash :data, as: 'data'
1218
- property :element, as: 'element'
1219
- property :resume_marker, :base64 => true, as: 'resumeMarker'
1220
- property :state, as: 'state'
1221
- end
1222
- end
1223
-
1224
- class GoogleWatcherV1ChangeBatch
1225
- # @private
1226
- class Representation < Google::Apis::Core::JsonRepresentation
1227
- collection :changes, as: 'changes', class: Google::Apis::RemotebuildexecutionV1::GoogleWatcherV1Change, decorator: Google::Apis::RemotebuildexecutionV1::GoogleWatcherV1Change::Representation
1228
-
1229
- end
1230
- end
1231
956
  end
1232
957
  end
1233
958
  end
@@ -284,83 +284,6 @@ module Google
284
284
  command.query['quotaUser'] = quota_user unless quota_user.nil?
285
285
  execute_or_queue_command(command, &block)
286
286
  end
287
-
288
- # Start a streaming RPC to get watch information from the server.
289
- # @param [String] resume_marker
290
- # The `resume_marker` specifies how much of the existing underlying state is
291
- # delivered to the client when the watch request is received by the
292
- # system. The client can set this marker in one of the following ways to get
293
- # different semantics:
294
- # * Parameter is not specified or has the value "".
295
- # Semantics: Fetch initial state.
296
- # The client wants the entity's initial state to be delivered. See the
297
- # description in "Initial State".
298
- # * Parameter is set to the string "now" (UTF-8 encoding).
299
- # Semantics: Fetch new changes only.
300
- # The client just wants to get the changes received by the system after
301
- # the watch point. The system may deliver changes from before the watch
302
- # point as well.
303
- # * Parameter is set to a value received in an earlier
304
- # `Change.resume_marker` field while watching the same entity.
305
- # Semantics: Resume from a specific point.
306
- # The client wants to receive the changes from a specific point; this
307
- # value must correspond to a value received in the `Change.resume_marker`
308
- # field. The system may deliver changes from before the `resume_marker`
309
- # as well. If the system cannot resume the stream from this point (e.g.,
310
- # if it is too far behind in the stream), it can raise the
311
- # `FAILED_PRECONDITION` error.
312
- # An implementation MUST support an unspecified parameter and the
313
- # empty string "" marker (initial state fetching) and the "now" marker.
314
- # It need not support resuming from a specific point.
315
- # @param [String] target
316
- # The `target` value **must** be a valid URL path pointing to an entity
317
- # to watch. Note that the service name **must** be
318
- # removed from the target field (e.g., the target field must say
319
- # "/foo/bar", not "myservice.googleapis.com/foo/bar"). A client is
320
- # also allowed to pass system-specific parameters in the URL that
321
- # are only obeyed by some implementations. Some parameters will be
322
- # implementation-specific. However, some have predefined meaning
323
- # and are listed here:
324
- # * recursive = true|false [default=false]
325
- # If set to true, indicates that the client wants to watch all elements
326
- # of entities in the subtree rooted at the entity's name in `target`. For
327
- # descendants that are not the immediate children of the target, the
328
- # `Change.element` will contain slashes.
329
- # Note that some namespaces and entities will not support recursive
330
- # watching. When watching such an entity, a client must not set recursive
331
- # to true. Otherwise, it will receive an `UNIMPLEMENTED` error.
332
- # Normal URL encoding must be used inside `target`. For example, if a query
333
- # parameter name or value, or the non-query parameter portion of `target`
334
- # contains a special character, it must be %-encoded. We recommend that
335
- # clients and servers use their runtime's URL library to produce and consume
336
- # target values.
337
- # @param [String] fields
338
- # Selector specifying which fields to include in a partial response.
339
- # @param [String] quota_user
340
- # Available to use for quota purposes for server-side applications. Can be any
341
- # arbitrary string assigned to a user, but should not exceed 40 characters.
342
- # @param [Google::Apis::RequestOptions] options
343
- # Request-specific options
344
- #
345
- # @yield [result, err] Result & error if block supplied
346
- # @yieldparam result [Google::Apis::RemotebuildexecutionV1::GoogleWatcherV1ChangeBatch] parsed result object
347
- # @yieldparam err [StandardError] error object if request failed
348
- #
349
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleWatcherV1ChangeBatch]
350
- #
351
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
352
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
353
- # @raise [Google::Apis::AuthorizationError] Authorization is required
354
- def watch(resume_marker: nil, target: nil, fields: nil, quota_user: nil, options: nil, &block)
355
- command = make_simple_command(:get, 'v1:watch', options)
356
- command.response_representation = Google::Apis::RemotebuildexecutionV1::GoogleWatcherV1ChangeBatch::Representation
357
- command.response_class = Google::Apis::RemotebuildexecutionV1::GoogleWatcherV1ChangeBatch
358
- command.query['resumeMarker'] = resume_marker unless resume_marker.nil?
359
- command.query['target'] = target unless target.nil?
360
- command.query['fields'] = fields unless fields.nil?
361
- command.query['quotaUser'] = quota_user unless quota_user.nil?
362
- execute_or_queue_command(command, &block)
363
- end
364
287
 
365
288
  protected
366
289
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV1alpha
27
27
  VERSION = 'V1alpha'
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'
@@ -1577,12 +1577,12 @@ module Google
1577
1577
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
1578
1578
  include Google::Apis::Core::Hashable
1579
1579
 
1580
- # The number of the guest accelerator cards exposed to this VM.
1580
+ # The number of guest accelerator cards exposed to each VM.
1581
1581
  # Corresponds to the JSON property `acceleratorCount`
1582
1582
  # @return [Fixnum]
1583
1583
  attr_accessor :accelerator_count
1584
1584
 
1585
- # The type of accelerator to attach to this VM, e.g. "nvidia-tesla-k80" for
1585
+ # The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for
1586
1586
  # nVidia Tesla K80.
1587
1587
  # Corresponds to the JSON property `acceleratorType`
1588
1588
  # @return [String]
@@ -1989,6 +1989,15 @@ module Google
1989
1989
  # @return [String]
1990
1990
  attr_accessor :min_cpu_platform
1991
1991
 
1992
+ # Determines the type of network access granted to workers. Possible values:
1993
+ # - "public": Workers can connect to the public internet.
1994
+ # - "private": Workers can only connect to Google APIs and services.
1995
+ # - "restricted-private": Workers can only connect to Google APIs that are
1996
+ # reachable through `restricted.googleapis.com` (`199.36.153.4/30`).
1997
+ # Corresponds to the JSON property `networkAccess`
1998
+ # @return [String]
1999
+ attr_accessor :network_access
2000
+
1992
2001
  # Determines whether the worker is reserved (equivalent to a Compute Engine
1993
2002
  # on-demand VM and therefore won't be preempted).
1994
2003
  # See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more
@@ -2010,6 +2019,7 @@ module Google
2010
2019
  @labels = args[:labels] if args.key?(:labels)
2011
2020
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2012
2021
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
2022
+ @network_access = args[:network_access] if args.key?(:network_access)
2013
2023
  @reserved = args[:reserved] if args.key?(:reserved)
2014
2024
  end
2015
2025
  end
@@ -2056,994 +2066,6 @@ module Google
2056
2066
  end
2057
2067
  end
2058
2068
 
2059
- # An ActionResult represents the result of an
2060
- # Action being run.
2061
- class GoogleDevtoolsRemoteexecutionV1testActionResult
2062
- include Google::Apis::Core::Hashable
2063
-
2064
- # The exit code of the command.
2065
- # Corresponds to the JSON property `exitCode`
2066
- # @return [Fixnum]
2067
- attr_accessor :exit_code
2068
-
2069
- # The output directories of the action. For each output directory requested
2070
- # in the `output_directories` field of the Action, if the corresponding
2071
- # directory existed after the action completed, a single entry will be
2072
- # present in the output list, which will contain the digest of
2073
- # a Tree message containing
2074
- # the directory tree, and the path equal exactly to the corresponding Action
2075
- # output_directories member.
2076
- # As an example, suppose the Action had an output directory `a/b/dir` and the
2077
- # execution produced the following contents in `a/b/dir`: a file named `bar`
2078
- # and a directory named `foo` with an executable file named `baz`. Then,
2079
- # output_directory will contain (hashes shortened for readability):
2080
- # ```json
2081
- # // OutputDirectory proto:
2082
- # `
2083
- # path: "a/b/dir"
2084
- # tree_digest: `
2085
- # hash: "4a73bc9d03...",
2086
- # size: 55
2087
- # `
2088
- # `
2089
- # // Tree proto with hash "4a73bc9d03..." and size 55:
2090
- # `
2091
- # root: `
2092
- # files: [
2093
- # `
2094
- # name: "bar",
2095
- # digest: `
2096
- # hash: "4a73bc9d03...",
2097
- # size: 65534
2098
- # `
2099
- # `
2100
- # ],
2101
- # directories: [
2102
- # `
2103
- # name: "foo",
2104
- # digest: `
2105
- # hash: "4cf2eda940...",
2106
- # size: 43
2107
- # `
2108
- # `
2109
- # ]
2110
- # `
2111
- # children : `
2112
- # // (Directory proto with hash "4cf2eda940..." and size 43)
2113
- # files: [
2114
- # `
2115
- # name: "baz",
2116
- # digest: `
2117
- # hash: "b2c941073e...",
2118
- # size: 1294,
2119
- # `,
2120
- # is_executable: true
2121
- # `
2122
- # ]
2123
- # `
2124
- # `
2125
- # ```
2126
- # Corresponds to the JSON property `outputDirectories`
2127
- # @return [Array<Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testOutputDirectory>]
2128
- attr_accessor :output_directories
2129
-
2130
- # The output files of the action. For each output file requested in the
2131
- # `output_files` field of the Action, if the corresponding file existed after
2132
- # the action completed, a single entry will be present in the output list.
2133
- # If the action does not produce the requested output, or produces a
2134
- # directory where a regular file is expected or vice versa, then that output
2135
- # will be omitted from the list. The server is free to arrange the output
2136
- # list as desired; clients MUST NOT assume that the output list is sorted.
2137
- # Corresponds to the JSON property `outputFiles`
2138
- # @return [Array<Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testOutputFile>]
2139
- attr_accessor :output_files
2140
-
2141
- # A content digest. A digest for a given blob consists of the size of the blob
2142
- # and its hash. The hash algorithm to use is defined by the server, but servers
2143
- # SHOULD use SHA-256.
2144
- # The size is considered to be an integral part of the digest and cannot be
2145
- # separated. That is, even if the `hash` field is correctly specified but
2146
- # `size_bytes` is not, the server MUST reject the request.
2147
- # The reason for including the size in the digest is as follows: in a great
2148
- # many cases, the server needs to know the size of the blob it is about to work
2149
- # with prior to starting an operation with it, such as flattening Merkle tree
2150
- # structures or streaming it to a worker. Technically, the server could
2151
- # implement a separate metadata store, but this results in a significantly more
2152
- # complicated implementation as opposed to having the client specify the size
2153
- # up-front (or storing the size along with the digest in every message where
2154
- # digests are embedded). This does mean that the API leaks some implementation
2155
- # details of (what we consider to be) a reasonable server implementation, but
2156
- # we consider this to be a worthwhile tradeoff.
2157
- # When a `Digest` is used to refer to a proto message, it always refers to the
2158
- # message in binary encoded form. To ensure consistent hashing, clients and
2159
- # servers MUST ensure that they serialize messages according to the following
2160
- # rules, even if there are alternate valid encodings for the same message.
2161
- # - Fields are serialized in tag order.
2162
- # - There are no unknown fields.
2163
- # - There are no duplicate fields.
2164
- # - Fields are serialized according to the default semantics for their type.
2165
- # Most protocol buffer implementations will always follow these rules when
2166
- # serializing, but care should be taken to avoid shortcuts. For instance,
2167
- # concatenating two messages to merge them may produce duplicate fields.
2168
- # Corresponds to the JSON property `stderrDigest`
2169
- # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest]
2170
- attr_accessor :stderr_digest
2171
-
2172
- # The standard error buffer of the action. The server will determine, based
2173
- # on the size of the buffer, whether to return it in raw form or to return
2174
- # a digest in `stderr_digest` that points to the buffer. If neither is set,
2175
- # then the buffer is empty. The client SHOULD NOT assume it will get one of
2176
- # the raw buffer or a digest on any given request and should be prepared to
2177
- # handle either.
2178
- # Corresponds to the JSON property `stderrRaw`
2179
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2180
- # @return [String]
2181
- attr_accessor :stderr_raw
2182
-
2183
- # A content digest. A digest for a given blob consists of the size of the blob
2184
- # and its hash. The hash algorithm to use is defined by the server, but servers
2185
- # SHOULD use SHA-256.
2186
- # The size is considered to be an integral part of the digest and cannot be
2187
- # separated. That is, even if the `hash` field is correctly specified but
2188
- # `size_bytes` is not, the server MUST reject the request.
2189
- # The reason for including the size in the digest is as follows: in a great
2190
- # many cases, the server needs to know the size of the blob it is about to work
2191
- # with prior to starting an operation with it, such as flattening Merkle tree
2192
- # structures or streaming it to a worker. Technically, the server could
2193
- # implement a separate metadata store, but this results in a significantly more
2194
- # complicated implementation as opposed to having the client specify the size
2195
- # up-front (or storing the size along with the digest in every message where
2196
- # digests are embedded). This does mean that the API leaks some implementation
2197
- # details of (what we consider to be) a reasonable server implementation, but
2198
- # we consider this to be a worthwhile tradeoff.
2199
- # When a `Digest` is used to refer to a proto message, it always refers to the
2200
- # message in binary encoded form. To ensure consistent hashing, clients and
2201
- # servers MUST ensure that they serialize messages according to the following
2202
- # rules, even if there are alternate valid encodings for the same message.
2203
- # - Fields are serialized in tag order.
2204
- # - There are no unknown fields.
2205
- # - There are no duplicate fields.
2206
- # - Fields are serialized according to the default semantics for their type.
2207
- # Most protocol buffer implementations will always follow these rules when
2208
- # serializing, but care should be taken to avoid shortcuts. For instance,
2209
- # concatenating two messages to merge them may produce duplicate fields.
2210
- # Corresponds to the JSON property `stdoutDigest`
2211
- # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest]
2212
- attr_accessor :stdout_digest
2213
-
2214
- # The standard output buffer of the action. The server will determine, based
2215
- # on the size of the buffer, whether to return it in raw form or to return
2216
- # a digest in `stdout_digest` that points to the buffer. If neither is set,
2217
- # then the buffer is empty. The client SHOULD NOT assume it will get one of
2218
- # the raw buffer or a digest on any given request and should be prepared to
2219
- # handle either.
2220
- # Corresponds to the JSON property `stdoutRaw`
2221
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2222
- # @return [String]
2223
- attr_accessor :stdout_raw
2224
-
2225
- def initialize(**args)
2226
- update!(**args)
2227
- end
2228
-
2229
- # Update properties of this object
2230
- def update!(**args)
2231
- @exit_code = args[:exit_code] if args.key?(:exit_code)
2232
- @output_directories = args[:output_directories] if args.key?(:output_directories)
2233
- @output_files = args[:output_files] if args.key?(:output_files)
2234
- @stderr_digest = args[:stderr_digest] if args.key?(:stderr_digest)
2235
- @stderr_raw = args[:stderr_raw] if args.key?(:stderr_raw)
2236
- @stdout_digest = args[:stdout_digest] if args.key?(:stdout_digest)
2237
- @stdout_raw = args[:stdout_raw] if args.key?(:stdout_raw)
2238
- end
2239
- end
2240
-
2241
- # A `Command` is the actual command executed by a worker running an
2242
- # Action.
2243
- # Except as otherwise required, the environment (such as which system
2244
- # libraries or binaries are available, and what filesystems are mounted where)
2245
- # is defined by and specific to the implementation of the remote execution API.
2246
- class GoogleDevtoolsRemoteexecutionV1testCommand
2247
- include Google::Apis::Core::Hashable
2248
-
2249
- # The arguments to the command. The first argument must be the path to the
2250
- # executable, which must be either a relative path, in which case it is
2251
- # evaluated with respect to the input root, or an absolute path.
2252
- # The working directory will always be the input root.
2253
- # Corresponds to the JSON property `arguments`
2254
- # @return [Array<String>]
2255
- attr_accessor :arguments
2256
-
2257
- # The environment variables to set when running the program. The worker may
2258
- # provide its own default environment variables; these defaults can be
2259
- # overridden using this field. Additional variables can also be specified.
2260
- # In order to ensure that equivalent `Command`s always hash to the same
2261
- # value, the environment variables MUST be lexicographically sorted by name.
2262
- # Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
2263
- # Corresponds to the JSON property `environmentVariables`
2264
- # @return [Array<Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable>]
2265
- attr_accessor :environment_variables
2266
-
2267
- def initialize(**args)
2268
- update!(**args)
2269
- end
2270
-
2271
- # Update properties of this object
2272
- def update!(**args)
2273
- @arguments = args[:arguments] if args.key?(:arguments)
2274
- @environment_variables = args[:environment_variables] if args.key?(:environment_variables)
2275
- end
2276
- end
2277
-
2278
- # An `EnvironmentVariable` is one variable to set in the running program's
2279
- # environment.
2280
- class GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable
2281
- include Google::Apis::Core::Hashable
2282
-
2283
- # The variable name.
2284
- # Corresponds to the JSON property `name`
2285
- # @return [String]
2286
- attr_accessor :name
2287
-
2288
- # The variable value.
2289
- # Corresponds to the JSON property `value`
2290
- # @return [String]
2291
- attr_accessor :value
2292
-
2293
- def initialize(**args)
2294
- update!(**args)
2295
- end
2296
-
2297
- # Update properties of this object
2298
- def update!(**args)
2299
- @name = args[:name] if args.key?(:name)
2300
- @value = args[:value] if args.key?(:value)
2301
- end
2302
- end
2303
-
2304
- # A content digest. A digest for a given blob consists of the size of the blob
2305
- # and its hash. The hash algorithm to use is defined by the server, but servers
2306
- # SHOULD use SHA-256.
2307
- # The size is considered to be an integral part of the digest and cannot be
2308
- # separated. That is, even if the `hash` field is correctly specified but
2309
- # `size_bytes` is not, the server MUST reject the request.
2310
- # The reason for including the size in the digest is as follows: in a great
2311
- # many cases, the server needs to know the size of the blob it is about to work
2312
- # with prior to starting an operation with it, such as flattening Merkle tree
2313
- # structures or streaming it to a worker. Technically, the server could
2314
- # implement a separate metadata store, but this results in a significantly more
2315
- # complicated implementation as opposed to having the client specify the size
2316
- # up-front (or storing the size along with the digest in every message where
2317
- # digests are embedded). This does mean that the API leaks some implementation
2318
- # details of (what we consider to be) a reasonable server implementation, but
2319
- # we consider this to be a worthwhile tradeoff.
2320
- # When a `Digest` is used to refer to a proto message, it always refers to the
2321
- # message in binary encoded form. To ensure consistent hashing, clients and
2322
- # servers MUST ensure that they serialize messages according to the following
2323
- # rules, even if there are alternate valid encodings for the same message.
2324
- # - Fields are serialized in tag order.
2325
- # - There are no unknown fields.
2326
- # - There are no duplicate fields.
2327
- # - Fields are serialized according to the default semantics for their type.
2328
- # Most protocol buffer implementations will always follow these rules when
2329
- # serializing, but care should be taken to avoid shortcuts. For instance,
2330
- # concatenating two messages to merge them may produce duplicate fields.
2331
- class GoogleDevtoolsRemoteexecutionV1testDigest
2332
- include Google::Apis::Core::Hashable
2333
-
2334
- # The hash. In the case of SHA-256, it will always be a lowercase hex string
2335
- # exactly 64 characters long.
2336
- # Corresponds to the JSON property `hash`
2337
- # @return [String]
2338
- attr_accessor :hash_prop
2339
-
2340
- # The size of the blob, in bytes.
2341
- # Corresponds to the JSON property `sizeBytes`
2342
- # @return [Fixnum]
2343
- attr_accessor :size_bytes
2344
-
2345
- def initialize(**args)
2346
- update!(**args)
2347
- end
2348
-
2349
- # Update properties of this object
2350
- def update!(**args)
2351
- @hash_prop = args[:hash_prop] if args.key?(:hash_prop)
2352
- @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
2353
- end
2354
- end
2355
-
2356
- # A `Directory` represents a directory node in a file tree, containing zero or
2357
- # more children FileNodes
2358
- # and DirectoryNodes.
2359
- # Each `Node` contains its name in the directory, the digest of its content
2360
- # (either a file blob or a `Directory` proto), as well as possibly some
2361
- # metadata about the file or directory.
2362
- # In order to ensure that two equivalent directory trees hash to the same
2363
- # value, the following restrictions MUST be obeyed when constructing a
2364
- # a `Directory`:
2365
- # - Every child in the directory must have a path of exactly one segment.
2366
- # Multiple levels of directory hierarchy may not be collapsed.
2367
- # - Each child in the directory must have a unique path segment (file name).
2368
- # - The files and directories in the directory must each be sorted in
2369
- # lexicographical order by path. The path strings must be sorted by code
2370
- # point, equivalently, by UTF-8 bytes.
2371
- # A `Directory` that obeys the restrictions is said to be in canonical form.
2372
- # As an example, the following could be used for a file named `bar` and a
2373
- # directory named `foo` with an executable file named `baz` (hashes shortened
2374
- # for readability):
2375
- # ```json
2376
- # // (Directory proto)
2377
- # `
2378
- # files: [
2379
- # `
2380
- # name: "bar",
2381
- # digest: `
2382
- # hash: "4a73bc9d03...",
2383
- # size: 65534
2384
- # `
2385
- # `
2386
- # ],
2387
- # directories: [
2388
- # `
2389
- # name: "foo",
2390
- # digest: `
2391
- # hash: "4cf2eda940...",
2392
- # size: 43
2393
- # `
2394
- # `
2395
- # ]
2396
- # `
2397
- # // (Directory proto with hash "4cf2eda940..." and size 43)
2398
- # `
2399
- # files: [
2400
- # `
2401
- # name: "baz",
2402
- # digest: `
2403
- # hash: "b2c941073e...",
2404
- # size: 1294,
2405
- # `,
2406
- # is_executable: true
2407
- # `
2408
- # ]
2409
- # `
2410
- # ```
2411
- class GoogleDevtoolsRemoteexecutionV1testDirectory
2412
- include Google::Apis::Core::Hashable
2413
-
2414
- # The subdirectories in the directory.
2415
- # Corresponds to the JSON property `directories`
2416
- # @return [Array<Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDirectoryNode>]
2417
- attr_accessor :directories
2418
-
2419
- # The files in the directory.
2420
- # Corresponds to the JSON property `files`
2421
- # @return [Array<Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testFileNode>]
2422
- attr_accessor :files
2423
-
2424
- def initialize(**args)
2425
- update!(**args)
2426
- end
2427
-
2428
- # Update properties of this object
2429
- def update!(**args)
2430
- @directories = args[:directories] if args.key?(:directories)
2431
- @files = args[:files] if args.key?(:files)
2432
- end
2433
- end
2434
-
2435
- # A `DirectoryNode` represents a child of a
2436
- # Directory which is itself
2437
- # a `Directory` and its associated metadata.
2438
- class GoogleDevtoolsRemoteexecutionV1testDirectoryNode
2439
- include Google::Apis::Core::Hashable
2440
-
2441
- # A content digest. A digest for a given blob consists of the size of the blob
2442
- # and its hash. The hash algorithm to use is defined by the server, but servers
2443
- # SHOULD use SHA-256.
2444
- # The size is considered to be an integral part of the digest and cannot be
2445
- # separated. That is, even if the `hash` field is correctly specified but
2446
- # `size_bytes` is not, the server MUST reject the request.
2447
- # The reason for including the size in the digest is as follows: in a great
2448
- # many cases, the server needs to know the size of the blob it is about to work
2449
- # with prior to starting an operation with it, such as flattening Merkle tree
2450
- # structures or streaming it to a worker. Technically, the server could
2451
- # implement a separate metadata store, but this results in a significantly more
2452
- # complicated implementation as opposed to having the client specify the size
2453
- # up-front (or storing the size along with the digest in every message where
2454
- # digests are embedded). This does mean that the API leaks some implementation
2455
- # details of (what we consider to be) a reasonable server implementation, but
2456
- # we consider this to be a worthwhile tradeoff.
2457
- # When a `Digest` is used to refer to a proto message, it always refers to the
2458
- # message in binary encoded form. To ensure consistent hashing, clients and
2459
- # servers MUST ensure that they serialize messages according to the following
2460
- # rules, even if there are alternate valid encodings for the same message.
2461
- # - Fields are serialized in tag order.
2462
- # - There are no unknown fields.
2463
- # - There are no duplicate fields.
2464
- # - Fields are serialized according to the default semantics for their type.
2465
- # Most protocol buffer implementations will always follow these rules when
2466
- # serializing, but care should be taken to avoid shortcuts. For instance,
2467
- # concatenating two messages to merge them may produce duplicate fields.
2468
- # Corresponds to the JSON property `digest`
2469
- # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest]
2470
- attr_accessor :digest
2471
-
2472
- # The name of the directory.
2473
- # Corresponds to the JSON property `name`
2474
- # @return [String]
2475
- attr_accessor :name
2476
-
2477
- def initialize(**args)
2478
- update!(**args)
2479
- end
2480
-
2481
- # Update properties of this object
2482
- def update!(**args)
2483
- @digest = args[:digest] if args.key?(:digest)
2484
- @name = args[:name] if args.key?(:name)
2485
- end
2486
- end
2487
-
2488
- # Metadata about an ongoing
2489
- # execution, which
2490
- # will be contained in the metadata
2491
- # field of the
2492
- # Operation.
2493
- class GoogleDevtoolsRemoteexecutionV1testExecuteOperationMetadata
2494
- include Google::Apis::Core::Hashable
2495
-
2496
- # A content digest. A digest for a given blob consists of the size of the blob
2497
- # and its hash. The hash algorithm to use is defined by the server, but servers
2498
- # SHOULD use SHA-256.
2499
- # The size is considered to be an integral part of the digest and cannot be
2500
- # separated. That is, even if the `hash` field is correctly specified but
2501
- # `size_bytes` is not, the server MUST reject the request.
2502
- # The reason for including the size in the digest is as follows: in a great
2503
- # many cases, the server needs to know the size of the blob it is about to work
2504
- # with prior to starting an operation with it, such as flattening Merkle tree
2505
- # structures or streaming it to a worker. Technically, the server could
2506
- # implement a separate metadata store, but this results in a significantly more
2507
- # complicated implementation as opposed to having the client specify the size
2508
- # up-front (or storing the size along with the digest in every message where
2509
- # digests are embedded). This does mean that the API leaks some implementation
2510
- # details of (what we consider to be) a reasonable server implementation, but
2511
- # we consider this to be a worthwhile tradeoff.
2512
- # When a `Digest` is used to refer to a proto message, it always refers to the
2513
- # message in binary encoded form. To ensure consistent hashing, clients and
2514
- # servers MUST ensure that they serialize messages according to the following
2515
- # rules, even if there are alternate valid encodings for the same message.
2516
- # - Fields are serialized in tag order.
2517
- # - There are no unknown fields.
2518
- # - There are no duplicate fields.
2519
- # - Fields are serialized according to the default semantics for their type.
2520
- # Most protocol buffer implementations will always follow these rules when
2521
- # serializing, but care should be taken to avoid shortcuts. For instance,
2522
- # concatenating two messages to merge them may produce duplicate fields.
2523
- # Corresponds to the JSON property `actionDigest`
2524
- # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest]
2525
- attr_accessor :action_digest
2526
-
2527
- #
2528
- # Corresponds to the JSON property `stage`
2529
- # @return [String]
2530
- attr_accessor :stage
2531
-
2532
- # If set, the client can use this name with
2533
- # ByteStream.Read to stream the
2534
- # standard error.
2535
- # Corresponds to the JSON property `stderrStreamName`
2536
- # @return [String]
2537
- attr_accessor :stderr_stream_name
2538
-
2539
- # If set, the client can use this name with
2540
- # ByteStream.Read to stream the
2541
- # standard output.
2542
- # Corresponds to the JSON property `stdoutStreamName`
2543
- # @return [String]
2544
- attr_accessor :stdout_stream_name
2545
-
2546
- def initialize(**args)
2547
- update!(**args)
2548
- end
2549
-
2550
- # Update properties of this object
2551
- def update!(**args)
2552
- @action_digest = args[:action_digest] if args.key?(:action_digest)
2553
- @stage = args[:stage] if args.key?(:stage)
2554
- @stderr_stream_name = args[:stderr_stream_name] if args.key?(:stderr_stream_name)
2555
- @stdout_stream_name = args[:stdout_stream_name] if args.key?(:stdout_stream_name)
2556
- end
2557
- end
2558
-
2559
- # The response message for
2560
- # Execution.Execute,
2561
- # which will be contained in the response
2562
- # field of the
2563
- # Operation.
2564
- class GoogleDevtoolsRemoteexecutionV1testExecuteResponse
2565
- include Google::Apis::Core::Hashable
2566
-
2567
- # True if the result was served from cache, false if it was executed.
2568
- # Corresponds to the JSON property `cachedResult`
2569
- # @return [Boolean]
2570
- attr_accessor :cached_result
2571
- alias_method :cached_result?, :cached_result
2572
-
2573
- # An ActionResult represents the result of an
2574
- # Action being run.
2575
- # Corresponds to the JSON property `result`
2576
- # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testActionResult]
2577
- attr_accessor :result
2578
-
2579
- # An optional list of additional log outputs the server wishes to provide. A
2580
- # server can use this to return execution-specific logs however it wishes.
2581
- # This is intended primarily to make it easier for users to debug issues that
2582
- # may be outside of the actual job execution, such as by identifying the
2583
- # worker executing the action or by providing logs from the worker's setup
2584
- # phase. The keys SHOULD be human readable so that a client can display them
2585
- # to a user.
2586
- # Corresponds to the JSON property `serverLogs`
2587
- # @return [Hash<String,Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testLogFile>]
2588
- attr_accessor :server_logs
2589
-
2590
- # The `Status` type defines a logical error model that is suitable for
2591
- # different programming environments, including REST APIs and RPC APIs. It is
2592
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2593
- # three pieces of data: error code, error message, and error details.
2594
- # You can find out more about this error model and how to work with it in the
2595
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2596
- # Corresponds to the JSON property `status`
2597
- # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleRpcStatus]
2598
- attr_accessor :status
2599
-
2600
- def initialize(**args)
2601
- update!(**args)
2602
- end
2603
-
2604
- # Update properties of this object
2605
- def update!(**args)
2606
- @cached_result = args[:cached_result] if args.key?(:cached_result)
2607
- @result = args[:result] if args.key?(:result)
2608
- @server_logs = args[:server_logs] if args.key?(:server_logs)
2609
- @status = args[:status] if args.key?(:status)
2610
- end
2611
- end
2612
-
2613
- # A `FileNode` represents a single file and associated metadata.
2614
- class GoogleDevtoolsRemoteexecutionV1testFileNode
2615
- include Google::Apis::Core::Hashable
2616
-
2617
- # A content digest. A digest for a given blob consists of the size of the blob
2618
- # and its hash. The hash algorithm to use is defined by the server, but servers
2619
- # SHOULD use SHA-256.
2620
- # The size is considered to be an integral part of the digest and cannot be
2621
- # separated. That is, even if the `hash` field is correctly specified but
2622
- # `size_bytes` is not, the server MUST reject the request.
2623
- # The reason for including the size in the digest is as follows: in a great
2624
- # many cases, the server needs to know the size of the blob it is about to work
2625
- # with prior to starting an operation with it, such as flattening Merkle tree
2626
- # structures or streaming it to a worker. Technically, the server could
2627
- # implement a separate metadata store, but this results in a significantly more
2628
- # complicated implementation as opposed to having the client specify the size
2629
- # up-front (or storing the size along with the digest in every message where
2630
- # digests are embedded). This does mean that the API leaks some implementation
2631
- # details of (what we consider to be) a reasonable server implementation, but
2632
- # we consider this to be a worthwhile tradeoff.
2633
- # When a `Digest` is used to refer to a proto message, it always refers to the
2634
- # message in binary encoded form. To ensure consistent hashing, clients and
2635
- # servers MUST ensure that they serialize messages according to the following
2636
- # rules, even if there are alternate valid encodings for the same message.
2637
- # - Fields are serialized in tag order.
2638
- # - There are no unknown fields.
2639
- # - There are no duplicate fields.
2640
- # - Fields are serialized according to the default semantics for their type.
2641
- # Most protocol buffer implementations will always follow these rules when
2642
- # serializing, but care should be taken to avoid shortcuts. For instance,
2643
- # concatenating two messages to merge them may produce duplicate fields.
2644
- # Corresponds to the JSON property `digest`
2645
- # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest]
2646
- attr_accessor :digest
2647
-
2648
- # True if file is executable, false otherwise.
2649
- # Corresponds to the JSON property `isExecutable`
2650
- # @return [Boolean]
2651
- attr_accessor :is_executable
2652
- alias_method :is_executable?, :is_executable
2653
-
2654
- # The name of the file.
2655
- # Corresponds to the JSON property `name`
2656
- # @return [String]
2657
- attr_accessor :name
2658
-
2659
- def initialize(**args)
2660
- update!(**args)
2661
- end
2662
-
2663
- # Update properties of this object
2664
- def update!(**args)
2665
- @digest = args[:digest] if args.key?(:digest)
2666
- @is_executable = args[:is_executable] if args.key?(:is_executable)
2667
- @name = args[:name] if args.key?(:name)
2668
- end
2669
- end
2670
-
2671
- # A `LogFile` is a log stored in the CAS.
2672
- class GoogleDevtoolsRemoteexecutionV1testLogFile
2673
- include Google::Apis::Core::Hashable
2674
-
2675
- # A content digest. A digest for a given blob consists of the size of the blob
2676
- # and its hash. The hash algorithm to use is defined by the server, but servers
2677
- # SHOULD use SHA-256.
2678
- # The size is considered to be an integral part of the digest and cannot be
2679
- # separated. That is, even if the `hash` field is correctly specified but
2680
- # `size_bytes` is not, the server MUST reject the request.
2681
- # The reason for including the size in the digest is as follows: in a great
2682
- # many cases, the server needs to know the size of the blob it is about to work
2683
- # with prior to starting an operation with it, such as flattening Merkle tree
2684
- # structures or streaming it to a worker. Technically, the server could
2685
- # implement a separate metadata store, but this results in a significantly more
2686
- # complicated implementation as opposed to having the client specify the size
2687
- # up-front (or storing the size along with the digest in every message where
2688
- # digests are embedded). This does mean that the API leaks some implementation
2689
- # details of (what we consider to be) a reasonable server implementation, but
2690
- # we consider this to be a worthwhile tradeoff.
2691
- # When a `Digest` is used to refer to a proto message, it always refers to the
2692
- # message in binary encoded form. To ensure consistent hashing, clients and
2693
- # servers MUST ensure that they serialize messages according to the following
2694
- # rules, even if there are alternate valid encodings for the same message.
2695
- # - Fields are serialized in tag order.
2696
- # - There are no unknown fields.
2697
- # - There are no duplicate fields.
2698
- # - Fields are serialized according to the default semantics for their type.
2699
- # Most protocol buffer implementations will always follow these rules when
2700
- # serializing, but care should be taken to avoid shortcuts. For instance,
2701
- # concatenating two messages to merge them may produce duplicate fields.
2702
- # Corresponds to the JSON property `digest`
2703
- # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest]
2704
- attr_accessor :digest
2705
-
2706
- # This is a hint as to the purpose of the log, and is set to true if the log
2707
- # is human-readable text that can be usefully displayed to a user, and false
2708
- # otherwise. For instance, if a command-line client wishes to print the
2709
- # server logs to the terminal for a failed action, this allows it to avoid
2710
- # displaying a binary file.
2711
- # Corresponds to the JSON property `humanReadable`
2712
- # @return [Boolean]
2713
- attr_accessor :human_readable
2714
- alias_method :human_readable?, :human_readable
2715
-
2716
- def initialize(**args)
2717
- update!(**args)
2718
- end
2719
-
2720
- # Update properties of this object
2721
- def update!(**args)
2722
- @digest = args[:digest] if args.key?(:digest)
2723
- @human_readable = args[:human_readable] if args.key?(:human_readable)
2724
- end
2725
- end
2726
-
2727
- # An `OutputDirectory` is the output in an `ActionResult` corresponding to a
2728
- # directory's full contents rather than a single file.
2729
- class GoogleDevtoolsRemoteexecutionV1testOutputDirectory
2730
- include Google::Apis::Core::Hashable
2731
-
2732
- # A content digest. A digest for a given blob consists of the size of the blob
2733
- # and its hash. The hash algorithm to use is defined by the server, but servers
2734
- # SHOULD use SHA-256.
2735
- # The size is considered to be an integral part of the digest and cannot be
2736
- # separated. That is, even if the `hash` field is correctly specified but
2737
- # `size_bytes` is not, the server MUST reject the request.
2738
- # The reason for including the size in the digest is as follows: in a great
2739
- # many cases, the server needs to know the size of the blob it is about to work
2740
- # with prior to starting an operation with it, such as flattening Merkle tree
2741
- # structures or streaming it to a worker. Technically, the server could
2742
- # implement a separate metadata store, but this results in a significantly more
2743
- # complicated implementation as opposed to having the client specify the size
2744
- # up-front (or storing the size along with the digest in every message where
2745
- # digests are embedded). This does mean that the API leaks some implementation
2746
- # details of (what we consider to be) a reasonable server implementation, but
2747
- # we consider this to be a worthwhile tradeoff.
2748
- # When a `Digest` is used to refer to a proto message, it always refers to the
2749
- # message in binary encoded form. To ensure consistent hashing, clients and
2750
- # servers MUST ensure that they serialize messages according to the following
2751
- # rules, even if there are alternate valid encodings for the same message.
2752
- # - Fields are serialized in tag order.
2753
- # - There are no unknown fields.
2754
- # - There are no duplicate fields.
2755
- # - Fields are serialized according to the default semantics for their type.
2756
- # Most protocol buffer implementations will always follow these rules when
2757
- # serializing, but care should be taken to avoid shortcuts. For instance,
2758
- # concatenating two messages to merge them may produce duplicate fields.
2759
- # Corresponds to the JSON property `digest`
2760
- # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest]
2761
- attr_accessor :digest
2762
-
2763
- # The full path of the directory relative to the working directory. The path
2764
- # separator is a forward slash `/`. Since this is a relative path, it MUST
2765
- # NOT begin with a leading forward slash. The empty string value is allowed,
2766
- # and it denotes the entire working directory.
2767
- # Corresponds to the JSON property `path`
2768
- # @return [String]
2769
- attr_accessor :path
2770
-
2771
- # A content digest. A digest for a given blob consists of the size of the blob
2772
- # and its hash. The hash algorithm to use is defined by the server, but servers
2773
- # SHOULD use SHA-256.
2774
- # The size is considered to be an integral part of the digest and cannot be
2775
- # separated. That is, even if the `hash` field is correctly specified but
2776
- # `size_bytes` is not, the server MUST reject the request.
2777
- # The reason for including the size in the digest is as follows: in a great
2778
- # many cases, the server needs to know the size of the blob it is about to work
2779
- # with prior to starting an operation with it, such as flattening Merkle tree
2780
- # structures or streaming it to a worker. Technically, the server could
2781
- # implement a separate metadata store, but this results in a significantly more
2782
- # complicated implementation as opposed to having the client specify the size
2783
- # up-front (or storing the size along with the digest in every message where
2784
- # digests are embedded). This does mean that the API leaks some implementation
2785
- # details of (what we consider to be) a reasonable server implementation, but
2786
- # we consider this to be a worthwhile tradeoff.
2787
- # When a `Digest` is used to refer to a proto message, it always refers to the
2788
- # message in binary encoded form. To ensure consistent hashing, clients and
2789
- # servers MUST ensure that they serialize messages according to the following
2790
- # rules, even if there are alternate valid encodings for the same message.
2791
- # - Fields are serialized in tag order.
2792
- # - There are no unknown fields.
2793
- # - There are no duplicate fields.
2794
- # - Fields are serialized according to the default semantics for their type.
2795
- # Most protocol buffer implementations will always follow these rules when
2796
- # serializing, but care should be taken to avoid shortcuts. For instance,
2797
- # concatenating two messages to merge them may produce duplicate fields.
2798
- # Corresponds to the JSON property `treeDigest`
2799
- # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest]
2800
- attr_accessor :tree_digest
2801
-
2802
- def initialize(**args)
2803
- update!(**args)
2804
- end
2805
-
2806
- # Update properties of this object
2807
- def update!(**args)
2808
- @digest = args[:digest] if args.key?(:digest)
2809
- @path = args[:path] if args.key?(:path)
2810
- @tree_digest = args[:tree_digest] if args.key?(:tree_digest)
2811
- end
2812
- end
2813
-
2814
- # An `OutputFile` is similar to a
2815
- # FileNode, but it is
2816
- # tailored for output as part of an `ActionResult`. It allows a full file path
2817
- # rather than only a name, and allows the server to include content inline.
2818
- # `OutputFile` is binary-compatible with `FileNode`.
2819
- class GoogleDevtoolsRemoteexecutionV1testOutputFile
2820
- include Google::Apis::Core::Hashable
2821
-
2822
- # The raw content of the file.
2823
- # This field may be used by the server to provide the content of a file
2824
- # inline in an
2825
- # ActionResult and
2826
- # avoid requiring that the client make a separate call to
2827
- # [ContentAddressableStorage.GetBlob] to retrieve it.
2828
- # The client SHOULD NOT assume that it will get raw content with any request,
2829
- # and always be prepared to retrieve it via `digest`.
2830
- # Corresponds to the JSON property `content`
2831
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2832
- # @return [String]
2833
- attr_accessor :content
2834
-
2835
- # A content digest. A digest for a given blob consists of the size of the blob
2836
- # and its hash. The hash algorithm to use is defined by the server, but servers
2837
- # SHOULD use SHA-256.
2838
- # The size is considered to be an integral part of the digest and cannot be
2839
- # separated. That is, even if the `hash` field is correctly specified but
2840
- # `size_bytes` is not, the server MUST reject the request.
2841
- # The reason for including the size in the digest is as follows: in a great
2842
- # many cases, the server needs to know the size of the blob it is about to work
2843
- # with prior to starting an operation with it, such as flattening Merkle tree
2844
- # structures or streaming it to a worker. Technically, the server could
2845
- # implement a separate metadata store, but this results in a significantly more
2846
- # complicated implementation as opposed to having the client specify the size
2847
- # up-front (or storing the size along with the digest in every message where
2848
- # digests are embedded). This does mean that the API leaks some implementation
2849
- # details of (what we consider to be) a reasonable server implementation, but
2850
- # we consider this to be a worthwhile tradeoff.
2851
- # When a `Digest` is used to refer to a proto message, it always refers to the
2852
- # message in binary encoded form. To ensure consistent hashing, clients and
2853
- # servers MUST ensure that they serialize messages according to the following
2854
- # rules, even if there are alternate valid encodings for the same message.
2855
- # - Fields are serialized in tag order.
2856
- # - There are no unknown fields.
2857
- # - There are no duplicate fields.
2858
- # - Fields are serialized according to the default semantics for their type.
2859
- # Most protocol buffer implementations will always follow these rules when
2860
- # serializing, but care should be taken to avoid shortcuts. For instance,
2861
- # concatenating two messages to merge them may produce duplicate fields.
2862
- # Corresponds to the JSON property `digest`
2863
- # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDigest]
2864
- attr_accessor :digest
2865
-
2866
- # True if file is executable, false otherwise.
2867
- # Corresponds to the JSON property `isExecutable`
2868
- # @return [Boolean]
2869
- attr_accessor :is_executable
2870
- alias_method :is_executable?, :is_executable
2871
-
2872
- # The full path of the file relative to the input root, including the
2873
- # filename. The path separator is a forward slash `/`. Since this is a
2874
- # relative path, it MUST NOT begin with a leading forward slash.
2875
- # Corresponds to the JSON property `path`
2876
- # @return [String]
2877
- attr_accessor :path
2878
-
2879
- def initialize(**args)
2880
- update!(**args)
2881
- end
2882
-
2883
- # Update properties of this object
2884
- def update!(**args)
2885
- @content = args[:content] if args.key?(:content)
2886
- @digest = args[:digest] if args.key?(:digest)
2887
- @is_executable = args[:is_executable] if args.key?(:is_executable)
2888
- @path = args[:path] if args.key?(:path)
2889
- end
2890
- end
2891
-
2892
- # An optional Metadata to attach to any RPC request to tell the server about an
2893
- # external context of the request. The server may use this for logging or other
2894
- # purposes. To use it, the client attaches the header to the call using the
2895
- # canonical proto serialization:
2896
- # name: google.devtools.remoteexecution.v1test.requestmetadata-bin
2897
- # contents: the base64 encoded binary RequestMetadata message.
2898
- class GoogleDevtoolsRemoteexecutionV1testRequestMetadata
2899
- include Google::Apis::Core::Hashable
2900
-
2901
- # An identifier that ties multiple requests to the same action.
2902
- # For example, multiple requests to the CAS, Action Cache, and Execution
2903
- # API are used in order to compile foo.cc.
2904
- # Corresponds to the JSON property `actionId`
2905
- # @return [String]
2906
- attr_accessor :action_id
2907
-
2908
- # An identifier to tie multiple tool invocations together. For example,
2909
- # runs of foo_test, bar_test and baz_test on a post-submit of a given patch.
2910
- # Corresponds to the JSON property `correlatedInvocationsId`
2911
- # @return [String]
2912
- attr_accessor :correlated_invocations_id
2913
-
2914
- # Details for the tool used to call the API.
2915
- # Corresponds to the JSON property `toolDetails`
2916
- # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testToolDetails]
2917
- attr_accessor :tool_details
2918
-
2919
- # An identifier that ties multiple actions together to a final result.
2920
- # For example, multiple actions are required to build and run foo_test.
2921
- # Corresponds to the JSON property `toolInvocationId`
2922
- # @return [String]
2923
- attr_accessor :tool_invocation_id
2924
-
2925
- def initialize(**args)
2926
- update!(**args)
2927
- end
2928
-
2929
- # Update properties of this object
2930
- def update!(**args)
2931
- @action_id = args[:action_id] if args.key?(:action_id)
2932
- @correlated_invocations_id = args[:correlated_invocations_id] if args.key?(:correlated_invocations_id)
2933
- @tool_details = args[:tool_details] if args.key?(:tool_details)
2934
- @tool_invocation_id = args[:tool_invocation_id] if args.key?(:tool_invocation_id)
2935
- end
2936
- end
2937
-
2938
- # Details for the tool used to call the API.
2939
- class GoogleDevtoolsRemoteexecutionV1testToolDetails
2940
- include Google::Apis::Core::Hashable
2941
-
2942
- # Name of the tool, e.g. bazel.
2943
- # Corresponds to the JSON property `toolName`
2944
- # @return [String]
2945
- attr_accessor :tool_name
2946
-
2947
- # Version of the tool used for the request, e.g. 5.0.3.
2948
- # Corresponds to the JSON property `toolVersion`
2949
- # @return [String]
2950
- attr_accessor :tool_version
2951
-
2952
- def initialize(**args)
2953
- update!(**args)
2954
- end
2955
-
2956
- # Update properties of this object
2957
- def update!(**args)
2958
- @tool_name = args[:tool_name] if args.key?(:tool_name)
2959
- @tool_version = args[:tool_version] if args.key?(:tool_version)
2960
- end
2961
- end
2962
-
2963
- # A `Tree` contains all the
2964
- # Directory protos in a
2965
- # single directory Merkle tree, compressed into one message.
2966
- class GoogleDevtoolsRemoteexecutionV1testTree
2967
- include Google::Apis::Core::Hashable
2968
-
2969
- # All the child directories: the directories referred to by the root and,
2970
- # recursively, all its children. In order to reconstruct the directory tree,
2971
- # the client must take the digests of each of the child directories and then
2972
- # build up a tree starting from the `root`.
2973
- # Corresponds to the JSON property `children`
2974
- # @return [Array<Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDirectory>]
2975
- attr_accessor :children
2976
-
2977
- # A `Directory` represents a directory node in a file tree, containing zero or
2978
- # more children FileNodes
2979
- # and DirectoryNodes.
2980
- # Each `Node` contains its name in the directory, the digest of its content
2981
- # (either a file blob or a `Directory` proto), as well as possibly some
2982
- # metadata about the file or directory.
2983
- # In order to ensure that two equivalent directory trees hash to the same
2984
- # value, the following restrictions MUST be obeyed when constructing a
2985
- # a `Directory`:
2986
- # - Every child in the directory must have a path of exactly one segment.
2987
- # Multiple levels of directory hierarchy may not be collapsed.
2988
- # - Each child in the directory must have a unique path segment (file name).
2989
- # - The files and directories in the directory must each be sorted in
2990
- # lexicographical order by path. The path strings must be sorted by code
2991
- # point, equivalently, by UTF-8 bytes.
2992
- # A `Directory` that obeys the restrictions is said to be in canonical form.
2993
- # As an example, the following could be used for a file named `bar` and a
2994
- # directory named `foo` with an executable file named `baz` (hashes shortened
2995
- # for readability):
2996
- # ```json
2997
- # // (Directory proto)
2998
- # `
2999
- # files: [
3000
- # `
3001
- # name: "bar",
3002
- # digest: `
3003
- # hash: "4a73bc9d03...",
3004
- # size: 65534
3005
- # `
3006
- # `
3007
- # ],
3008
- # directories: [
3009
- # `
3010
- # name: "foo",
3011
- # digest: `
3012
- # hash: "4cf2eda940...",
3013
- # size: 43
3014
- # `
3015
- # `
3016
- # ]
3017
- # `
3018
- # // (Directory proto with hash "4cf2eda940..." and size 43)
3019
- # `
3020
- # files: [
3021
- # `
3022
- # name: "baz",
3023
- # digest: `
3024
- # hash: "b2c941073e...",
3025
- # size: 1294,
3026
- # `,
3027
- # is_executable: true
3028
- # `
3029
- # ]
3030
- # `
3031
- # ```
3032
- # Corresponds to the JSON property `root`
3033
- # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testDirectory]
3034
- attr_accessor :root
3035
-
3036
- def initialize(**args)
3037
- update!(**args)
3038
- end
3039
-
3040
- # Update properties of this object
3041
- def update!(**args)
3042
- @children = args[:children] if args.key?(:children)
3043
- @root = args[:root] if args.key?(:root)
3044
- end
3045
- end
3046
-
3047
2069
  # AdminTemp is a prelimiary set of administration tasks. It's called "Temp"
3048
2070
  # because we do not yet know the best way to represent admin tasks; it's
3049
2071
  # possible that this will be entirely replaced in later versions of this API.