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 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
- 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 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
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. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.