# Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::CreateRestoreChannelRequest (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::CreateRestoreChannelRequest.

Request message for CreateRestoreChannel.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The location within which to create the RestoreChannel. Format: `projects/*/locations/*`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The location within which to create the RestoreChannel. Format: `projects/*/locations/*`
**Returns**

- (::String) --- Required. The location within which to create the RestoreChannel. Format: `projects/*/locations/*`

### #restore_channel

    def restore_channel() -> ::Google::Cloud::GkeBackup::V1::RestoreChannel

**Returns**

- ([::Google::Cloud::GkeBackup::V1::RestoreChannel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-RestoreChannel)) --- Required. The RestoreChannel resource object to create.

### #restore_channel=

    def restore_channel=(value) -> ::Google::Cloud::GkeBackup::V1::RestoreChannel

**Parameter**

- **value** ([::Google::Cloud::GkeBackup::V1::RestoreChannel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-RestoreChannel)) --- Required. The RestoreChannel resource object to create.
**Returns**

- ([::Google::Cloud::GkeBackup::V1::RestoreChannel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-RestoreChannel)) --- Required. The RestoreChannel resource object to create.

### #restore_channel_id

    def restore_channel_id() -> ::String

**Returns**

- (::String) --- Optional. The client-provided short name for the RestoreChannel resource.
  This name must:

  - be between 1 and 63 characters long (inclusive)
  - consist of only lower-case ASCII letters, numbers, and dashes
  - start with a lower-case letter
  - end with a lower-case letter or number
  - be unique within the set of RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.

### #restore_channel_id=

    def restore_channel_id=(value) -> ::String

**Parameter**

- **value** (::String) ---

  Optional. The client-provided short name for the RestoreChannel resource.
  This name must:
  - be between 1 and 63 characters long (inclusive)
  - consist of only lower-case ASCII letters, numbers, and dashes
  - start with a lower-case letter
  - end with a lower-case letter or number
  - be unique within the set of RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.
**Returns**

- (::String) --- Optional. The client-provided short name for the RestoreChannel resource.
  This name must:

  - be between 1 and 63 characters long (inclusive)
  - consist of only lower-case ASCII letters, numbers, and dashes
  - start with a lower-case letter
  - end with a lower-case letter or number
  - be unique within the set of RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.