• 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.lab.api;
8
9option go_package = "go.chromium.org/chromiumos/config/go/test/lab/api";
10
11// Provides access to the TAPE GCP.
12service TapeService {
13  // Sends a request to the TAPE GCP.
14  rpc CallTape(CallTapeRequest)
15      returns (CallTapeResponse);
16}
17
18message CallTapeRequest {
19	// The REST API endpoint which is called.
20	string request_endpoint = 1;
21	// The method (POST,GET...) with which the endpoint is called.
22	string request_method = 2;
23	// Timeout for the call.
24	int32 request_timeout = 3;
25	// The payload for the call.
26	bytes payload_bytes = 4;
27}
28
29message CallTapeResponse {
30	// The response from the TAPE GCP.
31	bytes payload_bytes = 1;
32}
33