# Google Cloud Memorystore for Redis V1BETA1 API - Class Google::Cloud::Redis::Cluster::V1beta1::CreateClusterRequest (v0.11.0)

0.11.0 (latest) 0.10.0 0.9.1 0.8.0 0.7.1 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Google Cloud Memorystore for Redis V1BETA1 API class Google::Cloud::Redis::Cluster::V1beta1::CreateClusterRequest.

Request for \[CreateCluster\]\[CloudRedis.CreateCluster\].

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cluster

    def cluster() -> ::Google::Cloud::Redis::Cluster::V1beta1::Cluster

**Returns**

- ([::Google::Cloud::Redis::Cluster::V1beta1::Cluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1beta1/latest/Google-Cloud-Redis-Cluster-V1beta1-Cluster)) --- Required. The cluster that is to be created.

### #cluster=

    def cluster=(value) -> ::Google::Cloud::Redis::Cluster::V1beta1::Cluster

**Parameter**

- **value** ([::Google::Cloud::Redis::Cluster::V1beta1::Cluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1beta1/latest/Google-Cloud-Redis-Cluster-V1beta1-Cluster)) --- Required. The cluster that is to be created.
**Returns**

- ([::Google::Cloud::Redis::Cluster::V1beta1::Cluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1beta1/latest/Google-Cloud-Redis-Cluster-V1beta1-Cluster)) --- Required. The cluster that is to be created.

### #cluster_id

    def cluster_id() -> ::String

**Returns**

- (::String) --- Required. The logical name of the Redis cluster in the customer project
  with the following restrictions:

  - Must contain only lowercase letters, numbers, and hyphens.
  - Must start with a letter.
  - Must be between 1-63 characters.
  - Must end with a number or a letter.
  - Must be unique within the customer project / location

### #cluster_id=

    def cluster_id=(value) -> ::String

**Parameter**

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

  Required. The logical name of the Redis cluster in the customer project
  with the following restrictions:
  - Must contain only lowercase letters, numbers, and hyphens.
  - Must start with a letter.
  - Must be between 1-63 characters.
  - Must end with a number or a letter.
  - Must be unique within the customer project / location
**Returns**

- (::String) --- Required. The logical name of the Redis cluster in the customer project
  with the following restrictions:

  - Must contain only lowercase letters, numbers, and hyphens.
  - Must start with a letter.
  - Must be between 1-63 characters.
  - Must end with a number or a letter.
  - Must be unique within the customer project / location

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.
**Returns**

- (::String) --- Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.

### #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.