Class Instance (0.3.0)

A Google Cloud Redis instance.

An arbitrary and optional user-provided name for the instance.

Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If [alternative_location_id] is also provided, it must be different from [location_id].

Optional. The version of Redis software. If not provided, latest supported version will be used. Updating the version will perform an upgrade/downgrade to the new version. Currently, the supported values are: - REDIS_4_0 for Redis 4.0 compatibility (default) - REDIS_3_2 for Redis 3.2 compatibility

Output only. Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.

Output only. The current zone where the Redis endpoint is placed. For Basic Tier instances, this will always be the same as the [location_id] provided by the user at creation time. For Standard Tier instances, this can be either [location_id] or [alternative_location_id] and can change after a failover event.

Output only. The current state of this instance.

Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis 3.2 and above: - maxmemory-policy - notify-keyspace-events Redis 4.0 and above: - activedefrag

  • lfu-log-factor - lfu-decay-time

    Required. Redis memory size in GiB.

    Output only. Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is "serviceAccount:". The value may change over time for a given instance so should be checked before each import/export operation.

Inheritance

builtins.object > google.protobuf.pyext._message.CMessage > builtins.object > google.protobuf.message.Message > Instance

Classes

LabelsEntry

API documentation for redis_v1beta1.types.Instance.LabelsEntry class.

RedisConfigsEntry

API documentation for redis_v1beta1.types.Instance.RedisConfigsEntry class.