Built motion from commit 44377920.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / cloud / oslogin / common / common.proto
1 // Copyright 2017 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //     http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 syntax = "proto3";
16
17 package google.cloud.oslogin.common;
18
19 import "google/api/annotations.proto";
20
21 option csharp_namespace = "Google.Cloud.OsLogin.Common";
22 option go_package = "google.golang.org/genproto/googleapis/cloud/oslogin/common;common";
23 option java_outer_classname = "OsLoginProto";
24 option java_package = "com.google.cloud.oslogin.common";
25 option php_namespace = "Google\\Cloud\\OsLogin\\Common";
26
27 // The POSIX account information associated with a Google account.
28 message PosixAccount {
29   // Only one POSIX account can be marked as primary.
30   bool primary = 1;
31
32   // The username of the POSIX account.
33   string username = 2;
34
35   // The user ID.
36   int64 uid = 3;
37
38   // The default group ID.
39   int64 gid = 4;
40
41   // The path to the home directory for this account.
42   string home_directory = 5;
43
44   // The path to the logic shell for this account.
45   string shell = 6;
46
47   // The GECOS (user information) entry for this account.
48   string gecos = 7;
49
50   // System identifier for which account the username or uid applies to.
51   // By default, the empty value is used.
52   string system_id = 8;
53
54   // Output only. A POSIX account identifier.
55   string account_id = 9;
56 }
57
58 // The SSH public key information associated with a Google account.
59 message SshPublicKey {
60   // Public key text in SSH format, defined by
61   // <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
62   // section 6.6.
63   string key = 1;
64
65   // An expiration time in microseconds since epoch.
66   int64 expiration_time_usec = 2;
67
68   // Output only. The SHA-256 fingerprint of the SSH public key.
69   string fingerprint = 3;
70 }