Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssignNotebookRuntimeRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssignNotebookRuntimeRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Request message for NotebookService.AssignNotebookRuntime.
Instance Attribute Summary collapse
-
#notebook_runtime ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntime
A runtime is a virtual machine allocated to a particular user for a particular Notebook file on temporary basis with lifetime limited to 24 hours.
-
#notebook_runtime_id ⇒ String
Optional.
-
#notebook_runtime_template ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AssignNotebookRuntimeRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1AssignNotebookRuntimeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AssignNotebookRuntimeRequest
Returns a new instance of GoogleCloudAiplatformV1beta1AssignNotebookRuntimeRequest.
949 950 951 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 949 def initialize(**args) update!(**args) end |
Instance Attribute Details
#notebook_runtime ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntime
A runtime is a virtual machine allocated to a particular user for a particular
Notebook file on temporary basis with lifetime limited to 24 hours.
Corresponds to the JSON property notebookRuntime
936 937 938 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 936 def notebook_runtime @notebook_runtime end |
#notebook_runtime_id ⇒ String
Optional. User specified ID for the notebook runtime.
Corresponds to the JSON property notebookRuntimeId
941 942 943 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 941 def notebook_runtime_id @notebook_runtime_id end |
#notebook_runtime_template ⇒ String
Required. The resource name of the NotebookRuntimeTemplate based on which a
NotebookRuntime will be assigned (reuse or create a new one).
Corresponds to the JSON property notebookRuntimeTemplate
947 948 949 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 947 def notebook_runtime_template @notebook_runtime_template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
954 955 956 957 958 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 954 def update!(**args) @notebook_runtime = args[:notebook_runtime] if args.key?(:notebook_runtime) @notebook_runtime_id = args[:notebook_runtime_id] if args.key?(:notebook_runtime_id) @notebook_runtime_template = args[:notebook_runtime_template] if args.key?(:notebook_runtime_template) end |