Reference documentation and code samples for the Google Cloud Memorystore for Redis V1beta1 API module Google::Cloud::Redis::V1beta1::Instance::ReadReplicasMode.
Read replicas mode.
Constants
READ_REPLICAS_MODE_UNSPECIFIED
value: 0 If not set, Memorystore Redis backend will default to
READ_REPLICAS_DISABLED.
READ_REPLICAS_DISABLED
value: 1 If disabled, read endpoint will not be provided and the instance cannot
scale up or down the number of replicas.
READ_REPLICAS_ENABLED
value: 2 If enabled, read endpoint will be provided and the instance can scale
up and down the number of replicas. Not valid for basic tier.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Memorystore for Redis V1beta1 API - Module Google::Cloud::Redis::V1beta1::Instance::ReadReplicasMode (v0.17.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.17.0 (latest)](/ruby/docs/reference/google-cloud-redis-v1beta1/latest/Google-Cloud-Redis-V1beta1-Instance-ReadReplicasMode)\n- [0.16.1](/ruby/docs/reference/google-cloud-redis-v1beta1/0.16.1/Google-Cloud-Redis-V1beta1-Instance-ReadReplicasMode)\n- [0.15.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.15.0/Google-Cloud-Redis-V1beta1-Instance-ReadReplicasMode)\n- [0.14.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.14.0/Google-Cloud-Redis-V1beta1-Instance-ReadReplicasMode)\n- [0.13.2](/ruby/docs/reference/google-cloud-redis-v1beta1/0.13.2/Google-Cloud-Redis-V1beta1-Instance-ReadReplicasMode)\n- [0.12.2](/ruby/docs/reference/google-cloud-redis-v1beta1/0.12.2/Google-Cloud-Redis-V1beta1-Instance-ReadReplicasMode)\n- [0.11.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.11.0/Google-Cloud-Redis-V1beta1-Instance-ReadReplicasMode)\n- [0.10.1](/ruby/docs/reference/google-cloud-redis-v1beta1/0.10.1/Google-Cloud-Redis-V1beta1-Instance-ReadReplicasMode)\n- [0.9.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.9.0/Google-Cloud-Redis-V1beta1-Instance-ReadReplicasMode)\n- [0.8.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.8.0/Google-Cloud-Redis-V1beta1-Instance-ReadReplicasMode)\n- [0.7.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.7.0/Google-Cloud-Redis-V1beta1-Instance-ReadReplicasMode)\n- [0.6.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.6.0/Google-Cloud-Redis-V1beta1-Instance-ReadReplicasMode)\n- [0.5.1](/ruby/docs/reference/google-cloud-redis-v1beta1/0.5.1/Google-Cloud-Redis-V1beta1-Instance-ReadReplicasMode) \nReference documentation and code samples for the Google Cloud Memorystore for Redis V1beta1 API module Google::Cloud::Redis::V1beta1::Instance::ReadReplicasMode.\n\nRead replicas mode.\n\nConstants\n---------\n\n### READ_REPLICAS_MODE_UNSPECIFIED\n\n**value:** 0 \nIf not set, Memorystore Redis backend will default to\nREAD_REPLICAS_DISABLED.\n\n### READ_REPLICAS_DISABLED\n\n**value:** 1 \nIf disabled, read endpoint will not be provided and the instance cannot\nscale up or down the number of replicas.\n\n### READ_REPLICAS_ENABLED\n\n**value:** 2 \nIf enabled, read endpoint will be provided and the instance can scale\nup and down the number of replicas. Not valid for basic tier."]]