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 |
List enabled services for the specified consumer.
See: Service User API Reference for serviceuser.projects.services.list
.
Synopsis
- type ProjectsServicesListResource = "v1" :> (Capture "parent" Text :> ("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] ListEnabledServicesResponse))))))))))
- projectsServicesList :: Text -> ProjectsServicesList
- data ProjectsServicesList
- pslParent :: Lens' ProjectsServicesList Text
- pslXgafv :: Lens' ProjectsServicesList (Maybe Xgafv)
- pslUploadProtocol :: Lens' ProjectsServicesList (Maybe Text)
- pslAccessToken :: Lens' ProjectsServicesList (Maybe Text)
- pslUploadType :: Lens' ProjectsServicesList (Maybe Text)
- pslPageToken :: Lens' ProjectsServicesList (Maybe Text)
- pslPageSize :: Lens' ProjectsServicesList (Maybe Int32)
- pslCallback :: Lens' ProjectsServicesList (Maybe Text)
REST Resource
type ProjectsServicesListResource = "v1" :> (Capture "parent" Text :> ("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] ListEnabledServicesResponse)))))))))) Source #
A resource alias for serviceuser.projects.services.list
method which the
ProjectsServicesList
request conforms to.
Creating a Request
Creates a value of ProjectsServicesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsServicesList Source #
List enabled services for the specified consumer.
See: projectsServicesList
smart constructor.
Instances
Request Lenses
pslParent :: Lens' ProjectsServicesList Text Source #
List enabled services for the specified parent. An example valid parent would be: - projects/my-project
pslUploadProtocol :: Lens' ProjectsServicesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pslAccessToken :: Lens' ProjectsServicesList (Maybe Text) Source #
OAuth access token.
pslUploadType :: Lens' ProjectsServicesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pslPageToken :: Lens' ProjectsServicesList (Maybe Text) Source #
Token identifying which result to start with; returned by a previous list call.
pslPageSize :: Lens' ProjectsServicesList (Maybe Int32) Source #
Requested size of the next page of data.
pslCallback :: Lens' ProjectsServicesList (Maybe Text) Source #
JSONP