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 |
Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.RemoveProject
Description
Removes the specified project resource identified by a tenant resource tag. The method removes the project lien with 'TenantManager' origin if that was added. It then attempts to delete the project. If that operation fails, this method also fails. Calls to remove already removed or non-existent tenant project succeed. After the project has been deleted, or if was already in a DELETED state, resource metadata is permanently removed from the tenancy unit. Operation.
See: Service Consumer Management API Reference for serviceconsumermanagement.services.tenancyUnits.removeProject
.
Synopsis
- type ServicesTenancyUnitsRemoveProjectResource = "v1" :> (CaptureMode "name" "removeProject" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RemoveTenantProjectRequest :> Post '[JSON] Operation))))))))
- servicesTenancyUnitsRemoveProject :: RemoveTenantProjectRequest -> Text -> ServicesTenancyUnitsRemoveProject
- data ServicesTenancyUnitsRemoveProject
- sturpXgafv :: Lens' ServicesTenancyUnitsRemoveProject (Maybe Xgafv)
- sturpUploadProtocol :: Lens' ServicesTenancyUnitsRemoveProject (Maybe Text)
- sturpAccessToken :: Lens' ServicesTenancyUnitsRemoveProject (Maybe Text)
- sturpUploadType :: Lens' ServicesTenancyUnitsRemoveProject (Maybe Text)
- sturpPayload :: Lens' ServicesTenancyUnitsRemoveProject RemoveTenantProjectRequest
- sturpName :: Lens' ServicesTenancyUnitsRemoveProject Text
- sturpCallback :: Lens' ServicesTenancyUnitsRemoveProject (Maybe Text)
REST Resource
type ServicesTenancyUnitsRemoveProjectResource = "v1" :> (CaptureMode "name" "removeProject" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RemoveTenantProjectRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for serviceconsumermanagement.services.tenancyUnits.removeProject
method which the
ServicesTenancyUnitsRemoveProject
request conforms to.
Creating a Request
servicesTenancyUnitsRemoveProject Source #
Arguments
:: RemoveTenantProjectRequest | |
-> Text | |
-> ServicesTenancyUnitsRemoveProject |
Creates a value of ServicesTenancyUnitsRemoveProject
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ServicesTenancyUnitsRemoveProject Source #
Removes the specified project resource identified by a tenant resource tag. The method removes the project lien with 'TenantManager' origin if that was added. It then attempts to delete the project. If that operation fails, this method also fails. Calls to remove already removed or non-existent tenant project succeed. After the project has been deleted, or if was already in a DELETED state, resource metadata is permanently removed from the tenancy unit. Operation.
See: servicesTenancyUnitsRemoveProject
smart constructor.
Instances
Request Lenses
sturpXgafv :: Lens' ServicesTenancyUnitsRemoveProject (Maybe Xgafv) Source #
V1 error format.
sturpUploadProtocol :: Lens' ServicesTenancyUnitsRemoveProject (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sturpAccessToken :: Lens' ServicesTenancyUnitsRemoveProject (Maybe Text) Source #
OAuth access token.
sturpUploadType :: Lens' ServicesTenancyUnitsRemoveProject (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sturpPayload :: Lens' ServicesTenancyUnitsRemoveProject RemoveTenantProjectRequest Source #
Multipart request metadata.