1 // Copyright 2017 Google Inc.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
17 package google.cloud.oslogin.common;
19 import "google/api/annotations.proto";
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";
27 // The POSIX account information associated with a Google account.
28 message PosixAccount {
29 // Only one POSIX account can be marked as primary.
32 // The username of the POSIX account.
38 // The default group ID.
41 // The path to the home directory for this account.
42 string home_directory = 5;
44 // The path to the logic shell for this account.
47 // The GECOS (user information) entry for this account.
50 // System identifier for which account the username or uid applies to.
51 // By default, the empty value is used.
54 // Output only. A POSIX account identifier.
55 string account_id = 9;
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>
65 // An expiration time in microseconds since epoch.
66 int64 expiration_time_usec = 2;
68 // Output only. The SHA-256 fingerprint of the SSH public key.
69 string fingerprint = 3;