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.locations.clusters.setLocations
.
Synopsis
- type ProjectsLocationsClustersSetLocationsResource = "v1" :> (CaptureMode "name" "setLocations" Text :> (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))))))))
- projectsLocationsClustersSetLocations :: SetLocationsRequest -> Text -> ProjectsLocationsClustersSetLocations
- data ProjectsLocationsClustersSetLocations
- plcslsXgafv :: Lens' ProjectsLocationsClustersSetLocations (Maybe Xgafv)
- plcslsUploadProtocol :: Lens' ProjectsLocationsClustersSetLocations (Maybe Text)
- plcslsAccessToken :: Lens' ProjectsLocationsClustersSetLocations (Maybe Text)
- plcslsUploadType :: Lens' ProjectsLocationsClustersSetLocations (Maybe Text)
- plcslsPayload :: Lens' ProjectsLocationsClustersSetLocations SetLocationsRequest
- plcslsName :: Lens' ProjectsLocationsClustersSetLocations Text
- plcslsCallback :: Lens' ProjectsLocationsClustersSetLocations (Maybe Text)
REST Resource
type ProjectsLocationsClustersSetLocationsResource = "v1" :> (CaptureMode "name" "setLocations" Text :> (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.locations.clusters.setLocations
method which the
ProjectsLocationsClustersSetLocations
request conforms to.
Creating a Request
projectsLocationsClustersSetLocations Source #
Creates a value of ProjectsLocationsClustersSetLocations
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsClustersSetLocations Source #
Sets the locations for a specific cluster.
See: projectsLocationsClustersSetLocations
smart constructor.
Instances
Request Lenses
plcslsXgafv :: Lens' ProjectsLocationsClustersSetLocations (Maybe Xgafv) Source #
V1 error format.
plcslsUploadProtocol :: Lens' ProjectsLocationsClustersSetLocations (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plcslsAccessToken :: Lens' ProjectsLocationsClustersSetLocations (Maybe Text) Source #
OAuth access token.
plcslsUploadType :: Lens' ProjectsLocationsClustersSetLocations (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plcslsPayload :: Lens' ProjectsLocationsClustersSetLocations SetLocationsRequest Source #
Multipart request metadata.
plcslsName :: Lens' ProjectsLocationsClustersSetLocations Text Source #
The name (project, location, cluster) of the cluster to set locations. Specified in the format 'projects/*/locations/*/clusters/*'.