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

package yandex.cloud.iam.v1;

import "google/api/annotations.proto";
import "yandex/cloud/iam/v1/user_account.proto";
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 set of methods for managing user accounts. Currently applicable only for [Yandex accounts](/docs/iam/concepts/#passport).
service UserAccountService {
  // Returns the specified UserAccount resource.
  rpc Get (GetUserAccountRequest) returns (UserAccount) {
    option (google.api.http) = { get: "/iam/v1/userAccounts/{user_account_id}" };
  }
}

message GetUserAccountRequest {
  // ID of the UserAccount resource to return.
  string user_account_id = 1 [(required) = true, (length) = "<=50"];
}