Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Sets labels on a cluster.
See: Kubernetes Engine API Reference for container.projects.zones.clusters.resourceLabels
.
Synopsis
- 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))))))))))))))
- projectsZonesClustersResourceLabels :: Text -> SetLabelsRequest -> Text -> Text -> ProjectsZonesClustersResourceLabels
- data ProjectsZonesClustersResourceLabels
- pzcrlXgafv :: Lens' ProjectsZonesClustersResourceLabels (Maybe Xgafv)
- pzcrlUploadProtocol :: Lens' ProjectsZonesClustersResourceLabels (Maybe Text)
- pzcrlAccessToken :: Lens' ProjectsZonesClustersResourceLabels (Maybe Text)
- pzcrlUploadType :: Lens' ProjectsZonesClustersResourceLabels (Maybe Text)
- pzcrlZone :: Lens' ProjectsZonesClustersResourceLabels Text
- pzcrlPayload :: Lens' ProjectsZonesClustersResourceLabels SetLabelsRequest
- pzcrlClusterId :: Lens' ProjectsZonesClustersResourceLabels Text
- pzcrlProjectId :: Lens' ProjectsZonesClustersResourceLabels Text
- pzcrlCallback :: Lens' ProjectsZonesClustersResourceLabels (Maybe Text)
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
projectsZonesClustersResourceLabels Source #
Creates a value of ProjectsZonesClustersResourceLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsZonesClustersResourceLabels Source #
Sets labels on a cluster.
See: projectsZonesClustersResourceLabels
smart constructor.
Instances
Request Lenses
pzcrlXgafv :: Lens' ProjectsZonesClustersResourceLabels (Maybe Xgafv) Source #
V1 error format.
pzcrlUploadProtocol :: Lens' ProjectsZonesClustersResourceLabels (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pzcrlAccessToken :: Lens' ProjectsZonesClustersResourceLabels (Maybe Text) Source #
OAuth access token.
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.
pzcrlPayload :: Lens' ProjectsZonesClustersResourceLabels SetLabelsRequest Source #
Multipart request metadata.
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.