blob: c1cdb83ca0f5f28bf6cfae8e956562b6fc2a38b9 (
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
48
49
50
51
52
|
syntax = "proto3";
package yandex.cloud.iam.v1;
import "google/protobuf/timestamp.proto";
import "yandex/cloud/iam/v1/resource.proto";
option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iam";
option java_package = "yandex.cloud.api.iam.v1";
// A Service.
message Service {
enum Status {
STATUS_UNSPECIFIED = 0;
// The service is enabled.
ENABLED = 1;
// The service is paused.
PAUSED = 2;
// The service is disabled.
DISABLED = 3;
// The service is being enabled.
ENABLING = 4;
// The service is being resumed.
RESUMING = 5;
// The service is being paused.
PAUSING = 6;
// The service is being disabled.
DISABLING = 7;
// The service is in error state.
ERROR = 8;
}
// ID of the service.
string service_id = 1;
// Resource that the service belongs to.
Resource resource = 2;
// Time of the last status update of the service.
google.protobuf.Timestamp updated_at = 3;
// Current status of the service.
Status status = 4;
}
|