google-api-client 0.31.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV1
27
27
  VERSION = 'V1'
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'
@@ -1596,12 +1596,12 @@ module Google
1596
1596
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
1597
1597
  include Google::Apis::Core::Hashable
1598
1598
 
1599
- # The number of the guest accelerator cards exposed to this VM.
1599
+ # The number of guest accelerator cards exposed to each VM.
1600
1600
  # Corresponds to the JSON property `acceleratorCount`
1601
1601
  # @return [Fixnum]
1602
1602
  attr_accessor :accelerator_count
1603
1603
 
1604
- # The type of accelerator to attach to this VM, e.g. "nvidia-tesla-k80" for
1604
+ # The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for
1605
1605
  # nVidia Tesla K80.
1606
1606
  # Corresponds to the JSON property `acceleratorType`
1607
1607
  # @return [String]
@@ -2008,938 +2008,23 @@ module Google
2008
2008
  # @return [String]
2009
2009
  attr_accessor :min_cpu_platform
2010
2010
 
2011
- # Determines whether the worker is reserved (equivalent to a Compute Engine
2012
- # on-demand VM and therefore won't be preempted).
2013
- # See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more
2014
- # details.
2015
- # Corresponds to the JSON property `reserved`
2016
- # @return [Boolean]
2017
- attr_accessor :reserved
2018
- alias_method :reserved?, :reserved
2019
-
2020
- def initialize(**args)
2021
- update!(**args)
2022
- end
2023
-
2024
- # Update properties of this object
2025
- def update!(**args)
2026
- @accelerator = args[:accelerator] if args.key?(:accelerator)
2027
- @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2028
- @disk_type = args[:disk_type] if args.key?(:disk_type)
2029
- @labels = args[:labels] if args.key?(:labels)
2030
- @machine_type = args[:machine_type] if args.key?(:machine_type)
2031
- @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
2032
- @reserved = args[:reserved] if args.key?(:reserved)
2033
- end
2034
- end
2035
-
2036
- # A worker pool resource in the Remote Build Execution API.
2037
- class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
2038
- include Google::Apis::Core::Hashable
2039
-
2040
- # WorkerPool resource name formatted as:
2041
- # `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
2042
- # name should not be populated when creating a worker pool since it is
2043
- # provided in the `poolId` field.
2044
- # Corresponds to the JSON property `name`
2045
- # @return [String]
2046
- attr_accessor :name
2047
-
2048
- # Output only. State of the worker pool.
2049
- # Corresponds to the JSON property `state`
2050
- # @return [String]
2051
- attr_accessor :state
2052
-
2053
- # Defines the configuration to be used for a creating workers in
2054
- # the worker pool.
2055
- # Corresponds to the JSON property `workerConfig`
2056
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig]
2057
- attr_accessor :worker_config
2058
-
2059
- # The desired number of workers in the worker pool. Must be a value between
2060
- # 0 and 1000.
2061
- # Corresponds to the JSON property `workerCount`
2062
- # @return [Fixnum]
2063
- attr_accessor :worker_count
2064
-
2065
- def initialize(**args)
2066
- update!(**args)
2067
- end
2068
-
2069
- # Update properties of this object
2070
- def update!(**args)
2071
- @name = args[:name] if args.key?(:name)
2072
- @state = args[:state] if args.key?(:state)
2073
- @worker_config = args[:worker_config] if args.key?(:worker_config)
2074
- @worker_count = args[:worker_count] if args.key?(:worker_count)
2075
- end
2076
- end
2077
-
2078
- # An ActionResult represents the result of an
2079
- # Action being run.
2080
- class GoogleDevtoolsRemoteexecutionV1testActionResult
2081
- include Google::Apis::Core::Hashable
2082
-
2083
- # The exit code of the command.
2084
- # Corresponds to the JSON property `exitCode`
2085
- # @return [Fixnum]
2086
- attr_accessor :exit_code
2087
-
2088
- # The output directories of the action. For each output directory requested
2089
- # in the `output_directories` field of the Action, if the corresponding
2090
- # directory existed after the action completed, a single entry will be
2091
- # present in the output list, which will contain the digest of
2092
- # a Tree message containing
2093
- # the directory tree, and the path equal exactly to the corresponding Action
2094
- # output_directories member.
2095
- # As an example, suppose the Action had an output directory `a/b/dir` and the
2096
- # execution produced the following contents in `a/b/dir`: a file named `bar`
2097
- # and a directory named `foo` with an executable file named `baz`. Then,
2098
- # output_directory will contain (hashes shortened for readability):
2099
- # ```json
2100
- # // OutputDirectory proto:
2101
- # `
2102
- # path: "a/b/dir"
2103
- # tree_digest: `
2104
- # hash: "4a73bc9d03...",
2105
- # size: 55
2106
- # `
2107
- # `
2108
- # // Tree proto with hash "4a73bc9d03..." and size 55:
2109
- # `
2110
- # root: `
2111
- # files: [
2112
- # `
2113
- # name: "bar",
2114
- # digest: `
2115
- # hash: "4a73bc9d03...",
2116
- # size: 65534
2117
- # `
2118
- # `
2119
- # ],
2120
- # directories: [
2121
- # `
2122
- # name: "foo",
2123
- # digest: `
2124
- # hash: "4cf2eda940...",
2125
- # size: 43
2126
- # `
2127
- # `
2128
- # ]
2129
- # `
2130
- # children : `
2131
- # // (Directory proto with hash "4cf2eda940..." and size 43)
2132
- # files: [
2133
- # `
2134
- # name: "baz",
2135
- # digest: `
2136
- # hash: "b2c941073e...",
2137
- # size: 1294,
2138
- # `,
2139
- # is_executable: true
2140
- # `
2141
- # ]
2142
- # `
2143
- # `
2144
- # ```
2145
- # Corresponds to the JSON property `outputDirectories`
2146
- # @return [Array<Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testOutputDirectory>]
2147
- attr_accessor :output_directories
2148
-
2149
- # The output files of the action. For each output file requested in the
2150
- # `output_files` field of the Action, if the corresponding file existed after
2151
- # the action completed, a single entry will be present in the output list.
2152
- # If the action does not produce the requested output, or produces a
2153
- # directory where a regular file is expected or vice versa, then that output
2154
- # will be omitted from the list. The server is free to arrange the output
2155
- # list as desired; clients MUST NOT assume that the output list is sorted.
2156
- # Corresponds to the JSON property `outputFiles`
2157
- # @return [Array<Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testOutputFile>]
2158
- attr_accessor :output_files
2159
-
2160
- # A content digest. A digest for a given blob consists of the size of the blob
2161
- # and its hash. The hash algorithm to use is defined by the server, but servers
2162
- # SHOULD use SHA-256.
2163
- # The size is considered to be an integral part of the digest and cannot be
2164
- # separated. That is, even if the `hash` field is correctly specified but
2165
- # `size_bytes` is not, the server MUST reject the request.
2166
- # The reason for including the size in the digest is as follows: in a great
2167
- # many cases, the server needs to know the size of the blob it is about to work
2168
- # with prior to starting an operation with it, such as flattening Merkle tree
2169
- # structures or streaming it to a worker. Technically, the server could
2170
- # implement a separate metadata store, but this results in a significantly more
2171
- # complicated implementation as opposed to having the client specify the size
2172
- # up-front (or storing the size along with the digest in every message where
2173
- # digests are embedded). This does mean that the API leaks some implementation
2174
- # details of (what we consider to be) a reasonable server implementation, but
2175
- # we consider this to be a worthwhile tradeoff.
2176
- # When a `Digest` is used to refer to a proto message, it always refers to the
2177
- # message in binary encoded form. To ensure consistent hashing, clients and
2178
- # servers MUST ensure that they serialize messages according to the following
2179
- # rules, even if there are alternate valid encodings for the same message.
2180
- # - Fields are serialized in tag order.
2181
- # - There are no unknown fields.
2182
- # - There are no duplicate fields.
2183
- # - Fields are serialized according to the default semantics for their type.
2184
- # Most protocol buffer implementations will always follow these rules when
2185
- # serializing, but care should be taken to avoid shortcuts. For instance,
2186
- # concatenating two messages to merge them may produce duplicate fields.
2187
- # Corresponds to the JSON property `stderrDigest`
2188
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest]
2189
- attr_accessor :stderr_digest
2190
-
2191
- # The standard error buffer of the action. The server will determine, based
2192
- # on the size of the buffer, whether to return it in raw form or to return
2193
- # a digest in `stderr_digest` that points to the buffer. If neither is set,
2194
- # then the buffer is empty. The client SHOULD NOT assume it will get one of
2195
- # the raw buffer or a digest on any given request and should be prepared to
2196
- # handle either.
2197
- # Corresponds to the JSON property `stderrRaw`
2198
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2199
- # @return [String]
2200
- attr_accessor :stderr_raw
2201
-
2202
- # A content digest. A digest for a given blob consists of the size of the blob
2203
- # and its hash. The hash algorithm to use is defined by the server, but servers
2204
- # SHOULD use SHA-256.
2205
- # The size is considered to be an integral part of the digest and cannot be
2206
- # separated. That is, even if the `hash` field is correctly specified but
2207
- # `size_bytes` is not, the server MUST reject the request.
2208
- # The reason for including the size in the digest is as follows: in a great
2209
- # many cases, the server needs to know the size of the blob it is about to work
2210
- # with prior to starting an operation with it, such as flattening Merkle tree
2211
- # structures or streaming it to a worker. Technically, the server could
2212
- # implement a separate metadata store, but this results in a significantly more
2213
- # complicated implementation as opposed to having the client specify the size
2214
- # up-front (or storing the size along with the digest in every message where
2215
- # digests are embedded). This does mean that the API leaks some implementation
2216
- # details of (what we consider to be) a reasonable server implementation, but
2217
- # we consider this to be a worthwhile tradeoff.
2218
- # When a `Digest` is used to refer to a proto message, it always refers to the
2219
- # message in binary encoded form. To ensure consistent hashing, clients and
2220
- # servers MUST ensure that they serialize messages according to the following
2221
- # rules, even if there are alternate valid encodings for the same message.
2222
- # - Fields are serialized in tag order.
2223
- # - There are no unknown fields.
2224
- # - There are no duplicate fields.
2225
- # - Fields are serialized according to the default semantics for their type.
2226
- # Most protocol buffer implementations will always follow these rules when
2227
- # serializing, but care should be taken to avoid shortcuts. For instance,
2228
- # concatenating two messages to merge them may produce duplicate fields.
2229
- # Corresponds to the JSON property `stdoutDigest`
2230
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest]
2231
- attr_accessor :stdout_digest
2232
-
2233
- # The standard output buffer of the action. The server will determine, based
2234
- # on the size of the buffer, whether to return it in raw form or to return
2235
- # a digest in `stdout_digest` that points to the buffer. If neither is set,
2236
- # then the buffer is empty. The client SHOULD NOT assume it will get one of
2237
- # the raw buffer or a digest on any given request and should be prepared to
2238
- # handle either.
2239
- # Corresponds to the JSON property `stdoutRaw`
2240
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2241
- # @return [String]
2242
- attr_accessor :stdout_raw
2243
-
2244
- def initialize(**args)
2245
- update!(**args)
2246
- end
2247
-
2248
- # Update properties of this object
2249
- def update!(**args)
2250
- @exit_code = args[:exit_code] if args.key?(:exit_code)
2251
- @output_directories = args[:output_directories] if args.key?(:output_directories)
2252
- @output_files = args[:output_files] if args.key?(:output_files)
2253
- @stderr_digest = args[:stderr_digest] if args.key?(:stderr_digest)
2254
- @stderr_raw = args[:stderr_raw] if args.key?(:stderr_raw)
2255
- @stdout_digest = args[:stdout_digest] if args.key?(:stdout_digest)
2256
- @stdout_raw = args[:stdout_raw] if args.key?(:stdout_raw)
2257
- end
2258
- end
2259
-
2260
- # A `Command` is the actual command executed by a worker running an
2261
- # Action.
2262
- # Except as otherwise required, the environment (such as which system
2263
- # libraries or binaries are available, and what filesystems are mounted where)
2264
- # is defined by and specific to the implementation of the remote execution API.
2265
- class GoogleDevtoolsRemoteexecutionV1testCommand
2266
- include Google::Apis::Core::Hashable
2267
-
2268
- # The arguments to the command. The first argument must be the path to the
2269
- # executable, which must be either a relative path, in which case it is
2270
- # evaluated with respect to the input root, or an absolute path.
2271
- # The working directory will always be the input root.
2272
- # Corresponds to the JSON property `arguments`
2273
- # @return [Array<String>]
2274
- attr_accessor :arguments
2275
-
2276
- # The environment variables to set when running the program. The worker may
2277
- # provide its own default environment variables; these defaults can be
2278
- # overridden using this field. Additional variables can also be specified.
2279
- # In order to ensure that equivalent `Command`s always hash to the same
2280
- # value, the environment variables MUST be lexicographically sorted by name.
2281
- # Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
2282
- # Corresponds to the JSON property `environmentVariables`
2283
- # @return [Array<Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable>]
2284
- attr_accessor :environment_variables
2285
-
2286
- def initialize(**args)
2287
- update!(**args)
2288
- end
2289
-
2290
- # Update properties of this object
2291
- def update!(**args)
2292
- @arguments = args[:arguments] if args.key?(:arguments)
2293
- @environment_variables = args[:environment_variables] if args.key?(:environment_variables)
2294
- end
2295
- end
2296
-
2297
- # An `EnvironmentVariable` is one variable to set in the running program's
2298
- # environment.
2299
- class GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable
2300
- include Google::Apis::Core::Hashable
2301
-
2302
- # The variable name.
2303
- # Corresponds to the JSON property `name`
2304
- # @return [String]
2305
- attr_accessor :name
2306
-
2307
- # The variable value.
2308
- # Corresponds to the JSON property `value`
2309
- # @return [String]
2310
- attr_accessor :value
2311
-
2312
- def initialize(**args)
2313
- update!(**args)
2314
- end
2315
-
2316
- # Update properties of this object
2317
- def update!(**args)
2318
- @name = args[:name] if args.key?(:name)
2319
- @value = args[:value] if args.key?(:value)
2320
- end
2321
- end
2322
-
2323
- # A content digest. A digest for a given blob consists of the size of the blob
2324
- # and its hash. The hash algorithm to use is defined by the server, but servers
2325
- # SHOULD use SHA-256.
2326
- # The size is considered to be an integral part of the digest and cannot be
2327
- # separated. That is, even if the `hash` field is correctly specified but
2328
- # `size_bytes` is not, the server MUST reject the request.
2329
- # The reason for including the size in the digest is as follows: in a great
2330
- # many cases, the server needs to know the size of the blob it is about to work
2331
- # with prior to starting an operation with it, such as flattening Merkle tree
2332
- # structures or streaming it to a worker. Technically, the server could
2333
- # implement a separate metadata store, but this results in a significantly more
2334
- # complicated implementation as opposed to having the client specify the size
2335
- # up-front (or storing the size along with the digest in every message where
2336
- # digests are embedded). This does mean that the API leaks some implementation
2337
- # details of (what we consider to be) a reasonable server implementation, but
2338
- # we consider this to be a worthwhile tradeoff.
2339
- # When a `Digest` is used to refer to a proto message, it always refers to the
2340
- # message in binary encoded form. To ensure consistent hashing, clients and
2341
- # servers MUST ensure that they serialize messages according to the following
2342
- # rules, even if there are alternate valid encodings for the same message.
2343
- # - Fields are serialized in tag order.
2344
- # - There are no unknown fields.
2345
- # - There are no duplicate fields.
2346
- # - Fields are serialized according to the default semantics for their type.
2347
- # Most protocol buffer implementations will always follow these rules when
2348
- # serializing, but care should be taken to avoid shortcuts. For instance,
2349
- # concatenating two messages to merge them may produce duplicate fields.
2350
- class GoogleDevtoolsRemoteexecutionV1testDigest
2351
- include Google::Apis::Core::Hashable
2352
-
2353
- # The hash. In the case of SHA-256, it will always be a lowercase hex string
2354
- # exactly 64 characters long.
2355
- # Corresponds to the JSON property `hash`
2356
- # @return [String]
2357
- attr_accessor :hash_prop
2358
-
2359
- # The size of the blob, in bytes.
2360
- # Corresponds to the JSON property `sizeBytes`
2361
- # @return [Fixnum]
2362
- attr_accessor :size_bytes
2363
-
2364
- def initialize(**args)
2365
- update!(**args)
2366
- end
2367
-
2368
- # Update properties of this object
2369
- def update!(**args)
2370
- @hash_prop = args[:hash_prop] if args.key?(:hash_prop)
2371
- @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
2372
- end
2373
- end
2374
-
2375
- # A `Directory` represents a directory node in a file tree, containing zero or
2376
- # more children FileNodes
2377
- # and DirectoryNodes.
2378
- # Each `Node` contains its name in the directory, the digest of its content
2379
- # (either a file blob or a `Directory` proto), as well as possibly some
2380
- # metadata about the file or directory.
2381
- # In order to ensure that two equivalent directory trees hash to the same
2382
- # value, the following restrictions MUST be obeyed when constructing a
2383
- # a `Directory`:
2384
- # - Every child in the directory must have a path of exactly one segment.
2385
- # Multiple levels of directory hierarchy may not be collapsed.
2386
- # - Each child in the directory must have a unique path segment (file name).
2387
- # - The files and directories in the directory must each be sorted in
2388
- # lexicographical order by path. The path strings must be sorted by code
2389
- # point, equivalently, by UTF-8 bytes.
2390
- # A `Directory` that obeys the restrictions is said to be in canonical form.
2391
- # As an example, the following could be used for a file named `bar` and a
2392
- # directory named `foo` with an executable file named `baz` (hashes shortened
2393
- # for readability):
2394
- # ```json
2395
- # // (Directory proto)
2396
- # `
2397
- # files: [
2398
- # `
2399
- # name: "bar",
2400
- # digest: `
2401
- # hash: "4a73bc9d03...",
2402
- # size: 65534
2403
- # `
2404
- # `
2405
- # ],
2406
- # directories: [
2407
- # `
2408
- # name: "foo",
2409
- # digest: `
2410
- # hash: "4cf2eda940...",
2411
- # size: 43
2412
- # `
2413
- # `
2414
- # ]
2415
- # `
2416
- # // (Directory proto with hash "4cf2eda940..." and size 43)
2417
- # `
2418
- # files: [
2419
- # `
2420
- # name: "baz",
2421
- # digest: `
2422
- # hash: "b2c941073e...",
2423
- # size: 1294,
2424
- # `,
2425
- # is_executable: true
2426
- # `
2427
- # ]
2428
- # `
2429
- # ```
2430
- class GoogleDevtoolsRemoteexecutionV1testDirectory
2431
- include Google::Apis::Core::Hashable
2432
-
2433
- # The subdirectories in the directory.
2434
- # Corresponds to the JSON property `directories`
2435
- # @return [Array<Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDirectoryNode>]
2436
- attr_accessor :directories
2437
-
2438
- # The files in the directory.
2439
- # Corresponds to the JSON property `files`
2440
- # @return [Array<Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testFileNode>]
2441
- attr_accessor :files
2442
-
2443
- def initialize(**args)
2444
- update!(**args)
2445
- end
2446
-
2447
- # Update properties of this object
2448
- def update!(**args)
2449
- @directories = args[:directories] if args.key?(:directories)
2450
- @files = args[:files] if args.key?(:files)
2451
- end
2452
- end
2453
-
2454
- # A `DirectoryNode` represents a child of a
2455
- # Directory which is itself
2456
- # a `Directory` and its associated metadata.
2457
- class GoogleDevtoolsRemoteexecutionV1testDirectoryNode
2458
- include Google::Apis::Core::Hashable
2459
-
2460
- # A content digest. A digest for a given blob consists of the size of the blob
2461
- # and its hash. The hash algorithm to use is defined by the server, but servers
2462
- # SHOULD use SHA-256.
2463
- # The size is considered to be an integral part of the digest and cannot be
2464
- # separated. That is, even if the `hash` field is correctly specified but
2465
- # `size_bytes` is not, the server MUST reject the request.
2466
- # The reason for including the size in the digest is as follows: in a great
2467
- # many cases, the server needs to know the size of the blob it is about to work
2468
- # with prior to starting an operation with it, such as flattening Merkle tree
2469
- # structures or streaming it to a worker. Technically, the server could
2470
- # implement a separate metadata store, but this results in a significantly more
2471
- # complicated implementation as opposed to having the client specify the size
2472
- # up-front (or storing the size along with the digest in every message where
2473
- # digests are embedded). This does mean that the API leaks some implementation
2474
- # details of (what we consider to be) a reasonable server implementation, but
2475
- # we consider this to be a worthwhile tradeoff.
2476
- # When a `Digest` is used to refer to a proto message, it always refers to the
2477
- # message in binary encoded form. To ensure consistent hashing, clients and
2478
- # servers MUST ensure that they serialize messages according to the following
2479
- # rules, even if there are alternate valid encodings for the same message.
2480
- # - Fields are serialized in tag order.
2481
- # - There are no unknown fields.
2482
- # - There are no duplicate fields.
2483
- # - Fields are serialized according to the default semantics for their type.
2484
- # Most protocol buffer implementations will always follow these rules when
2485
- # serializing, but care should be taken to avoid shortcuts. For instance,
2486
- # concatenating two messages to merge them may produce duplicate fields.
2487
- # Corresponds to the JSON property `digest`
2488
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest]
2489
- attr_accessor :digest
2490
-
2491
- # The name of the directory.
2492
- # Corresponds to the JSON property `name`
2493
- # @return [String]
2494
- attr_accessor :name
2495
-
2496
- def initialize(**args)
2497
- update!(**args)
2498
- end
2499
-
2500
- # Update properties of this object
2501
- def update!(**args)
2502
- @digest = args[:digest] if args.key?(:digest)
2503
- @name = args[:name] if args.key?(:name)
2504
- end
2505
- end
2506
-
2507
- # Metadata about an ongoing
2508
- # execution, which
2509
- # will be contained in the metadata
2510
- # field of the
2511
- # Operation.
2512
- class GoogleDevtoolsRemoteexecutionV1testExecuteOperationMetadata
2513
- include Google::Apis::Core::Hashable
2514
-
2515
- # A content digest. A digest for a given blob consists of the size of the blob
2516
- # and its hash. The hash algorithm to use is defined by the server, but servers
2517
- # SHOULD use SHA-256.
2518
- # The size is considered to be an integral part of the digest and cannot be
2519
- # separated. That is, even if the `hash` field is correctly specified but
2520
- # `size_bytes` is not, the server MUST reject the request.
2521
- # The reason for including the size in the digest is as follows: in a great
2522
- # many cases, the server needs to know the size of the blob it is about to work
2523
- # with prior to starting an operation with it, such as flattening Merkle tree
2524
- # structures or streaming it to a worker. Technically, the server could
2525
- # implement a separate metadata store, but this results in a significantly more
2526
- # complicated implementation as opposed to having the client specify the size
2527
- # up-front (or storing the size along with the digest in every message where
2528
- # digests are embedded). This does mean that the API leaks some implementation
2529
- # details of (what we consider to be) a reasonable server implementation, but
2530
- # we consider this to be a worthwhile tradeoff.
2531
- # When a `Digest` is used to refer to a proto message, it always refers to the
2532
- # message in binary encoded form. To ensure consistent hashing, clients and
2533
- # servers MUST ensure that they serialize messages according to the following
2534
- # rules, even if there are alternate valid encodings for the same message.
2535
- # - Fields are serialized in tag order.
2536
- # - There are no unknown fields.
2537
- # - There are no duplicate fields.
2538
- # - Fields are serialized according to the default semantics for their type.
2539
- # Most protocol buffer implementations will always follow these rules when
2540
- # serializing, but care should be taken to avoid shortcuts. For instance,
2541
- # concatenating two messages to merge them may produce duplicate fields.
2542
- # Corresponds to the JSON property `actionDigest`
2543
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest]
2544
- attr_accessor :action_digest
2545
-
2546
- #
2547
- # Corresponds to the JSON property `stage`
2548
- # @return [String]
2549
- attr_accessor :stage
2550
-
2551
- # If set, the client can use this name with
2552
- # ByteStream.Read to stream the
2553
- # standard error.
2554
- # Corresponds to the JSON property `stderrStreamName`
2555
- # @return [String]
2556
- attr_accessor :stderr_stream_name
2557
-
2558
- # If set, the client can use this name with
2559
- # ByteStream.Read to stream the
2560
- # standard output.
2561
- # Corresponds to the JSON property `stdoutStreamName`
2562
- # @return [String]
2563
- attr_accessor :stdout_stream_name
2564
-
2565
- def initialize(**args)
2566
- update!(**args)
2567
- end
2568
-
2569
- # Update properties of this object
2570
- def update!(**args)
2571
- @action_digest = args[:action_digest] if args.key?(:action_digest)
2572
- @stage = args[:stage] if args.key?(:stage)
2573
- @stderr_stream_name = args[:stderr_stream_name] if args.key?(:stderr_stream_name)
2574
- @stdout_stream_name = args[:stdout_stream_name] if args.key?(:stdout_stream_name)
2575
- end
2576
- end
2577
-
2578
- # The response message for
2579
- # Execution.Execute,
2580
- # which will be contained in the response
2581
- # field of the
2582
- # Operation.
2583
- class GoogleDevtoolsRemoteexecutionV1testExecuteResponse
2584
- include Google::Apis::Core::Hashable
2585
-
2586
- # True if the result was served from cache, false if it was executed.
2587
- # Corresponds to the JSON property `cachedResult`
2588
- # @return [Boolean]
2589
- attr_accessor :cached_result
2590
- alias_method :cached_result?, :cached_result
2591
-
2592
- # An ActionResult represents the result of an
2593
- # Action being run.
2594
- # Corresponds to the JSON property `result`
2595
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testActionResult]
2596
- attr_accessor :result
2597
-
2598
- # An optional list of additional log outputs the server wishes to provide. A
2599
- # server can use this to return execution-specific logs however it wishes.
2600
- # This is intended primarily to make it easier for users to debug issues that
2601
- # may be outside of the actual job execution, such as by identifying the
2602
- # worker executing the action or by providing logs from the worker's setup
2603
- # phase. The keys SHOULD be human readable so that a client can display them
2604
- # to a user.
2605
- # Corresponds to the JSON property `serverLogs`
2606
- # @return [Hash<String,Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testLogFile>]
2607
- attr_accessor :server_logs
2608
-
2609
- # The `Status` type defines a logical error model that is suitable for
2610
- # different programming environments, including REST APIs and RPC APIs. It is
2611
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2612
- # three pieces of data: error code, error message, and error details.
2613
- # You can find out more about this error model and how to work with it in the
2614
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2615
- # Corresponds to the JSON property `status`
2616
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleRpcStatus]
2617
- attr_accessor :status
2618
-
2619
- def initialize(**args)
2620
- update!(**args)
2621
- end
2622
-
2623
- # Update properties of this object
2624
- def update!(**args)
2625
- @cached_result = args[:cached_result] if args.key?(:cached_result)
2626
- @result = args[:result] if args.key?(:result)
2627
- @server_logs = args[:server_logs] if args.key?(:server_logs)
2628
- @status = args[:status] if args.key?(:status)
2629
- end
2630
- end
2631
-
2632
- # A `FileNode` represents a single file and associated metadata.
2633
- class GoogleDevtoolsRemoteexecutionV1testFileNode
2634
- include Google::Apis::Core::Hashable
2635
-
2636
- # A content digest. A digest for a given blob consists of the size of the blob
2637
- # and its hash. The hash algorithm to use is defined by the server, but servers
2638
- # SHOULD use SHA-256.
2639
- # The size is considered to be an integral part of the digest and cannot be
2640
- # separated. That is, even if the `hash` field is correctly specified but
2641
- # `size_bytes` is not, the server MUST reject the request.
2642
- # The reason for including the size in the digest is as follows: in a great
2643
- # many cases, the server needs to know the size of the blob it is about to work
2644
- # with prior to starting an operation with it, such as flattening Merkle tree
2645
- # structures or streaming it to a worker. Technically, the server could
2646
- # implement a separate metadata store, but this results in a significantly more
2647
- # complicated implementation as opposed to having the client specify the size
2648
- # up-front (or storing the size along with the digest in every message where
2649
- # digests are embedded). This does mean that the API leaks some implementation
2650
- # details of (what we consider to be) a reasonable server implementation, but
2651
- # we consider this to be a worthwhile tradeoff.
2652
- # When a `Digest` is used to refer to a proto message, it always refers to the
2653
- # message in binary encoded form. To ensure consistent hashing, clients and
2654
- # servers MUST ensure that they serialize messages according to the following
2655
- # rules, even if there are alternate valid encodings for the same message.
2656
- # - Fields are serialized in tag order.
2657
- # - There are no unknown fields.
2658
- # - There are no duplicate fields.
2659
- # - Fields are serialized according to the default semantics for their type.
2660
- # Most protocol buffer implementations will always follow these rules when
2661
- # serializing, but care should be taken to avoid shortcuts. For instance,
2662
- # concatenating two messages to merge them may produce duplicate fields.
2663
- # Corresponds to the JSON property `digest`
2664
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest]
2665
- attr_accessor :digest
2666
-
2667
- # True if file is executable, false otherwise.
2668
- # Corresponds to the JSON property `isExecutable`
2669
- # @return [Boolean]
2670
- attr_accessor :is_executable
2671
- alias_method :is_executable?, :is_executable
2672
-
2673
- # The name of the file.
2674
- # Corresponds to the JSON property `name`
2675
- # @return [String]
2676
- attr_accessor :name
2677
-
2678
- def initialize(**args)
2679
- update!(**args)
2680
- end
2681
-
2682
- # Update properties of this object
2683
- def update!(**args)
2684
- @digest = args[:digest] if args.key?(:digest)
2685
- @is_executable = args[:is_executable] if args.key?(:is_executable)
2686
- @name = args[:name] if args.key?(:name)
2687
- end
2688
- end
2689
-
2690
- # A `LogFile` is a log stored in the CAS.
2691
- class GoogleDevtoolsRemoteexecutionV1testLogFile
2692
- include Google::Apis::Core::Hashable
2693
-
2694
- # A content digest. A digest for a given blob consists of the size of the blob
2695
- # and its hash. The hash algorithm to use is defined by the server, but servers
2696
- # SHOULD use SHA-256.
2697
- # The size is considered to be an integral part of the digest and cannot be
2698
- # separated. That is, even if the `hash` field is correctly specified but
2699
- # `size_bytes` is not, the server MUST reject the request.
2700
- # The reason for including the size in the digest is as follows: in a great
2701
- # many cases, the server needs to know the size of the blob it is about to work
2702
- # with prior to starting an operation with it, such as flattening Merkle tree
2703
- # structures or streaming it to a worker. Technically, the server could
2704
- # implement a separate metadata store, but this results in a significantly more
2705
- # complicated implementation as opposed to having the client specify the size
2706
- # up-front (or storing the size along with the digest in every message where
2707
- # digests are embedded). This does mean that the API leaks some implementation
2708
- # details of (what we consider to be) a reasonable server implementation, but
2709
- # we consider this to be a worthwhile tradeoff.
2710
- # When a `Digest` is used to refer to a proto message, it always refers to the
2711
- # message in binary encoded form. To ensure consistent hashing, clients and
2712
- # servers MUST ensure that they serialize messages according to the following
2713
- # rules, even if there are alternate valid encodings for the same message.
2714
- # - Fields are serialized in tag order.
2715
- # - There are no unknown fields.
2716
- # - There are no duplicate fields.
2717
- # - Fields are serialized according to the default semantics for their type.
2718
- # Most protocol buffer implementations will always follow these rules when
2719
- # serializing, but care should be taken to avoid shortcuts. For instance,
2720
- # concatenating two messages to merge them may produce duplicate fields.
2721
- # Corresponds to the JSON property `digest`
2722
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest]
2723
- attr_accessor :digest
2724
-
2725
- # This is a hint as to the purpose of the log, and is set to true if the log
2726
- # is human-readable text that can be usefully displayed to a user, and false
2727
- # otherwise. For instance, if a command-line client wishes to print the
2728
- # server logs to the terminal for a failed action, this allows it to avoid
2729
- # displaying a binary file.
2730
- # Corresponds to the JSON property `humanReadable`
2731
- # @return [Boolean]
2732
- attr_accessor :human_readable
2733
- alias_method :human_readable?, :human_readable
2734
-
2735
- def initialize(**args)
2736
- update!(**args)
2737
- end
2738
-
2739
- # Update properties of this object
2740
- def update!(**args)
2741
- @digest = args[:digest] if args.key?(:digest)
2742
- @human_readable = args[:human_readable] if args.key?(:human_readable)
2743
- end
2744
- end
2745
-
2746
- # An `OutputDirectory` is the output in an `ActionResult` corresponding to a
2747
- # directory's full contents rather than a single file.
2748
- class GoogleDevtoolsRemoteexecutionV1testOutputDirectory
2749
- include Google::Apis::Core::Hashable
2750
-
2751
- # A content digest. A digest for a given blob consists of the size of the blob
2752
- # and its hash. The hash algorithm to use is defined by the server, but servers
2753
- # SHOULD use SHA-256.
2754
- # The size is considered to be an integral part of the digest and cannot be
2755
- # separated. That is, even if the `hash` field is correctly specified but
2756
- # `size_bytes` is not, the server MUST reject the request.
2757
- # The reason for including the size in the digest is as follows: in a great
2758
- # many cases, the server needs to know the size of the blob it is about to work
2759
- # with prior to starting an operation with it, such as flattening Merkle tree
2760
- # structures or streaming it to a worker. Technically, the server could
2761
- # implement a separate metadata store, but this results in a significantly more
2762
- # complicated implementation as opposed to having the client specify the size
2763
- # up-front (or storing the size along with the digest in every message where
2764
- # digests are embedded). This does mean that the API leaks some implementation
2765
- # details of (what we consider to be) a reasonable server implementation, but
2766
- # we consider this to be a worthwhile tradeoff.
2767
- # When a `Digest` is used to refer to a proto message, it always refers to the
2768
- # message in binary encoded form. To ensure consistent hashing, clients and
2769
- # servers MUST ensure that they serialize messages according to the following
2770
- # rules, even if there are alternate valid encodings for the same message.
2771
- # - Fields are serialized in tag order.
2772
- # - There are no unknown fields.
2773
- # - There are no duplicate fields.
2774
- # - Fields are serialized according to the default semantics for their type.
2775
- # Most protocol buffer implementations will always follow these rules when
2776
- # serializing, but care should be taken to avoid shortcuts. For instance,
2777
- # concatenating two messages to merge them may produce duplicate fields.
2778
- # Corresponds to the JSON property `digest`
2779
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest]
2780
- attr_accessor :digest
2781
-
2782
- # The full path of the directory relative to the working directory. The path
2783
- # separator is a forward slash `/`. Since this is a relative path, it MUST
2784
- # NOT begin with a leading forward slash. The empty string value is allowed,
2785
- # and it denotes the entire working directory.
2786
- # Corresponds to the JSON property `path`
2787
- # @return [String]
2788
- attr_accessor :path
2789
-
2790
- # A content digest. A digest for a given blob consists of the size of the blob
2791
- # and its hash. The hash algorithm to use is defined by the server, but servers
2792
- # SHOULD use SHA-256.
2793
- # The size is considered to be an integral part of the digest and cannot be
2794
- # separated. That is, even if the `hash` field is correctly specified but
2795
- # `size_bytes` is not, the server MUST reject the request.
2796
- # The reason for including the size in the digest is as follows: in a great
2797
- # many cases, the server needs to know the size of the blob it is about to work
2798
- # with prior to starting an operation with it, such as flattening Merkle tree
2799
- # structures or streaming it to a worker. Technically, the server could
2800
- # implement a separate metadata store, but this results in a significantly more
2801
- # complicated implementation as opposed to having the client specify the size
2802
- # up-front (or storing the size along with the digest in every message where
2803
- # digests are embedded). This does mean that the API leaks some implementation
2804
- # details of (what we consider to be) a reasonable server implementation, but
2805
- # we consider this to be a worthwhile tradeoff.
2806
- # When a `Digest` is used to refer to a proto message, it always refers to the
2807
- # message in binary encoded form. To ensure consistent hashing, clients and
2808
- # servers MUST ensure that they serialize messages according to the following
2809
- # rules, even if there are alternate valid encodings for the same message.
2810
- # - Fields are serialized in tag order.
2811
- # - There are no unknown fields.
2812
- # - There are no duplicate fields.
2813
- # - Fields are serialized according to the default semantics for their type.
2814
- # Most protocol buffer implementations will always follow these rules when
2815
- # serializing, but care should be taken to avoid shortcuts. For instance,
2816
- # concatenating two messages to merge them may produce duplicate fields.
2817
- # Corresponds to the JSON property `treeDigest`
2818
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest]
2819
- attr_accessor :tree_digest
2820
-
2821
- def initialize(**args)
2822
- update!(**args)
2823
- end
2824
-
2825
- # Update properties of this object
2826
- def update!(**args)
2827
- @digest = args[:digest] if args.key?(:digest)
2828
- @path = args[:path] if args.key?(:path)
2829
- @tree_digest = args[:tree_digest] if args.key?(:tree_digest)
2830
- end
2831
- end
2832
-
2833
- # An `OutputFile` is similar to a
2834
- # FileNode, but it is
2835
- # tailored for output as part of an `ActionResult`. It allows a full file path
2836
- # rather than only a name, and allows the server to include content inline.
2837
- # `OutputFile` is binary-compatible with `FileNode`.
2838
- class GoogleDevtoolsRemoteexecutionV1testOutputFile
2839
- include Google::Apis::Core::Hashable
2840
-
2841
- # The raw content of the file.
2842
- # This field may be used by the server to provide the content of a file
2843
- # inline in an
2844
- # ActionResult and
2845
- # avoid requiring that the client make a separate call to
2846
- # [ContentAddressableStorage.GetBlob] to retrieve it.
2847
- # The client SHOULD NOT assume that it will get raw content with any request,
2848
- # and always be prepared to retrieve it via `digest`.
2849
- # Corresponds to the JSON property `content`
2850
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2011
+ # Determines the type of network access granted to workers. Possible values:
2012
+ # - "public": Workers can connect to the public internet.
2013
+ # - "private": Workers can only connect to Google APIs and services.
2014
+ # - "restricted-private": Workers can only connect to Google APIs that are
2015
+ # reachable through `restricted.googleapis.com` (`199.36.153.4/30`).
2016
+ # Corresponds to the JSON property `networkAccess`
2851
2017
  # @return [String]
2852
- attr_accessor :content
2853
-
2854
- # A content digest. A digest for a given blob consists of the size of the blob
2855
- # and its hash. The hash algorithm to use is defined by the server, but servers
2856
- # SHOULD use SHA-256.
2857
- # The size is considered to be an integral part of the digest and cannot be
2858
- # separated. That is, even if the `hash` field is correctly specified but
2859
- # `size_bytes` is not, the server MUST reject the request.
2860
- # The reason for including the size in the digest is as follows: in a great
2861
- # many cases, the server needs to know the size of the blob it is about to work
2862
- # with prior to starting an operation with it, such as flattening Merkle tree
2863
- # structures or streaming it to a worker. Technically, the server could
2864
- # implement a separate metadata store, but this results in a significantly more
2865
- # complicated implementation as opposed to having the client specify the size
2866
- # up-front (or storing the size along with the digest in every message where
2867
- # digests are embedded). This does mean that the API leaks some implementation
2868
- # details of (what we consider to be) a reasonable server implementation, but
2869
- # we consider this to be a worthwhile tradeoff.
2870
- # When a `Digest` is used to refer to a proto message, it always refers to the
2871
- # message in binary encoded form. To ensure consistent hashing, clients and
2872
- # servers MUST ensure that they serialize messages according to the following
2873
- # rules, even if there are alternate valid encodings for the same message.
2874
- # - Fields are serialized in tag order.
2875
- # - There are no unknown fields.
2876
- # - There are no duplicate fields.
2877
- # - Fields are serialized according to the default semantics for their type.
2878
- # Most protocol buffer implementations will always follow these rules when
2879
- # serializing, but care should be taken to avoid shortcuts. For instance,
2880
- # concatenating two messages to merge them may produce duplicate fields.
2881
- # Corresponds to the JSON property `digest`
2882
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDigest]
2883
- attr_accessor :digest
2018
+ attr_accessor :network_access
2884
2019
 
2885
- # True if file is executable, false otherwise.
2886
- # Corresponds to the JSON property `isExecutable`
2020
+ # Determines whether the worker is reserved (equivalent to a Compute Engine
2021
+ # on-demand VM and therefore won't be preempted).
2022
+ # See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more
2023
+ # details.
2024
+ # Corresponds to the JSON property `reserved`
2887
2025
  # @return [Boolean]
2888
- attr_accessor :is_executable
2889
- alias_method :is_executable?, :is_executable
2890
-
2891
- # The full path of the file relative to the input root, including the
2892
- # filename. The path separator is a forward slash `/`. Since this is a
2893
- # relative path, it MUST NOT begin with a leading forward slash.
2894
- # Corresponds to the JSON property `path`
2895
- # @return [String]
2896
- attr_accessor :path
2897
-
2898
- def initialize(**args)
2899
- update!(**args)
2900
- end
2901
-
2902
- # Update properties of this object
2903
- def update!(**args)
2904
- @content = args[:content] if args.key?(:content)
2905
- @digest = args[:digest] if args.key?(:digest)
2906
- @is_executable = args[:is_executable] if args.key?(:is_executable)
2907
- @path = args[:path] if args.key?(:path)
2908
- end
2909
- end
2910
-
2911
- # An optional Metadata to attach to any RPC request to tell the server about an
2912
- # external context of the request. The server may use this for logging or other
2913
- # purposes. To use it, the client attaches the header to the call using the
2914
- # canonical proto serialization:
2915
- # name: google.devtools.remoteexecution.v1test.requestmetadata-bin
2916
- # contents: the base64 encoded binary RequestMetadata message.
2917
- class GoogleDevtoolsRemoteexecutionV1testRequestMetadata
2918
- include Google::Apis::Core::Hashable
2919
-
2920
- # An identifier that ties multiple requests to the same action.
2921
- # For example, multiple requests to the CAS, Action Cache, and Execution
2922
- # API are used in order to compile foo.cc.
2923
- # Corresponds to the JSON property `actionId`
2924
- # @return [String]
2925
- attr_accessor :action_id
2926
-
2927
- # An identifier to tie multiple tool invocations together. For example,
2928
- # runs of foo_test, bar_test and baz_test on a post-submit of a given patch.
2929
- # Corresponds to the JSON property `correlatedInvocationsId`
2930
- # @return [String]
2931
- attr_accessor :correlated_invocations_id
2932
-
2933
- # Details for the tool used to call the API.
2934
- # Corresponds to the JSON property `toolDetails`
2935
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testToolDetails]
2936
- attr_accessor :tool_details
2937
-
2938
- # An identifier that ties multiple actions together to a final result.
2939
- # For example, multiple actions are required to build and run foo_test.
2940
- # Corresponds to the JSON property `toolInvocationId`
2941
- # @return [String]
2942
- attr_accessor :tool_invocation_id
2026
+ attr_accessor :reserved
2027
+ alias_method :reserved?, :reserved
2943
2028
 
2944
2029
  def initialize(**args)
2945
2030
  update!(**args)
@@ -2947,110 +2032,45 @@ module Google
2947
2032
 
2948
2033
  # Update properties of this object
2949
2034
  def update!(**args)
2950
- @action_id = args[:action_id] if args.key?(:action_id)
2951
- @correlated_invocations_id = args[:correlated_invocations_id] if args.key?(:correlated_invocations_id)
2952
- @tool_details = args[:tool_details] if args.key?(:tool_details)
2953
- @tool_invocation_id = args[:tool_invocation_id] if args.key?(:tool_invocation_id)
2035
+ @accelerator = args[:accelerator] if args.key?(:accelerator)
2036
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2037
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
2038
+ @labels = args[:labels] if args.key?(:labels)
2039
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
2040
+ @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
2041
+ @network_access = args[:network_access] if args.key?(:network_access)
2042
+ @reserved = args[:reserved] if args.key?(:reserved)
2954
2043
  end
2955
2044
  end
2956
2045
 
2957
- # Details for the tool used to call the API.
2958
- class GoogleDevtoolsRemoteexecutionV1testToolDetails
2046
+ # A worker pool resource in the Remote Build Execution API.
2047
+ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
2959
2048
  include Google::Apis::Core::Hashable
2960
2049
 
2961
- # Name of the tool, e.g. bazel.
2962
- # Corresponds to the JSON property `toolName`
2050
+ # WorkerPool resource name formatted as:
2051
+ # `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
2052
+ # name should not be populated when creating a worker pool since it is
2053
+ # provided in the `poolId` field.
2054
+ # Corresponds to the JSON property `name`
2963
2055
  # @return [String]
2964
- attr_accessor :tool_name
2056
+ attr_accessor :name
2965
2057
 
2966
- # Version of the tool used for the request, e.g. 5.0.3.
2967
- # Corresponds to the JSON property `toolVersion`
2058
+ # Output only. State of the worker pool.
2059
+ # Corresponds to the JSON property `state`
2968
2060
  # @return [String]
2969
- attr_accessor :tool_version
2970
-
2971
- def initialize(**args)
2972
- update!(**args)
2973
- end
2974
-
2975
- # Update properties of this object
2976
- def update!(**args)
2977
- @tool_name = args[:tool_name] if args.key?(:tool_name)
2978
- @tool_version = args[:tool_version] if args.key?(:tool_version)
2979
- end
2980
- end
2981
-
2982
- # A `Tree` contains all the
2983
- # Directory protos in a
2984
- # single directory Merkle tree, compressed into one message.
2985
- class GoogleDevtoolsRemoteexecutionV1testTree
2986
- include Google::Apis::Core::Hashable
2061
+ attr_accessor :state
2987
2062
 
2988
- # All the child directories: the directories referred to by the root and,
2989
- # recursively, all its children. In order to reconstruct the directory tree,
2990
- # the client must take the digests of each of the child directories and then
2991
- # build up a tree starting from the `root`.
2992
- # Corresponds to the JSON property `children`
2993
- # @return [Array<Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDirectory>]
2994
- attr_accessor :children
2063
+ # Defines the configuration to be used for a creating workers in
2064
+ # the worker pool.
2065
+ # Corresponds to the JSON property `workerConfig`
2066
+ # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig]
2067
+ attr_accessor :worker_config
2995
2068
 
2996
- # A `Directory` represents a directory node in a file tree, containing zero or
2997
- # more children FileNodes
2998
- # and DirectoryNodes.
2999
- # Each `Node` contains its name in the directory, the digest of its content
3000
- # (either a file blob or a `Directory` proto), as well as possibly some
3001
- # metadata about the file or directory.
3002
- # In order to ensure that two equivalent directory trees hash to the same
3003
- # value, the following restrictions MUST be obeyed when constructing a
3004
- # a `Directory`:
3005
- # - Every child in the directory must have a path of exactly one segment.
3006
- # Multiple levels of directory hierarchy may not be collapsed.
3007
- # - Each child in the directory must have a unique path segment (file name).
3008
- # - The files and directories in the directory must each be sorted in
3009
- # lexicographical order by path. The path strings must be sorted by code
3010
- # point, equivalently, by UTF-8 bytes.
3011
- # A `Directory` that obeys the restrictions is said to be in canonical form.
3012
- # As an example, the following could be used for a file named `bar` and a
3013
- # directory named `foo` with an executable file named `baz` (hashes shortened
3014
- # for readability):
3015
- # ```json
3016
- # // (Directory proto)
3017
- # `
3018
- # files: [
3019
- # `
3020
- # name: "bar",
3021
- # digest: `
3022
- # hash: "4a73bc9d03...",
3023
- # size: 65534
3024
- # `
3025
- # `
3026
- # ],
3027
- # directories: [
3028
- # `
3029
- # name: "foo",
3030
- # digest: `
3031
- # hash: "4cf2eda940...",
3032
- # size: 43
3033
- # `
3034
- # `
3035
- # ]
3036
- # `
3037
- # // (Directory proto with hash "4cf2eda940..." and size 43)
3038
- # `
3039
- # files: [
3040
- # `
3041
- # name: "baz",
3042
- # digest: `
3043
- # hash: "b2c941073e...",
3044
- # size: 1294,
3045
- # `,
3046
- # is_executable: true
3047
- # `
3048
- # ]
3049
- # `
3050
- # ```
3051
- # Corresponds to the JSON property `root`
3052
- # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testDirectory]
3053
- attr_accessor :root
2069
+ # The desired number of workers in the worker pool. Must be a value between
2070
+ # 0 and 1000.
2071
+ # Corresponds to the JSON property `workerCount`
2072
+ # @return [Fixnum]
2073
+ attr_accessor :worker_count
3054
2074
 
3055
2075
  def initialize(**args)
3056
2076
  update!(**args)
@@ -3058,8 +2078,10 @@ module Google
3058
2078
 
3059
2079
  # Update properties of this object
3060
2080
  def update!(**args)
3061
- @children = args[:children] if args.key?(:children)
3062
- @root = args[:root] if args.key?(:root)
2081
+ @name = args[:name] if args.key?(:name)
2082
+ @state = args[:state] if args.key?(:state)
2083
+ @worker_config = args[:worker_config] if args.key?(:worker_config)
2084
+ @worker_count = args[:worker_count] if args.key?(:worker_count)
3063
2085
  end
3064
2086
  end
3065
2087
 
@@ -3782,79 +2804,6 @@ module Google
3782
2804
  @message = args[:message] if args.key?(:message)
3783
2805
  end
3784
2806
  end
3785
-
3786
- # A Change indicates the most recent state of an element.
3787
- class GoogleWatcherV1Change
3788
- include Google::Apis::Core::Hashable
3789
-
3790
- # If true, this Change is followed by more Changes that are in the same group
3791
- # as this Change.
3792
- # Corresponds to the JSON property `continued`
3793
- # @return [Boolean]
3794
- attr_accessor :continued
3795
- alias_method :continued?, :continued
3796
-
3797
- # The actual change data. This field is present only when `state() == EXISTS`
3798
- # or `state() == ERROR`. Please see google.protobuf.Any about how to use
3799
- # the Any type.
3800
- # Corresponds to the JSON property `data`
3801
- # @return [Hash<String,Object>]
3802
- attr_accessor :data
3803
-
3804
- # Name of the element, interpreted relative to the entity's actual
3805
- # name. "" refers to the entity itself. The element name is a valid
3806
- # UTF-8 string.
3807
- # Corresponds to the JSON property `element`
3808
- # @return [String]
3809
- attr_accessor :element
3810
-
3811
- # If present, provides a compact representation of all the messages that have
3812
- # been received by the caller for the given entity, e.g., it could be a
3813
- # sequence number or a multi-part timestamp/version vector. This marker can
3814
- # be provided in the Request message, allowing the caller to resume the
3815
- # stream watching at a specific point without fetching the initial state.
3816
- # Corresponds to the JSON property `resumeMarker`
3817
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
3818
- # @return [String]
3819
- attr_accessor :resume_marker
3820
-
3821
- # The state of the `element`.
3822
- # Corresponds to the JSON property `state`
3823
- # @return [String]
3824
- attr_accessor :state
3825
-
3826
- def initialize(**args)
3827
- update!(**args)
3828
- end
3829
-
3830
- # Update properties of this object
3831
- def update!(**args)
3832
- @continued = args[:continued] if args.key?(:continued)
3833
- @data = args[:data] if args.key?(:data)
3834
- @element = args[:element] if args.key?(:element)
3835
- @resume_marker = args[:resume_marker] if args.key?(:resume_marker)
3836
- @state = args[:state] if args.key?(:state)
3837
- end
3838
- end
3839
-
3840
- # A batch of Change messages.
3841
- class GoogleWatcherV1ChangeBatch
3842
- include Google::Apis::Core::Hashable
3843
-
3844
- # A list of Change messages.
3845
- # Corresponds to the JSON property `changes`
3846
- # @return [Array<Google::Apis::RemotebuildexecutionV1::GoogleWatcherV1Change>]
3847
- attr_accessor :changes
3848
-
3849
- def initialize(**args)
3850
- update!(**args)
3851
- end
3852
-
3853
- # Update properties of this object
3854
- def update!(**args)
3855
- @changes = args[:changes] if args.key?(:changes)
3856
- end
3857
- end
3858
2807
  end
3859
2808
  end
3860
2809
  end