gogol-compute-0.4.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.ForwardingRules.Delete

Contents

Description

Deletes the specified ForwardingRule resource.

See: Compute Engine API Reference for compute.forwardingRules.delete.

Synopsis

REST Resource

type ForwardingRulesDeleteResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("forwardingRules" :> (Capture "forwardingRule" Text :> (QueryParam "requestId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))))) Source #

A resource alias for compute.forwardingRules.delete method which the ForwardingRulesDelete request conforms to.

Creating a Request

forwardingRulesDelete Source #

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

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

data ForwardingRulesDelete Source #

Deletes the specified ForwardingRule resource.

See: forwardingRulesDelete smart constructor.

Instances
Eq ForwardingRulesDelete Source # 
Instance details

Defined in Network.Google.Resource.Compute.ForwardingRules.Delete

Data ForwardingRulesDelete Source # 
Instance details

Defined in Network.Google.Resource.Compute.ForwardingRules.Delete

Methods

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

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

toConstr :: ForwardingRulesDelete -> Constr #

dataTypeOf :: ForwardingRulesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ForwardingRulesDelete Source # 
Instance details

Defined in Network.Google.Resource.Compute.ForwardingRules.Delete

Generic ForwardingRulesDelete Source # 
Instance details

Defined in Network.Google.Resource.Compute.ForwardingRules.Delete

Associated Types

type Rep ForwardingRulesDelete :: Type -> Type #

GoogleRequest ForwardingRulesDelete Source # 
Instance details

Defined in Network.Google.Resource.Compute.ForwardingRules.Delete

type Rep ForwardingRulesDelete Source # 
Instance details

Defined in Network.Google.Resource.Compute.ForwardingRules.Delete

type Rep ForwardingRulesDelete = D1 (MetaData "ForwardingRulesDelete" "Network.Google.Resource.Compute.ForwardingRules.Delete" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "ForwardingRulesDelete'" PrefixI True) ((S1 (MetaSel (Just "_frdRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_frdProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_frdForwardingRule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_frdRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ForwardingRulesDelete Source # 
Instance details

Defined in Network.Google.Resource.Compute.ForwardingRules.Delete

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

Defined in Network.Google.Resource.Compute.ForwardingRules.Delete

Request Lenses

frdRequestId :: Lens' ForwardingRulesDelete (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).

frdProject :: Lens' ForwardingRulesDelete Text Source #

Project ID for this request.

frdForwardingRule :: Lens' ForwardingRulesDelete Text Source #

Name of the ForwardingRule resource to delete.

frdRegion :: Lens' ForwardingRulesDelete Text Source #

Name of the region scoping this request.