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 |
Create an Access Level. The longrunning operation from this RPC will have a successful status once the Access Level has propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered.
See: Access Context Manager API Reference for accesscontextmanager.accessPolicies.accessLevels.create
.
Synopsis
- type AccessPoliciesAccessLevelsCreateResource = "v1beta" :> (Capture "parent" Text :> ("accessLevels" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccessLevel :> Post '[JSON] Operation)))))))))
- accessPoliciesAccessLevelsCreate :: Text -> AccessLevel -> AccessPoliciesAccessLevelsCreate
- data AccessPoliciesAccessLevelsCreate
- apalcParent :: Lens' AccessPoliciesAccessLevelsCreate Text
- apalcXgafv :: Lens' AccessPoliciesAccessLevelsCreate (Maybe Xgafv)
- apalcUploadProtocol :: Lens' AccessPoliciesAccessLevelsCreate (Maybe Text)
- apalcAccessToken :: Lens' AccessPoliciesAccessLevelsCreate (Maybe Text)
- apalcUploadType :: Lens' AccessPoliciesAccessLevelsCreate (Maybe Text)
- apalcPayload :: Lens' AccessPoliciesAccessLevelsCreate AccessLevel
- apalcCallback :: Lens' AccessPoliciesAccessLevelsCreate (Maybe Text)
REST Resource
type AccessPoliciesAccessLevelsCreateResource = "v1beta" :> (Capture "parent" Text :> ("accessLevels" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccessLevel :> Post '[JSON] Operation))))))))) Source #
A resource alias for accesscontextmanager.accessPolicies.accessLevels.create
method which the
AccessPoliciesAccessLevelsCreate
request conforms to.
Creating a Request
accessPoliciesAccessLevelsCreate Source #
Creates a value of AccessPoliciesAccessLevelsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccessPoliciesAccessLevelsCreate Source #
Create an Access Level. The longrunning operation from this RPC will have a successful status once the Access Level has propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered.
See: accessPoliciesAccessLevelsCreate
smart constructor.
Instances
Request Lenses
apalcParent :: Lens' AccessPoliciesAccessLevelsCreate Text Source #
Required. Resource name for the access policy which owns this Access Level. Format: `accessPolicies/{policy_id}`
apalcXgafv :: Lens' AccessPoliciesAccessLevelsCreate (Maybe Xgafv) Source #
V1 error format.
apalcUploadProtocol :: Lens' AccessPoliciesAccessLevelsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
apalcAccessToken :: Lens' AccessPoliciesAccessLevelsCreate (Maybe Text) Source #
OAuth access token.
apalcUploadType :: Lens' AccessPoliciesAccessLevelsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
apalcPayload :: Lens' AccessPoliciesAccessLevelsCreate AccessLevel Source #
Multipart request metadata.