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

Contents

Description

Update a subscription's user license settings.

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

Synopsis

REST Resource

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

A resource alias for reseller.subscriptions.changeSeats method which the SubscriptionsChangeSeats request conforms to.

Creating a Request

subscriptionsChangeSeats Source #

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

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

data SubscriptionsChangeSeats Source #

Update a subscription's user license settings.

See: subscriptionsChangeSeats smart constructor.

Instances
Eq SubscriptionsChangeSeats Source # 
Instance details

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

Data SubscriptionsChangeSeats Source # 
Instance details

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

Methods

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

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

toConstr :: SubscriptionsChangeSeats -> Constr #

dataTypeOf :: SubscriptionsChangeSeats -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubscriptionsChangeSeats Source # 
Instance details

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

Generic SubscriptionsChangeSeats Source # 
Instance details

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

Associated Types

type Rep SubscriptionsChangeSeats :: Type -> Type #

GoogleRequest SubscriptionsChangeSeats Source # 
Instance details

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

type Rep SubscriptionsChangeSeats Source # 
Instance details

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

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

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

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

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

Request Lenses

scsPayload :: Lens' SubscriptionsChangeSeats Seats Source #

Multipart request metadata.

scsCustomerId :: Lens' SubscriptionsChangeSeats 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.

scsSubscriptionId :: Lens' SubscriptionsChangeSeats 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.