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 |
Update an Access Level. The longrunning operation from this RPC will have a successful status once the changes to the Access Level have 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.patch
.
Synopsis
- type AccessPoliciesAccessLevelsPatchResource = "v1beta" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccessLevel :> Patch '[JSON] Operation)))))))))
- accessPoliciesAccessLevelsPatch :: AccessLevel -> Text -> AccessPoliciesAccessLevelsPatch
- data AccessPoliciesAccessLevelsPatch
- apalpXgafv :: Lens' AccessPoliciesAccessLevelsPatch (Maybe Xgafv)
- apalpUploadProtocol :: Lens' AccessPoliciesAccessLevelsPatch (Maybe Text)
- apalpUpdateMask :: Lens' AccessPoliciesAccessLevelsPatch (Maybe GFieldMask)
- apalpAccessToken :: Lens' AccessPoliciesAccessLevelsPatch (Maybe Text)
- apalpUploadType :: Lens' AccessPoliciesAccessLevelsPatch (Maybe Text)
- apalpPayload :: Lens' AccessPoliciesAccessLevelsPatch AccessLevel
- apalpName :: Lens' AccessPoliciesAccessLevelsPatch Text
- apalpCallback :: Lens' AccessPoliciesAccessLevelsPatch (Maybe Text)
REST Resource
type AccessPoliciesAccessLevelsPatchResource = "v1beta" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccessLevel :> Patch '[JSON] Operation))))))))) Source #
A resource alias for accesscontextmanager.accessPolicies.accessLevels.patch
method which the
AccessPoliciesAccessLevelsPatch
request conforms to.
Creating a Request
accessPoliciesAccessLevelsPatch Source #
Creates a value of AccessPoliciesAccessLevelsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccessPoliciesAccessLevelsPatch Source #
Update an Access Level. The longrunning operation from this RPC will have a successful status once the changes to the Access Level have propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered.
See: accessPoliciesAccessLevelsPatch
smart constructor.
Instances
Request Lenses
apalpXgafv :: Lens' AccessPoliciesAccessLevelsPatch (Maybe Xgafv) Source #
V1 error format.
apalpUploadProtocol :: Lens' AccessPoliciesAccessLevelsPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
apalpUpdateMask :: Lens' AccessPoliciesAccessLevelsPatch (Maybe GFieldMask) Source #
Required. Mask to control which fields get updated. Must be non-empty.
apalpAccessToken :: Lens' AccessPoliciesAccessLevelsPatch (Maybe Text) Source #
OAuth access token.
apalpUploadType :: Lens' AccessPoliciesAccessLevelsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
apalpPayload :: Lens' AccessPoliciesAccessLevelsPatch AccessLevel Source #
Multipart request metadata.