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 public cloud services.
See: Cloud Billing API Reference for cloudbilling.services.list
.
Synopsis
- type ServicesListResource = "v1" :> ("services" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListServicesResponse)))))))))
- servicesList :: ServicesList
- data ServicesList
- slXgafv :: Lens' ServicesList (Maybe Xgafv)
- slUploadProtocol :: Lens' ServicesList (Maybe Text)
- slAccessToken :: Lens' ServicesList (Maybe Text)
- slUploadType :: Lens' ServicesList (Maybe Text)
- slPageToken :: Lens' ServicesList (Maybe Text)
- slPageSize :: Lens' ServicesList (Maybe Int32)
- slCallback :: Lens' ServicesList (Maybe Text)
REST Resource
type ServicesListResource = "v1" :> ("services" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListServicesResponse))))))))) Source #
A resource alias for cloudbilling.services.list
method which the
ServicesList
request conforms to.
Creating a Request
servicesList :: ServicesList Source #
Creates a value of ServicesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ServicesList Source #
Lists all public cloud services.
See: servicesList
smart constructor.
Instances
Request Lenses
slUploadProtocol :: Lens' ServicesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
slAccessToken :: Lens' ServicesList (Maybe Text) Source #
OAuth access token.
slUploadType :: Lens' ServicesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
slPageToken :: Lens' ServicesList (Maybe Text) Source #
A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListServices` call. If unspecified, the first page of results is returned.
slPageSize :: Lens' ServicesList (Maybe Int32) Source #
Requested page size. Defaults to 5000.
slCallback :: Lens' ServicesList (Maybe Text) Source #
JSONP