aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/logging/v1/log_group.proto
blob: 613737526a80670e22f64e402649e3db426b77e4 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
syntax = "proto3";

package yandex.cloud.logging.v1;

import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";

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

message LogGroup {
  // Possible log group statuses.
  enum Status {
    // Unknown status.
    //
    // Should never occur.
    STATUS_UNSPECIFIED = 0;

    // Log group is creating.
    CREATING = 1;

    // Log group is ready to accept messages,
    ACTIVE = 2;

    // Log group is being deleted.
    //
    // No messages will be accepted.
    DELETING = 3;

    // Log group is in failed state.
    ERROR = 4;
  }

  // Log group ID.
  string id = 1;

  // Log group folder ID.
  string folder_id = 2;

  // Log group cloud ID.
  string cloud_id = 3;

  // Log group creation time.
  google.protobuf.Timestamp created_at = 4;

  // Log group name.
  string name = 5;

  // Log group description.
  string description = 6;

  // Log group labels.
  map<string, string> labels = 7;


  // Status of the log group.
  Status status = 8;

  // Log group entry retention period.
  //
  // Entries will be present in group during this period.
  google.protobuf.Duration retention_period = 9;

  // Data stream name
  string data_stream = 10;

}