gogol-partners-0.4.0: Google Partners 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.Partners.Users.DeleteCompanyRelation

Contents

Description

Deletes a user's company relation. Unaffiliaites the user from a company.

See: Google Partners API Reference for partners.users.deleteCompanyRelation.

Synopsis

REST Resource

type UsersDeleteCompanyRelationResource = "v2" :> ("users" :> (Capture "userId" Text :> ("companyRelation" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "requestMetadata.partnersSessionId" Text :> (QueryParam "requestMetadata.locale" Text :> (QueryParams "requestMetadata.experimentIds" Text :> (QueryParam "requestMetadata.userOverrides.ipAddress" Text :> (QueryParam "requestMetadata.trafficSource.trafficSubId" Text :> (QueryParam "requestMetadata.userOverrides.userId" Text :> (QueryParam "requestMetadata.trafficSource.trafficSourceId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))))))))))) Source #

A resource alias for partners.users.deleteCompanyRelation method which the UsersDeleteCompanyRelation request conforms to.

Creating a Request

data UsersDeleteCompanyRelation Source #

Deletes a user's company relation. Unaffiliaites the user from a company.

See: usersDeleteCompanyRelation smart constructor.

Instances
Eq UsersDeleteCompanyRelation Source # 
Instance details

Defined in Network.Google.Resource.Partners.Users.DeleteCompanyRelation

Data UsersDeleteCompanyRelation Source # 
Instance details

Defined in Network.Google.Resource.Partners.Users.DeleteCompanyRelation

Methods

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

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

toConstr :: UsersDeleteCompanyRelation -> Constr #

dataTypeOf :: UsersDeleteCompanyRelation -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersDeleteCompanyRelation Source # 
Instance details

Defined in Network.Google.Resource.Partners.Users.DeleteCompanyRelation

Generic UsersDeleteCompanyRelation Source # 
Instance details

Defined in Network.Google.Resource.Partners.Users.DeleteCompanyRelation

Associated Types

type Rep UsersDeleteCompanyRelation :: Type -> Type #

GoogleRequest UsersDeleteCompanyRelation Source # 
Instance details

Defined in Network.Google.Resource.Partners.Users.DeleteCompanyRelation

type Rep UsersDeleteCompanyRelation Source # 
Instance details

Defined in Network.Google.Resource.Partners.Users.DeleteCompanyRelation

type Rep UsersDeleteCompanyRelation = D1 (MetaData "UsersDeleteCompanyRelation" "Network.Google.Resource.Partners.Users.DeleteCompanyRelation" "gogol-partners-0.4.0-39sg3ZvEDoCEu9a3s5sq6U" False) (C1 (MetaCons "UsersDeleteCompanyRelation'" PrefixI True) (((S1 (MetaSel (Just "_udcrXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_udcrUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_udcrAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_udcrUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_udcrUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_udcrRequestMetadataPartnersSessionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_udcrRequestMetadataLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_udcrRequestMetadataExperimentIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_udcrRequestMetadataUserOverridesIPAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_udcrRequestMetadataTrafficSourceTrafficSubId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_udcrRequestMetadataUserOverridesUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_udcrRequestMetadataTrafficSourceTrafficSourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_udcrCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes UsersDeleteCompanyRelation Source # 
Instance details

Defined in Network.Google.Resource.Partners.Users.DeleteCompanyRelation

type Rs UsersDeleteCompanyRelation Source # 
Instance details

Defined in Network.Google.Resource.Partners.Users.DeleteCompanyRelation

Request Lenses

udcrUploadProtocol :: Lens' UsersDeleteCompanyRelation (Maybe Text) Source #

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

udcrUploadType :: Lens' UsersDeleteCompanyRelation (Maybe Text) Source #

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

udcrUserId :: Lens' UsersDeleteCompanyRelation Text Source #

The ID of the user. Can be set to me to mean the currently authenticated user.

udcrRequestMetadataLocale :: Lens' UsersDeleteCompanyRelation (Maybe Text) Source #

Locale to use for the current request.

udcrRequestMetadataExperimentIds :: Lens' UsersDeleteCompanyRelation [Text] Source #

Experiment IDs the current request belongs to.

udcrRequestMetadataUserOverridesIPAddress :: Lens' UsersDeleteCompanyRelation (Maybe Text) Source #

IP address to use instead of the user's geo-located IP address.

udcrRequestMetadataTrafficSourceTrafficSubId :: Lens' UsersDeleteCompanyRelation (Maybe Text) Source #

Second level identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.

udcrRequestMetadataUserOverridesUserId :: Lens' UsersDeleteCompanyRelation (Maybe Text) Source #

Logged-in user ID to impersonate instead of the user's ID.

udcrRequestMetadataTrafficSourceTrafficSourceId :: Lens' UsersDeleteCompanyRelation (Maybe Text) Source #

Identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.