gogol-people-0.4.0: Google People 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.People.ContactGroups.Update

Contents

Description

Update the name of an existing contact group owned by the authenticated user.

See: People API Reference for people.contactGroups.update.

Synopsis

REST Resource

type ContactGroupsUpdateResource = "v1" :> (Capture "resourceName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateContactGroupRequest :> Put '[JSON] ContactGroup)))))))) Source #

A resource alias for people.contactGroups.update method which the ContactGroupsUpdate request conforms to.

Creating a Request

contactGroupsUpdate Source #

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

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

data ContactGroupsUpdate Source #

Update the name of an existing contact group owned by the authenticated user.

See: contactGroupsUpdate smart constructor.

Instances
Eq ContactGroupsUpdate Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Update

Data ContactGroupsUpdate Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Update

Methods

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

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

toConstr :: ContactGroupsUpdate -> Constr #

dataTypeOf :: ContactGroupsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ContactGroupsUpdate Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Update

Generic ContactGroupsUpdate Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Update

Associated Types

type Rep ContactGroupsUpdate :: Type -> Type #

GoogleRequest ContactGroupsUpdate Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Update

Associated Types

type Rs ContactGroupsUpdate :: Type #

type Scopes ContactGroupsUpdate :: [Symbol] #

type Rep ContactGroupsUpdate Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Update

type Rep ContactGroupsUpdate = D1 (MetaData "ContactGroupsUpdate" "Network.Google.Resource.People.ContactGroups.Update" "gogol-people-0.4.0-E13x4gVqkHzANg1IJZFmJ4" False) (C1 (MetaCons "ContactGroupsUpdate'" PrefixI True) ((S1 (MetaSel (Just "_cguXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_cguUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cguResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_cguAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cguUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cguPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UpdateContactGroupRequest) :*: S1 (MetaSel (Just "_cguCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ContactGroupsUpdate Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Update

type Scopes ContactGroupsUpdate = "https://www.googleapis.com/auth/contacts" ': ([] :: [Symbol])
type Rs ContactGroupsUpdate Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Update

Request Lenses

cguUploadProtocol :: Lens' ContactGroupsUpdate (Maybe Text) Source #

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

cguResourceName :: Lens' ContactGroupsUpdate Text Source #

The resource name for the contact group, assigned by the server. An ASCII string, in the form of `contactGroups/`contact_group_id.

cguUploadType :: Lens' ContactGroupsUpdate (Maybe Text) Source #

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