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.Zones.Clusters.ResourceLabels

Contents

Description

Sets labels on a cluster.

See: Kubernetes Engine API Reference for container.projects.zones.clusters.resourceLabels.

Synopsis

REST Resource

type ProjectsZonesClustersResourceLabelsResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> ("resourceLabels" :> (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.zones.clusters.resourceLabels method which the ProjectsZonesClustersResourceLabels request conforms to.

Creating a Request

data ProjectsZonesClustersResourceLabels Source #

Sets labels on a cluster.

See: projectsZonesClustersResourceLabels smart constructor.

Instances
Eq ProjectsZonesClustersResourceLabels Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.ResourceLabels

Data ProjectsZonesClustersResourceLabels Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.ResourceLabels

Methods

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

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

toConstr :: ProjectsZonesClustersResourceLabels -> Constr #

dataTypeOf :: ProjectsZonesClustersResourceLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsZonesClustersResourceLabels Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.ResourceLabels

Generic ProjectsZonesClustersResourceLabels Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.ResourceLabels

GoogleRequest ProjectsZonesClustersResourceLabels Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.ResourceLabels

type Rep ProjectsZonesClustersResourceLabels Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.ResourceLabels

type Rep ProjectsZonesClustersResourceLabels = D1 (MetaData "ProjectsZonesClustersResourceLabels" "Network.Google.Resource.Container.Projects.Zones.Clusters.ResourceLabels" "gogol-container-0.4.0-7fMnJsS36zkISd1JtwIvdQ" False) (C1 (MetaCons "ProjectsZonesClustersResourceLabels'" PrefixI True) (((S1 (MetaSel (Just "_pzcrlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pzcrlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pzcrlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pzcrlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pzcrlZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pzcrlPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetLabelsRequest)) :*: (S1 (MetaSel (Just "_pzcrlClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pzcrlProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pzcrlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsZonesClustersResourceLabels Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.ResourceLabels

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

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.ResourceLabels

Request Lenses

pzcrlUploadProtocol :: Lens' ProjectsZonesClustersResourceLabels (Maybe Text) Source #

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

pzcrlUploadType :: Lens' ProjectsZonesClustersResourceLabels (Maybe Text) Source #

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

pzcrlZone :: Lens' ProjectsZonesClustersResourceLabels Text Source #

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

pzcrlClusterId :: Lens' ProjectsZonesClustersResourceLabels Text Source #

Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

pzcrlProjectId :: Lens' ProjectsZonesClustersResourceLabels Text Source #

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.