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 \ V1Methods
__construct
Constructor.
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
↳ jupyter_session
↳ 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
↳ environment_config
Google\Cloud\Dataproc\V1\EnvironmentConfig
Optional. Environment configuration for session execution.
↳ update_time
↳ 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.
string
setName
Required. The resource name of the session template.
var
string
$this
getDescription
Optional. Brief description of the template.
string
setDescription
Optional. Brief description of the template.
var
string
$this
getCreateTime
Output only. The time when the template was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the template was created.
$this
getJupyterSession
Optional. Jupyter session config.
hasJupyterSession
setJupyterSession
Optional. Jupyter session config.
$this
getCreator
Output only. The email address of the user who created the template.
string
setCreator
Output only. The email address of the user who created the template.
var
string
$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.
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.
$this
getRuntimeConfig
Optional. Runtime configuration for session execution.
hasRuntimeConfig
clearRuntimeConfig
setRuntimeConfig
Optional. Runtime configuration for session execution.
$this
getEnvironmentConfig
Optional. Environment configuration for session execution.
hasEnvironmentConfig
clearEnvironmentConfig
setEnvironmentConfig
Optional. Environment configuration for session execution.
$this
getUpdateTime
Output only. The time the template was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time the template was last updated.
$this
getUuid
Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template.
string
setUuid
Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template.
var
string
$this
getSessionConfig
string