Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Manages OS login configuration for Google account users.
Synopsis
- oSLoginService :: ServiceConfig
- computeScope :: Proxy '["https://www.googleapis.com/auth/compute"]
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- type OSLoginAPI = UsersSSHPublicKeysPatchResource :<|> (UsersSSHPublicKeysGetResource :<|> (UsersSSHPublicKeysDeleteResource :<|> (UsersProjectsDeleteResource :<|> (UsersImportSSHPublicKeyResource :<|> UsersGetLoginProFileResource))))
- module Network.Google.Resource.OSLogin.Users.GetLoginProFile
- module Network.Google.Resource.OSLogin.Users.ImportSSHPublicKey
- module Network.Google.Resource.OSLogin.Users.Projects.Delete
- module Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Delete
- module Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Get
- module Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Patch
- data PosixAccountOperatingSystemType
- data LoginProFileSSHPublicKeys
- loginProFileSSHPublicKeys :: HashMap Text SSHPublicKey -> LoginProFileSSHPublicKeys
- lpfspkAddtional :: Lens' LoginProFileSSHPublicKeys (HashMap Text SSHPublicKey)
- data Empty
- empty :: Empty
- data LoginProFile
- loginProFile :: LoginProFile
- lpfPosixAccounts :: Lens' LoginProFile [PosixAccount]
- lpfSSHPublicKeys :: Lens' LoginProFile (Maybe LoginProFileSSHPublicKeys)
- lpfName :: Lens' LoginProFile (Maybe Text)
- data ImportSSHPublicKeyResponse
- importSSHPublicKeyResponse :: ImportSSHPublicKeyResponse
- ispkrLoginProFile :: Lens' ImportSSHPublicKeyResponse (Maybe LoginProFile)
- data SSHPublicKey
- sshPublicKey :: SSHPublicKey
- spkFingerprint :: Lens' SSHPublicKey (Maybe Text)
- spkKey :: Lens' SSHPublicKey (Maybe Text)
- spkExpirationTimeUsec :: Lens' SSHPublicKey (Maybe Int64)
- data PosixAccount
- posixAccount :: PosixAccount
- paGecos :: Lens' PosixAccount (Maybe Text)
- paUid :: Lens' PosixAccount (Maybe Int64)
- paUsername :: Lens' PosixAccount (Maybe Text)
- paShell :: Lens' PosixAccount (Maybe Text)
- paPrimary :: Lens' PosixAccount (Maybe Bool)
- paAccountId :: Lens' PosixAccount (Maybe Text)
- paGid :: Lens' PosixAccount (Maybe Int64)
- paOperatingSystemType :: Lens' PosixAccount (Maybe PosixAccountOperatingSystemType)
- paSystemId :: Lens' PosixAccount (Maybe Text)
- paHomeDirectory :: Lens' PosixAccount (Maybe Text)
- data Xgafv
Service Configuration
oSLoginService :: ServiceConfig Source #
Default request referring to version v1
of the Cloud OS Login API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
computeScope :: Proxy '["https://www.googleapis.com/auth/compute"] Source #
View and manage your Google Compute Engine resources
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
API Declaration
type OSLoginAPI = UsersSSHPublicKeysPatchResource :<|> (UsersSSHPublicKeysGetResource :<|> (UsersSSHPublicKeysDeleteResource :<|> (UsersProjectsDeleteResource :<|> (UsersImportSSHPublicKeyResource :<|> UsersGetLoginProFileResource)))) Source #
Represents the entirety of the methods and resources available for the Cloud OS Login API service.
Resources
oslogin.users.getLoginProfile
oslogin.users.importSshPublicKey
oslogin.users.projects.delete
oslogin.users.sshPublicKeys.delete
oslogin.users.sshPublicKeys.get
oslogin.users.sshPublicKeys.patch
Types
PosixAccountOperatingSystemType
data PosixAccountOperatingSystemType Source #
The operating system type where this account applies.
OperatingSystemTypeUnspecified |
|
Linux |
|
Windows |
|
Instances
LoginProFileSSHPublicKeys
data LoginProFileSSHPublicKeys Source #
A map from SSH public key fingerprint to the associated key object.
See: loginProFileSSHPublicKeys
smart constructor.
Instances
loginProFileSSHPublicKeys Source #
Creates a value of LoginProFileSSHPublicKeys
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
See: empty
smart constructor.
Instances
Eq Empty Source # | |
Data Empty Source # | |
Defined in Network.Google.OSLogin.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty # dataTypeOf :: Empty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) # gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # | |
Show Empty Source # | |
Generic Empty Source # | |
ToJSON Empty Source # | |
Defined in Network.Google.OSLogin.Types.Product | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
LoginProFile
data LoginProFile Source #
The user profile information used for logging in to a virtual machine on Google Compute Engine.
See: loginProFile
smart constructor.
Instances
loginProFile :: LoginProFile Source #
Creates a value of LoginProFile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lpfPosixAccounts :: Lens' LoginProFile [PosixAccount] Source #
The list of POSIX accounts associated with the user.
lpfSSHPublicKeys :: Lens' LoginProFile (Maybe LoginProFileSSHPublicKeys) Source #
A map from SSH public key fingerprint to the associated key object.
ImportSSHPublicKeyResponse
data ImportSSHPublicKeyResponse Source #
A response message for importing an SSH public key.
See: importSSHPublicKeyResponse
smart constructor.
Instances
importSSHPublicKeyResponse :: ImportSSHPublicKeyResponse Source #
Creates a value of ImportSSHPublicKeyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ispkrLoginProFile :: Lens' ImportSSHPublicKeyResponse (Maybe LoginProFile) Source #
The login profile information for the user.
SSHPublicKey
data SSHPublicKey Source #
The SSH public key information associated with a Google account.
See: sshPublicKey
smart constructor.
Instances
sshPublicKey :: SSHPublicKey Source #
Creates a value of SSHPublicKey
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
spkFingerprint :: Lens' SSHPublicKey (Maybe Text) Source #
Output only. The SHA-256 fingerprint of the SSH public key.
spkKey :: Lens' SSHPublicKey (Maybe Text) Source #
Public key text in SSH format, defined by RFC4253 section 6.6.
spkExpirationTimeUsec :: Lens' SSHPublicKey (Maybe Int64) Source #
An expiration time in microseconds since epoch.
PosixAccount
data PosixAccount Source #
The POSIX account information associated with a Google account.
See: posixAccount
smart constructor.
Instances
posixAccount :: PosixAccount Source #
Creates a value of PosixAccount
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
paGecos :: Lens' PosixAccount (Maybe Text) Source #
The GECOS (user information) entry for this account.
paUsername :: Lens' PosixAccount (Maybe Text) Source #
The username of the POSIX account.
paPrimary :: Lens' PosixAccount (Maybe Bool) Source #
Only one POSIX account can be marked as primary.
paAccountId :: Lens' PosixAccount (Maybe Text) Source #
Output only. A POSIX account identifier.
paOperatingSystemType :: Lens' PosixAccount (Maybe PosixAccountOperatingSystemType) Source #
The operating system type where this account applies.
paSystemId :: Lens' PosixAccount (Maybe Text) Source #
System identifier for which account the username or uid applies to. By default, the empty value is used.
paHomeDirectory :: Lens' PosixAccount (Maybe Text) Source #
The path to the home directory for this account.
Xgafv
V1 error format.