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.locations.clusters.setLogging
.
Synopsis
- type ProjectsLocationsClustersSetLoggingResource = "v1" :> (CaptureMode "name" "setLogging" Text :> (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))))))))
- projectsLocationsClustersSetLogging :: SetLoggingServiceRequest -> Text -> ProjectsLocationsClustersSetLogging
- data ProjectsLocationsClustersSetLogging
- plcslXgafv :: Lens' ProjectsLocationsClustersSetLogging (Maybe Xgafv)
- plcslUploadProtocol :: Lens' ProjectsLocationsClustersSetLogging (Maybe Text)
- plcslAccessToken :: Lens' ProjectsLocationsClustersSetLogging (Maybe Text)
- plcslUploadType :: Lens' ProjectsLocationsClustersSetLogging (Maybe Text)
- plcslPayload :: Lens' ProjectsLocationsClustersSetLogging SetLoggingServiceRequest
- plcslName :: Lens' ProjectsLocationsClustersSetLogging Text
- plcslCallback :: Lens' ProjectsLocationsClustersSetLogging (Maybe Text)
REST Resource
type ProjectsLocationsClustersSetLoggingResource = "v1" :> (CaptureMode "name" "setLogging" Text :> (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.locations.clusters.setLogging
method which the
ProjectsLocationsClustersSetLogging
request conforms to.
Creating a Request
projectsLocationsClustersSetLogging Source #
Creates a value of ProjectsLocationsClustersSetLogging
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsClustersSetLogging Source #
Sets the logging service for a specific cluster.
See: projectsLocationsClustersSetLogging
smart constructor.
Instances
Request Lenses
plcslXgafv :: Lens' ProjectsLocationsClustersSetLogging (Maybe Xgafv) Source #
V1 error format.
plcslUploadProtocol :: Lens' ProjectsLocationsClustersSetLogging (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plcslAccessToken :: Lens' ProjectsLocationsClustersSetLogging (Maybe Text) Source #
OAuth access token.
plcslUploadType :: Lens' ProjectsLocationsClustersSetLogging (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plcslPayload :: Lens' ProjectsLocationsClustersSetLogging SetLoggingServiceRequest Source #
Multipart request metadata.