gogol-serviceconsumermanagement-0.5.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 a configuration to an existing tenant project. This project must exist in an active state and have the original owner account. The caller must have permission to add a project to the given tenancy unit. The configuration is applied, but any existing settings on the project aren't modified. Specified policy bindings are applied. Existing bindings aren't modified. Specified services are activated. No service is deactivated. If specified, new billing configuration is applied. Omit a billing configuration to keep the existing one. A service account in the project is created if previously non existed. Specified labels will be appended to tenant project, note that the value of existing label key will be updated if the same label key is requested. The specified folder is ignored, as moving a tenant project to a different folder isn't supported. The 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 a configuration to an existing tenant project. This project must exist in an active state and have the original owner account. The caller must have permission to add a project to the given tenancy unit. The configuration is applied, but any existing settings on the project aren't modified. Specified policy bindings are applied. Existing bindings aren't modified. Specified services are activated. No service is deactivated. If specified, new billing configuration is applied. Omit a billing configuration to keep the existing one. A service account in the project is created if previously non existed. Specified labels will be appended to tenant project, note that the value of existing label key will be updated if the same label key is requested. The specified folder is ignored, as moving a tenant project to a different folder isn't supported. The 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.5.0-517tqQ2Q8zw5UH2MScYEzg" 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").

stuapcName :: Lens' ServicesTenancyUnitsApplyProjectConfig Text Source #

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