gogol-storage-0.5.0: Google Cloud Storage JSON 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.Storage.Projects.HmacKeys.Update

Contents

Description

Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states.

See: Cloud Storage JSON API Reference for storage.projects.hmacKeys.update.

Synopsis

REST Resource

type ProjectsHmacKeysUpdateResource = "storage" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("hmacKeys" :> (Capture "accessId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] HmacKeyMetadata :> Put '[JSON] HmacKeyMetadata))))))) Source #

A resource alias for storage.projects.hmacKeys.update method which the ProjectsHmacKeysUpdate request conforms to.

Creating a Request

projectsHmacKeysUpdate Source #

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

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

data ProjectsHmacKeysUpdate Source #

Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states.

See: projectsHmacKeysUpdate smart constructor.

Instances
Eq ProjectsHmacKeysUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.Projects.HmacKeys.Update

Data ProjectsHmacKeysUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.Projects.HmacKeys.Update

Methods

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

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

toConstr :: ProjectsHmacKeysUpdate -> Constr #

dataTypeOf :: ProjectsHmacKeysUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsHmacKeysUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.Projects.HmacKeys.Update

Generic ProjectsHmacKeysUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.Projects.HmacKeys.Update

Associated Types

type Rep ProjectsHmacKeysUpdate :: Type -> Type #

GoogleRequest ProjectsHmacKeysUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.Projects.HmacKeys.Update

type Rep ProjectsHmacKeysUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.Projects.HmacKeys.Update

type Rep ProjectsHmacKeysUpdate = D1 (MetaData "ProjectsHmacKeysUpdate" "Network.Google.Resource.Storage.Projects.HmacKeys.Update" "gogol-storage-0.5.0-5L0Ic6SP0Z527hp6WMOxG4" False) (C1 (MetaCons "ProjectsHmacKeysUpdate'" PrefixI True) (S1 (MetaSel (Just "_phkuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 HmacKeyMetadata) :*: (S1 (MetaSel (Just "_phkuProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_phkuAccessId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ProjectsHmacKeysUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.Projects.HmacKeys.Update

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

Defined in Network.Google.Resource.Storage.Projects.HmacKeys.Update

Request Lenses

phkuProjectId :: Lens' ProjectsHmacKeysUpdate Text Source #

Project ID owning the service account of the updated key.

phkuAccessId :: Lens' ProjectsHmacKeysUpdate Text Source #

Name of the HMAC key being updated.