gogol-admin-directory-0.4.0: Google Admin Directory 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.Directory.Resources.Features.Rename

Contents

Description

Renames a feature.

See: Admin Directory API Reference for directory.resources.features.rename.

Synopsis

REST Resource

type ResourcesFeaturesRenameResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("features" :> (Capture "oldName" Text :> ("rename" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FeatureRename :> Post '[JSON] ())))))))))) Source #

A resource alias for directory.resources.features.rename method which the ResourcesFeaturesRename request conforms to.

Creating a Request

resourcesFeaturesRename Source #

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

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

data ResourcesFeaturesRename Source #

Renames a feature.

See: resourcesFeaturesRename smart constructor.

Instances
Eq ResourcesFeaturesRename Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Rename

Data ResourcesFeaturesRename Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Rename

Methods

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

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

toConstr :: ResourcesFeaturesRename -> Constr #

dataTypeOf :: ResourcesFeaturesRename -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesFeaturesRename Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Rename

Generic ResourcesFeaturesRename Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Rename

Associated Types

type Rep ResourcesFeaturesRename :: Type -> Type #

GoogleRequest ResourcesFeaturesRename Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Rename

type Rep ResourcesFeaturesRename Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Rename

type Rep ResourcesFeaturesRename = D1 (MetaData "ResourcesFeaturesRename" "Network.Google.Resource.Directory.Resources.Features.Rename" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "ResourcesFeaturesRename'" PrefixI True) (S1 (MetaSel (Just "_rfrPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 FeatureRename) :*: (S1 (MetaSel (Just "_rfrCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rfrOldName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ResourcesFeaturesRename Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Rename

type Scopes ResourcesFeaturesRename = "https://www.googleapis.com/auth/admin.directory.resource.calendar" ': ([] :: [Symbol])
type Rs ResourcesFeaturesRename Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Rename

Request Lenses

rfrCustomer :: Lens' ResourcesFeaturesRename Text Source #

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

rfrOldName :: Lens' ResourcesFeaturesRename Text Source #

The unique ID of the feature to rename.