Google Cloud Dataproc V1 Client - Class SessionTemplate (3.13.4)

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

A representation of a session template.

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

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Required. The resource name of the session template.

↳ description
string

Optional. Brief description of the template.

↳ create_time
Google\Protobuf\Timestamp

Output only. The time when the template was created.

↳ jupyter_session
Google\Cloud\Dataproc\V1\JupyterConfig

Optional. Jupyter session config.

↳ creator
string

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

↳ labels
array| Google\Protobuf\Internal\MapField

Optional. Labels to associate with sessions created using this template. Label keysmust contain 1 to 63 characters, and must conform to RFC 1035 . Label valuescan be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 . No more than 32 labels can be associated with a session.

↳ runtime_config
Google\Cloud\Dataproc\V1\RuntimeConfig

Optional. Runtime configuration for session execution.

↳ environment_config
Google\Cloud\Dataproc\V1\EnvironmentConfig

Optional. Environment configuration for session execution.

↳ update_time
Google\Protobuf\Timestamp

Output only. The time the template was last updated.

↳ uuid
string

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

getName

Required. The resource name of the session template.

Returns
Type
Description
string

setName

Required. The resource name of the session template.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDescription

Optional. Brief description of the template.

Returns
Type
Description
string

setDescription

Optional. Brief description of the template.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. The time when the template was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the template was created.

Parameter
Name
Description
Returns
Type
Description
$this

getJupyterSession

Optional. Jupyter session config.

Returns
Type
Description

hasJupyterSession

setJupyterSession

Optional. Jupyter session config.

Parameter
Name
Description
Returns
Type
Description
$this

getCreator

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

Returns
Type
Description
string

setCreator

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLabels

Optional. Labels to associate with sessions created using this template.

Label keysmust contain 1 to 63 characters, and must conform to RFC 1035 . Label valuescan be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 . No more than 32 labels can be associated with a session.

Returns
Type
Description

setLabels

Optional. Labels to associate with sessions created using this template.

Label keysmust contain 1 to 63 characters, and must conform to RFC 1035 . Label valuescan be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 . No more than 32 labels can be associated with a session.

Parameter
Name
Description
Returns
Type
Description
$this

getRuntimeConfig

Optional. Runtime configuration for session execution.

Returns
Type
Description

hasRuntimeConfig

clearRuntimeConfig

setRuntimeConfig

Optional. Runtime configuration for session execution.

Parameter
Name
Description
Returns
Type
Description
$this

getEnvironmentConfig

Optional. Environment configuration for session execution.

Returns
Type
Description

hasEnvironmentConfig

clearEnvironmentConfig

setEnvironmentConfig

Optional. Environment configuration for session execution.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. The time the template was last updated.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time the template was last updated.

Parameter
Name
Description
Returns
Type
Description
$this

getUuid

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

Returns
Type
Description
string

setUuid

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getSessionConfig

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: