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 |
Enables or disables the ABAC authorization mechanism on a cluster.
See: Kubernetes Engine API Reference for container.projects.zones.clusters.legacyAbac
.
Synopsis
- type ProjectsZonesClustersLegacyAbacResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> ("legacyAbac" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetLegacyAbacRequest :> Post '[JSON] Operation))))))))))))))
- projectsZonesClustersLegacyAbac :: Text -> SetLegacyAbacRequest -> Text -> Text -> ProjectsZonesClustersLegacyAbac
- data ProjectsZonesClustersLegacyAbac
- pzclaXgafv :: Lens' ProjectsZonesClustersLegacyAbac (Maybe Xgafv)
- pzclaUploadProtocol :: Lens' ProjectsZonesClustersLegacyAbac (Maybe Text)
- pzclaAccessToken :: Lens' ProjectsZonesClustersLegacyAbac (Maybe Text)
- pzclaUploadType :: Lens' ProjectsZonesClustersLegacyAbac (Maybe Text)
- pzclaZone :: Lens' ProjectsZonesClustersLegacyAbac Text
- pzclaPayload :: Lens' ProjectsZonesClustersLegacyAbac SetLegacyAbacRequest
- pzclaClusterId :: Lens' ProjectsZonesClustersLegacyAbac Text
- pzclaProjectId :: Lens' ProjectsZonesClustersLegacyAbac Text
- pzclaCallback :: Lens' ProjectsZonesClustersLegacyAbac (Maybe Text)
REST Resource
type ProjectsZonesClustersLegacyAbacResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> ("legacyAbac" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetLegacyAbacRequest :> Post '[JSON] Operation)))))))))))))) Source #
A resource alias for container.projects.zones.clusters.legacyAbac
method which the
ProjectsZonesClustersLegacyAbac
request conforms to.
Creating a Request
projectsZonesClustersLegacyAbac Source #
Creates a value of ProjectsZonesClustersLegacyAbac
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsZonesClustersLegacyAbac Source #
Enables or disables the ABAC authorization mechanism on a cluster.
See: projectsZonesClustersLegacyAbac
smart constructor.
Instances
Request Lenses
pzclaXgafv :: Lens' ProjectsZonesClustersLegacyAbac (Maybe Xgafv) Source #
V1 error format.
pzclaUploadProtocol :: Lens' ProjectsZonesClustersLegacyAbac (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pzclaAccessToken :: Lens' ProjectsZonesClustersLegacyAbac (Maybe Text) Source #
OAuth access token.
pzclaUploadType :: Lens' ProjectsZonesClustersLegacyAbac (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pzclaZone :: Lens' ProjectsZonesClustersLegacyAbac 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.
pzclaPayload :: Lens' ProjectsZonesClustersLegacyAbac SetLegacyAbacRequest Source #
Multipart request metadata.
pzclaClusterId :: Lens' ProjectsZonesClustersLegacyAbac Text Source #
Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
pzclaProjectId :: Lens' ProjectsZonesClustersLegacyAbac Text Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.