# Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::RestoreChannel (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.0 0.7.2 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::RestoreChannel.

A RestoreChannel imposes constraints on where backups can be restored.
The RestoreChannel should be in the same project and region
as the backups. The backups can only be restored in the
`destination_project`.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when this RestoreChannel was created.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Optional. User specified descriptive string for this RestoreChannel.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. User specified descriptive string for this RestoreChannel.
**Returns**

- (::String) --- Optional. User specified descriptive string for this RestoreChannel.

### #destination_project

    def destination_project() -> ::String

**Returns**

- (::String) --- Required. Immutable. The project into which the backups will be restored. The format is `projects/{projectId}` or `projects/{projectNumber}`.

### #destination_project=

    def destination_project=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Immutable. The project into which the backups will be restored. The format is `projects/{projectId}` or `projects/{projectNumber}`.
**Returns**

- (::String) --- Required. Immutable. The project into which the backups will be restored. The format is `projects/{projectId}` or `projects/{projectNumber}`.

### #destination_project_id

    def destination_project_id() -> ::String

**Returns**

- (::String) --- Output only. The project_id where backups will be restored. Example Project ID: "my-project-id". This will be an OUTPUT_ONLY field to return the project_id of the destination project.

### #etag

    def etag() -> ::String

**Returns**

- (::String) --- Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a RestoreChannel from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform RestoreChannel updates in order to avoid race conditions: An `etag` is returned in the response to `GetRestoreChannel`, and systems are expected to put that etag in the request to `UpdateRestoreChannel` or `DeleteRestoreChannel` to ensure that their change will be applied to the same version of the resource.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. A set of custom labels supplied by user.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. A set of custom labels supplied by user.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. A set of custom labels supplied by user.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The fully qualified name of the RestoreChannel. `projects/*/locations/*/restoreChannels/*`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The fully qualified name of the RestoreChannel. `projects/*/locations/*/restoreChannels/*`
**Returns**

- (::String) --- Identifier. The fully qualified name of the RestoreChannel. `projects/*/locations/*/restoreChannels/*`

### #uid

    def uid() -> ::String

**Returns**

- (::String) --- Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when this RestoreChannel was last updated.