v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1362267343.4 KB
projects

Create a session template synchronously.

post/v1/{+parent}/sessionTemplates

Path parameters

parentstring required

Required. The parent resource where this session template will be created.

Request body

namestring

Required. Identifier. The resource name of the session template.

descriptionstring

Optional. Brief description of the template.

sparkConnectSessionSparkConnectConfig

Spark connect configuration for an interactive session.

creatorstring

Output only. The email address of the user who created the template.

labelsobject

Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.

createTimestring google-datetime

Output only. The time when the template was created.

updateTimestring google-datetime

Output only. The time the template was last updated.

uuidstring

Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template.

Response

Successful response