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 the locations for a specific cluster.
See: Kubernetes Engine API Reference for container.projects.zones.clusters.locations
.
Synopsis
- type ProjectsZonesClustersLocationsResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> ("locations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetLocationsRequest :> Post '[JSON] Operation))))))))))))))
- projectsZonesClustersLocations :: Text -> SetLocationsRequest -> Text -> Text -> ProjectsZonesClustersLocations
- data ProjectsZonesClustersLocations
- pXgafv :: Lens' ProjectsZonesClustersLocations (Maybe Xgafv)
- pUploadProtocol :: Lens' ProjectsZonesClustersLocations (Maybe Text)
- pAccessToken :: Lens' ProjectsZonesClustersLocations (Maybe Text)
- pUploadType :: Lens' ProjectsZonesClustersLocations (Maybe Text)
- pZone :: Lens' ProjectsZonesClustersLocations Text
- pPayload :: Lens' ProjectsZonesClustersLocations SetLocationsRequest
- pClusterId :: Lens' ProjectsZonesClustersLocations Text
- pProjectId :: Lens' ProjectsZonesClustersLocations Text
- pCallback :: Lens' ProjectsZonesClustersLocations (Maybe Text)
REST Resource
type ProjectsZonesClustersLocationsResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> ("locations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetLocationsRequest :> Post '[JSON] Operation)))))))))))))) Source #
A resource alias for container.projects.zones.clusters.locations
method which the
ProjectsZonesClustersLocations
request conforms to.
Creating a Request
projectsZonesClustersLocations Source #
Creates a value of ProjectsZonesClustersLocations
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsZonesClustersLocations Source #
Sets the locations for a specific cluster.
See: projectsZonesClustersLocations
smart constructor.
Instances
Request Lenses
pUploadProtocol :: Lens' ProjectsZonesClustersLocations (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pAccessToken :: Lens' ProjectsZonesClustersLocations (Maybe Text) Source #
OAuth access token.
pUploadType :: Lens' ProjectsZonesClustersLocations (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pZone :: Lens' ProjectsZonesClustersLocations 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.
pPayload :: Lens' ProjectsZonesClustersLocations SetLocationsRequest Source #
Multipart request metadata.
pClusterId :: Lens' ProjectsZonesClustersLocations Text Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
pProjectId :: Lens' ProjectsZonesClustersLocations Text Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.