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 |
Get an Access Level by resource name.
See: Access Context Manager API Reference for accesscontextmanager.accessPolicies.accessLevels.get
.
Synopsis
- type AccessPoliciesAccessLevelsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "accessLevelFormat" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AccessLevel))))))))
- accessPoliciesAccessLevelsGet :: Text -> AccessPoliciesAccessLevelsGet
- data AccessPoliciesAccessLevelsGet
- apalgXgafv :: Lens' AccessPoliciesAccessLevelsGet (Maybe Xgafv)
- apalgUploadProtocol :: Lens' AccessPoliciesAccessLevelsGet (Maybe Text)
- apalgAccessToken :: Lens' AccessPoliciesAccessLevelsGet (Maybe Text)
- apalgUploadType :: Lens' AccessPoliciesAccessLevelsGet (Maybe Text)
- apalgAccessLevelFormat :: Lens' AccessPoliciesAccessLevelsGet (Maybe Text)
- apalgName :: Lens' AccessPoliciesAccessLevelsGet Text
- apalgCallback :: Lens' AccessPoliciesAccessLevelsGet (Maybe Text)
REST Resource
type AccessPoliciesAccessLevelsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "accessLevelFormat" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AccessLevel)))))))) Source #
A resource alias for accesscontextmanager.accessPolicies.accessLevels.get
method which the
AccessPoliciesAccessLevelsGet
request conforms to.
Creating a Request
accessPoliciesAccessLevelsGet Source #
Creates a value of AccessPoliciesAccessLevelsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccessPoliciesAccessLevelsGet Source #
Get an Access Level by resource name.
See: accessPoliciesAccessLevelsGet
smart constructor.
Instances
Request Lenses
apalgXgafv :: Lens' AccessPoliciesAccessLevelsGet (Maybe Xgafv) Source #
V1 error format.
apalgUploadProtocol :: Lens' AccessPoliciesAccessLevelsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
apalgAccessToken :: Lens' AccessPoliciesAccessLevelsGet (Maybe Text) Source #
OAuth access token.
apalgUploadType :: Lens' AccessPoliciesAccessLevelsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
apalgAccessLevelFormat :: Lens' AccessPoliciesAccessLevelsGet (Maybe Text) Source #
Whether to return `BasicLevels` in the Cloud Common Expression Language rather than as `BasicLevels`. Defaults to AS_DEFINED, where Access Levels are returned as `BasicLevels` or `CustomLevels` based on how they were created. If set to CEL, all Access Levels are returned as `CustomLevels`. In the CEL case, `BasicLevels` are translated to equivalent `CustomLevels`.
apalgName :: Lens' AccessPoliciesAccessLevelsGet Text Source #
Required. Resource name for the Access Level. Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}`
apalgCallback :: Lens' AccessPoliciesAccessLevelsGet (Maybe Text) Source #
JSONP