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: Google Container Engine API Reference for container.projects.zones.operations.cancel
.
- type ProjectsZonesOperationsCancelResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("operations" :> (CaptureMode "operationId" "cancel" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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 Text)
- pzocUploadProtocol :: Lens' ProjectsZonesOperationsCancel (Maybe Text)
- pzocPp :: Lens' ProjectsZonesOperationsCancel Bool
- pzocAccessToken :: Lens' ProjectsZonesOperationsCancel (Maybe Text)
- pzocUploadType :: Lens' ProjectsZonesOperationsCancel (Maybe Text)
- pzocZone :: Lens' ProjectsZonesOperationsCancel Text
- pzocPayload :: Lens' ProjectsZonesOperationsCancel CancelOperationRequest
- pzocBearerToken :: Lens' ProjectsZonesOperationsCancel (Maybe Text)
- 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" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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.
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 #
The name of the Google Compute Engine zone in which the operation resides.
pzocPayload :: Lens' ProjectsZonesOperationsCancel CancelOperationRequest Source #
Multipart request metadata.
pzocBearerToken :: Lens' ProjectsZonesOperationsCancel (Maybe Text) Source #
OAuth bearer token.
pzocProjectId :: Lens' ProjectsZonesOperationsCancel Text Source #
The Google Developers Console project ID or project number.
pzocOperationId :: Lens' ProjectsZonesOperationsCancel Text Source #
The server-assigned `name` of the operation.
pzocCallback :: Lens' ProjectsZonesOperationsCancel (Maybe Text) Source #
JSONP