Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::SwitchRuntimeRequest.
Request for switching a Managed Notebook Runtime.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#accelerator_config
def accelerator_config() -> ::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig
Returns
- (::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig) — accelerator config.
#accelerator_config=
def accelerator_config=(value) -> ::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig
Parameter
- value (::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig) — accelerator config.
Returns
- (::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig) — accelerator config.
#machine_type
def machine_type() -> ::String
Returns
- (::String) — machine type.
#machine_type=
def machine_type=(value) -> ::String
Parameter
- value (::String) — machine type.
Returns
- (::String) — machine type.
#name
def name() -> ::String
Returns
-
(::String) — Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}
Returns
-
(::String) — Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}