gogol-deploymentmanager-0.2.0: Google Cloud Deployment Manager 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.DeploymentManager.Deployments.CancelPreview

Contents

Description

Cancels and removes the preview currently associated with the deployment.

See: Google Cloud Deployment Manager API Reference for deploymentmanager.deployments.cancelPreview.

Synopsis

REST Resource

type DeploymentsCancelPreviewResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "deployment" Text :> ("cancelPreview" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DeploymentsCancelPreviewRequest :> Post '[JSON] Operation))))))))) Source #

A resource alias for deploymentmanager.deployments.cancelPreview method which the DeploymentsCancelPreview request conforms to.

Creating a Request

deploymentsCancelPreview Source #

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

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

data DeploymentsCancelPreview Source #

Cancels and removes the preview currently associated with the deployment.

See: deploymentsCancelPreview smart constructor.

Instances

Eq DeploymentsCancelPreview Source # 
Data DeploymentsCancelPreview Source # 

Methods

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

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

toConstr :: DeploymentsCancelPreview -> Constr #

dataTypeOf :: DeploymentsCancelPreview -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DeploymentsCancelPreview Source # 
Generic DeploymentsCancelPreview Source # 
GoogleRequest DeploymentsCancelPreview Source # 
type Rep DeploymentsCancelPreview Source # 
type Rep DeploymentsCancelPreview = D1 (MetaData "DeploymentsCancelPreview" "Network.Google.Resource.DeploymentManager.Deployments.CancelPreview" "gogol-deploymentmanager-0.2.0-BtRyeygFKoI8UnZ4ZoC2PY" False) (C1 (MetaCons "DeploymentsCancelPreview'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcpProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_dcpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DeploymentsCancelPreviewRequest)) (S1 (MetaSel (Just Symbol "_dcpDeployment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes DeploymentsCancelPreview Source # 
type Scopes DeploymentsCancelPreview = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/ndev.cloudman" ([] Symbol))
type Rs DeploymentsCancelPreview Source # 

Request Lenses

dcpProject :: Lens' DeploymentsCancelPreview Text Source #

The project ID for this request.

dcpDeployment :: Lens' DeploymentsCancelPreview Text Source #

The name of the deployment for this request.