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 Service Perimeter. The longrunning operation from this RPC will have a successful status once the changes to the Service Perimeter have propagated to long-lasting storage. Service Perimeter containing errors will result in an error response for the first error encountered.
See: Access Context Manager API Reference for accesscontextmanager.accessPolicies.servicePerimeters.patch
.
Synopsis
- type AccessPoliciesServicePerimetersPatchResource = "v1" :> (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] ServicePerimeter :> Patch '[JSON] Operation)))))))))
- accessPoliciesServicePerimetersPatch :: ServicePerimeter -> Text -> AccessPoliciesServicePerimetersPatch
- data AccessPoliciesServicePerimetersPatch
- apsppXgafv :: Lens' AccessPoliciesServicePerimetersPatch (Maybe Xgafv)
- apsppUploadProtocol :: Lens' AccessPoliciesServicePerimetersPatch (Maybe Text)
- apsppUpdateMask :: Lens' AccessPoliciesServicePerimetersPatch (Maybe GFieldMask)
- apsppAccessToken :: Lens' AccessPoliciesServicePerimetersPatch (Maybe Text)
- apsppUploadType :: Lens' AccessPoliciesServicePerimetersPatch (Maybe Text)
- apsppPayload :: Lens' AccessPoliciesServicePerimetersPatch ServicePerimeter
- apsppName :: Lens' AccessPoliciesServicePerimetersPatch Text
- apsppCallback :: Lens' AccessPoliciesServicePerimetersPatch (Maybe Text)
REST Resource
type AccessPoliciesServicePerimetersPatchResource = "v1" :> (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] ServicePerimeter :> Patch '[JSON] Operation))))))))) Source #
A resource alias for accesscontextmanager.accessPolicies.servicePerimeters.patch
method which the
AccessPoliciesServicePerimetersPatch
request conforms to.
Creating a Request
accessPoliciesServicePerimetersPatch Source #
Creates a value of AccessPoliciesServicePerimetersPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccessPoliciesServicePerimetersPatch Source #
Update an Service Perimeter. The longrunning operation from this RPC will have a successful status once the changes to the Service Perimeter have propagated to long-lasting storage. Service Perimeter containing errors will result in an error response for the first error encountered.
See: accessPoliciesServicePerimetersPatch
smart constructor.
Instances
Request Lenses
apsppXgafv :: Lens' AccessPoliciesServicePerimetersPatch (Maybe Xgafv) Source #
V1 error format.
apsppUploadProtocol :: Lens' AccessPoliciesServicePerimetersPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
apsppUpdateMask :: Lens' AccessPoliciesServicePerimetersPatch (Maybe GFieldMask) Source #
Required. Mask to control which fields get updated. Must be non-empty.
apsppAccessToken :: Lens' AccessPoliciesServicePerimetersPatch (Maybe Text) Source #
OAuth access token.
apsppUploadType :: Lens' AccessPoliciesServicePerimetersPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
apsppPayload :: Lens' AccessPoliciesServicePerimetersPatch ServicePerimeter Source #
Multipart request metadata.