aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/loadtesting/api/v1/agent/agent.proto
blob: 1f01fff43e7986629646814b87d9d3d73d365d55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
syntax = "proto3";

package yandex.cloud.loadtesting.api.v1.agent ;

option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1/agent;agent";
option java_package = "yandex.cloud.api.loadtesting.api.v1.agent";

import "yandex/cloud/loadtesting/api/v1/agent/status.proto";

// Load testing agent on which tests are executed.
message Agent {
  // ID of the agent. Generated at creation time.
  string id = 1;

  // ID of the folder that the agent belongs to.
  string folder_id = 2;

  // Name of the agent.
  string name = 3;

  // Description of the agent.
  string description = 4;

  // ID of the compute instance managed by the agent.
  //
  // Empty if there is no such instance (i.e. the case of external agent).
  string compute_instance_id = 5;
  
  reserved 6;

  // Status of the agent.
  Status status = 7;

  // List of errors reported by the agent.
  repeated string errors = 8;

  // ID of the test that is currently being executed by the agent.
  string current_job_id = 9;

  // Version of the agent.
  string agent_version_id = 10;
  
  reserved 11;
  
  // Agent labels as `key:value` pairs.
  map<string, string> labels = 12;
}