Reference documentation and code samples for the Google Cloud Notebooks V1 Client class CreateEnvironmentRequest.
Request for creating a notebook environment.
Generated from protobuf message google.cloud.notebooks.v1.CreateEnvironmentRequest
Namespace
Google \ Cloud \ Notebooks \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
data | 
        
          array
          Optional. Data for populating the Message object.  | 
      
↳ parent | 
        
          string
          Required. Format:   | 
      
↳ environment_id | 
        
          string
          Required. User-defined unique ID of this environment. The   | 
      
↳ environment | 
        
          Environment
          Required. The environment to be created.  | 
      
getParent
Required. Format: projects/{project_id}/locations/{location}
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setParent
Required. Format: projects/{project_id}/locations/{location}
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getEnvironmentId
Required. User-defined unique ID of this environment. The environment_id must
be 1 to 63 characters long and contain only lowercase letters,
numeric characters, and dashes. The first character must be a lowercase
letter and the last character cannot be a dash.
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setEnvironmentId
Required. User-defined unique ID of this environment. The environment_id must
be 1 to 63 characters long and contain only lowercase letters,
numeric characters, and dashes. The first character must be a lowercase
letter and the last character cannot be a dash.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getEnvironment
Required. The environment to be created.
| Returns | |
|---|---|
| Type | Description | 
Environment|null | 
        |
hasEnvironment
clearEnvironment
setEnvironment
Required. The environment to be created.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          Environment
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
static::build
| Parameters | |
|---|---|
| Name | Description | 
parent | 
        
          string
          Required. Format:   | 
      
environment | 
        
          Environment
          Required. The environment to be created.  | 
      
environmentId | 
        
          string
          Required. User-defined unique ID of this environment. The   | 
      
| Returns | |
|---|---|
| Type | Description | 
CreateEnvironmentRequest | 
        |