gogol-compute-0.5.0: Google Compute Engine 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.Compute.SSLPolicies.Patch

Contents

Description

Patches the specified SSL policy with the data included in the request.

See: Compute Engine API Reference for compute.sslPolicies.patch.

Synopsis

REST Resource

type SSLPoliciesPatchResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("sslPolicies" :> (Capture "sslPolicy" Text :> (QueryParam "requestId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SSLPolicy :> Patch '[JSON] Operation))))))))) Source #

A resource alias for compute.sslPolicies.patch method which the SSLPoliciesPatch request conforms to.

Creating a Request

sslPoliciesPatch Source #

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

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

data SSLPoliciesPatch Source #

Patches the specified SSL policy with the data included in the request.

See: sslPoliciesPatch smart constructor.

Instances
Eq SSLPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.Compute.SSLPolicies.Patch

Data SSLPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.Compute.SSLPolicies.Patch

Methods

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

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

toConstr :: SSLPoliciesPatch -> Constr #

dataTypeOf :: SSLPoliciesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SSLPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.Compute.SSLPolicies.Patch

Generic SSLPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.Compute.SSLPolicies.Patch

Associated Types

type Rep SSLPoliciesPatch :: Type -> Type #

GoogleRequest SSLPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.Compute.SSLPolicies.Patch

Associated Types

type Rs SSLPoliciesPatch :: Type #

type Scopes SSLPoliciesPatch :: [Symbol] #

type Rep SSLPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.Compute.SSLPolicies.Patch

type Rep SSLPoliciesPatch = D1 (MetaData "SSLPoliciesPatch" "Network.Google.Resource.Compute.SSLPolicies.Patch" "gogol-compute-0.5.0-COFx0B1aAnaBzgHFC8Y2g1" False) (C1 (MetaCons "SSLPoliciesPatch'" PrefixI True) ((S1 (MetaSel (Just "_sppSSLPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sppRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sppProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SSLPolicy))))
type Scopes SSLPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.Compute.SSLPolicies.Patch

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

Defined in Network.Google.Resource.Compute.SSLPolicies.Patch

Request Lenses

sppSSLPolicy :: Lens' SSLPoliciesPatch Text Source #

Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.

sppRequestId :: Lens' SSLPoliciesPatch (Maybe Text) Source #

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

sppProject :: Lens' SSLPoliciesPatch Text Source #

Project ID for this request.

sppPayload :: Lens' SSLPoliciesPatch SSLPolicy Source #

Multipart request metadata.