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.ApplyProjectConfig

Contents

Description

Apply configuration to an existing tenant project. This project must exist in active state and have the original owner account. Caller must have the permission to add a project to the given tenancy unit. Configuration will be applied, but any existing settings on the project will not be modified. Specified policy bindings will be applied. Existing binding will not be modified. Specified services will be activated. No service will be deactivated. New billing configuration will be applied if specified. Omit billing configuration to keep the existing one. Service account in the project will be created if previously non existing. Operation fails if any of the steps fail, but no rollback of already applied configuration changes is attempted. Operation.

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

Synopsis

REST Resource

type ServicesTenancyUnitsApplyProjectConfigResource = "v1" :> (CaptureMode "name" "applyProjectConfig" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ApplyTenantProjectConfigRequest :> Post '[JSON] Operation)))))))) Source #

A resource alias for serviceconsumermanagement.services.tenancyUnits.applyProjectConfig method which the ServicesTenancyUnitsApplyProjectConfig request conforms to.

Creating a Request

data ServicesTenancyUnitsApplyProjectConfig Source #

Apply configuration to an existing tenant project. This project must exist in active state and have the original owner account. Caller must have the permission to add a project to the given tenancy unit. Configuration will be applied, but any existing settings on the project will not be modified. Specified policy bindings will be applied. Existing binding will not be modified. Specified services will be activated. No service will be deactivated. New billing configuration will be applied if specified. Omit billing configuration to keep the existing one. Service account in the project will be created if previously non existing. Operation fails if any of the steps fail, but no rollback of already applied configuration changes is attempted. Operation.

See: servicesTenancyUnitsApplyProjectConfig smart constructor.

Instances
Eq ServicesTenancyUnitsApplyProjectConfig Source # 
Instance details

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

Data ServicesTenancyUnitsApplyProjectConfig Source # 
Instance details

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

Methods

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

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

toConstr :: ServicesTenancyUnitsApplyProjectConfig -> Constr #

dataTypeOf :: ServicesTenancyUnitsApplyProjectConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServicesTenancyUnitsApplyProjectConfig Source # 
Instance details

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

Generic ServicesTenancyUnitsApplyProjectConfig Source # 
Instance details

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

GoogleRequest ServicesTenancyUnitsApplyProjectConfig Source # 
Instance details

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

type Rep ServicesTenancyUnitsApplyProjectConfig Source # 
Instance details

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

type Rep ServicesTenancyUnitsApplyProjectConfig = D1 (MetaData "ServicesTenancyUnitsApplyProjectConfig" "Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.ApplyProjectConfig" "gogol-serviceconsumermanagement-0.4.0-L37508lUfigB9J4lm5vuW3" False) (C1 (MetaCons "ServicesTenancyUnitsApplyProjectConfig'" PrefixI True) ((S1 (MetaSel (Just "_stuapcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_stuapcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_stuapcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_stuapcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_stuapcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ApplyTenantProjectConfigRequest)) :*: (S1 (MetaSel (Just "_stuapcName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_stuapcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ServicesTenancyUnitsApplyProjectConfig Source # 
Instance details

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

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

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

Request Lenses

stuapcUploadProtocol :: Lens' ServicesTenancyUnitsApplyProjectConfig (Maybe Text) Source #

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

stuapcUploadType :: Lens' ServicesTenancyUnitsApplyProjectConfig (Maybe Text) Source #

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