gogol-billing-0.4.0: Google Cloud Billing 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.CloudBilling.Services.SKUs.List

Contents

Description

Lists all publicly available SKUs for a given cloud service.

See: Cloud Billing API Reference for cloudbilling.services.skus.list.

Synopsis

REST Resource

type ServicesSKUsListResource = "v1" :> (Capture "parent" Text :> ("skus" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "currencyCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "startTime" DateTime' :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "endTime" DateTime' :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSKUsResponse))))))))))))) Source #

A resource alias for cloudbilling.services.skus.list method which the ServicesSKUsList request conforms to.

Creating a Request

servicesSKUsList Source #

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

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

data ServicesSKUsList Source #

Lists all publicly available SKUs for a given cloud service.

See: servicesSKUsList smart constructor.

Instances
Eq ServicesSKUsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Services.SKUs.List

Data ServicesSKUsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Services.SKUs.List

Methods

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

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

toConstr :: ServicesSKUsList -> Constr #

dataTypeOf :: ServicesSKUsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServicesSKUsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Services.SKUs.List

Generic ServicesSKUsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Services.SKUs.List

Associated Types

type Rep ServicesSKUsList :: Type -> Type #

GoogleRequest ServicesSKUsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Services.SKUs.List

Associated Types

type Rs ServicesSKUsList :: Type #

type Scopes ServicesSKUsList :: [Symbol] #

type Rep ServicesSKUsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Services.SKUs.List

type Scopes ServicesSKUsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Services.SKUs.List

type Scopes ServicesSKUsList = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ServicesSKUsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Services.SKUs.List

Request Lenses

sskulParent :: Lens' ServicesSKUsList Text Source #

The name of the service. Example: "services/DA34-426B-A397"

sskulCurrencyCode :: Lens' ServicesSKUsList (Maybe Text) Source #

The ISO 4217 currency code for the pricing info in the response proto. Will use the conversion rate as of start_time. Optional. If not specified USD will be used.

sskulUploadProtocol :: Lens' ServicesSKUsList (Maybe Text) Source #

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

sskulStartTime :: Lens' ServicesSKUsList (Maybe UTCTime) Source #

Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

sskulUploadType :: Lens' ServicesSKUsList (Maybe Text) Source #

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

sskulEndTime :: Lens' ServicesSKUsList (Maybe UTCTime) Source #

Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

sskulPageToken :: Lens' ServicesSKUsList (Maybe Text) Source #

A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListSkus` call. If unspecified, the first page of results is returned.

sskulPageSize :: Lens' ServicesSKUsList (Maybe Int32) Source #

Requested page size. Defaults to 5000.