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.SetResourceLabels

Contents

Description

Sets labels on a cluster.

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

Synopsis

REST Resource

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

A resource alias for container.projects.locations.clusters.setResourceLabels method which the ProjectsLocationsClustersSetResourceLabels request conforms to.

Creating a Request

data ProjectsLocationsClustersSetResourceLabels Source #

Sets labels on a cluster.

See: projectsLocationsClustersSetResourceLabels smart constructor.

Instances
Eq ProjectsLocationsClustersSetResourceLabels Source # 
Instance details

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

Data ProjectsLocationsClustersSetResourceLabels Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsClustersSetResourceLabels -> Constr #

dataTypeOf :: ProjectsLocationsClustersSetResourceLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsClustersSetResourceLabels Source # 
Instance details

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

Generic ProjectsLocationsClustersSetResourceLabels Source # 
Instance details

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

GoogleRequest ProjectsLocationsClustersSetResourceLabels Source # 
Instance details

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

type Rep ProjectsLocationsClustersSetResourceLabels Source # 
Instance details

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

type Rep ProjectsLocationsClustersSetResourceLabels = D1 (MetaData "ProjectsLocationsClustersSetResourceLabels" "Network.Google.Resource.Container.Projects.Locations.Clusters.SetResourceLabels" "gogol-container-0.4.0-7fMnJsS36zkISd1JtwIvdQ" False) (C1 (MetaCons "ProjectsLocationsClustersSetResourceLabels'" PrefixI True) ((S1 (MetaSel (Just "_plcsrlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plcsrlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plcsrlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plcsrlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plcsrlPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetLabelsRequest)) :*: (S1 (MetaSel (Just "_plcsrlName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plcsrlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsClustersSetResourceLabels Source # 
Instance details

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

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

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

Request Lenses

plcsrlUploadProtocol :: Lens' ProjectsLocationsClustersSetResourceLabels (Maybe Text) Source #

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

plcsrlUploadType :: Lens' ProjectsLocationsClustersSetResourceLabels (Maybe Text) Source #

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

plcsrlName :: Lens' ProjectsLocationsClustersSetResourceLabels Text Source #

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