aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/logging/v1/log_resource.proto
blob: dae0cf336a9ebb709a663e0cbc1e9a32197ab192 (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
syntax = "proto3";

package yandex.cloud.logging.v1;

import "yandex/cloud/validation.proto";

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

// Log entry resource specification.
//
// May be used either by services and by user.
message LogEntryResource {
  // Resource type, i.e., `serverless.function`
  string type = 1 [(length) = "<=63"];

  // Resource ID, i.e., ID of the function producing logs.
  string id = 2 [(length) = "<=63"];
}

// Log group resource.
message LogGroupResource {
  // Resource type.
  //
  // Collected from log entries inside log group.
  string type = 1;

  // List of resource IDs with the same resource type.
  repeated string ids = 2;
}