gogol-apps-reseller-0.4.0: Google Enterprise Apps Reseller 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.Reseller.Subscriptions.Activate

Contents

Description

Activates a subscription previously suspended by the reseller

See: Enterprise Apps Reseller API Reference for reseller.subscriptions.activate.

Synopsis

REST Resource

type SubscriptionsActivateResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("activate" :> (QueryParam "alt" AltJSON :> Post '[JSON] Subscription)))))))) Source #

A resource alias for reseller.subscriptions.activate method which the SubscriptionsActivate request conforms to.

Creating a Request

subscriptionsActivate Source #

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

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

data SubscriptionsActivate Source #

Activates a subscription previously suspended by the reseller

See: subscriptionsActivate smart constructor.

Instances
Eq SubscriptionsActivate Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.Activate

Data SubscriptionsActivate Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.Activate

Methods

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

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

toConstr :: SubscriptionsActivate -> Constr #

dataTypeOf :: SubscriptionsActivate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubscriptionsActivate Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.Activate

Generic SubscriptionsActivate Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.Activate

Associated Types

type Rep SubscriptionsActivate :: Type -> Type #

GoogleRequest SubscriptionsActivate Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.Activate

type Rep SubscriptionsActivate Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.Activate

type Rep SubscriptionsActivate = D1 (MetaData "SubscriptionsActivate" "Network.Google.Resource.Reseller.Subscriptions.Activate" "gogol-apps-reseller-0.4.0-KDuipGWXeWG9naMHX80l3C" False) (C1 (MetaCons "SubscriptionsActivate'" PrefixI True) (S1 (MetaSel (Just "_saCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_saSubscriptionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes SubscriptionsActivate Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.Activate

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

Defined in Network.Google.Resource.Reseller.Subscriptions.Activate

Request Lenses

saCustomerId :: Lens' SubscriptionsActivate Text Source #

Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates.

saSubscriptionId :: Lens' SubscriptionsActivate Text Source #

This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all reseller subscriptions method.