# Notebooks V2 API - Class Google::Cloud::Notebooks::V2::UpdateInstanceRequest (v1.5.0)

1.5.0 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.6.0 0.5.0 0.4.2 0.3.2 0.2.0 0.1.0 Reference documentation and code samples for the Notebooks V2 API class Google::Cloud::Notebooks::V2::UpdateInstanceRequest.

Request for updating a notebook instance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #instance

    def instance() -> ::Google::Cloud::Notebooks::V2::Instance

**Returns**

- ([::Google::Cloud::Notebooks::V2::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v2/latest/Google-Cloud-Notebooks-V2-Instance)) --- Required. A representation of an instance.

### #instance=

    def instance=(value) -> ::Google::Cloud::Notebooks::V2::Instance

**Parameter**

- **value** ([::Google::Cloud::Notebooks::V2::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v2/latest/Google-Cloud-Notebooks-V2-Instance)) --- Required. A representation of an instance.
**Returns**

- ([::Google::Cloud::Notebooks::V2::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v2/latest/Google-Cloud-Notebooks-V2-Instance)) --- Required. A representation of an instance.

### #request_id

    def request_id() -> ::String

**Returns**

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

### #request_id=

    def request_id=(value) -> ::String

**Parameter**

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

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

### #update_mask

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

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v2/latest/Google-Protobuf-FieldMask)) --- Required. Mask used to update an instance

### #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-v2/latest/Google-Protobuf-FieldMask)) --- Required. Mask used to update an instance
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v2/latest/Google-Protobuf-FieldMask)) --- Required. Mask used to update an instance