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

Contents

Description

Get a specific subscription.

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

Synopsis

REST Resource

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

A resource alias for reseller.subscriptions.get method which the SubscriptionsGet request conforms to.

Creating a Request

subscriptionsGet Source #

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

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

data SubscriptionsGet Source #

Get a specific subscription.

See: subscriptionsGet smart constructor.

Instances
Eq SubscriptionsGet Source # 
Instance details

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

Data SubscriptionsGet Source # 
Instance details

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

Methods

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

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

toConstr :: SubscriptionsGet -> Constr #

dataTypeOf :: SubscriptionsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubscriptionsGet Source # 
Instance details

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

Generic SubscriptionsGet Source # 
Instance details

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

Associated Types

type Rep SubscriptionsGet :: Type -> Type #

GoogleRequest SubscriptionsGet Source # 
Instance details

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

Associated Types

type Rs SubscriptionsGet :: Type #

type Scopes SubscriptionsGet :: [Symbol] #

type Rep SubscriptionsGet Source # 
Instance details

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

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

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

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

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

Request Lenses

sgCustomerId :: Lens' SubscriptionsGet 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.

sgSubscriptionId :: Lens' SubscriptionsGet 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.