Google Cloud Dataproc V1 Client - Class UpdateSessionTemplateRequest (2.1.0)

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

A request to update a session template.

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

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ session_template Google\Cloud\Dataproc\V1\SessionTemplate

Required. The updated session template.

getSessionTemplate

Required. The updated session template.

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

hasSessionTemplate

clearSessionTemplate

setSessionTemplate

Required. The updated session template.

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

static::build

Parameter
Name Description
sessionTemplate Google\Cloud\Dataproc\V1\SessionTemplate

Required. The updated session template.

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