gogol-container-0.4.0: Google Kubernetes 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.Container.Projects.Locations.Clusters.SetMaintenancePolicy

Contents

Description

Sets the maintenance policy for a cluster.

See: Kubernetes Engine API Reference for container.projects.locations.clusters.setMaintenancePolicy.

Synopsis

REST Resource

type ProjectsLocationsClustersSetMaintenancePolicyResource = "v1" :> (CaptureMode "name" "setMaintenancePolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetMaintenancePolicyRequest :> Post '[JSON] Operation)))))))) Source #

A resource alias for container.projects.locations.clusters.setMaintenancePolicy method which the ProjectsLocationsClustersSetMaintenancePolicy request conforms to.

Creating a Request

data ProjectsLocationsClustersSetMaintenancePolicy Source #

Sets the maintenance policy for a cluster.

See: projectsLocationsClustersSetMaintenancePolicy smart constructor.

Instances
Eq ProjectsLocationsClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.SetMaintenancePolicy

Data ProjectsLocationsClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.SetMaintenancePolicy

Methods

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

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

toConstr :: ProjectsLocationsClustersSetMaintenancePolicy -> Constr #

dataTypeOf :: ProjectsLocationsClustersSetMaintenancePolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.SetMaintenancePolicy

Generic ProjectsLocationsClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.SetMaintenancePolicy

GoogleRequest ProjectsLocationsClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.SetMaintenancePolicy

type Rep ProjectsLocationsClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.SetMaintenancePolicy

type Rep ProjectsLocationsClustersSetMaintenancePolicy = D1 (MetaData "ProjectsLocationsClustersSetMaintenancePolicy" "Network.Google.Resource.Container.Projects.Locations.Clusters.SetMaintenancePolicy" "gogol-container-0.4.0-7fMnJsS36zkISd1JtwIvdQ" False) (C1 (MetaCons "ProjectsLocationsClustersSetMaintenancePolicy'" PrefixI True) ((S1 (MetaSel (Just "_plcsmpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plcsmpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plcsmpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plcsmpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plcsmpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetMaintenancePolicyRequest)) :*: (S1 (MetaSel (Just "_plcsmpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plcsmpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.SetMaintenancePolicy

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

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.SetMaintenancePolicy

Request Lenses

plcsmpUploadProtocol :: Lens' ProjectsLocationsClustersSetMaintenancePolicy (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

plcsmpUploadType :: Lens' ProjectsLocationsClustersSetMaintenancePolicy (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

plcsmpName :: Lens' ProjectsLocationsClustersSetMaintenancePolicy Text Source #

The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format 'projects/*/locations/*/clusters/*'.