gogol-serviceconsumermanagement-0.4.0: Google Service Consumer Management SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.RemoveProject

Contents

Description

Removes specified project resource identified by tenant resource tag. It will remove project lien with 'TenantManager' origin if that was added. It will then attempt to delete the project. If that operation fails, this method fails. After the project has been deleted, or if was already in DELETED state, resource metadata is permanently removed from the tenancy unit. Operation.

See: Service Consumer Management API Reference for serviceconsumermanagement.services.tenancyUnits.removeProject.

Synopsis

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

data ServicesTenancyUnitsRemoveProject Source #

Removes specified project resource identified by tenant resource tag. It will remove project lien with 'TenantManager' origin if that was added. It will then attempt to delete the project. If that operation fails, this method fails. After the project has been deleted, or if was already in DELETED state, resource metadata is permanently removed from the tenancy unit. Operation.

See: servicesTenancyUnitsRemoveProject smart constructor.

Instances
Eq ServicesTenancyUnitsRemoveProject Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.RemoveProject

Data ServicesTenancyUnitsRemoveProject Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.RemoveProject

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ServicesTenancyUnitsRemoveProject -> c ServicesTenancyUnitsRemoveProject #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ServicesTenancyUnitsRemoveProject #

toConstr :: ServicesTenancyUnitsRemoveProject -> Constr #

dataTypeOf :: ServicesTenancyUnitsRemoveProject -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ServicesTenancyUnitsRemoveProject) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ServicesTenancyUnitsRemoveProject) #

gmapT :: (forall b. Data b => b -> b) -> ServicesTenancyUnitsRemoveProject -> ServicesTenancyUnitsRemoveProject #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ServicesTenancyUnitsRemoveProject -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ServicesTenancyUnitsRemoveProject -> r #

gmapQ :: (forall d. Data d => d -> u) -> ServicesTenancyUnitsRemoveProject -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ServicesTenancyUnitsRemoveProject -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ServicesTenancyUnitsRemoveProject -> m ServicesTenancyUnitsRemoveProject #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ServicesTenancyUnitsRemoveProject -> m ServicesTenancyUnitsRemoveProject #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ServicesTenancyUnitsRemoveProject -> m ServicesTenancyUnitsRemoveProject #

Show ServicesTenancyUnitsRemoveProject Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.RemoveProject

Generic ServicesTenancyUnitsRemoveProject Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.RemoveProject

Associated Types

type Rep ServicesTenancyUnitsRemoveProject :: Type -> Type #

GoogleRequest ServicesTenancyUnitsRemoveProject Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.RemoveProject

type Rep ServicesTenancyUnitsRemoveProject Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.RemoveProject

type Rep ServicesTenancyUnitsRemoveProject = D1 (MetaData "ServicesTenancyUnitsRemoveProject" "Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.RemoveProject" "gogol-serviceconsumermanagement-0.4.0-L37508lUfigB9J4lm5vuW3" False) (C1 (MetaCons "ServicesTenancyUnitsRemoveProject'" PrefixI True) ((S1 (MetaSel (Just "_sturpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sturpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sturpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_sturpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sturpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 RemoveTenantProjectRequest)) :*: (S1 (MetaSel (Just "_sturpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sturpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ServicesTenancyUnitsRemoveProject Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.RemoveProject

type Scopes ServicesTenancyUnitsRemoveProject = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ServicesTenancyUnitsRemoveProject Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.RemoveProject

Request Lenses

sturpUploadProtocol :: Lens' ServicesTenancyUnitsRemoveProject (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

sturpUploadType :: Lens' ServicesTenancyUnitsRemoveProject (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

sturpName :: Lens' ServicesTenancyUnitsRemoveProject Text Source #

Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.