Module types (0.3.0)

API documentation for redis_v1.types module.

Classes

Any

API documentation for redis_v1.types.Any class.

CancelOperationRequest

API documentation for redis_v1.types.CancelOperationRequest class.

CreateInstanceRequest

Request for CreateInstance.

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

DeleteInstanceRequest

Request for DeleteInstance.

DeleteOperationRequest

API documentation for redis_v1.types.DeleteOperationRequest class.

ExportInstanceRequest

Request for Export.

Required. Specify data to be exported.

FailoverInstanceRequest

Request for Failover.

Optional. Available data protection modes that the user can choose. If it's unspecified, data protection mode will be LIMITED_DATA_LOSS by default.

FieldMask

API documentation for redis_v1.types.FieldMask class.

GcsDestination

The Cloud Storage location for the output content

GcsSource

The Cloud Storage location for the input content

GetInstanceRequest

Request for GetInstance.

GetOperationRequest

API documentation for redis_v1.types.GetOperationRequest class.

ImportInstanceRequest

Request for Import.

Required. Specify data to be imported.

InputConfig

The input content

Google Cloud Storage location where input content is located.

Instance

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.

ListInstancesRequest

Request for ListInstances.

The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's [next_page_ token][CloudRedis.ListInstancesResponse.next_page_token] to determine if there are more instances left to be queried.

ListInstancesResponse

Response for ListInstances.

Token to retrieve the next page of results, or empty if there are no more results in the list.

ListOperationsRequest

API documentation for redis_v1.types.ListOperationsRequest class.

ListOperationsResponse

API documentation for redis_v1.types.ListOperationsResponse class.

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.

Operation

API documentation for redis_v1.types.Operation class.

OperationInfo

API documentation for redis_v1.types.OperationInfo class.

OperationMetadata

Represents the v1 metadata of the long-running operation.

End timestamp.

Operation verb.

Specifies if cancellation was requested for the operation.

OutputConfig

The output content

Google Cloud Storage destination for output content.

Status

API documentation for redis_v1.types.Status class.

Timestamp

API documentation for redis_v1.types.Timestamp class.

UpdateInstanceRequest

Request for UpdateInstance.

Required. Update description. Only fields specified in update_mask are updated.

WaitOperationRequest

API documentation for redis_v1.types.WaitOperationRequest class.

ZoneMetadata

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