Documentation
¶
Overview ¶
Package common is a generated protocol buffer package.
It is generated from these files:
google/cloud/oslogin/common/common.proto
It has these top-level messages:
PosixAccount SshPublicKey
Index ¶
- type PosixAccount
- func (*PosixAccount) Descriptor() ([]byte, []int)
- func (m *PosixAccount) GetAccountId() string
- func (m *PosixAccount) GetGecos() string
- func (m *PosixAccount) GetGid() int64
- func (m *PosixAccount) GetHomeDirectory() string
- func (m *PosixAccount) GetPrimary() bool
- func (m *PosixAccount) GetShell() string
- func (m *PosixAccount) GetSystemId() string
- func (m *PosixAccount) GetUid() int64
- func (m *PosixAccount) GetUsername() string
- func (*PosixAccount) ProtoMessage()
- func (m *PosixAccount) Reset()
- func (m *PosixAccount) String() string
- type SshPublicKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PosixAccount ¶
type PosixAccount struct { // Only one POSIX account can be marked as primary. Primary bool `protobuf:"varint,1,opt,name=primary" json:"primary,omitempty"` // The username of the POSIX account. Username string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"` // The user ID. Uid int64 `protobuf:"varint,3,opt,name=uid" json:"uid,omitempty"` // The default group ID. Gid int64 `protobuf:"varint,4,opt,name=gid" json:"gid,omitempty"` // The path to the home directory for this account. HomeDirectory string `protobuf:"bytes,5,opt,name=home_directory,json=homeDirectory" json:"home_directory,omitempty"` // The path to the logic shell for this account. Shell string `protobuf:"bytes,6,opt,name=shell" json:"shell,omitempty"` // The GECOS (user information) entry for this account. Gecos string `protobuf:"bytes,7,opt,name=gecos" json:"gecos,omitempty"` // System identifier for which account the username or uid applies to. // By default, the empty value is used. SystemId string `protobuf:"bytes,8,opt,name=system_id,json=systemId" json:"system_id,omitempty"` // Output only. A POSIX account identifier. AccountId string `protobuf:"bytes,9,opt,name=account_id,json=accountId" json:"account_id,omitempty"` }
The POSIX account information associated with a Google account.
func (*PosixAccount) Descriptor ¶
func (*PosixAccount) Descriptor() ([]byte, []int)
func (*PosixAccount) GetAccountId ¶
func (m *PosixAccount) GetAccountId() string
func (*PosixAccount) GetGecos ¶
func (m *PosixAccount) GetGecos() string
func (*PosixAccount) GetGid ¶
func (m *PosixAccount) GetGid() int64
func (*PosixAccount) GetHomeDirectory ¶
func (m *PosixAccount) GetHomeDirectory() string
func (*PosixAccount) GetPrimary ¶
func (m *PosixAccount) GetPrimary() bool
func (*PosixAccount) GetShell ¶
func (m *PosixAccount) GetShell() string
func (*PosixAccount) GetSystemId ¶
func (m *PosixAccount) GetSystemId() string
func (*PosixAccount) GetUid ¶
func (m *PosixAccount) GetUid() int64
func (*PosixAccount) GetUsername ¶
func (m *PosixAccount) GetUsername() string
func (*PosixAccount) ProtoMessage ¶
func (*PosixAccount) ProtoMessage()
func (*PosixAccount) Reset ¶
func (m *PosixAccount) Reset()
func (*PosixAccount) String ¶
func (m *PosixAccount) String() string
type SshPublicKey ¶
type SshPublicKey struct { // Public key text in SSH format, defined by // <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a> // section 6.6. Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` // An expiration time in microseconds since epoch. ExpirationTimeUsec int64 `protobuf:"varint,2,opt,name=expiration_time_usec,json=expirationTimeUsec" json:"expiration_time_usec,omitempty"` // Output only. The SHA-256 fingerprint of the SSH public key. Fingerprint string `protobuf:"bytes,3,opt,name=fingerprint" json:"fingerprint,omitempty"` }
The SSH public key information associated with a Google account.
func (*SshPublicKey) Descriptor ¶
func (*SshPublicKey) Descriptor() ([]byte, []int)
func (*SshPublicKey) GetExpirationTimeUsec ¶
func (m *SshPublicKey) GetExpirationTimeUsec() int64
func (*SshPublicKey) GetFingerprint ¶
func (m *SshPublicKey) GetFingerprint() string
func (*SshPublicKey) GetKey ¶
func (m *SshPublicKey) GetKey() string
func (*SshPublicKey) ProtoMessage ¶
func (*SshPublicKey) ProtoMessage()
func (*SshPublicKey) Reset ¶
func (m *SshPublicKey) Reset()
func (*SshPublicKey) String ¶
func (m *SshPublicKey) String() string
Click to show internal directories.
Click to hide internal directories.