google_cloud_oslogin_v1beta

package
v0.0.0-...-dbc791b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeletePosixAccountRequest

type DeletePosixAccountRequest struct {
	// 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"`
}

A request message for deleting a POSIX account entry.

func (*DeletePosixAccountRequest) Descriptor

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

func (*DeletePosixAccountRequest) GetName

func (m *DeletePosixAccountRequest) GetName() string

func (*DeletePosixAccountRequest) ProtoMessage

func (*DeletePosixAccountRequest) ProtoMessage()

func (*DeletePosixAccountRequest) Reset

func (m *DeletePosixAccountRequest) Reset()

func (*DeletePosixAccountRequest) String

func (m *DeletePosixAccountRequest) String() string

type DeleteSshPublicKeyRequest

type DeleteSshPublicKeyRequest struct {
	// 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"`
}

A request message for deleting an SSH public key.

func (*DeleteSshPublicKeyRequest) Descriptor

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

func (*DeleteSshPublicKeyRequest) GetName

func (m *DeleteSshPublicKeyRequest) GetName() string

func (*DeleteSshPublicKeyRequest) ProtoMessage

func (*DeleteSshPublicKeyRequest) ProtoMessage()

func (*DeleteSshPublicKeyRequest) Reset

func (m *DeleteSshPublicKeyRequest) Reset()

func (*DeleteSshPublicKeyRequest) String

func (m *DeleteSshPublicKeyRequest) String() string

type GetLoginProfileRequest

type GetLoginProfileRequest struct {
	// The unique ID for the user in format `users/{user}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}

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

func (*GetLoginProfileRequest) Descriptor

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

func (*GetLoginProfileRequest) GetName

func (m *GetLoginProfileRequest) GetName() string

func (*GetLoginProfileRequest) ProtoMessage

func (*GetLoginProfileRequest) ProtoMessage()

func (*GetLoginProfileRequest) Reset

func (m *GetLoginProfileRequest) Reset()

func (*GetLoginProfileRequest) String

func (m *GetLoginProfileRequest) String() string

type GetSshPublicKeyRequest

type GetSshPublicKeyRequest struct {
	// 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"`
}

A request message for retrieving an SSH public key.

func (*GetSshPublicKeyRequest) Descriptor

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

func (*GetSshPublicKeyRequest) GetName

func (m *GetSshPublicKeyRequest) GetName() string

func (*GetSshPublicKeyRequest) ProtoMessage

func (*GetSshPublicKeyRequest) ProtoMessage()

func (*GetSshPublicKeyRequest) Reset

func (m *GetSshPublicKeyRequest) Reset()

func (*GetSshPublicKeyRequest) String

func (m *GetSshPublicKeyRequest) String() string

type ImportSshPublicKeyRequest

type ImportSshPublicKeyRequest struct {
	// The unique ID for the user in format `users/{user}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The SSH public key and expiration time.
	SshPublicKey *google_cloud_oslogin_common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey" 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"`
}

A request message for importing an SSH public key.

func (*ImportSshPublicKeyRequest) Descriptor

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

func (*ImportSshPublicKeyRequest) GetParent

func (m *ImportSshPublicKeyRequest) GetParent() string

func (*ImportSshPublicKeyRequest) GetProjectId

func (m *ImportSshPublicKeyRequest) GetProjectId() string

func (*ImportSshPublicKeyRequest) GetSshPublicKey

func (*ImportSshPublicKeyRequest) ProtoMessage

func (*ImportSshPublicKeyRequest) ProtoMessage()

func (*ImportSshPublicKeyRequest) Reset

func (m *ImportSshPublicKeyRequest) Reset()

func (*ImportSshPublicKeyRequest) String

func (m *ImportSshPublicKeyRequest) String() string

type ImportSshPublicKeyResponse

type ImportSshPublicKeyResponse struct {
	// The login profile information for the user.
	LoginProfile *LoginProfile `protobuf:"bytes,1,opt,name=login_profile,json=loginProfile" json:"login_profile,omitempty"`
}

A response message for importing an SSH public key.

func (*ImportSshPublicKeyResponse) Descriptor

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

func (*ImportSshPublicKeyResponse) GetLoginProfile

func (m *ImportSshPublicKeyResponse) GetLoginProfile() *LoginProfile

func (*ImportSshPublicKeyResponse) ProtoMessage

func (*ImportSshPublicKeyResponse) ProtoMessage()

func (*ImportSshPublicKeyResponse) Reset

func (m *ImportSshPublicKeyResponse) Reset()

func (*ImportSshPublicKeyResponse) String

func (m *ImportSshPublicKeyResponse) String() string

type LoginProfile

type LoginProfile struct {
	// The primary email address that uniquely identifies the user.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The list of POSIX accounts associated with the user.
	PosixAccounts []*google_cloud_oslogin_common.PosixAccount `protobuf:"bytes,2,rep,name=posix_accounts,json=posixAccounts" json:"posix_accounts,omitempty"`
	// A map from SSH public key fingerprint to the associated key object.
	SshPublicKeys map[string]*google_cloud_oslogin_common.SshPublicKey `` /* 176-byte string literal not displayed */
	// Indicates if the user is suspended. A suspended user cannot log in but
	// their profile information is retained.
	Suspended bool `protobuf:"varint,4,opt,name=suspended,proto3" json:"suspended,omitempty"`
}

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

func (*LoginProfile) Descriptor

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

func (*LoginProfile) GetName

func (m *LoginProfile) GetName() string

func (*LoginProfile) GetPosixAccounts

func (m *LoginProfile) GetPosixAccounts() []*google_cloud_oslogin_common.PosixAccount

func (*LoginProfile) GetSshPublicKeys

func (m *LoginProfile) GetSshPublicKeys() map[string]*google_cloud_oslogin_common.SshPublicKey

func (*LoginProfile) GetSuspended

func (m *LoginProfile) GetSuspended() bool

func (*LoginProfile) ProtoMessage

func (*LoginProfile) ProtoMessage()

func (*LoginProfile) Reset

func (m *LoginProfile) Reset()

func (*LoginProfile) String

func (m *LoginProfile) String() string

type UpdateSshPublicKeyRequest

type UpdateSshPublicKeyRequest struct {
	// 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"`
	// The SSH public key and expiration time.
	SshPublicKey *google_cloud_oslogin_common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey" json:"ssh_public_key,omitempty"`
	// Mask to control which fields get updated. Updates all if not present.
	UpdateMask *google_protobuf2.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
}

A request message for updating an SSH public key.

func (*UpdateSshPublicKeyRequest) Descriptor

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

func (*UpdateSshPublicKeyRequest) GetName

func (m *UpdateSshPublicKeyRequest) GetName() string

func (*UpdateSshPublicKeyRequest) GetSshPublicKey

func (*UpdateSshPublicKeyRequest) GetUpdateMask

func (*UpdateSshPublicKeyRequest) ProtoMessage

func (*UpdateSshPublicKeyRequest) ProtoMessage()

func (*UpdateSshPublicKeyRequest) Reset

func (m *UpdateSshPublicKeyRequest) Reset()

func (*UpdateSshPublicKeyRequest) String

func (m *UpdateSshPublicKeyRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL