Pflichtangabe. Der Name der zu löschenden Sitzungsressource.
Für die Autorisierung ist die folgende IAM-Berechtigung für die angegebene Ressource name erforderlich:
dataproc.sessions.delete
Suchparameter
Parameter
requestId
string
Optional. Eine eindeutige ID, die zur Identifizierung der Anfrage verwendet wird. Wenn der Dienst zwei DeleteSessionRequest-Anfragen mit derselben ID erhält, wird die zweite Anfrage ignoriert.
Empfehlung: Legen Sie für diesen Wert eine UUID fest.
Der Wert darf nur Buchstaben (a–z, A–Z), Ziffern (0–9), Unterstriche (_) und Bindestriche (-) enthalten. Die maximale Länge beträgt 40 Zeichen.
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Operation.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-03-04 (UTC)."],[[["\u003cp\u003eThis webpage documents the process of deleting an interactive session resource, which includes terminating the session if it's not already in a terminal state.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request method for deleting a session is \u003ccode\u003eDELETE\u003c/code\u003e, using a specified URL structure that incorporates gRPC Transcoding syntax, and requiring a path parameter named \u003ccode\u003ename\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter is a mandatory string representing the name of the session resource to be deleted, and requires the \u003ccode\u003edataproc.sessions.delete\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003erequest_Id\u003c/code\u003e query parameter, which is used for request identification, can be included in the deletion request and must adhere to specific formatting and length constraints.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be left empty when deleting a session, and a successful response will return an Operation instance.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.sessions.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes the interactive session resource. If the session is not in terminal state, it is terminated, and then deleted.\n\n### HTTP request\n\n`DELETE https://dataproc.googleapis.com/v1/{name=projects/*/locations/*/sessions/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/dataproc-serverless/docs/reference/rest/v1/projects.locations.operations#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]