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; 8 9option go_package = "go.chromium.org/chromiumos/config/go;storage_path"; 10 11// Defines remote/local path to storage resources 12// E.g. build/test artifacts, logs, telemetry, etc... 13// 14// This abstraction enables consistent API usage regardless of test 15// execution environment (local dev, managed labs, ...). 16message StoragePath { 17 // Host of the storage resources. 18 HostType host_type = 1; 19 // Path to a directory on the host containing the resources. 20 string path = 2; 21 22 enum HostType { 23 HOSTTYPE_UNSPECIFIED = 0; 24 // The resources are hosted locally. 25 LOCAL = 1; 26 // The resources are hosted in Google Storage. 27 GS = 2; 28 // The resources are hosted by android build system. 29 ANDROID_BUILD = 3; 30 } 31} 32