gogol-redis-0.4.0: Google Cloud Memorystore for Redis SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Redis.Types

Contents

Description

 
Synopsis

Service Configuration

redisService :: ServiceConfig Source #

Default request referring to version v1 of the Google Cloud Memorystore for Redis API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #

View and manage your data across Google Cloud Platform services

InstanceLabels

data InstanceLabels Source #

Resource labels to represent user provided metadata

See: instanceLabels smart constructor.

Instances
Eq InstanceLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data InstanceLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstanceLabels -> c InstanceLabels #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstanceLabels #

toConstr :: InstanceLabels -> Constr #

dataTypeOf :: InstanceLabels -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InstanceLabels) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstanceLabels) #

gmapT :: (forall b. Data b => b -> b) -> InstanceLabels -> InstanceLabels #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstanceLabels -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstanceLabels -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstanceLabels -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstanceLabels -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstanceLabels -> m InstanceLabels #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceLabels -> m InstanceLabels #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceLabels -> m InstanceLabels #

Show InstanceLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic InstanceLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep InstanceLabels :: Type -> Type #

ToJSON InstanceLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON InstanceLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep InstanceLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep InstanceLabels = D1 (MetaData "InstanceLabels" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" True) (C1 (MetaCons "InstanceLabels'" PrefixI True) (S1 (MetaSel (Just "_ilAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

instanceLabels Source #

Creates a value of InstanceLabels with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Status

data Status Source #

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` that can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.

See: status smart constructor.

Instances
Eq Status Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Data Status Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status #

toConstr :: Status -> Constr #

dataTypeOf :: Status -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) #

gmapT :: (forall b. Data b => b -> b) -> Status -> Status #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

Show Status Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic Status Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

ToJSON Status Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON Status Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep Status Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep Status = D1 (MetaData "Status" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

status :: Status Source #

Creates a value of Status with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sDetails :: Lens' Status [StatusDetailsItem] Source #

A list of messages that carry the error details. There is a common set of message types for APIs to use.

sCode :: Lens' Status (Maybe Int32) Source #

The status code, which should be an enum value of google.rpc.Code.

sMessage :: Lens' Status (Maybe Text) Source #

A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

ListLocationsResponse

data ListLocationsResponse Source #

The response message for Locations.ListLocations.

See: listLocationsResponse smart constructor.

Instances
Eq ListLocationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data ListLocationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListLocationsResponse -> c ListLocationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListLocationsResponse #

toConstr :: ListLocationsResponse -> Constr #

dataTypeOf :: ListLocationsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListLocationsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListLocationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListLocationsResponse -> ListLocationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListLocationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListLocationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListLocationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListLocationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListLocationsResponse -> m ListLocationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListLocationsResponse -> m ListLocationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListLocationsResponse -> m ListLocationsResponse #

Show ListLocationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic ListLocationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep ListLocationsResponse :: Type -> Type #

ToJSON ListLocationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON ListLocationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep ListLocationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep ListLocationsResponse = D1 (MetaData "ListLocationsResponse" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" False) (C1 (MetaCons "ListLocationsResponse'" PrefixI True) (S1 (MetaSel (Just "_llrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_llrLocations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Location]))))

listLocationsResponse :: ListLocationsResponse Source #

Creates a value of ListLocationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

llrNextPageToken :: Lens' ListLocationsResponse (Maybe Text) Source #

The standard List next-page token.

llrLocations :: Lens' ListLocationsResponse [Location] Source #

A list of locations that matches the specified filter in the request.

ListOperationsResponse

data ListOperationsResponse Source #

The response message for Operations.ListOperations.

See: listOperationsResponse smart constructor.

Instances
Eq ListOperationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data ListOperationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListOperationsResponse -> c ListOperationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListOperationsResponse #

toConstr :: ListOperationsResponse -> Constr #

dataTypeOf :: ListOperationsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListOperationsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListOperationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListOperationsResponse -> ListOperationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListOperationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListOperationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListOperationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListOperationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListOperationsResponse -> m ListOperationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListOperationsResponse -> m ListOperationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListOperationsResponse -> m ListOperationsResponse #

Show ListOperationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic ListOperationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep ListOperationsResponse :: Type -> Type #

ToJSON ListOperationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON ListOperationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep ListOperationsResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep ListOperationsResponse = D1 (MetaData "ListOperationsResponse" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" False) (C1 (MetaCons "ListOperationsResponse'" PrefixI True) (S1 (MetaSel (Just "_lorNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lorOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation]))))

listOperationsResponse :: ListOperationsResponse Source #

Creates a value of ListOperationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text) Source #

The standard List next-page token.

lorOperations :: Lens' ListOperationsResponse [Operation] Source #

A list of operations that matches the specified filter in the request.

Location

data Location Source #

A resource that represents Google Cloud Platform location.

See: location smart constructor.

Instances
Eq Location Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data Location Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Location -> c Location #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Location #

toConstr :: Location -> Constr #

dataTypeOf :: Location -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Location) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Location) #

gmapT :: (forall b. Data b => b -> b) -> Location -> Location #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Location -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Location -> r #

gmapQ :: (forall d. Data d => d -> u) -> Location -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Location -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Location -> m Location #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Location -> m Location #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Location -> m Location #

Show Location Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic Location Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep Location :: Type -> Type #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

ToJSON Location Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON Location Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep Location Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

location :: Location Source #

Creates a value of Location with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lName :: Lens' Location (Maybe Text) Source #

Full resource name for the region. For example: "projects/example-project/locations/us-east1".

lMetadata :: Lens' Location (Maybe LocationMetadata) Source #

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by Compute Engine. These keys can be specified in `location_id` or `alternative_location_id` fields when creating a Redis instance.

lDisplayName :: Lens' Location (Maybe Text) Source #

The friendly name for this location, typically a nearby city name. For example, "Tokyo".

lLabels :: Lens' Location (Maybe LocationLabels) Source #

Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}

lLocationId :: Lens' Location (Maybe Text) Source #

Resource ID for the region. For example: "us-east1".

GoogleCloudRedisV1ZoneMetadata

data GoogleCloudRedisV1ZoneMetadata Source #

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

See: googleCloudRedisV1ZoneMetadata smart constructor.

Instances
Eq GoogleCloudRedisV1ZoneMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data GoogleCloudRedisV1ZoneMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudRedisV1ZoneMetadata -> c GoogleCloudRedisV1ZoneMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudRedisV1ZoneMetadata #

toConstr :: GoogleCloudRedisV1ZoneMetadata -> Constr #

dataTypeOf :: GoogleCloudRedisV1ZoneMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudRedisV1ZoneMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudRedisV1ZoneMetadata) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudRedisV1ZoneMetadata -> GoogleCloudRedisV1ZoneMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudRedisV1ZoneMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudRedisV1ZoneMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudRedisV1ZoneMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudRedisV1ZoneMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudRedisV1ZoneMetadata -> m GoogleCloudRedisV1ZoneMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudRedisV1ZoneMetadata -> m GoogleCloudRedisV1ZoneMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudRedisV1ZoneMetadata -> m GoogleCloudRedisV1ZoneMetadata #

Show GoogleCloudRedisV1ZoneMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic GoogleCloudRedisV1ZoneMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep GoogleCloudRedisV1ZoneMetadata :: Type -> Type #

ToJSON GoogleCloudRedisV1ZoneMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON GoogleCloudRedisV1ZoneMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep GoogleCloudRedisV1ZoneMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep GoogleCloudRedisV1ZoneMetadata = D1 (MetaData "GoogleCloudRedisV1ZoneMetadata" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" False) (C1 (MetaCons "GoogleCloudRedisV1ZoneMetadata'" PrefixI False) (U1 :: Type -> Type))

googleCloudRedisV1ZoneMetadata :: GoogleCloudRedisV1ZoneMetadata Source #

Creates a value of GoogleCloudRedisV1ZoneMetadata with the minimum fields required to make a request.

Operation

data Operation Source #

This resource represents a long-running operation that is the result of a network API call.

See: operation smart constructor.

Instances
Eq Operation Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data Operation Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Operation -> c Operation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Operation #

toConstr :: Operation -> Constr #

dataTypeOf :: Operation -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Operation) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Operation) #

gmapT :: (forall b. Data b => b -> b) -> Operation -> Operation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Operation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Operation -> r #

gmapQ :: (forall d. Data d => d -> u) -> Operation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Operation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

Show Operation Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic Operation Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep Operation :: Type -> Type #

ToJSON Operation Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON Operation Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep Operation Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

operation :: Operation Source #

Creates a value of Operation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oDone :: Lens' Operation (Maybe Bool) Source #

If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.

oError :: Lens' Operation (Maybe Status) Source #

The error result of the operation in case of failure or cancellation.

oResponse :: Lens' Operation (Maybe OperationResponse) Source #

The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

oName :: Lens' Operation (Maybe Text) Source #

The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should have the format of `operations/some/unique/name`.

oMetadata :: Lens' Operation (Maybe OperationMetadata) Source #

{ `createTime`: The time the operation was created. `endTime`: The time the operation finished running. `target`: Server-defined resource path for the target of the operation. `verb`: Name of the verb executed by the operation. `statusDetail`: Human-readable status of the operation, if any. `cancelRequested`: Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. `apiVersion`: API version used to start the operation. }

Empty

data Empty Source #

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.

See: empty smart constructor.

Instances
Eq Empty Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

(==) :: Empty -> Empty -> Bool #

(/=) :: Empty -> Empty -> Bool #

Data Empty Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty #

toConstr :: Empty -> Constr #

dataTypeOf :: Empty -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) #

gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r #

gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

Show Empty Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" False) (C1 (MetaCons "Empty'" PrefixI False) (U1 :: Type -> Type))

empty :: Empty Source #

Creates a value of Empty with the minimum fields required to make a request.

InstanceTier

data InstanceTier Source #

Required. The service tier of the instance.

Constructors

TierUnspecified

TIER_UNSPECIFIED Not set.

Basic

BASIC BASIC tier: standalone instance

StandardHa

STANDARD_HA STANDARD_HA tier: highly available primary/replica instances

Instances
Enum InstanceTier Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Eq InstanceTier Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Data InstanceTier Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstanceTier -> c InstanceTier #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstanceTier #

toConstr :: InstanceTier -> Constr #

dataTypeOf :: InstanceTier -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InstanceTier) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstanceTier) #

gmapT :: (forall b. Data b => b -> b) -> InstanceTier -> InstanceTier #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstanceTier -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstanceTier -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstanceTier -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstanceTier -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstanceTier -> m InstanceTier #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceTier -> m InstanceTier #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceTier -> m InstanceTier #

Ord InstanceTier Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Read InstanceTier Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Show InstanceTier Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Generic InstanceTier Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Associated Types

type Rep InstanceTier :: Type -> Type #

Hashable InstanceTier Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

ToJSON InstanceTier Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

FromJSON InstanceTier Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

FromHttpApiData InstanceTier Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

ToHttpApiData InstanceTier Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

type Rep InstanceTier Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

type Rep InstanceTier = D1 (MetaData "InstanceTier" "Network.Google.Redis.Types.Sum" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" False) (C1 (MetaCons "TierUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Basic" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "StandardHa" PrefixI False) (U1 :: Type -> Type)))

StatusDetailsItem

data StatusDetailsItem Source #

Instances
Eq StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StatusDetailsItem -> c StatusDetailsItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StatusDetailsItem #

toConstr :: StatusDetailsItem -> Constr #

dataTypeOf :: StatusDetailsItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StatusDetailsItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StatusDetailsItem) #

gmapT :: (forall b. Data b => b -> b) -> StatusDetailsItem -> StatusDetailsItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StatusDetailsItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StatusDetailsItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> StatusDetailsItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StatusDetailsItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

Show StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep StatusDetailsItem :: Type -> Type #

ToJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep StatusDetailsItem = D1 (MetaData "StatusDetailsItem" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" True) (C1 (MetaCons "StatusDetailsItem'" PrefixI True) (S1 (MetaSel (Just "_sdiAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

statusDetailsItem Source #

Creates a value of StatusDetailsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

GoogleCloudRedisV1LocationMetadata

data GoogleCloudRedisV1LocationMetadata Source #

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.

See: googleCloudRedisV1LocationMetadata smart constructor.

Instances
Eq GoogleCloudRedisV1LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data GoogleCloudRedisV1LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudRedisV1LocationMetadata -> c GoogleCloudRedisV1LocationMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudRedisV1LocationMetadata #

toConstr :: GoogleCloudRedisV1LocationMetadata -> Constr #

dataTypeOf :: GoogleCloudRedisV1LocationMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudRedisV1LocationMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudRedisV1LocationMetadata) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudRedisV1LocationMetadata -> GoogleCloudRedisV1LocationMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudRedisV1LocationMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudRedisV1LocationMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudRedisV1LocationMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudRedisV1LocationMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudRedisV1LocationMetadata -> m GoogleCloudRedisV1LocationMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudRedisV1LocationMetadata -> m GoogleCloudRedisV1LocationMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudRedisV1LocationMetadata -> m GoogleCloudRedisV1LocationMetadata #

Show GoogleCloudRedisV1LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic GoogleCloudRedisV1LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep GoogleCloudRedisV1LocationMetadata :: Type -> Type #

ToJSON GoogleCloudRedisV1LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON GoogleCloudRedisV1LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep GoogleCloudRedisV1LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep GoogleCloudRedisV1LocationMetadata = D1 (MetaData "GoogleCloudRedisV1LocationMetadata" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" True) (C1 (MetaCons "GoogleCloudRedisV1LocationMetadata'" PrefixI True) (S1 (MetaSel (Just "_gcrvlmAvailableZones") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe GoogleCloudRedisV1LocationMetadataAvailableZones))))

googleCloudRedisV1LocationMetadata :: GoogleCloudRedisV1LocationMetadata Source #

Creates a value of GoogleCloudRedisV1LocationMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gcrvlmAvailableZones :: Lens' GoogleCloudRedisV1LocationMetadata (Maybe GoogleCloudRedisV1LocationMetadataAvailableZones) Source #

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in `location_id` or `alternative_location_id` fields when creating a Redis instance.

GoogleCloudRedisV1OperationMetadata

data GoogleCloudRedisV1OperationMetadata Source #

Represents the v1 metadata of the long-running operation.

See: googleCloudRedisV1OperationMetadata smart constructor.

Instances
Eq GoogleCloudRedisV1OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data GoogleCloudRedisV1OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudRedisV1OperationMetadata -> c GoogleCloudRedisV1OperationMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudRedisV1OperationMetadata #

toConstr :: GoogleCloudRedisV1OperationMetadata -> Constr #

dataTypeOf :: GoogleCloudRedisV1OperationMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudRedisV1OperationMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudRedisV1OperationMetadata) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudRedisV1OperationMetadata -> GoogleCloudRedisV1OperationMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudRedisV1OperationMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudRedisV1OperationMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudRedisV1OperationMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudRedisV1OperationMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudRedisV1OperationMetadata -> m GoogleCloudRedisV1OperationMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudRedisV1OperationMetadata -> m GoogleCloudRedisV1OperationMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudRedisV1OperationMetadata -> m GoogleCloudRedisV1OperationMetadata #

Show GoogleCloudRedisV1OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic GoogleCloudRedisV1OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

ToJSON GoogleCloudRedisV1OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON GoogleCloudRedisV1OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep GoogleCloudRedisV1OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep GoogleCloudRedisV1OperationMetadata = D1 (MetaData "GoogleCloudRedisV1OperationMetadata" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" False) (C1 (MetaCons "GoogleCloudRedisV1OperationMetadata'" PrefixI True) ((S1 (MetaSel (Just "_gcrvomAPIVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gcrvomEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_gcrvomStatusDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_gcrvomVerb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcrvomCancelRequested") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_gcrvomTarget") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcrvomCreateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))))

gcrvomCancelRequested :: Lens' GoogleCloudRedisV1OperationMetadata (Maybe Bool) Source #

Specifies if cancellation was requested for the operation.

InstanceRedisConfigs

data InstanceRedisConfigs Source #

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

See: instanceRedisConfigs smart constructor.

Instances
Eq InstanceRedisConfigs Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data InstanceRedisConfigs Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstanceRedisConfigs -> c InstanceRedisConfigs #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstanceRedisConfigs #

toConstr :: InstanceRedisConfigs -> Constr #

dataTypeOf :: InstanceRedisConfigs -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InstanceRedisConfigs) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstanceRedisConfigs) #

gmapT :: (forall b. Data b => b -> b) -> InstanceRedisConfigs -> InstanceRedisConfigs #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstanceRedisConfigs -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstanceRedisConfigs -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstanceRedisConfigs -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstanceRedisConfigs -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstanceRedisConfigs -> m InstanceRedisConfigs #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceRedisConfigs -> m InstanceRedisConfigs #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceRedisConfigs -> m InstanceRedisConfigs #

Show InstanceRedisConfigs Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic InstanceRedisConfigs Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep InstanceRedisConfigs :: Type -> Type #

ToJSON InstanceRedisConfigs Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON InstanceRedisConfigs Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep InstanceRedisConfigs Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep InstanceRedisConfigs = D1 (MetaData "InstanceRedisConfigs" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" True) (C1 (MetaCons "InstanceRedisConfigs'" PrefixI True) (S1 (MetaSel (Just "_ircAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

instanceRedisConfigs Source #

Creates a value of InstanceRedisConfigs with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

GoogleCloudRedisV1LocationMetadataAvailableZones

data GoogleCloudRedisV1LocationMetadataAvailableZones Source #

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in `location_id` or `alternative_location_id` fields when creating a Redis instance.

See: googleCloudRedisV1LocationMetadataAvailableZones smart constructor.

Instances
Eq GoogleCloudRedisV1LocationMetadataAvailableZones Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data GoogleCloudRedisV1LocationMetadataAvailableZones Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudRedisV1LocationMetadataAvailableZones -> c GoogleCloudRedisV1LocationMetadataAvailableZones #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudRedisV1LocationMetadataAvailableZones #

toConstr :: GoogleCloudRedisV1LocationMetadataAvailableZones -> Constr #

dataTypeOf :: GoogleCloudRedisV1LocationMetadataAvailableZones -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudRedisV1LocationMetadataAvailableZones) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudRedisV1LocationMetadataAvailableZones) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudRedisV1LocationMetadataAvailableZones -> GoogleCloudRedisV1LocationMetadataAvailableZones #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudRedisV1LocationMetadataAvailableZones -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudRedisV1LocationMetadataAvailableZones -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudRedisV1LocationMetadataAvailableZones -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudRedisV1LocationMetadataAvailableZones -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudRedisV1LocationMetadataAvailableZones -> m GoogleCloudRedisV1LocationMetadataAvailableZones #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudRedisV1LocationMetadataAvailableZones -> m GoogleCloudRedisV1LocationMetadataAvailableZones #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudRedisV1LocationMetadataAvailableZones -> m GoogleCloudRedisV1LocationMetadataAvailableZones #

Show GoogleCloudRedisV1LocationMetadataAvailableZones Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic GoogleCloudRedisV1LocationMetadataAvailableZones Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

ToJSON GoogleCloudRedisV1LocationMetadataAvailableZones Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON GoogleCloudRedisV1LocationMetadataAvailableZones Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep GoogleCloudRedisV1LocationMetadataAvailableZones Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep GoogleCloudRedisV1LocationMetadataAvailableZones = D1 (MetaData "GoogleCloudRedisV1LocationMetadataAvailableZones" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" True) (C1 (MetaCons "GoogleCloudRedisV1LocationMetadataAvailableZones'" PrefixI True) (S1 (MetaSel (Just "_gcrvlmazAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text GoogleCloudRedisV1ZoneMetadata))))

googleCloudRedisV1LocationMetadataAvailableZones Source #

Creates a value of GoogleCloudRedisV1LocationMetadataAvailableZones with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Methods

(==) :: Xgafv -> Xgafv -> Bool #

(/=) :: Xgafv -> Xgafv -> Bool #

Data Xgafv Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Xgafv -> c Xgafv #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Xgafv #

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Xgafv) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Xgafv) #

gmapT :: (forall b. Data b => b -> b) -> Xgafv -> Xgafv #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Xgafv -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Xgafv -> r #

gmapQ :: (forall d. Data d => d -> u) -> Xgafv -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Xgafv -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

Ord Xgafv Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

(>=) :: Xgafv -> Xgafv -> Bool #

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.Redis.Types.Sum" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

LocationLabels

data LocationLabels Source #

Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}

See: locationLabels smart constructor.

Instances
Eq LocationLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data LocationLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LocationLabels -> c LocationLabels #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LocationLabels #

toConstr :: LocationLabels -> Constr #

dataTypeOf :: LocationLabels -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LocationLabels) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LocationLabels) #

gmapT :: (forall b. Data b => b -> b) -> LocationLabels -> LocationLabels #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LocationLabels -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LocationLabels -> r #

gmapQ :: (forall d. Data d => d -> u) -> LocationLabels -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LocationLabels -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LocationLabels -> m LocationLabels #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LocationLabels -> m LocationLabels #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LocationLabels -> m LocationLabels #

Show LocationLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic LocationLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep LocationLabels :: Type -> Type #

ToJSON LocationLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON LocationLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep LocationLabels Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep LocationLabels = D1 (MetaData "LocationLabels" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" True) (C1 (MetaCons "LocationLabels'" PrefixI True) (S1 (MetaSel (Just "_llAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

locationLabels Source #

Creates a value of LocationLabels with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

LocationMetadata

data LocationMetadata Source #

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by Compute Engine. These keys can be specified in `location_id` or `alternative_location_id` fields when creating a Redis instance.

See: locationMetadata smart constructor.

Instances
Eq LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LocationMetadata -> c LocationMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LocationMetadata #

toConstr :: LocationMetadata -> Constr #

dataTypeOf :: LocationMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LocationMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LocationMetadata) #

gmapT :: (forall b. Data b => b -> b) -> LocationMetadata -> LocationMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LocationMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LocationMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> LocationMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LocationMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LocationMetadata -> m LocationMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LocationMetadata -> m LocationMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LocationMetadata -> m LocationMetadata #

Show LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep LocationMetadata :: Type -> Type #

ToJSON LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep LocationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep LocationMetadata = D1 (MetaData "LocationMetadata" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" True) (C1 (MetaCons "LocationMetadata'" PrefixI True) (S1 (MetaSel (Just "_lmAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

locationMetadata Source #

Creates a value of LocationMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lmAddtional :: Lens' LocationMetadata (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

OperationMetadata

data OperationMetadata Source #

{ `createTime`: The time the operation was created. `endTime`: The time the operation finished running. `target`: Server-defined resource path for the target of the operation. `verb`: Name of the verb executed by the operation. `statusDetail`: Human-readable status of the operation, if any. `cancelRequested`: Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. `apiVersion`: API version used to start the operation. }

See: operationMetadata smart constructor.

Instances
Eq OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OperationMetadata -> c OperationMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OperationMetadata #

toConstr :: OperationMetadata -> Constr #

dataTypeOf :: OperationMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OperationMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OperationMetadata) #

gmapT :: (forall b. Data b => b -> b) -> OperationMetadata -> OperationMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OperationMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OperationMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> OperationMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OperationMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OperationMetadata -> m OperationMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationMetadata -> m OperationMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationMetadata -> m OperationMetadata #

Show OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep OperationMetadata :: Type -> Type #

ToJSON OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep OperationMetadata Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep OperationMetadata = D1 (MetaData "OperationMetadata" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" True) (C1 (MetaCons "OperationMetadata'" PrefixI True) (S1 (MetaSel (Just "_omAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

operationMetadata Source #

Creates a value of OperationMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

ListInstancesResponse

data ListInstancesResponse Source #

Response for ListInstances.

See: listInstancesResponse smart constructor.

Instances
Eq ListInstancesResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data ListInstancesResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListInstancesResponse -> c ListInstancesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListInstancesResponse #

toConstr :: ListInstancesResponse -> Constr #

dataTypeOf :: ListInstancesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListInstancesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListInstancesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListInstancesResponse -> ListInstancesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListInstancesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListInstancesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListInstancesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListInstancesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListInstancesResponse -> m ListInstancesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListInstancesResponse -> m ListInstancesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListInstancesResponse -> m ListInstancesResponse #

Show ListInstancesResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic ListInstancesResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep ListInstancesResponse :: Type -> Type #

ToJSON ListInstancesResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON ListInstancesResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep ListInstancesResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep ListInstancesResponse = D1 (MetaData "ListInstancesResponse" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" False) (C1 (MetaCons "ListInstancesResponse'" PrefixI True) (S1 (MetaSel (Just "_lirNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lirUnreachable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_lirInstances") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Instance])))))

listInstancesResponse :: ListInstancesResponse Source #

Creates a value of ListInstancesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lirNextPageToken :: Lens' ListInstancesResponse (Maybe Text) Source #

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

lirUnreachable :: Lens' ListInstancesResponse [Text] Source #

Locations that could not be reached.

lirInstances :: Lens' ListInstancesResponse [Instance] Source #

A list of Redis instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated. If in such an aggregated query a location is unavailable, a dummy Redis entry is included in the response with the "name" field set to a value of the form projects/{project_id}/locations/{location_id}/instances/- and the "status" field set to ERROR and "status_message" field set to "location not available for ListInstances".

InstanceState

data InstanceState Source #

Output only. The current state of this instance.

Constructors

StateUnspecified

STATE_UNSPECIFIED Not set.

Creating

CREATING Redis instance is being created.

Ready

READY Redis instance has been created and is fully usable.

Updating

UPDATING Redis instance configuration is being updated. Certain kinds of updates may cause the instance to become unusable while the update is in progress.

Deleting

DELETING Redis instance is being deleted.

Repairing

REPAIRING Redis instance is being repaired and may be unusable. Details can be found in the `status_message` field.

Maintenance

MAINTENANCE Maintenance is being performed on this Redis instance.

Instances
Enum InstanceState Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Eq InstanceState Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Data InstanceState Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstanceState -> c InstanceState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstanceState #

toConstr :: InstanceState -> Constr #

dataTypeOf :: InstanceState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InstanceState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstanceState) #

gmapT :: (forall b. Data b => b -> b) -> InstanceState -> InstanceState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstanceState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstanceState -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstanceState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstanceState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstanceState -> m InstanceState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceState -> m InstanceState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceState -> m InstanceState #

Ord InstanceState Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Read InstanceState Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Show InstanceState Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Generic InstanceState Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

Associated Types

type Rep InstanceState :: Type -> Type #

Hashable InstanceState Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

ToJSON InstanceState Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

FromJSON InstanceState Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

FromHttpApiData InstanceState Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

ToHttpApiData InstanceState Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

type Rep InstanceState Source # 
Instance details

Defined in Network.Google.Redis.Types.Sum

type Rep InstanceState = D1 (MetaData "InstanceState" "Network.Google.Redis.Types.Sum" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" False) ((C1 (MetaCons "StateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Creating" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Ready" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Updating" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Deleting" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Repairing" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Maintenance" PrefixI False) (U1 :: Type -> Type))))

OperationResponse

data OperationResponse Source #

The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

See: operationResponse smart constructor.

Instances
Eq OperationResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data OperationResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OperationResponse -> c OperationResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OperationResponse #

toConstr :: OperationResponse -> Constr #

dataTypeOf :: OperationResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OperationResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OperationResponse) #

gmapT :: (forall b. Data b => b -> b) -> OperationResponse -> OperationResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OperationResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OperationResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> OperationResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OperationResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OperationResponse -> m OperationResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationResponse -> m OperationResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationResponse -> m OperationResponse #

Show OperationResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic OperationResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep OperationResponse :: Type -> Type #

ToJSON OperationResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON OperationResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep OperationResponse Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep OperationResponse = D1 (MetaData "OperationResponse" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" True) (C1 (MetaCons "OperationResponse'" PrefixI True) (S1 (MetaSel (Just "_orAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

operationResponse Source #

Creates a value of OperationResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

orAddtional :: Lens' OperationResponse (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

Instance

data Instance Source #

A Google Cloud Redis instance.

See: instance' smart constructor.

Instances
Eq Instance Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Data Instance Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Instance -> c Instance #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Instance #

toConstr :: Instance -> Constr #

dataTypeOf :: Instance -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Instance) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Instance) #

gmapT :: (forall b. Data b => b -> b) -> Instance -> Instance #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Instance -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Instance -> r #

gmapQ :: (forall d. Data d => d -> u) -> Instance -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Instance -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Instance -> m Instance #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Instance -> m Instance #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Instance -> m Instance #

Show Instance Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Generic Instance Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

Associated Types

type Rep Instance :: Type -> Type #

Methods

from :: Instance -> Rep Instance x #

to :: Rep Instance x -> Instance #

ToJSON Instance Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

FromJSON Instance Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep Instance Source # 
Instance details

Defined in Network.Google.Redis.Types.Product

type Rep Instance = D1 (MetaData "Instance" "Network.Google.Redis.Types.Product" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" False) (C1 (MetaCons "Instance'" PrefixI True) ((((S1 (MetaSel (Just "_iState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstanceState)) :*: S1 (MetaSel (Just "_iAuthorizedNetwork") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_iMemorySizeGb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_iName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_iStatusMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_iAlternativeLocationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_iReservedIPRange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_iTier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstanceTier))))) :*: (((S1 (MetaSel (Just "_iDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_iLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstanceLabels))) :*: (S1 (MetaSel (Just "_iLocationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_iHost") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_iRedisConfigs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstanceRedisConfigs)) :*: S1 (MetaSel (Just "_iRedisVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_iCreateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: (S1 (MetaSel (Just "_iPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_iCurrentLocationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

iState :: Lens' Instance (Maybe InstanceState) Source #

Output only. The current state of this instance.

iAuthorizedNetwork :: Lens' Instance (Maybe Text) Source #

Optional. The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the `default` network will be used.

iMemorySizeGb :: Lens' Instance (Maybe Int32) Source #

Required. Redis memory size in GiB.

iName :: Lens' Instance (Maybe Text) Source #

Required. Unique name of the resource in this scope including project and location using the form: `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.

iStatusMessage :: Lens' Instance (Maybe Text) Source #

Output only. Additional information about the current status of this instance, if available.

iAlternativeLocationId :: Lens' Instance (Maybe Text) Source #

Optional. Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in [location_id].

iReservedIPRange :: Lens' Instance (Maybe Text) Source #

Optional. The CIDR range of internal addresses that are reserved for this instance. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique and non-overlapping with existing subnets in an authorized network.

iTier :: Lens' Instance (Maybe InstanceTier) Source #

Required. The service tier of the instance.

iDisplayName :: Lens' Instance (Maybe Text) Source #

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

iLabels :: Lens' Instance (Maybe InstanceLabels) Source #

Resource labels to represent user provided metadata

iLocationId :: Lens' Instance (Maybe Text) Source #

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].

iHost :: Lens' Instance (Maybe Text) Source #

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

iRedisConfigs :: Lens' Instance (Maybe InstanceRedisConfigs) Source #

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

iRedisVersion :: Lens' Instance (Maybe Text) Source #

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_3_2` for Redis 3.2.

iCreateTime :: Lens' Instance (Maybe UTCTime) Source #

Output only. The time the instance was created.

iPort :: Lens' Instance (Maybe Int32) Source #

Output only. The port number of the exposed Redis endpoint.

iCurrentLocationId :: Lens' Instance (Maybe Text) Source #

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.