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 |
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
- 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))))))))
- servicesTenancyUnitsApplyProjectConfig :: ApplyTenantProjectConfigRequest -> Text -> ServicesTenancyUnitsApplyProjectConfig
- data ServicesTenancyUnitsApplyProjectConfig
- stuapcXgafv :: Lens' ServicesTenancyUnitsApplyProjectConfig (Maybe Xgafv)
- stuapcUploadProtocol :: Lens' ServicesTenancyUnitsApplyProjectConfig (Maybe Text)
- stuapcAccessToken :: Lens' ServicesTenancyUnitsApplyProjectConfig (Maybe Text)
- stuapcUploadType :: Lens' ServicesTenancyUnitsApplyProjectConfig (Maybe Text)
- stuapcPayload :: Lens' ServicesTenancyUnitsApplyProjectConfig ApplyTenantProjectConfigRequest
- stuapcName :: Lens' ServicesTenancyUnitsApplyProjectConfig Text
- stuapcCallback :: Lens' ServicesTenancyUnitsApplyProjectConfig (Maybe Text)
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
servicesTenancyUnitsApplyProjectConfig Source #
Creates a value of ServicesTenancyUnitsApplyProjectConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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
Request Lenses
stuapcXgafv :: Lens' ServicesTenancyUnitsApplyProjectConfig (Maybe Xgafv) Source #
V1 error format.
stuapcUploadProtocol :: Lens' ServicesTenancyUnitsApplyProjectConfig (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
stuapcAccessToken :: Lens' ServicesTenancyUnitsApplyProjectConfig (Maybe Text) Source #
OAuth access token.
stuapcUploadType :: Lens' ServicesTenancyUnitsApplyProjectConfig (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
stuapcPayload :: Lens' ServicesTenancyUnitsApplyProjectConfig ApplyTenantProjectConfigRequest Source #
Multipart request metadata.
stuapcName :: Lens' ServicesTenancyUnitsApplyProjectConfig Text Source #
Name of the tenancy unit.