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.DeleteProject
Description
Deletes the specified project resource identified by a tenant resource tag. The mothod removes a project lien with a 'TenantManager' origin if that was added. It will then attempt to delete the project. If that operation fails, this method also fails. After the project has been deleted, the tenant resource state is set to DELETED. To permanently remove resource metadata, call the `RemoveTenantProject` method. New resources with the same tag can't be added if there are existing resources in a DELETED state. Operation.
See: Service Consumer Management API Reference for serviceconsumermanagement.services.tenancyUnits.deleteProject
.
Synopsis
- type ServicesTenancyUnitsDeleteProjectResource = "v1" :> (CaptureMode "name" "deleteProject" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DeleteTenantProjectRequest :> Post '[JSON] Operation))))))))
- servicesTenancyUnitsDeleteProject :: DeleteTenantProjectRequest -> Text -> ServicesTenancyUnitsDeleteProject
- data ServicesTenancyUnitsDeleteProject
- studpXgafv :: Lens' ServicesTenancyUnitsDeleteProject (Maybe Xgafv)
- studpUploadProtocol :: Lens' ServicesTenancyUnitsDeleteProject (Maybe Text)
- studpAccessToken :: Lens' ServicesTenancyUnitsDeleteProject (Maybe Text)
- studpUploadType :: Lens' ServicesTenancyUnitsDeleteProject (Maybe Text)
- studpPayload :: Lens' ServicesTenancyUnitsDeleteProject DeleteTenantProjectRequest
- studpName :: Lens' ServicesTenancyUnitsDeleteProject Text
- studpCallback :: Lens' ServicesTenancyUnitsDeleteProject (Maybe Text)
REST Resource
type ServicesTenancyUnitsDeleteProjectResource = "v1" :> (CaptureMode "name" "deleteProject" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DeleteTenantProjectRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for serviceconsumermanagement.services.tenancyUnits.deleteProject
method which the
ServicesTenancyUnitsDeleteProject
request conforms to.
Creating a Request
servicesTenancyUnitsDeleteProject Source #
Arguments
:: DeleteTenantProjectRequest | |
-> Text | |
-> ServicesTenancyUnitsDeleteProject |
Creates a value of ServicesTenancyUnitsDeleteProject
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ServicesTenancyUnitsDeleteProject Source #
Deletes the specified project resource identified by a tenant resource tag. The mothod removes a project lien with a 'TenantManager' origin if that was added. It will then attempt to delete the project. If that operation fails, this method also fails. After the project has been deleted, the tenant resource state is set to DELETED. To permanently remove resource metadata, call the `RemoveTenantProject` method. New resources with the same tag can't be added if there are existing resources in a DELETED state. Operation.
See: servicesTenancyUnitsDeleteProject
smart constructor.
Instances
Request Lenses
studpXgafv :: Lens' ServicesTenancyUnitsDeleteProject (Maybe Xgafv) Source #
V1 error format.
studpUploadProtocol :: Lens' ServicesTenancyUnitsDeleteProject (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
studpAccessToken :: Lens' ServicesTenancyUnitsDeleteProject (Maybe Text) Source #
OAuth access token.
studpUploadType :: Lens' ServicesTenancyUnitsDeleteProject (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
studpPayload :: Lens' ServicesTenancyUnitsDeleteProject DeleteTenantProjectRequest Source #
Multipart request metadata.