Package Classes (2.16.1)

Summary of entries of Classes for redis.

Classes

CloudRedisAsyncClient

Configures and manages Cloud Memorystore for Redis instances

Google Cloud Memorystore for Redis v1

The redis.googleapis.com service implements the Google Cloud Memorystore for Redis API and defines the following resource model for managing Redis instances:

  • The service works with a collection of cloud projects, named: /projects/*
  • Each project has a collection of available locations, named: /locations/*
  • Each location has a collection of Redis instances, named: /instances/*
  • As such, Redis instances are resources of the form: /projects/{project_id}/locations/{location_id}/instances/{instance_id}

Note that location_id must be referring to a GCP region; for example:

  • projects/redpepper-1290/locations/us-central1/instances/my-redis

CloudRedisClient

Configures and manages Cloud Memorystore for Redis instances

Google Cloud Memorystore for Redis v1

The redis.googleapis.com service implements the Google Cloud Memorystore for Redis API and defines the following resource model for managing Redis instances:

  • The service works with a collection of cloud projects, named: /projects/*
  • Each project has a collection of available locations, named: /locations/*
  • Each location has a collection of Redis instances, named: /instances/*
  • As such, Redis instances are resources of the form: /projects/{project_id}/locations/{location_id}/instances/{instance_id}

Note that location_id must be referring to a GCP region; for example:

  • projects/redpepper-1290/locations/us-central1/instances/my-redis

ListInstancesAsyncPager

A pager for iterating through list_instances requests.

This class thinly wraps an initial ListInstancesResponse object, and provides an __aiter__ method to iterate through its instances field.

If there are more pages, the __aiter__ method will make additional ListInstances requests and continue to iterate through the instances field on the corresponding responses.

All the usual ListInstancesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListInstancesPager

A pager for iterating through list_instances requests.

This class thinly wraps an initial ListInstancesResponse object, and provides an __iter__ method to iterate through its instances field.

If there are more pages, the __iter__ method will make additional ListInstances requests and continue to iterate through the instances field on the corresponding responses.

All the usual ListInstancesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

CreateInstanceRequest

Request for CreateInstance.

DeleteInstanceRequest

Request for DeleteInstance.

ExportInstanceRequest

Request for Export.

FailoverInstanceRequest

Request for Failover.

DataProtectionMode

Specifies different modes of operation in relation to the data retention.

GcsDestination

The Cloud Storage location for the output content

GcsSource

The Cloud Storage location for the input content

GetInstanceAuthStringRequest

Request for GetInstanceAuthString.

GetInstanceRequest

Request for GetInstance.

ImportInstanceRequest

Request for Import.

InputConfig

The input content

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Instance

A Memorystore for Redis instance.

ConnectMode

Available connection modes.

LabelsEntry

The abstract base class for a message.

ReadReplicasMode

Read replicas mode.

RedisConfigsEntry

The abstract base class for a message.

State

Represents the different states of a Redis instance.

SuspensionReason

Possible reasons for the instance to be in a "SUSPENDED" state.

Tier

Available service tiers to choose from

TransitEncryptionMode

Available TLS modes.

InstanceAuthString

Instance AUTH string details.

ListInstancesRequest

Request for ListInstances.

ListInstancesResponse

Response for ListInstances.

LocationMetadata

This location metadata represents additional configuration options for a given location where a Redis instance may be created. All fields are output only. It is returned as content of the google.cloud.location.Location.metadata field.

AvailableZonesEntry

The abstract base class for a message.

MaintenancePolicy

Maintenance policy for an instance.

MaintenanceSchedule

Upcoming maintenance schedule. If no maintenance is scheduled, fields are not populated.

NodeInfo

Node specific properties.

OperationMetadata

Represents the v1 metadata of the long-running operation.

OutputConfig

The output content

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

PersistenceConfig

Configuration of the persistence functionality.

PersistenceMode

Available Persistence modes.

SnapshotPeriod

Available snapshot periods for scheduling.

RescheduleMaintenanceRequest

Request for RescheduleMaintenance.

RescheduleType

Reschedule options.

TlsCertificate

TlsCertificate Resource

UpdateInstanceRequest

Request for UpdateInstance.

UpgradeInstanceRequest

Request for UpgradeInstance.

WeeklyMaintenanceWindow

Time window in which disruptive maintenance updates occur. Non-disruptive updates can occur inside or outside this window.

ZoneMetadata

Defines specific information for a particular zone. Currently empty and reserved for future use only.

CloudRedisAsyncClient

Configures and manages Cloud Memorystore for Redis instances

Google Cloud Memorystore for Redis v1beta1

The redis.googleapis.com service implements the Google Cloud Memorystore for Redis API and defines the following resource model for managing Redis instances:

  • The service works with a collection of cloud projects, named: /projects/*
  • Each project has a collection of available locations, named: /locations/*
  • Each location has a collection of Redis instances, named: /instances/*
  • As such, Redis instances are resources of the form: /projects/{project_id}/locations/{location_id}/instances/{instance_id}

Note that location_id must be referring to a GCP region; for example:

  • projects/redpepper-1290/locations/us-central1/instances/my-redis

CloudRedisClient

Configures and manages Cloud Memorystore for Redis instances

Google Cloud Memorystore for Redis v1beta1

The redis.googleapis.com service implements the Google Cloud Memorystore for Redis API and defines the following resource model for managing Redis instances:

  • The service works with a collection of cloud projects, named: /projects/*
  • Each project has a collection of available locations, named: /locations/*
  • Each location has a collection of Redis instances, named: /instances/*
  • As such, Redis instances are resources of the form: /projects/{project_id}/locations/{location_id}/instances/{instance_id}

Note that location_id must be referring to a GCP region; for example:

  • projects/redpepper-1290/locations/us-central1/instances/my-redis

ListInstancesAsyncPager

A pager for iterating through list_instances requests.

This class thinly wraps an initial ListInstancesResponse object, and provides an __aiter__ method to iterate through its instances field.

If there are more pages, the __aiter__ method will make additional ListInstances requests and continue to iterate through the instances field on the corresponding responses.

All the usual ListInstancesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListInstancesPager

A pager for iterating through list_instances requests.

This class thinly wraps an initial ListInstancesResponse object, and provides an __iter__ method to iterate through its instances field.

If there are more pages, the __iter__ method will make additional ListInstances requests and continue to iterate through the instances field on the corresponding responses.

All the usual ListInstancesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

CreateInstanceRequest

Request for CreateInstance.

DeleteInstanceRequest

Request for DeleteInstance.

ExportInstanceRequest

Request for Export.

FailoverInstanceRequest

Request for Failover.

DataProtectionMode

Specifies different modes of operation in relation to the data retention.

GcsDestination

The Cloud Storage location for the output content

GcsSource

The Cloud Storage location for the input content

GetInstanceAuthStringRequest

Request for GetInstanceAuthString.

GetInstanceRequest

Request for GetInstance.

ImportInstanceRequest

Request for Import.

InputConfig

The input content

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Instance

A Memorystore for Redis instance.

ConnectMode

Available connection modes.

LabelsEntry

The abstract base class for a message.

ReadReplicasMode

Read replicas mode.

RedisConfigsEntry

The abstract base class for a message.

State

Represents the different states of a Redis instance.

Tier

Available service tiers to choose from

TransitEncryptionMode

Available TLS modes.

InstanceAuthString

Instance AUTH string details.

ListInstancesRequest

Request for ListInstances.

ListInstancesResponse

Response for ListInstances.

LocationMetadata

This location metadata represents additional configuration options for a given location where a Redis instance may be created. All fields are output only. It is returned as content of the google.cloud.location.Location.metadata field.

AvailableZonesEntry

The abstract base class for a message.

MaintenancePolicy

Maintenance policy for an instance.

MaintenanceSchedule

Upcoming maintenance schedule. If no maintenance is scheduled, fields are not populated.

NodeInfo

Node specific properties.

OutputConfig

The output content

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

PersistenceConfig

Configuration of the persistence functionality.

PersistenceMode

Available Persistence modes.

SnapshotPeriod

Available snapshot periods for scheduling.

RescheduleMaintenanceRequest

Request for RescheduleMaintenance.

RescheduleType

Reschedule options.

TlsCertificate

TlsCertificate Resource

UpdateInstanceRequest

Request for UpdateInstance.

UpgradeInstanceRequest

Request for UpgradeInstance.

WeeklyMaintenanceWindow

Time window in which disruptive maintenance updates occur. Non-disruptive updates can occur inside or outside this window.

ZoneMetadata

Defines specific information for a particular zone. Currently empty and reserved for future use only.

Modules

pagers

API documentation for redis_v1.services.cloud_redis.pagers module.

pagers

API documentation for redis_v1beta1.services.cloud_redis.pagers module.