gogol-oslogin-0.5.0: Google Cloud OS Login SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Patch

Contents

Description

Updates an SSH public key and returns the profile information. This method supports patch semantics.

See: Cloud OS Login API Reference for oslogin.users.sshPublicKeys.patch.

Synopsis

REST Resource

type UsersSSHPublicKeysPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SSHPublicKey :> Patch '[JSON] SSHPublicKey))))))))) Source #

A resource alias for oslogin.users.sshPublicKeys.patch method which the UsersSSHPublicKeysPatch request conforms to.

Creating a Request

usersSSHPublicKeysPatch Source #

Creates a value of UsersSSHPublicKeysPatch with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UsersSSHPublicKeysPatch Source #

Updates an SSH public key and returns the profile information. This method supports patch semantics.

See: usersSSHPublicKeysPatch smart constructor.

Instances
Eq UsersSSHPublicKeysPatch Source # 
Instance details

Defined in Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Patch

Data UsersSSHPublicKeysPatch Source # 
Instance details

Defined in Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Patch

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersSSHPublicKeysPatch -> c UsersSSHPublicKeysPatch #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersSSHPublicKeysPatch #

toConstr :: UsersSSHPublicKeysPatch -> Constr #

dataTypeOf :: UsersSSHPublicKeysPatch -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UsersSSHPublicKeysPatch) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersSSHPublicKeysPatch) #

gmapT :: (forall b. Data b => b -> b) -> UsersSSHPublicKeysPatch -> UsersSSHPublicKeysPatch #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersSSHPublicKeysPatch -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersSSHPublicKeysPatch -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersSSHPublicKeysPatch -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersSSHPublicKeysPatch -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersSSHPublicKeysPatch -> m UsersSSHPublicKeysPatch #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersSSHPublicKeysPatch -> m UsersSSHPublicKeysPatch #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersSSHPublicKeysPatch -> m UsersSSHPublicKeysPatch #

Show UsersSSHPublicKeysPatch Source # 
Instance details

Defined in Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Patch

Generic UsersSSHPublicKeysPatch Source # 
Instance details

Defined in Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Patch

Associated Types

type Rep UsersSSHPublicKeysPatch :: Type -> Type #

GoogleRequest UsersSSHPublicKeysPatch Source # 
Instance details

Defined in Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Patch

type Rep UsersSSHPublicKeysPatch Source # 
Instance details

Defined in Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Patch

type Rep UsersSSHPublicKeysPatch = D1 (MetaData "UsersSSHPublicKeysPatch" "Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Patch" "gogol-oslogin-0.5.0-6djebC2uyCIDk13xiGxupT" False) (C1 (MetaCons "UsersSSHPublicKeysPatch'" PrefixI True) (((S1 (MetaSel (Just "_uspkpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_uspkpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_uspkpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_uspkpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_uspkpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uspkpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SSHPublicKey)) :*: (S1 (MetaSel (Just "_uspkpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_uspkpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes UsersSSHPublicKeysPatch Source # 
Instance details

Defined in Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Patch

type Scopes UsersSSHPublicKeysPatch = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/compute" ': ([] :: [Symbol]))
type Rs UsersSSHPublicKeysPatch Source # 
Instance details

Defined in Network.Google.Resource.OSLogin.Users.SSHPublicKeys.Patch

Request Lenses

uspkpUploadProtocol :: Lens' UsersSSHPublicKeysPatch (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

uspkpUpdateMask :: Lens' UsersSSHPublicKeysPatch (Maybe GFieldMask) Source #

Mask to control which fields get updated. Updates all if not present.

uspkpUploadType :: Lens' UsersSSHPublicKeysPatch (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

uspkpName :: Lens' UsersSSHPublicKeysPatch Text Source #

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}`.