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

Contents

Description

Add a new tenant project to the tenancy unit. There can be a maximum of 512 tenant projects in a tenancy unit. If there are previously failed `AddTenantProject` calls, you might need to call `RemoveTenantProject` first to resolve them before you can make another call to `AddTenantProject` with the same tag. Operation.

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

Synopsis

REST Resource

type ServicesTenancyUnitsAddProjectResource = "v1" :> (CaptureMode "parent" "addProject" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AddTenantProjectRequest :> Post '[JSON] Operation)))))))) Source #

A resource alias for serviceconsumermanagement.services.tenancyUnits.addProject method which the ServicesTenancyUnitsAddProject request conforms to.

Creating a Request

servicesTenancyUnitsAddProject Source #

Creates a value of ServicesTenancyUnitsAddProject with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ServicesTenancyUnitsAddProject Source #

Add a new tenant project to the tenancy unit. There can be a maximum of 512 tenant projects in a tenancy unit. If there are previously failed `AddTenantProject` calls, you might need to call `RemoveTenantProject` first to resolve them before you can make another call to `AddTenantProject` with the same tag. Operation.

See: servicesTenancyUnitsAddProject smart constructor.

Instances
Eq ServicesTenancyUnitsAddProject Source # 
Instance details

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

Data ServicesTenancyUnitsAddProject Source # 
Instance details

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

Methods

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

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

toConstr :: ServicesTenancyUnitsAddProject -> Constr #

dataTypeOf :: ServicesTenancyUnitsAddProject -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServicesTenancyUnitsAddProject Source # 
Instance details

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

Generic ServicesTenancyUnitsAddProject Source # 
Instance details

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

Associated Types

type Rep ServicesTenancyUnitsAddProject :: Type -> Type #

GoogleRequest ServicesTenancyUnitsAddProject Source # 
Instance details

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

type Rep ServicesTenancyUnitsAddProject Source # 
Instance details

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

type Rep ServicesTenancyUnitsAddProject = D1 (MetaData "ServicesTenancyUnitsAddProject" "Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.AddProject" "gogol-serviceconsumermanagement-0.5.0-517tqQ2Q8zw5UH2MScYEzg" False) (C1 (MetaCons "ServicesTenancyUnitsAddProject'" PrefixI True) ((S1 (MetaSel (Just "_sParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_sXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_sUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_sAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AddTenantProjectRequest) :*: S1 (MetaSel (Just "_sCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ServicesTenancyUnitsAddProject Source # 
Instance details

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

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

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

Request Lenses

sParent :: Lens' ServicesTenancyUnitsAddProject Text Source #

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

sUploadProtocol :: Lens' ServicesTenancyUnitsAddProject (Maybe Text) Source #

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

sUploadType :: Lens' ServicesTenancyUnitsAddProject (Maybe Text) Source #

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