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 AccessPolicy by name.
See: Access Context Manager API Reference for accesscontextmanager.accessPolicies.get
.
Synopsis
- type AccessPoliciesGetResource = "v1beta" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AccessPolicy)))))))
- accessPoliciesGet :: Text -> AccessPoliciesGet
- data AccessPoliciesGet
- apgXgafv :: Lens' AccessPoliciesGet (Maybe Xgafv)
- apgUploadProtocol :: Lens' AccessPoliciesGet (Maybe Text)
- apgAccessToken :: Lens' AccessPoliciesGet (Maybe Text)
- apgUploadType :: Lens' AccessPoliciesGet (Maybe Text)
- apgName :: Lens' AccessPoliciesGet Text
- apgCallback :: Lens' AccessPoliciesGet (Maybe Text)
REST Resource
type AccessPoliciesGetResource = "v1beta" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AccessPolicy))))))) Source #
A resource alias for accesscontextmanager.accessPolicies.get
method which the
AccessPoliciesGet
request conforms to.
Creating a Request
Creates a value of AccessPoliciesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccessPoliciesGet Source #
Get an AccessPolicy by name.
See: accessPoliciesGet
smart constructor.
Instances
Request Lenses
apgUploadProtocol :: Lens' AccessPoliciesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
apgAccessToken :: Lens' AccessPoliciesGet (Maybe Text) Source #
OAuth access token.
apgUploadType :: Lens' AccessPoliciesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
apgName :: Lens' AccessPoliciesGet Text Source #
Required. Resource name for the access policy to get. Format `accessPolicies/{policy_id}`
apgCallback :: Lens' AccessPoliciesGet (Maybe Text) Source #
JSONP