Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists all publicly available SKUs for a given cloud service.
See: Cloud Billing API Reference for cloudbilling.services.skus.list
.
Synopsis
- 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)))))))))))))
- servicesSKUsList :: Text -> ServicesSKUsList
- data ServicesSKUsList
- sskulParent :: Lens' ServicesSKUsList Text
- sskulXgafv :: Lens' ServicesSKUsList (Maybe Xgafv)
- sskulCurrencyCode :: Lens' ServicesSKUsList (Maybe Text)
- sskulUploadProtocol :: Lens' ServicesSKUsList (Maybe Text)
- sskulStartTime :: Lens' ServicesSKUsList (Maybe UTCTime)
- sskulAccessToken :: Lens' ServicesSKUsList (Maybe Text)
- sskulUploadType :: Lens' ServicesSKUsList (Maybe Text)
- sskulEndTime :: Lens' ServicesSKUsList (Maybe UTCTime)
- sskulPageToken :: Lens' ServicesSKUsList (Maybe Text)
- sskulPageSize :: Lens' ServicesSKUsList (Maybe Int32)
- sskulCallback :: Lens' ServicesSKUsList (Maybe Text)
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
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
Request Lenses
sskulParent :: Lens' ServicesSKUsList Text Source #
The name of the service. Example: "services/DA34-426B-A397"
sskulXgafv :: Lens' ServicesSKUsList (Maybe Xgafv) Source #
V1 error format.
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).
sskulAccessToken :: Lens' ServicesSKUsList (Maybe Text) Source #
OAuth access token.
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.
sskulCallback :: Lens' ServicesSKUsList (Maybe Text) Source #
JSONP