gogol-deploymentmanager-0.5.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.Patch

Contents

Description

Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics.

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

Synopsis

REST Resource

type DeploymentsPatchResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "deployment" Text :> (QueryParam "createPolicy" DeploymentsPatchCreatePolicy :> (QueryParam "deletePolicy" DeploymentsPatchDeletePolicy :> (QueryParam "preview" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Deployment :> Patch '[JSON] Operation))))))))))) Source #

A resource alias for deploymentmanager.deployments.patch method which the DeploymentsPatch request conforms to.

Creating a Request

deploymentsPatch Source #

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

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

data DeploymentsPatch Source #

Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics.

See: deploymentsPatch smart constructor.

Instances
Eq DeploymentsPatch Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Patch

Data DeploymentsPatch Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Patch

Methods

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

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

toConstr :: DeploymentsPatch -> Constr #

dataTypeOf :: DeploymentsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DeploymentsPatch Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Patch

Generic DeploymentsPatch Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Patch

Associated Types

type Rep DeploymentsPatch :: Type -> Type #

GoogleRequest DeploymentsPatch Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Patch

Associated Types

type Rs DeploymentsPatch :: Type #

type Scopes DeploymentsPatch :: [Symbol] #

type Rep DeploymentsPatch Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Patch

type Rep DeploymentsPatch = D1 (MetaData "DeploymentsPatch" "Network.Google.Resource.DeploymentManager.Deployments.Patch" "gogol-deploymentmanager-0.5.0-3URsaVYDWtcAmM8hYWwINC" False) (C1 (MetaCons "DeploymentsPatch'" PrefixI True) ((S1 (MetaSel (Just "_dpCreatePolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DeploymentsPatchCreatePolicy) :*: (S1 (MetaSel (Just "_dpProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Deployment))) :*: (S1 (MetaSel (Just "_dpDeletePolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DeploymentsPatchDeletePolicy) :*: (S1 (MetaSel (Just "_dpPreview") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_dpDeployment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes DeploymentsPatch Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Patch

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

Defined in Network.Google.Resource.DeploymentManager.Deployments.Patch

Request Lenses

dpCreatePolicy :: Lens' DeploymentsPatch DeploymentsPatchCreatePolicy Source #

Sets the policy to use for creating new resources.

dpProject :: Lens' DeploymentsPatch Text Source #

The project ID for this request.

dpPayload :: Lens' DeploymentsPatch Deployment Source #

Multipart request metadata.

dpDeletePolicy :: Lens' DeploymentsPatch DeploymentsPatchDeletePolicy Source #

Sets the policy to use for deleting resources.

dpPreview :: Lens' DeploymentsPatch Bool Source #

If set to true, updates the deployment and creates and updates the "shell" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.

dpDeployment :: Lens' DeploymentsPatch Text Source #

The name of the deployment for this request.