Required. The name of the session resource to terminate.
Authorization requires the following IAM permission on the specified resource name:
dataproc.sessions.terminate
Request body
The request body contains data with the following structure:
JSON representation
{"requestId": string}
Fields
requestId
string
Optional. A unique ID used to identify the request. If the service receives two TerminateSessionRequests with the same ID, the second request is ignored.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-12 UTC."],[[["The `POST` request to terminate a session is sent to `https://dataproc.googleapis.com/v1/{name=projects/*/locations/*/sessions/*}:terminate` using gRPC Transcoding syntax."],["The `name` path parameter is required, specifying the session resource to terminate, and requires the `dataproc.sessions.terminate` IAM permission."],["The request body requires a JSON structure, potentially including a `requestId` string to ensure idempotency, that can be set as a UUID, with a max length of 40."],["A successful request returns an `Operation` instance within the response body."],["Authorization requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]