Required. The parent resource where this session will be created.
Authorization requires the following IAM permission on the specified resource parent:
dataproc.sessions.create
Query parameters
Parameters
sessionId
string
Required. The ID to use for the session, which becomes the final component of the session's resource name.
This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/.
requestId
string
Optional. A unique ID used to identify the request. If the service receives two CreateSessionRequestss with the same ID, the second request is ignored, and the first Session is created and stored in the backend.
[[["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 2025-07-21 UTC."],[[["\u003cp\u003eThis endpoint allows the creation of a new session via a \u003ccode\u003ePOST\u003c/code\u003e request to \u003ccode\u003ehttps://dataproc.googleapis.com/v1/{parent=projects/*/locations/*}/sessions\u003c/code\u003e, utilizing gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required and specifies the resource under which the session will be created, needing the \u003ccode\u003edataproc.sessions.create\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esessionId\u003c/code\u003e query parameter is mandatory for the creation request and must be between 4-63 characters in length, while \u003ccode\u003erequestId\u003c/code\u003e is optional, used for idempotency, and should be a UUID.\u003c/p\u003e\n"],["\u003cp\u003eA successful request results in a response containing a newly created \u003ccode\u003eOperation\u003c/code\u003e instance, whereas the request body requires a \u003ccode\u003eSession\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to use this endpoint requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]