{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Network.Google.Resource.AppEngine.Apps.Services.Versions.Instances.Delete
(
AppsServicesVersionsInstancesDeleteResource
, appsServicesVersionsInstancesDelete
, AppsServicesVersionsInstancesDelete
, aXgafv
, aInstancesId
, aUploadProtocol
, aAccessToken
, aUploadType
, aVersionsId
, aAppsId
, aServicesId
, aCallback
) where
import Network.Google.AppEngine.Types
import Network.Google.Prelude
type AppsServicesVersionsInstancesDeleteResource =
"v1" :>
"apps" :>
Capture "appsId" Text :>
"services" :>
Capture "servicesId" Text :>
"versions" :>
Capture "versionsId" Text :>
"instances" :>
Capture "instancesId" Text :>
QueryParam "$.xgafv" Xgafv :>
QueryParam "upload_protocol" Text :>
QueryParam "access_token" Text :>
QueryParam "uploadType" Text :>
QueryParam "callback" Text :>
QueryParam "alt" AltJSON :>
Delete '[JSON] Operation
data AppsServicesVersionsInstancesDelete = AppsServicesVersionsInstancesDelete'
{ _aXgafv :: !(Maybe Xgafv)
, _aInstancesId :: !Text
, _aUploadProtocol :: !(Maybe Text)
, _aAccessToken :: !(Maybe Text)
, _aUploadType :: !(Maybe Text)
, _aVersionsId :: !Text
, _aAppsId :: !Text
, _aServicesId :: !Text
, _aCallback :: !(Maybe Text)
} deriving (Eq,Show,Data,Typeable,Generic)
appsServicesVersionsInstancesDelete
:: Text
-> Text
-> Text
-> Text
-> AppsServicesVersionsInstancesDelete
appsServicesVersionsInstancesDelete pAInstancesId_ pAVersionsId_ pAAppsId_ pAServicesId_ =
AppsServicesVersionsInstancesDelete'
{ _aXgafv = Nothing
, _aInstancesId = pAInstancesId_
, _aUploadProtocol = Nothing
, _aAccessToken = Nothing
, _aUploadType = Nothing
, _aVersionsId = pAVersionsId_
, _aAppsId = pAAppsId_
, _aServicesId = pAServicesId_
, _aCallback = Nothing
}
aXgafv :: Lens' AppsServicesVersionsInstancesDelete (Maybe Xgafv)
aXgafv = lens _aXgafv (\ s a -> s{_aXgafv = a})
aInstancesId :: Lens' AppsServicesVersionsInstancesDelete Text
aInstancesId
= lens _aInstancesId (\ s a -> s{_aInstancesId = a})
aUploadProtocol :: Lens' AppsServicesVersionsInstancesDelete (Maybe Text)
aUploadProtocol
= lens _aUploadProtocol
(\ s a -> s{_aUploadProtocol = a})
aAccessToken :: Lens' AppsServicesVersionsInstancesDelete (Maybe Text)
aAccessToken
= lens _aAccessToken (\ s a -> s{_aAccessToken = a})
aUploadType :: Lens' AppsServicesVersionsInstancesDelete (Maybe Text)
aUploadType
= lens _aUploadType (\ s a -> s{_aUploadType = a})
aVersionsId :: Lens' AppsServicesVersionsInstancesDelete Text
aVersionsId
= lens _aVersionsId (\ s a -> s{_aVersionsId = a})
aAppsId :: Lens' AppsServicesVersionsInstancesDelete Text
aAppsId = lens _aAppsId (\ s a -> s{_aAppsId = a})
aServicesId :: Lens' AppsServicesVersionsInstancesDelete Text
aServicesId
= lens _aServicesId (\ s a -> s{_aServicesId = a})
aCallback :: Lens' AppsServicesVersionsInstancesDelete (Maybe Text)
aCallback
= lens _aCallback (\ s a -> s{_aCallback = a})
instance GoogleRequest
AppsServicesVersionsInstancesDelete where
type Rs AppsServicesVersionsInstancesDelete =
Operation
type Scopes AppsServicesVersionsInstancesDelete =
'["https://www.googleapis.com/auth/cloud-platform"]
requestClient
AppsServicesVersionsInstancesDelete'{..}
= go _aAppsId _aServicesId _aVersionsId _aInstancesId
_aXgafv
_aUploadProtocol
_aAccessToken
_aUploadType
_aCallback
(Just AltJSON)
appEngineService
where go
= buildClient
(Proxy ::
Proxy AppsServicesVersionsInstancesDeleteResource)
mempty