Method: projects.locations.sessions.get

Gets the resource representation for an interactive session.

HTTP request

GET https://dataproc.googleapis.com/v1/{name=projects/*/locations/*/sessions/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the session to retrieve.

Authorization requires the following IAM permission on the specified resource name:

  • dataproc.sessions.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Session.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/dataproc
  • https://www.googleapis.com/auth/dataproc.read-only

For more information, see the Authentication Overview.