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.Create

Contents

Description

Create a new contact group owned by the authenticated user.

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

Synopsis

REST Resource

type ContactGroupsCreateResource = "v1" :> ("contactGroups" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateContactGroupRequest :> Post '[JSON] ContactGroup)))))))) Source #

A resource alias for people.contactGroups.create method which the ContactGroupsCreate request conforms to.

Creating a Request

contactGroupsCreate Source #

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

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

data ContactGroupsCreate Source #

Create a new contact group owned by the authenticated user.

See: contactGroupsCreate smart constructor.

Instances
Eq ContactGroupsCreate Source # 
Instance details

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

Data ContactGroupsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ContactGroupsCreate -> Constr #

dataTypeOf :: ContactGroupsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ContactGroupsCreate Source # 
Instance details

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

Generic ContactGroupsCreate Source # 
Instance details

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

Associated Types

type Rep ContactGroupsCreate :: Type -> Type #

GoogleRequest ContactGroupsCreate Source # 
Instance details

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

Associated Types

type Rs ContactGroupsCreate :: Type #

type Scopes ContactGroupsCreate :: [Symbol] #

type Rep ContactGroupsCreate Source # 
Instance details

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

type Rep ContactGroupsCreate = D1 (MetaData "ContactGroupsCreate" "Network.Google.Resource.People.ContactGroups.Create" "gogol-people-0.4.0-E13x4gVqkHzANg1IJZFmJ4" False) (C1 (MetaCons "ContactGroupsCreate'" PrefixI True) ((S1 (MetaSel (Just "_cgcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_cgcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cgcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_cgcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cgcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreateContactGroupRequest) :*: S1 (MetaSel (Just "_cgcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ContactGroupsCreate Source # 
Instance details

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

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

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

Request Lenses

cgcUploadProtocol :: Lens' ContactGroupsCreate (Maybe Text) Source #

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

cgcUploadType :: Lens' ContactGroupsCreate (Maybe Text) Source #

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