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.organizations.roles.list
.
Synopsis
- type OrganizationsRolesListResource = "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))))))))))))
- organizationsRolesList :: Text -> OrganizationsRolesList
- data OrganizationsRolesList
- orlParent :: Lens' OrganizationsRolesList Text
- orlXgafv :: Lens' OrganizationsRolesList (Maybe Xgafv)
- orlUploadProtocol :: Lens' OrganizationsRolesList (Maybe Text)
- orlAccessToken :: Lens' OrganizationsRolesList (Maybe Text)
- orlUploadType :: Lens' OrganizationsRolesList (Maybe Text)
- orlShowDeleted :: Lens' OrganizationsRolesList (Maybe Bool)
- orlView :: Lens' OrganizationsRolesList (Maybe Text)
- orlPageToken :: Lens' OrganizationsRolesList (Maybe Text)
- orlPageSize :: Lens' OrganizationsRolesList (Maybe Int32)
- orlCallback :: Lens' OrganizationsRolesList (Maybe Text)
REST Resource
type OrganizationsRolesListResource = "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.organizations.roles.list
method which the
OrganizationsRolesList
request conforms to.
Creating a Request
organizationsRolesList Source #
Creates a value of OrganizationsRolesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsRolesList Source #
Lists the Roles defined on a resource.
See: organizationsRolesList
smart constructor.
Instances
Request Lenses
orlParent :: Lens' OrganizationsRolesList 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}`
orlUploadProtocol :: Lens' OrganizationsRolesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
orlAccessToken :: Lens' OrganizationsRolesList (Maybe Text) Source #
OAuth access token.
orlUploadType :: Lens' OrganizationsRolesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
orlShowDeleted :: Lens' OrganizationsRolesList (Maybe Bool) Source #
Include Roles that have been deleted.
orlView :: Lens' OrganizationsRolesList (Maybe Text) Source #
Optional view for the returned Role objects.
orlPageToken :: Lens' OrganizationsRolesList (Maybe Text) Source #
Optional pagination token returned in an earlier ListRolesResponse.
orlPageSize :: Lens' OrganizationsRolesList (Maybe Int32) Source #
Optional limit on the number of roles to include in the response.
orlCallback :: Lens' OrganizationsRolesList (Maybe Text) Source #
JSONP