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