class Google::Apis::NotebooksV1::Environment

Definition of a software environment that is used to start a notebook instance.

Attributes

container_image[RW]

Definition of a container image for starting a notebook instance with the environment installed in a container. Corresponds to the JSON property `containerImage` @return [Google::Apis::NotebooksV1::ContainerImage]

create_time[RW]

Output only. The time at which this environment was created. Corresponds to the JSON property `createTime` @return [String]

description[RW]

A brief description of this environment. Corresponds to the JSON property `description` @return [String]

display_name[RW]

Display name of this environment for the UI. Corresponds to the JSON property `displayName` @return [String]

name[RW]

Output only. Name of this environment. Format: `projects/`project_id`/ locations/`location`/environments/`environment_id“ Corresponds to the JSON property `name` @return [String]

post_startup_script[RW]

Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example: `“gs://path- to-file/file-name”` Corresponds to the JSON property `postStartupScript` @return [String]

vm_image[RW]

Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM. Corresponds to the JSON property `vmImage` @return [Google::Apis::NotebooksV1::VmImage]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/notebooks_v1/classes.rb, line 375
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/notebooks_v1/classes.rb, line 380
def update!(**args)
  @container_image = args[:container_image] if args.key?(:container_image)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @post_startup_script = args[:post_startup_script] if args.key?(:post_startup_script)
  @vm_image = args[:vm_image] if args.key?(:vm_image)
end