# AI Platform Notebooks V1 API - Class Google::Cloud::Notebooks::V1::UpdateRuntimeRequest (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.1 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::UpdateRuntimeRequest.

Request for updating a Managed Notebook configuration.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #request_id

    def request_id() -> ::String

**Returns**

- (::String) --- Idempotent request UUID.

### #request_id=

    def request_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Idempotent request UUID.
**Returns**

- (::String) --- Idempotent request UUID.

### #runtime

    def runtime() -> ::Google::Cloud::Notebooks::V1::Runtime

**Returns**

- ([::Google::Cloud::Notebooks::V1::Runtime](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-Runtime)) --- Required. The Runtime to be updated.

### #runtime=

    def runtime=(value) -> ::Google::Cloud::Notebooks::V1::Runtime

**Parameter**

- **value** ([::Google::Cloud::Notebooks::V1::Runtime](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-Runtime)) --- Required. The Runtime to be updated.
**Returns**

- ([::Google::Cloud::Notebooks::V1::Runtime](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-Runtime)) --- Required. The Runtime to be updated.

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Protobuf-FieldMask)) ---

  Required. Specifies the path, relative to `Runtime`, of
  the field to update. For example, to change the software configuration
  kernels, the `update_mask` parameter would be
  specified as `software_config.kernels`,
  and the `PATCH` request body would specify the new value, as follows:

      {
        "software_config":{
          "kernels": [{
             'repository':
             'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
             'latest' }],
          }
      }

  Currently, only the following fields can be updated:
  - `software_config.kernels`
  - `software_config.post_startup_script`
  - `software_config.custom_gpu_driver_path`
  - `software_config.idle_shutdown`
  - `software_config.idle_shutdown_timeout`
  - `software_config.disable_terminal`

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Protobuf-FieldMask)) ---

  Required. Specifies the path, relative to `Runtime`, of
  the field to update. For example, to change the software configuration
  kernels, the `update_mask` parameter would be
  specified as `software_config.kernels`,
  and the `PATCH` request body would specify the new value, as follows:

      {
        "software_config":{
          "kernels": [{
             'repository':
             'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
             'latest' }],
          }
      }

  Currently, only the following fields can be updated:
  - `software_config.kernels`
  - `software_config.post_startup_script`
  - `software_config.custom_gpu_driver_path`
  - `software_config.idle_shutdown`
  - `software_config.idle_shutdown_timeout`
  - `software_config.disable_terminal`
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Protobuf-FieldMask)) ---

  Required. Specifies the path, relative to `Runtime`, of
  the field to update. For example, to change the software configuration
  kernels, the `update_mask` parameter would be
  specified as `software_config.kernels`,
  and the `PATCH` request body would specify the new value, as follows:

      {
        "software_config":{
          "kernels": [{
             'repository':
             'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
             'latest' }],
          }
      }

  Currently, only the following fields can be updated:
  - `software_config.kernels`
  - `software_config.post_startup_script`
  - `software_config.custom_gpu_driver_path`
  - `software_config.idle_shutdown`
  - `software_config.idle_shutdown_timeout`
  - `software_config.disable_terminal`