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 |
Cancels the specified operation.
See: Kubernetes Engine API Reference for container.projects.zones.operations.cancel
.
Synopsis
- type ProjectsZonesOperationsCancelResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("operations" :> (CaptureMode "operationId" "cancel" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CancelOperationRequest :> Post '[JSON] Empty)))))))))))))
- projectsZonesOperationsCancel :: Text -> CancelOperationRequest -> Text -> Text -> ProjectsZonesOperationsCancel
- data ProjectsZonesOperationsCancel
- pzocXgafv :: Lens' ProjectsZonesOperationsCancel (Maybe Xgafv)
- pzocUploadProtocol :: Lens' ProjectsZonesOperationsCancel (Maybe Text)
- pzocAccessToken :: Lens' ProjectsZonesOperationsCancel (Maybe Text)
- pzocUploadType :: Lens' ProjectsZonesOperationsCancel (Maybe Text)
- pzocZone :: Lens' ProjectsZonesOperationsCancel Text
- pzocPayload :: Lens' ProjectsZonesOperationsCancel CancelOperationRequest
- pzocProjectId :: Lens' ProjectsZonesOperationsCancel Text
- pzocOperationId :: Lens' ProjectsZonesOperationsCancel Text
- pzocCallback :: Lens' ProjectsZonesOperationsCancel (Maybe Text)
REST Resource
type ProjectsZonesOperationsCancelResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("operations" :> (CaptureMode "operationId" "cancel" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CancelOperationRequest :> Post '[JSON] Empty))))))))))))) Source #
A resource alias for container.projects.zones.operations.cancel
method which the
ProjectsZonesOperationsCancel
request conforms to.
Creating a Request
projectsZonesOperationsCancel Source #
Creates a value of ProjectsZonesOperationsCancel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsZonesOperationsCancel Source #
Cancels the specified operation.
See: projectsZonesOperationsCancel
smart constructor.
Instances
Request Lenses
pzocUploadProtocol :: Lens' ProjectsZonesOperationsCancel (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pzocAccessToken :: Lens' ProjectsZonesOperationsCancel (Maybe Text) Source #
OAuth access token.
pzocUploadType :: Lens' ProjectsZonesOperationsCancel (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pzocZone :: Lens' ProjectsZonesOperationsCancel Text Source #
Deprecated. The name of the Google Compute Engine zone in which the operation resides. This field has been deprecated and replaced by the name field.
pzocPayload :: Lens' ProjectsZonesOperationsCancel CancelOperationRequest Source #
Multipart request metadata.
pzocProjectId :: Lens' ProjectsZonesOperationsCancel Text Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
pzocOperationId :: Lens' ProjectsZonesOperationsCancel Text Source #
Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.
pzocCallback :: Lens' ProjectsZonesOperationsCancel (Maybe Text) Source #
JSONP