- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
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 |
Required. The parent that owns this collection of session templates. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
page |
Optional. The maximum number of sessions to return in each response. The service may return fewer than this value. |
page |
Optional. A page token received from a previous |
filter |
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 ( |
Fields | |
---|---|
session |
Output only. Session template list |
next |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.