Google Cloud Dataproc V1 Client - Class CreateSessionTemplateRequest (3.14.0)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class CreateSessionTemplateRequest.

A request to create a session template.

Generated from protobuf message google.cloud.dataproc.v1.CreateSessionTemplateRequest

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ session_template Google\Cloud\Dataproc\V1\SessionTemplate

Required. The session template to create.

getParent

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

Returns
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getSessionTemplate

Required. The session template to create.

Returns
Type Description
Google\Cloud\Dataproc\V1\SessionTemplate|null

hasSessionTemplate

clearSessionTemplate

setSessionTemplate

Required. The session template to create.

Parameter
Name Description
var Google\Cloud\Dataproc\V1\SessionTemplate
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource where this session template will be created. Please see Google\Cloud\Dataproc\V1\SessionTemplateControllerClient::locationName() for help formatting this field.

sessionTemplate Google\Cloud\Dataproc\V1\SessionTemplate

Required. The session template to create.

Returns
Type Description
Google\Cloud\Dataproc\V1\CreateSessionTemplateRequest