genproto: google.golang.org/genproto/googleapis/cloud/oslogin/common Index | Files

package common

import "google.golang.org/genproto/googleapis/cloud/oslogin/common"

Index

Package Files

common.pb.go

Variables

var (
    OperatingSystemType_name = map[int32]string{
        0:  "OPERATING_SYSTEM_TYPE_UNSPECIFIED",
        1:  "LINUX",
        2:  "WINDOWS",
    }
    OperatingSystemType_value = map[string]int32{
        "OPERATING_SYSTEM_TYPE_UNSPECIFIED": 0,
        "LINUX":                             1,
        "WINDOWS":                           2,
    }
)

Enum value maps for OperatingSystemType.

var File_google_cloud_oslogin_common_common_proto protoreflect.FileDescriptor

type OperatingSystemType Uses

type OperatingSystemType int32

The operating system options for account entries.

const (
    // The operating system type associated with the user account information is
    // unspecified.
    OperatingSystemType_OPERATING_SYSTEM_TYPE_UNSPECIFIED OperatingSystemType = 0
    // Linux user account information.
    OperatingSystemType_LINUX OperatingSystemType = 1
    // Windows user account information.
    OperatingSystemType_WINDOWS OperatingSystemType = 2
)

func (OperatingSystemType) Descriptor Uses

func (OperatingSystemType) Descriptor() protoreflect.EnumDescriptor

func (OperatingSystemType) Enum Uses

func (x OperatingSystemType) Enum() *OperatingSystemType

func (OperatingSystemType) EnumDescriptor Uses

func (OperatingSystemType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OperatingSystemType.Descriptor instead.

func (OperatingSystemType) Number Uses

func (x OperatingSystemType) Number() protoreflect.EnumNumber

func (OperatingSystemType) String Uses

func (x OperatingSystemType) String() string

func (OperatingSystemType) Type Uses

func (OperatingSystemType) Type() protoreflect.EnumType

type PosixAccount Uses

type PosixAccount struct {

    // Only one POSIX account can be marked as primary.
    Primary bool `protobuf:"varint,1,opt,name=primary,proto3" json:"primary,omitempty"`
    // The username of the POSIX account.
    Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
    // The user ID.
    Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
    // The default group ID.
    Gid int64 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"`
    // The path to the home directory for this account.
    HomeDirectory string `protobuf:"bytes,5,opt,name=home_directory,json=homeDirectory,proto3" json:"home_directory,omitempty"`
    // The path to the logic shell for this account.
    Shell string `protobuf:"bytes,6,opt,name=shell,proto3" json:"shell,omitempty"`
    // The GECOS (user information) entry for this account.
    Gecos string `protobuf:"bytes,7,opt,name=gecos,proto3" 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,proto3" json:"system_id,omitempty"`
    // Output only. A POSIX account identifier.
    AccountId string `protobuf:"bytes,9,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
    // The operating system type where this account applies.
    OperatingSystemType OperatingSystemType `protobuf:"varint,10,opt,name=operating_system_type,json=operatingSystemType,proto3,enum=google.cloud.oslogin.common.OperatingSystemType" json:"operating_system_type,omitempty"`
    // Output only. The canonical resource name.
    Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The POSIX account information associated with a Google account.

func (*PosixAccount) Descriptor Uses

func (*PosixAccount) Descriptor() ([]byte, []int)

Deprecated: Use PosixAccount.ProtoReflect.Descriptor instead.

func (*PosixAccount) GetAccountId Uses

func (x *PosixAccount) GetAccountId() string

func (*PosixAccount) GetGecos Uses

func (x *PosixAccount) GetGecos() string

func (*PosixAccount) GetGid Uses

func (x *PosixAccount) GetGid() int64

func (*PosixAccount) GetHomeDirectory Uses

func (x *PosixAccount) GetHomeDirectory() string

func (*PosixAccount) GetName Uses

func (x *PosixAccount) GetName() string

func (*PosixAccount) GetOperatingSystemType Uses

func (x *PosixAccount) GetOperatingSystemType() OperatingSystemType

func (*PosixAccount) GetPrimary Uses

func (x *PosixAccount) GetPrimary() bool

func (*PosixAccount) GetShell Uses

func (x *PosixAccount) GetShell() string

func (*PosixAccount) GetSystemId Uses

func (x *PosixAccount) GetSystemId() string

func (*PosixAccount) GetUid Uses

func (x *PosixAccount) GetUid() int64

func (*PosixAccount) GetUsername Uses

func (x *PosixAccount) GetUsername() string

func (*PosixAccount) ProtoMessage Uses

func (*PosixAccount) ProtoMessage()

func (*PosixAccount) ProtoReflect Uses

func (x *PosixAccount) ProtoReflect() protoreflect.Message

func (*PosixAccount) Reset Uses

func (x *PosixAccount) Reset()

func (*PosixAccount) String Uses

func (x *PosixAccount) String() string

type SshPublicKey Uses

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,proto3" json:"key,omitempty"`
    // An expiration time in microseconds since epoch.
    ExpirationTimeUsec int64 `protobuf:"varint,2,opt,name=expiration_time_usec,json=expirationTimeUsec,proto3" json:"expiration_time_usec,omitempty"`
    // Output only. The SHA-256 fingerprint of the SSH public key.
    Fingerprint string `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
    // Output only. The canonical resource name.
    Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The SSH public key information associated with a Google account.

func (*SshPublicKey) Descriptor Uses

func (*SshPublicKey) Descriptor() ([]byte, []int)

Deprecated: Use SshPublicKey.ProtoReflect.Descriptor instead.

func (*SshPublicKey) GetExpirationTimeUsec Uses

func (x *SshPublicKey) GetExpirationTimeUsec() int64

func (*SshPublicKey) GetFingerprint Uses

func (x *SshPublicKey) GetFingerprint() string

func (*SshPublicKey) GetKey Uses

func (x *SshPublicKey) GetKey() string

func (*SshPublicKey) GetName Uses

func (x *SshPublicKey) GetName() string

func (*SshPublicKey) ProtoMessage Uses

func (*SshPublicKey) ProtoMessage()

func (*SshPublicKey) ProtoReflect Uses

func (x *SshPublicKey) ProtoReflect() protoreflect.Message

func (*SshPublicKey) Reset Uses

func (x *SshPublicKey) Reset()

func (*SshPublicKey) String Uses

func (x *SshPublicKey) String() string

Package common imports 6 packages (graph) and is imported by 5 packages. Updated 2020-08-13. Refresh now. Tools for package owners.