projects

POST /v1/projects/{projectsId}/locations/{locationsId}/sessionTemplates

Changed on

Create a session template synchronously.

Request

  • Base URL
    https://dataproc.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/dataproc
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/dataproc
  • TypeScript

Path parameters

projectsIdstring required
locationsIdstring required

Request body

createTimestring google-datetime

Output only. The time when the template was created.

creatorstring

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

descriptionstring

Optional. Brief description of the template.

displayNamestring

Optional. User-friendly display name for the session template. Can be up to 63 characters.

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.

namestring

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

sparkConnectSessionSparkConnectConfig

Spark connect configuration for an interactive session.

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

createTimestring google-datetime

Output only. The time when the template was created.

creatorstring

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

descriptionstring

Optional. Brief description of the template.

displayNamestring

Optional. User-friendly display name for the session template. Can be up to 63 characters.

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.

namestring

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

sparkConnectSessionSparkConnectConfig

Spark connect configuration for an interactive session.

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.

Changes

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/dataproc was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/dataproc was removed from the endpoint's security scheme Oauth2c