aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/iam/v1/resource.proto
blob: ef047eee39232d7dc098f2c3ff21b6544a4a076c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
syntax = "proto3";

package yandex.cloud.iam.v1;

import "yandex/cloud/validation.proto";

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

// A Resource. For more information, see [Resource](/docs/iam/concepts/access-control/resources-with-access-control).
message Resource {
  // ID of the resource.
  string id = 1 [(required) = true, (length) = "<=50"];

  // The type of the resource, e.g. resource-manager.folder, billing.account, compute.snapshot, etc.
  string type = 2 [(required) = true, (length) = "<=64"];
}