Reference documentation and code samples for the Google Cloud Memorystore for Redis V1beta1 API class Google::Cloud::Redis::V1beta1::CreateInstanceRequest.
Request for CreateInstance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#instance
def instance() -> ::Google::Cloud::Redis::V1beta1::Instance
- (::Google::Cloud::Redis::V1beta1::Instance) — Required. A Redis [Instance] resource
#instance=
def instance=(value) -> ::Google::Cloud::Redis::V1beta1::Instance
- value (::Google::Cloud::Redis::V1beta1::Instance) — Required. A Redis [Instance] resource
- (::Google::Cloud::Redis::V1beta1::Instance) — Required. A Redis [Instance] resource
#instance_id
def instance_id() -> ::String
-
(::String) —
Required. The logical name of the Redis instance 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-40 characters.
- Must end with a number or a letter.
- Must be unique within the customer project / location
#instance_id=
def instance_id=(value) -> ::String
-
value (::String) —
Required. The logical name of the Redis instance 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-40 characters.
- Must end with a number or a letter.
- Must be unique within the customer project / location
-
(::String) —
Required. The logical name of the Redis instance 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-40 characters.
- Must end with a number or a letter.
- Must be unique within the customer project / location
#parent
def parent() -> ::String
-
(::String) — Required. The resource name of the instance location using the form:
projects/{project_id}/locations/{location_id}
wherelocation_id
refers to a GCP region.
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The resource name of the instance location using the form:
projects/{project_id}/locations/{location_id}
wherelocation_id
refers to a GCP region.
-
(::String) — Required. The resource name of the instance location using the form:
projects/{project_id}/locations/{location_id}
wherelocation_id
refers to a GCP region.