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.RegionInstanceGroupManagers.Patch

Contents

Description

Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

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

Synopsis

REST Resource

type RegionInstanceGroupManagersPatchResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> (QueryParam "requestId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceGroupManager :> Patch '[JSON] Operation)))))))))) Source #

A resource alias for compute.regionInstanceGroupManagers.patch method which the RegionInstanceGroupManagersPatch request conforms to.

Creating a Request

data RegionInstanceGroupManagersPatch Source #

Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

See: regionInstanceGroupManagersPatch smart constructor.

Instances
Eq RegionInstanceGroupManagersPatch Source # 
Instance details

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

Data RegionInstanceGroupManagersPatch Source # 
Instance details

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

Methods

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

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

toConstr :: RegionInstanceGroupManagersPatch -> Constr #

dataTypeOf :: RegionInstanceGroupManagersPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RegionInstanceGroupManagersPatch Source # 
Instance details

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

Generic RegionInstanceGroupManagersPatch Source # 
Instance details

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

Associated Types

type Rep RegionInstanceGroupManagersPatch :: Type -> Type #

GoogleRequest RegionInstanceGroupManagersPatch Source # 
Instance details

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

type Rep RegionInstanceGroupManagersPatch Source # 
Instance details

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

type Rep RegionInstanceGroupManagersPatch = D1 (MetaData "RegionInstanceGroupManagersPatch" "Network.Google.Resource.Compute.RegionInstanceGroupManagers.Patch" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "RegionInstanceGroupManagersPatch'" PrefixI True) ((S1 (MetaSel (Just "_rigmpRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rigmpProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_rigmpInstanceGroupManager") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_rigmpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InstanceGroupManager) :*: S1 (MetaSel (Just "_rigmpRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes RegionInstanceGroupManagersPatch Source # 
Instance details

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

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

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

Request Lenses

rigmpRequestId :: Lens' RegionInstanceGroupManagersPatch (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).

rigmpRegion :: Lens' RegionInstanceGroupManagersPatch Text Source #

Name of the region scoping this request.