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 |
Retrieves an SSH public key.
See: Cloud OS Login API Reference for oslogin.users.sshPublicKeys.get
.
Synopsis
- type UsersSSHPublicKeysGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SSHPublicKey)))))))
- usersSSHPublicKeysGet :: Text -> UsersSSHPublicKeysGet
- data UsersSSHPublicKeysGet
- uspkgXgafv :: Lens' UsersSSHPublicKeysGet (Maybe Xgafv)
- uspkgUploadProtocol :: Lens' UsersSSHPublicKeysGet (Maybe Text)
- uspkgAccessToken :: Lens' UsersSSHPublicKeysGet (Maybe Text)
- uspkgUploadType :: Lens' UsersSSHPublicKeysGet (Maybe Text)
- uspkgName :: Lens' UsersSSHPublicKeysGet Text
- uspkgCallback :: Lens' UsersSSHPublicKeysGet (Maybe Text)
REST Resource
type UsersSSHPublicKeysGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SSHPublicKey))))))) Source #
A resource alias for oslogin.users.sshPublicKeys.get
method which the
UsersSSHPublicKeysGet
request conforms to.
Creating a Request
usersSSHPublicKeysGet Source #
Creates a value of UsersSSHPublicKeysGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersSSHPublicKeysGet Source #
Retrieves an SSH public key.
See: usersSSHPublicKeysGet
smart constructor.
Instances
Request Lenses
uspkgXgafv :: Lens' UsersSSHPublicKeysGet (Maybe Xgafv) Source #
V1 error format.
uspkgUploadProtocol :: Lens' UsersSSHPublicKeysGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
uspkgAccessToken :: Lens' UsersSSHPublicKeysGet (Maybe Text) Source #
OAuth access token.
uspkgUploadType :: Lens' UsersSSHPublicKeysGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
uspkgName :: Lens' UsersSSHPublicKeysGet Text Source #
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}`.
uspkgCallback :: Lens' UsersSSHPublicKeysGet (Maybe Text) Source #
JSONP