Reference documentation and code samples for the Google Cloud Notebooks V1 Client class CreateExecutionRequest.
Request to create notebook execution
Generated from protobuf message google.cloud.notebooks.v1.CreateExecutionRequest
Namespace
Google \ Cloud \ Notebooks \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
data | 
        
          array
          Optional. Data for populating the Message object.  | 
      
↳ parent | 
        
          string
          Required. Format:   | 
      
↳ execution_id | 
        
          string
          Required. User-defined unique ID of this execution.  | 
      
↳ execution | 
        
          Google\Cloud\Notebooks\V1\Execution
          Required. The execution to be created.  | 
      
getParent
Required. Format:
parent=projects/{project_id}/locations/{location}
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setParent
Required. Format:
parent=projects/{project_id}/locations/{location}
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getExecutionId
Required. User-defined unique ID of this execution.
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setExecutionId
Required. User-defined unique ID of this execution.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getExecution
Required. The execution to be created.
| Returns | |
|---|---|
| Type | Description | 
Google\Cloud\Notebooks\V1\Execution|null | 
        |
hasExecution
clearExecution
setExecution
Required. The execution to be created.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          Google\Cloud\Notebooks\V1\Execution
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
static::build
| Parameters | |
|---|---|
| Name | Description | 
parent | 
        
          string
          Required. Format:
  | 
      
execution | 
        
          Google\Cloud\Notebooks\V1\Execution
          Required. The execution to be created.  | 
      
executionId | 
        
          string
          Required. User-defined unique ID of this execution.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Google\Cloud\Notebooks\V1\CreateExecutionRequest | 
        |