• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2021 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5syntax = "proto3";
6
7package chromiumos.test.api;
8
9option go_package = "go.chromium.org/chromiumos/config/go/test/api";
10
11// CrosPublishRequest specifies a local directory that will be uploaded to a GS
12// path.
13// NEXT TAG: 3
14message CrosPublishRequest {
15  // GS path to upload to, e.g. gs://foo/bar/baz/
16  string gs_directory = 1;
17
18  // Absolute path to local directory to upload to GS, e.g. /usr/local/foo/bar
19  string local_directory = 2;
20}
21
22// CrosPublishResponse includes the GS url for the uploaded data. If failed,
23// populates the error message.
24// NEXT TAG: 4
25message CrosPublishResponse {
26  // URL of Google Storage location containing offloaded files
27  string gs_url = 1;
28
29  // If the publish process finished successfully or not.
30  bool error = 2;
31
32  // Error message when the publish process failed.
33  string error_message = 3;
34}
35