Method: projects.locations.sessionTemplates.list

Lists session templates.

HTTP request

GET https://dataproc.googleapis.com/v1/{parent=projects/*/locations/*}/sessionTemplates

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent that owns this collection of session templates.

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

  • dataproc.sessionTemplates.list

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of sessions to return in each response. The service may return fewer than this value.

pageToken

string

Optional. A page token received from a previous sessions.list call. Provide this token to retrieve the subsequent page.

filter

string

Optional. A filter for the session templates to return in the response. Filters are case sensitive and have the following syntax:

[field = value] AND [field [= value]] ...

Request body

The request body must be empty.

Response body

A list of session templates.

If successful, the response body contains data with the following structure:

JSON representation
{
  "sessionTemplates": [
    {
      object (SessionTemplate)
    }
  ],
  "nextPageToken": string
}
Fields
sessionTemplates[]

object (SessionTemplate)

Output only. Session template list

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.