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

package oslogin

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

Index

Package Files

oslogin.pb.go

Variables

var File_google_cloud_oslogin_v1_oslogin_proto protoreflect.FileDescriptor

func RegisterOsLoginServiceServer Uses

func RegisterOsLoginServiceServer(s *grpc.Server, srv OsLoginServiceServer)

type DeletePosixAccountRequest Uses

type DeletePosixAccountRequest struct {

    // Required. A reference to the POSIX account to update. POSIX accounts are identified
    // by the project ID they are associated with. A reference to the POSIX
    // account is in format `users/{user}/projects/{project}`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

A request message for deleting a POSIX account entry.

func (*DeletePosixAccountRequest) Descriptor Uses

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

Deprecated: Use DeletePosixAccountRequest.ProtoReflect.Descriptor instead.

func (*DeletePosixAccountRequest) GetName Uses

func (x *DeletePosixAccountRequest) GetName() string

func (*DeletePosixAccountRequest) ProtoMessage Uses

func (*DeletePosixAccountRequest) ProtoMessage()

func (*DeletePosixAccountRequest) ProtoReflect Uses

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

func (*DeletePosixAccountRequest) Reset Uses

func (x *DeletePosixAccountRequest) Reset()

func (*DeletePosixAccountRequest) String Uses

func (x *DeletePosixAccountRequest) String() string

type DeleteSshPublicKeyRequest Uses

type DeleteSshPublicKeyRequest struct {

    // Required. The fingerprint of the public key to update. Public keys are identified by
    // their SHA-256 fingerprint. The fingerprint of the public key is in format
    // `users/{user}/sshPublicKeys/{fingerprint}`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

A request message for deleting an SSH public key.

func (*DeleteSshPublicKeyRequest) Descriptor Uses

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

Deprecated: Use DeleteSshPublicKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteSshPublicKeyRequest) GetName Uses

func (x *DeleteSshPublicKeyRequest) GetName() string

func (*DeleteSshPublicKeyRequest) ProtoMessage Uses

func (*DeleteSshPublicKeyRequest) ProtoMessage()

func (*DeleteSshPublicKeyRequest) ProtoReflect Uses

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

func (*DeleteSshPublicKeyRequest) Reset Uses

func (x *DeleteSshPublicKeyRequest) Reset()

func (*DeleteSshPublicKeyRequest) String Uses

func (x *DeleteSshPublicKeyRequest) String() string

type GetLoginProfileRequest Uses

type GetLoginProfileRequest struct {

    // Required. The unique ID for the user in format `users/{user}`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The project ID of the Google Cloud Platform project.
    ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // A system ID for filtering the results of the request.
    SystemId string `protobuf:"bytes,3,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"`
    // contains filtered or unexported fields
}

A request message for retrieving the login profile information for a user.

func (*GetLoginProfileRequest) Descriptor Uses

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

Deprecated: Use GetLoginProfileRequest.ProtoReflect.Descriptor instead.

func (*GetLoginProfileRequest) GetName Uses

func (x *GetLoginProfileRequest) GetName() string

func (*GetLoginProfileRequest) GetProjectId Uses

func (x *GetLoginProfileRequest) GetProjectId() string

func (*GetLoginProfileRequest) GetSystemId Uses

func (x *GetLoginProfileRequest) GetSystemId() string

func (*GetLoginProfileRequest) ProtoMessage Uses

func (*GetLoginProfileRequest) ProtoMessage()

func (*GetLoginProfileRequest) ProtoReflect Uses

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

func (*GetLoginProfileRequest) Reset Uses

func (x *GetLoginProfileRequest) Reset()

func (*GetLoginProfileRequest) String Uses

func (x *GetLoginProfileRequest) String() string

type GetSshPublicKeyRequest Uses

type GetSshPublicKeyRequest struct {

    // Required. The fingerprint of the public key to retrieve. Public keys are identified
    // by their SHA-256 fingerprint. The fingerprint of the public key is in
    // format `users/{user}/sshPublicKeys/{fingerprint}`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

A request message for retrieving an SSH public key.

func (*GetSshPublicKeyRequest) Descriptor Uses

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

Deprecated: Use GetSshPublicKeyRequest.ProtoReflect.Descriptor instead.

func (*GetSshPublicKeyRequest) GetName Uses

func (x *GetSshPublicKeyRequest) GetName() string

func (*GetSshPublicKeyRequest) ProtoMessage Uses

func (*GetSshPublicKeyRequest) ProtoMessage()

func (*GetSshPublicKeyRequest) ProtoReflect Uses

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

func (*GetSshPublicKeyRequest) Reset Uses

func (x *GetSshPublicKeyRequest) Reset()

func (*GetSshPublicKeyRequest) String Uses

func (x *GetSshPublicKeyRequest) String() string

type ImportSshPublicKeyRequest Uses

type ImportSshPublicKeyRequest struct {

    // Required. The unique ID for the user in format `users/{user}`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Optional. The SSH public key and expiration time.
    SshPublicKey *common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey,proto3" json:"ssh_public_key,omitempty"`
    // The project ID of the Google Cloud Platform project.
    ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // contains filtered or unexported fields
}

A request message for importing an SSH public key.

func (*ImportSshPublicKeyRequest) Descriptor Uses

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

Deprecated: Use ImportSshPublicKeyRequest.ProtoReflect.Descriptor instead.

func (*ImportSshPublicKeyRequest) GetParent Uses

func (x *ImportSshPublicKeyRequest) GetParent() string

func (*ImportSshPublicKeyRequest) GetProjectId Uses

func (x *ImportSshPublicKeyRequest) GetProjectId() string

func (*ImportSshPublicKeyRequest) GetSshPublicKey Uses

func (x *ImportSshPublicKeyRequest) GetSshPublicKey() *common.SshPublicKey

func (*ImportSshPublicKeyRequest) ProtoMessage Uses

func (*ImportSshPublicKeyRequest) ProtoMessage()

func (*ImportSshPublicKeyRequest) ProtoReflect Uses

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

func (*ImportSshPublicKeyRequest) Reset Uses

func (x *ImportSshPublicKeyRequest) Reset()

func (*ImportSshPublicKeyRequest) String Uses

func (x *ImportSshPublicKeyRequest) String() string

type ImportSshPublicKeyResponse Uses

type ImportSshPublicKeyResponse struct {

    // The login profile information for the user.
    LoginProfile *LoginProfile `protobuf:"bytes,1,opt,name=login_profile,json=loginProfile,proto3" json:"login_profile,omitempty"`
    // contains filtered or unexported fields
}

A response message for importing an SSH public key.

func (*ImportSshPublicKeyResponse) Descriptor Uses

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

Deprecated: Use ImportSshPublicKeyResponse.ProtoReflect.Descriptor instead.

func (*ImportSshPublicKeyResponse) GetLoginProfile Uses

func (x *ImportSshPublicKeyResponse) GetLoginProfile() *LoginProfile

func (*ImportSshPublicKeyResponse) ProtoMessage Uses

func (*ImportSshPublicKeyResponse) ProtoMessage()

func (*ImportSshPublicKeyResponse) ProtoReflect Uses

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

func (*ImportSshPublicKeyResponse) Reset Uses

func (x *ImportSshPublicKeyResponse) Reset()

func (*ImportSshPublicKeyResponse) String Uses

func (x *ImportSshPublicKeyResponse) String() string

type LoginProfile Uses

type LoginProfile struct {

    // Required. A unique user ID.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The list of POSIX accounts associated with the user.
    PosixAccounts []*common.PosixAccount `protobuf:"bytes,2,rep,name=posix_accounts,json=posixAccounts,proto3" json:"posix_accounts,omitempty"`
    // A map from SSH public key fingerprint to the associated key object.
    SshPublicKeys map[string]*common.SshPublicKey `protobuf:"bytes,3,rep,name=ssh_public_keys,json=sshPublicKeys,proto3" json:"ssh_public_keys,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

The user profile information used for logging in to a virtual machine on Google Compute Engine.

func (*LoginProfile) Descriptor Uses

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

Deprecated: Use LoginProfile.ProtoReflect.Descriptor instead.

func (*LoginProfile) GetName Uses

func (x *LoginProfile) GetName() string

func (*LoginProfile) GetPosixAccounts Uses

func (x *LoginProfile) GetPosixAccounts() []*common.PosixAccount

func (*LoginProfile) GetSshPublicKeys Uses

func (x *LoginProfile) GetSshPublicKeys() map[string]*common.SshPublicKey

func (*LoginProfile) ProtoMessage Uses

func (*LoginProfile) ProtoMessage()

func (*LoginProfile) ProtoReflect Uses

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

func (*LoginProfile) Reset Uses

func (x *LoginProfile) Reset()

func (*LoginProfile) String Uses

func (x *LoginProfile) String() string

type OsLoginServiceClient Uses

type OsLoginServiceClient interface {
    // Deletes a POSIX account.
    DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Deletes an SSH public key.
    DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Retrieves the profile information used for logging in to a virtual machine
    // on Google Compute Engine.
    GetLoginProfile(ctx context.Context, in *GetLoginProfileRequest, opts ...grpc.CallOption) (*LoginProfile, error)
    // Retrieves an SSH public key.
    GetSshPublicKey(ctx context.Context, in *GetSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error)
    // Adds an SSH public key and returns the profile information. Default POSIX
    // account information is set when no username and UID exist as part of the
    // login profile.
    ImportSshPublicKey(ctx context.Context, in *ImportSshPublicKeyRequest, opts ...grpc.CallOption) (*ImportSshPublicKeyResponse, error)
    // Updates an SSH public key and returns the profile information. This method
    // supports patch semantics.
    UpdateSshPublicKey(ctx context.Context, in *UpdateSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error)
}

OsLoginServiceClient is the client API for OsLoginService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewOsLoginServiceClient Uses

func NewOsLoginServiceClient(cc grpc.ClientConnInterface) OsLoginServiceClient

type OsLoginServiceServer Uses

type OsLoginServiceServer interface {
    // Deletes a POSIX account.
    DeletePosixAccount(context.Context, *DeletePosixAccountRequest) (*empty.Empty, error)
    // Deletes an SSH public key.
    DeleteSshPublicKey(context.Context, *DeleteSshPublicKeyRequest) (*empty.Empty, error)
    // Retrieves the profile information used for logging in to a virtual machine
    // on Google Compute Engine.
    GetLoginProfile(context.Context, *GetLoginProfileRequest) (*LoginProfile, error)
    // Retrieves an SSH public key.
    GetSshPublicKey(context.Context, *GetSshPublicKeyRequest) (*common.SshPublicKey, error)
    // Adds an SSH public key and returns the profile information. Default POSIX
    // account information is set when no username and UID exist as part of the
    // login profile.
    ImportSshPublicKey(context.Context, *ImportSshPublicKeyRequest) (*ImportSshPublicKeyResponse, error)
    // Updates an SSH public key and returns the profile information. This method
    // supports patch semantics.
    UpdateSshPublicKey(context.Context, *UpdateSshPublicKeyRequest) (*common.SshPublicKey, error)
}

OsLoginServiceServer is the server API for OsLoginService service.

type UnimplementedOsLoginServiceServer Uses

type UnimplementedOsLoginServiceServer struct {
}

UnimplementedOsLoginServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedOsLoginServiceServer) DeletePosixAccount Uses

func (*UnimplementedOsLoginServiceServer) DeletePosixAccount(context.Context, *DeletePosixAccountRequest) (*empty.Empty, error)

func (*UnimplementedOsLoginServiceServer) DeleteSshPublicKey Uses

func (*UnimplementedOsLoginServiceServer) DeleteSshPublicKey(context.Context, *DeleteSshPublicKeyRequest) (*empty.Empty, error)

func (*UnimplementedOsLoginServiceServer) GetLoginProfile Uses

func (*UnimplementedOsLoginServiceServer) GetLoginProfile(context.Context, *GetLoginProfileRequest) (*LoginProfile, error)

func (*UnimplementedOsLoginServiceServer) GetSshPublicKey Uses

func (*UnimplementedOsLoginServiceServer) GetSshPublicKey(context.Context, *GetSshPublicKeyRequest) (*common.SshPublicKey, error)

func (*UnimplementedOsLoginServiceServer) ImportSshPublicKey Uses

func (*UnimplementedOsLoginServiceServer) ImportSshPublicKey(context.Context, *ImportSshPublicKeyRequest) (*ImportSshPublicKeyResponse, error)

func (*UnimplementedOsLoginServiceServer) UpdateSshPublicKey Uses

func (*UnimplementedOsLoginServiceServer) UpdateSshPublicKey(context.Context, *UpdateSshPublicKeyRequest) (*common.SshPublicKey, error)

type UpdateSshPublicKeyRequest Uses

type UpdateSshPublicKeyRequest struct {

    // Required. The fingerprint of the public key to update. Public keys are identified by
    // their SHA-256 fingerprint. The fingerprint of the public key is in format
    // `users/{user}/sshPublicKeys/{fingerprint}`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The SSH public key and expiration time.
    SshPublicKey *common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey,proto3" json:"ssh_public_key,omitempty"`
    // Mask to control which fields get updated. Updates all if not present.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

A request message for updating an SSH public key.

func (*UpdateSshPublicKeyRequest) Descriptor Uses

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

Deprecated: Use UpdateSshPublicKeyRequest.ProtoReflect.Descriptor instead.

func (*UpdateSshPublicKeyRequest) GetName Uses

func (x *UpdateSshPublicKeyRequest) GetName() string

func (*UpdateSshPublicKeyRequest) GetSshPublicKey Uses

func (x *UpdateSshPublicKeyRequest) GetSshPublicKey() *common.SshPublicKey

func (*UpdateSshPublicKeyRequest) GetUpdateMask Uses

func (x *UpdateSshPublicKeyRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateSshPublicKeyRequest) ProtoMessage Uses

func (*UpdateSshPublicKeyRequest) ProtoMessage()

func (*UpdateSshPublicKeyRequest) ProtoReflect Uses

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

func (*UpdateSshPublicKeyRequest) Reset Uses

func (x *UpdateSshPublicKeyRequest) Reset()

func (*UpdateSshPublicKeyRequest) String Uses

func (x *UpdateSshPublicKeyRequest) String() string

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