# Notebooks V2 API - Class Google::Cloud::Notebooks::V2::RollbackInstanceRequest (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::RollbackInstanceRequest.

Request for rollbacking a notebook instance

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
**Returns**

- (::String) --- Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`

### #revision_id

    def revision_id() -> ::String

**Returns**

- (::String) --- Required. Output only. Revision Id

### #target_snapshot

    def target_snapshot() -> ::String

**Returns**

- (::String) --- Required. The snapshot for rollback. Example: "projects/test-project/global/snapshots/krwlzipynril".

### #target_snapshot=

    def target_snapshot=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The snapshot for rollback. Example: "projects/test-project/global/snapshots/krwlzipynril".
**Returns**

- (::String) --- Required. The snapshot for rollback. Example: "projects/test-project/global/snapshots/krwlzipynril".