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 \ V1Methods
__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 |
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 |
SessionTemplate|null |
hasSessionTemplate
clearSessionTemplate
setSessionTemplate
Required. The session template to create.
Parameter | |
---|---|
Name | Description |
var |
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 SessionTemplateControllerClient::locationName() for help formatting this field. |
sessionTemplate |
SessionTemplate
Required. The session template to create. |
Returns | |
---|---|
Type | Description |
CreateSessionTemplateRequest |