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