Stay organized with collections Save and categorize content based on your preferences.
Instance(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A Memorystore for Redis instance.
Attributes Name Descriptionname
str
projects/{project_id}/locations/{location_id}/instances/{instance_id}
Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details. display_name
str
labels
MutableMapping[str, str]
location_id
str
alternative_location_id
str
redis_version
str
REDIS_3_2
for Redis 3.2 compatibility - REDIS_4_0
for Redis 4.0 compatibility (default) - REDIS_5_0
for Redis 5.0 compatibility - REDIS_6_X
for Redis 6.x compatibility reserved_ip_range
str
secondary_ip_range
str
host
str
port
int
current_location_id
str
create_time
google.protobuf.timestamp_pb2.Timestamp
state
google.cloud.redis_v1.types.Instance.State
status_message
str
redis_configs
MutableMapping[str, str]
tier
google.cloud.redis_v1.types.Instance.Tier
memory_size_gb
int
authorized_network
str
network
__ to which the instance is connected. If left unspecified, the default
network will be used. persistence_iam_identity
str
connect_mode
google.cloud.redis_v1.types.Instance.ConnectMode
auth_enabled
bool
server_ca_certs
MutableSequence[google.cloud.redis_v1.types.TlsCertificate]
transit_encryption_mode
google.cloud.redis_v1.types.Instance.TransitEncryptionMode
maintenance_policy
google.cloud.redis_v1.types.MaintenancePolicy
maintenance_schedule
google.cloud.redis_v1.types.MaintenanceSchedule
replica_count
int
nodes
MutableSequence[google.cloud.redis_v1.types.NodeInfo]
read_endpoint
str
read_endpoint_port
int
read_replicas_mode
google.cloud.redis_v1.types.Instance.ReadReplicasMode
customer_managed_key
str
persistence_config
google.cloud.redis_v1.types.PersistenceConfig
suspension_reasons
MutableSequence[google.cloud.redis_v1.types.Instance.SuspensionReason]
maintenance_version
str
available_maintenance_versions
MutableSequence[str]
Available connection modes.
Values: CONNECT_MODE_UNSPECIFIED (0): Not set. DIRECT_PEERING (1): Connect via direct peering to the Memorystore for Redis hosted service. PRIVATE_SERVICE_ACCESS (2): Connect your Memorystore for Redis instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Memorystore.
LabelsEntryLabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters Name Descriptionkwargs
dict
Keys and values corresponding to the fields of the message.
mapping
Union[dict, .Message
]
A dictionary or message to be used to determine the values for this message.
ignore_unknown_fields
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if mapping
is a mapping type or there are keyword parameters.
Read replicas mode.
Values: READ_REPLICAS_MODE_UNSPECIFIED (0): If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED. READ_REPLICAS_DISABLED (1): If disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas. READ_REPLICAS_ENABLED (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.
RedisConfigsEntryRedisConfigsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters Name Descriptionkwargs
dict
Keys and values corresponding to the fields of the message.
mapping
Union[dict, .Message
]
A dictionary or message to be used to determine the values for this message.
ignore_unknown_fields
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if mapping
is a mapping type or there are keyword parameters.
Represents the different states of a Redis instance.
Values: STATE_UNSPECIFIED (0): Not set. CREATING (1): Redis instance is being created. READY (2): Redis instance has been created and is fully usable. UPDATING (3): Redis instance configuration is being updated. Certain kinds of updates may cause the instance to become unusable while the update is in progress. DELETING (4): Redis instance is being deleted. REPAIRING (5): Redis instance is being repaired and may be unusable. MAINTENANCE (6): Maintenance is being performed on this Redis instance. IMPORTING (8): Redis instance is importing data (availability may be affected). FAILING_OVER (9): Redis instance is failing over (availability may be affected).
SuspensionReasonPossible reasons for the instance to be in a "SUSPENDED" state.
Values: SUSPENSION_REASON_UNSPECIFIED (0): Not set. CUSTOMER_MANAGED_KEY_ISSUE (1): Something wrong with the CMEK key provided by customer.
TierAvailable service tiers to choose from
Values: TIER_UNSPECIFIED (0): Not set. BASIC (1): BASIC tier: standalone instance STANDARD_HA (3): STANDARD_HA tier: highly available primary/replica instances
TransitEncryptionModeTransitEncryptionMode(value)
Available TLS modes.
Values: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED (0): Not set. SERVER_AUTHENTICATION (1): Client to Server traffic encryption enabled with server authentication. DISABLED (2): TLS is disabled for the instance.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["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-08-07 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4