Pflichtangabe. Das übergeordnete Element, dem diese Sammlung von Sitzungsvorlagen zugewiesen ist.
Für die Autorisierung ist die folgende IAM-Berechtigung für die angegebene Ressource parent erforderlich:
dataproc.sessionTemplates.list
Suchparameter
Parameter
pageSize
integer
Optional. Die maximale Anzahl von Sitzungen, die in jeder Antwort zurückgegeben werden sollen. Der Dienst gibt möglicherweise weniger als diesen Wert zurück.
pageToken
string
Optional. Ein Seitentoken, das von einem vorherigen sessions.list-Aufruf empfangen wurde. Geben Sie dieses Token an, um die nachfolgende Seite abzurufen.
filter
string
Optional. Ein Filter für die Sitzungsvorlagen, die in der Antwort zurückgegeben werden sollen. Bei Filtern wird die Groß-/Kleinschreibung beachtet. Sie haben folgende Syntax:
[Feld = Wert] UND [Feld [= Wert]] ...
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Eine Liste mit Sitzungsvorlagen.
Bei Erfolg enthält der Antworttext Daten mit der folgenden Struktur:
Ein Token, das als pageToken gesendet werden kann, um die nächste Seite abzurufen. Wenn dieses Feld weggelassen wird, gibt es keine nachfolgenden Seiten.
[[["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 API endpoint retrieves a list of session templates using a \u003ccode\u003eGET\u003c/code\u003e request to the specified URL, with the parent resource specified in the URL path.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter and can utilize optional query parameters, \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, and \u003ccode\u003efilter\u003c/code\u003e, to control the results.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and the required authorization is granted via the \u003ccode\u003edataproc.sessionTemplates.list\u003c/code\u003e IAM permission on the \u003ccode\u003eparent\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eThe successful response includes a list of \u003ccode\u003esessionTemplates\u003c/code\u003e and a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination, where necessary.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.sessionTemplates.list\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 - [JSON representation](#body.ListSessionTemplatesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists session templates.\n\n### HTTP request\n\n`GET https://dataproc.googleapis.com/v1/{parent=projects/*/locations/*}/sessionTemplates`\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\nA list of session templates.\n\nIf successful, the response body contains data with the following structure:\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)."]]