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

Contents

Description

Update company. Should only be called within the context of an authorized logged in user.

See: Google Partners API Reference for partners.updateCompanies.

Synopsis

REST Resource

type UpdateCompaniesResource = "v2" :> ("companies" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (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 :> (ReqBody '[JSON] Company :> Patch '[JSON] Company)))))))))))))))) Source #

A resource alias for partners.updateCompanies method which the UpdateCompanies request conforms to.

Creating a Request

data UpdateCompanies Source #

Update company. Should only be called within the context of an authorized logged in user.

See: updateCompanies smart constructor.

Instances
Eq UpdateCompanies Source # 
Instance details

Defined in Network.Google.Resource.Partners.UpdateCompanies

Data UpdateCompanies Source # 
Instance details

Defined in Network.Google.Resource.Partners.UpdateCompanies

Methods

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

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

toConstr :: UpdateCompanies -> Constr #

dataTypeOf :: UpdateCompanies -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UpdateCompanies Source # 
Instance details

Defined in Network.Google.Resource.Partners.UpdateCompanies

Generic UpdateCompanies Source # 
Instance details

Defined in Network.Google.Resource.Partners.UpdateCompanies

Associated Types

type Rep UpdateCompanies :: Type -> Type #

GoogleRequest UpdateCompanies Source # 
Instance details

Defined in Network.Google.Resource.Partners.UpdateCompanies

Associated Types

type Rs UpdateCompanies :: Type #

type Scopes UpdateCompanies :: [Symbol] #

type Rep UpdateCompanies Source # 
Instance details

Defined in Network.Google.Resource.Partners.UpdateCompanies

type Rep UpdateCompanies = D1 (MetaData "UpdateCompanies" "Network.Google.Resource.Partners.UpdateCompanies" "gogol-partners-0.4.0-39sg3ZvEDoCEu9a3s5sq6U" False) (C1 (MetaCons "UpdateCompanies'" PrefixI True) (((S1 (MetaSel (Just "_ucXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ucUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ucUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)))) :*: ((S1 (MetaSel (Just "_ucAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ucUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ucPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Company) :*: S1 (MetaSel (Just "_ucRequestMetadataPartnersSessionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_ucRequestMetadataLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ucRequestMetadataExperimentIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_ucRequestMetadataUserOverridesIPAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ucRequestMetadataTrafficSourceTrafficSubId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ucRequestMetadataUserOverridesUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ucRequestMetadataTrafficSourceTrafficSourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ucCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes UpdateCompanies Source # 
Instance details

Defined in Network.Google.Resource.Partners.UpdateCompanies

type Scopes UpdateCompanies = ([] :: [Symbol])
type Rs UpdateCompanies Source # 
Instance details

Defined in Network.Google.Resource.Partners.UpdateCompanies

Request Lenses

ucUploadProtocol :: Lens' UpdateCompanies (Maybe Text) Source #

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

ucUpdateMask :: Lens' UpdateCompanies (Maybe GFieldMask) Source #

Standard field mask for the set of fields to be updated. Required with at least 1 value in FieldMask's paths.

ucUploadType :: Lens' UpdateCompanies (Maybe Text) Source #

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

ucPayload :: Lens' UpdateCompanies Company Source #

Multipart request metadata.

ucRequestMetadataLocale :: Lens' UpdateCompanies (Maybe Text) Source #

Locale to use for the current request.

ucRequestMetadataExperimentIds :: Lens' UpdateCompanies [Text] Source #

Experiment IDs the current request belongs to.

ucRequestMetadataUserOverridesIPAddress :: Lens' UpdateCompanies (Maybe Text) Source #

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

ucRequestMetadataTrafficSourceTrafficSubId :: Lens' UpdateCompanies (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.

ucRequestMetadataUserOverridesUserId :: Lens' UpdateCompanies (Maybe Text) Source #

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

ucRequestMetadataTrafficSourceTrafficSourceId :: Lens' UpdateCompanies (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.