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 ServiceAccounts for a project.
See: Identity and Access Management (IAM) API Reference for iam.projects.serviceAccounts.list
.
Synopsis
- type ProjectsServiceAccountsListResource = "v1" :> (Capture "name" Text :> ("serviceAccounts" :> (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] ListServiceAccountsResponse))))))))))
- projectsServiceAccountsList :: Text -> ProjectsServiceAccountsList
- data ProjectsServiceAccountsList
- psalXgafv :: Lens' ProjectsServiceAccountsList (Maybe Xgafv)
- psalUploadProtocol :: Lens' ProjectsServiceAccountsList (Maybe Text)
- psalAccessToken :: Lens' ProjectsServiceAccountsList (Maybe Text)
- psalUploadType :: Lens' ProjectsServiceAccountsList (Maybe Text)
- psalName :: Lens' ProjectsServiceAccountsList Text
- psalPageToken :: Lens' ProjectsServiceAccountsList (Maybe Text)
- psalPageSize :: Lens' ProjectsServiceAccountsList (Maybe Int32)
- psalCallback :: Lens' ProjectsServiceAccountsList (Maybe Text)
REST Resource
type ProjectsServiceAccountsListResource = "v1" :> (Capture "name" Text :> ("serviceAccounts" :> (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] ListServiceAccountsResponse)))))))))) Source #
A resource alias for iam.projects.serviceAccounts.list
method which the
ProjectsServiceAccountsList
request conforms to.
Creating a Request
projectsServiceAccountsList Source #
Creates a value of ProjectsServiceAccountsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsServiceAccountsList Source #
Lists ServiceAccounts for a project.
See: projectsServiceAccountsList
smart constructor.
Instances
Request Lenses
psalUploadProtocol :: Lens' ProjectsServiceAccountsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psalAccessToken :: Lens' ProjectsServiceAccountsList (Maybe Text) Source #
OAuth access token.
psalUploadType :: Lens' ProjectsServiceAccountsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psalName :: Lens' ProjectsServiceAccountsList Text Source #
Required. The resource name of the project associated with the service accounts, such as `projects/my-project-123`.
psalPageToken :: Lens' ProjectsServiceAccountsList (Maybe Text) Source #
Optional pagination token returned in an earlier ListServiceAccountsResponse.next_page_token.
psalPageSize :: Lens' ProjectsServiceAccountsList (Maybe Int32) Source #
Optional limit on the number of service accounts to include in the response. Further accounts can subsequently be obtained by including the ListServiceAccountsResponse.next_page_token in a subsequent request.
psalCallback :: Lens' ProjectsServiceAccountsList (Maybe Text) Source #
JSONP