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 the Roles defined on a resource.
See: Identity and Access Management (IAM) API Reference for iam.projects.roles.list
.
Synopsis
- type ProjectsRolesListResource = "v1" :> (Capture "parent" Text :> ("roles" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "showDeleted" Bool :> (QueryParam "view" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListRolesResponse))))))))))))
- projectsRolesList :: Text -> ProjectsRolesList
- data ProjectsRolesList
- prlParent :: Lens' ProjectsRolesList Text
- prlXgafv :: Lens' ProjectsRolesList (Maybe Xgafv)
- prlUploadProtocol :: Lens' ProjectsRolesList (Maybe Text)
- prlAccessToken :: Lens' ProjectsRolesList (Maybe Text)
- prlUploadType :: Lens' ProjectsRolesList (Maybe Text)
- prlShowDeleted :: Lens' ProjectsRolesList (Maybe Bool)
- prlView :: Lens' ProjectsRolesList (Maybe Text)
- prlPageToken :: Lens' ProjectsRolesList (Maybe Text)
- prlPageSize :: Lens' ProjectsRolesList (Maybe Int32)
- prlCallback :: Lens' ProjectsRolesList (Maybe Text)
REST Resource
type ProjectsRolesListResource = "v1" :> (Capture "parent" Text :> ("roles" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "showDeleted" Bool :> (QueryParam "view" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListRolesResponse)))))))))))) Source #
A resource alias for iam.projects.roles.list
method which the
ProjectsRolesList
request conforms to.
Creating a Request
Creates a value of ProjectsRolesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRolesList Source #
Lists the Roles defined on a resource.
See: projectsRolesList
smart constructor.
Instances
Request Lenses
prlParent :: Lens' ProjectsRolesList Text Source #
The resource name of the parent resource in one of the following formats: `` (empty string) -- this refers to curated roles. `organizations/{ORGANIZATION_ID}` `projects/{PROJECT_ID}`
prlUploadProtocol :: Lens' ProjectsRolesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prlAccessToken :: Lens' ProjectsRolesList (Maybe Text) Source #
OAuth access token.
prlUploadType :: Lens' ProjectsRolesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prlShowDeleted :: Lens' ProjectsRolesList (Maybe Bool) Source #
Include Roles that have been deleted.
prlView :: Lens' ProjectsRolesList (Maybe Text) Source #
Optional view for the returned Role objects.
prlPageToken :: Lens' ProjectsRolesList (Maybe Text) Source #
Optional pagination token returned in an earlier ListRolesResponse.
prlPageSize :: Lens' ProjectsRolesList (Maybe Int32) Source #
Optional limit on the number of roles to include in the response.
prlCallback :: Lens' ProjectsRolesList (Maybe Text) Source #
JSONP