gogol-useraccounts-0.0.1: Google Cloud User Accounts SDK.

Copyright(c) 2015 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.CloudUserAccounts.Users.AddPublicKey

Contents

Description

Adds a public key to the specified User resource with the data included in the request.

See: Cloud User Accounts API Reference for clouduseraccounts.users.addPublicKey.

Synopsis

REST Resource

type UsersAddPublicKeyResource = "clouduseraccounts" :> ("beta" :> ("projects" :> (Capture "project" Text :> ("global" :> ("users" :> (Capture "user" Text :> ("addPublicKey" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` PublicKey :> Post `[JSON]` Operation))))))))) Source

A resource alias for clouduseraccounts.users.addPublicKey method which the UsersAddPublicKey request conforms to.

Creating a Request

usersAddPublicKey Source

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

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

data UsersAddPublicKey Source

Adds a public key to the specified User resource with the data included in the request.

See: usersAddPublicKey smart constructor.

Request Lenses

uapkProject :: Lens' UsersAddPublicKey Text Source

Project ID for this request.

uapkPayload :: Lens' UsersAddPublicKey PublicKey Source

Multipart request metadata.

uapkUser :: Lens' UsersAddPublicKey Text Source

Name of the user for this request.